/* ==========================================================================
   LE JARDINIER À TOUT FER — Design system (Modèle 10)
   --------------------------------------------------------------------------
   Tout le style du site vit ici : pas de recompilation Tailwind nécessaire.
   Convention de nommage : .jr-*  (Jardinier)
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Verts — repris du flyer */
  --jr-forest: #0f2a12;
  --jr-forest-2: #16391b;
  --jr-forest-3: #1e4a24;
  --jr-green: #2f7d33;
  --jr-lime: #83b000;
  --jr-lime-2: #9ec93a;
  --jr-lime-soft: #e8f2d4;

  /* Accents */
  --jr-yellow: #ffdd00;
  --jr-orange: #f0662b;
  --jr-orange-2: #ff8347;
  --jr-orange-soft: #fdece3;

  /* Neutres */
  --jr-cream: #f5f8ef;
  --jr-cream-2: #eef4e4;
  --jr-ink: #17281a;
  --jr-body: #41513f;
  --jr-line: rgba(15, 42, 18, 0.12);
  --jr-white: #ffffff;

  /* Habillage */
  --jr-radius: 22px;
  --jr-radius-sm: 14px;
  --jr-radius-pill: 999px;
  --jr-shadow: 0 18px 40px -22px rgba(15, 42, 18, 0.38);
  --jr-shadow-lg: 0 30px 60px -28px rgba(15, 42, 18, 0.5);
  --jr-nav-h: 92px;
  --jr-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Rappels des variables historiques du thème :
       elles restent pilotées ici, plus depuis l'admin. */
  --color-item: var(--jr-white);
  --color-item-hover: var(--jr-lime-2);
  --color-item-footer: rgba(255, 255, 255, 0.82);
  --color-item-footer-hover: var(--jr-lime-2);
  --color-icon-footer: var(--jr-white);
  --color-icon-footer-hover: var(--jr-forest);
  --color-button: var(--jr-lime);
  --color-button-hover: var(--jr-orange);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

body {
  color: var(--jr-body);
  background-color: var(--jr-white);
  font-family: baseTypo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body h1,
body h2,
body h3,
body h4,
body .jr-title {
  font-family: titleFont, sans-serif;
  color: var(--jr-forest);
  letter-spacing: -0.01em;
}

/* La barre de navigation est fixe : on réserve sa hauteur pour qu'aucun bloc
   ne passe dessous, et les bandeaux la « remontent » pour rester plein cadre. */
.site-main {
  overflow-x: clip;
  padding-top: var(--jr-nav-h);
}

.jr-hero,
.jr-pagehead {
  margin-top: calc(var(--jr-nav-h) * -1);
}

::selection {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

/* Icônes (bibliothèque unique inc/icons.php) */
.jr-ico {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  display: block;
}

/* --- Neutralisation des règles héritées de style.css -----------------------
   Ces sélecteurs historiques utilisent des ID (#masthead) et s'appliquaient
   au menu ; on les remet à plat pour que la nav ci-dessous fasse foi. */
#masthead .jr-nav #menu-main .sub-menu li,
#masthead .jr-mobile ul.mobile li,
#masthead .jr-mobile ul.mobile > li {
  display: block;
  height: auto;
  margin-bottom: 0;
  gap: 0;
}

#masthead .jr-nav #menu-main > li {
  height: auto;
}

/* Le spacer ACF ferait doublon : le rythme vertical est porté par
   .jr-section / .jr-hero. Il reste en place mais sans hauteur. */
.spacer {
  display: none;
}

/* ==========================================================================
   3. MOTIFS VÉGÉTAUX & SÉPARATEURS
   ========================================================================== */

/* Feuillage discret en filigrane */
.jr-leaves {
  position: relative;
  isolation: isolate;
}

.jr-leaves::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2383b000' stroke-width='1.4' stroke-linecap='round' opacity='.35'%3E%3Cpath d='M14 46C8 32 16 14 44 12c2 28-10 36-24 34'/%3E%3Cpath d='M14 46c6-11 15-21 26-27'/%3E%3Cpath d='M78 104c-6-14 2-32 30-34 2 28-10 36-24 34'/%3E%3Cpath d='M78 104c6-11 15-21 26-27'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px;
}

.jr-leaves--dark::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' opacity='.16'%3E%3Cpath d='M14 46C8 32 16 14 44 12c2 28-10 36-24 34'/%3E%3Cpath d='M14 46c6-11 15-21 26-27'/%3E%3Cpath d='M78 104c-6-14 2-32 30-34 2 28-10 36-24 34'/%3E%3Cpath d='M78 104c6-11 15-21 26-27'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* Filet décoratif sous les titres : trait – feuille – trait */
.jr-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 26px;
  color: var(--jr-lime);
}

.jr-sep::before,
.jr-sep::after {
  content: "";
  height: 3px;
  width: 46px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.jr-sep::after {
  background: linear-gradient(270deg, transparent, currentColor);
}

.jr-sep .jr-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.jr-sep--left {
  justify-content: flex-start;
}

.jr-sep--left::before {
  display: none;
}

.jr-sep--light {
  color: var(--jr-lime-2);
}

/* ==========================================================================
   4. RYTHME DES SECTIONS
   ========================================================================== */

.jr-section {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0;
}

.jr-section--cream {
  background-color: var(--jr-cream);
}

.jr-section--dark {
  background-color: var(--jr-forest);
  color: rgba(255, 255, 255, 0.84);
}

.jr-section--dark h1,
.jr-section--dark h2,
.jr-section--dark h3 {
  color: var(--jr-white);
}

.jr-wrap {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

.jr-wrap--narrow {
  width: min(920px, 100% - 3rem);
}

/* En-tête de section commun à tous les blocs */
.jr-head {
  max-width: 780px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}

.jr-head--left {
  margin-inline: 0;
  text-align: left;
}

.jr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: titleFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jr-green);
  background: var(--jr-lime-soft);
  border-radius: var(--jr-radius-pill);
  padding: 7px 16px;
  margin-bottom: 18px;
}

.jr-section--dark .jr-eyebrow,
.jr-eyebrow--light {
  color: var(--jr-lime-2);
  background: rgba(255, 255, 255, 0.08);
}

.jr-eyebrow .jr-ico {
  width: 1.05rem;
  height: 1.05rem;
}

.jr-h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}

.jr-h2 em {
  font-style: normal;
  color: var(--jr-lime);
}

.jr-section--dark .jr-h2 em {
  color: var(--jr-lime-2);
}

.jr-lead {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   5. BOUTONS — système unique : boutons pleins (aucune variante contour)
   ========================================================================== */

.jr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--jr-radius-pill);
  font-family: titleFont, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: var(--jr-lime);
  color: var(--jr-forest);
  box-shadow: 0 12px 24px -14px rgba(131, 176, 0, 0.95);
  transition:
    transform 0.3s var(--jr-ease),
    box-shadow 0.3s var(--jr-ease),
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease);
}

.jr-btn:hover,
.jr-btn:focus-visible {
  background: var(--jr-lime-2);
  color: var(--jr-forest);
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -14px rgba(131, 176, 0, 1);
}

.jr-btn .jr-ico {
  width: 1.25rem;
  height: 1.25rem;
}

/* Variante accent (rappel orange des tee-shirts) — même forme, même traitement */
.jr-btn--accent {
  background: var(--jr-orange);
  color: var(--jr-white);
  box-shadow: 0 12px 24px -14px rgba(240, 102, 43, 0.95);
}

.jr-btn--accent:hover,
.jr-btn--accent:focus-visible {
  background: var(--jr-orange-2);
  color: var(--jr-white);
  box-shadow: 0 18px 30px -14px rgba(240, 102, 43, 1);
}

/* Variante sombre (sur fonds clairs très verts) */
.jr-btn--forest {
  background: var(--jr-forest);
  color: var(--jr-white);
  box-shadow: 0 12px 24px -14px rgba(15, 42, 18, 0.9);
}

.jr-btn--forest:hover,
.jr-btn--forest:focus-visible {
  background: var(--jr-forest-3);
  color: var(--jr-white);
}

.jr-btn--sm {
  padding: 11px 20px;
  font-size: 0.92rem;
}

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

/* Bouton icône seul */
.jr-btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--jr-lime);
  color: var(--jr-forest);
  text-decoration: none;
  transition:
    transform 0.3s var(--jr-ease),
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease);
}

.jr-btn-ico:hover,
.jr-btn-ico:focus-visible {
  background: var(--jr-orange);
  color: var(--jr-white);
  transform: translateY(-3px);
}

.jr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jr-btn-row--center {
  justify-content: center;
}

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

.jr-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  background: var(--jr-forest);
  transition:
    background-color 0.35s var(--jr-ease),
    box-shadow 0.35s var(--jr-ease),
    padding 0.35s var(--jr-ease);
}

.jr-nav__inner {
  width: min(1400px, 100% - 2.5rem);
  margin-inline: auto;
  min-height: var(--jr-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
}

.jr-nav.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
}

/* Décalage sous la barre d'admin WordPress */
body.admin-bar .jr-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .jr-nav {
    top: 46px;
  }
}

.jr-nav.is-scrolled .jr-nav__inner {
  min-height: 74px;
}

.jr-nav__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.jr-nav__brand img {
  height: 62px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  transition: height 0.35s var(--jr-ease);
}

.jr-nav.is-scrolled .jr-nav__brand img {
  height: 50px;
}

.jr-nav__brand-text {
  font-family: titleFont, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--jr-white);
  line-height: 1.1;
  margin: 0;
}

/* Menu principal */
.jr-nav .containerMenu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.jr-nav #menu-main {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
  position: static;
  transform: none;
  width: auto;
}

.jr-nav #menu-main > li {
  position: relative;
  display: flex;
  align-items: center;
}

.jr-nav #menu-main > li > a {
  position: relative;
  display: block;
  padding: 8px 2px;
  font-family: titleFont, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--color-item);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--jr-ease);
}

.jr-nav #menu-main > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--jr-lime-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--jr-ease);
}

.jr-nav #menu-main > li:hover > a,
.jr-nav #menu-main > li.current-menu-item > a,
.jr-nav #menu-main > li.current-menu-ancestor > a {
  color: var(--color-item-hover);
}

.jr-nav #menu-main > li:hover > a::after,
.jr-nav #menu-main > li.current-menu-item > a::after,
.jr-nav #menu-main > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Sous-menus */
.jr-nav #menu-main .sub-menu {
  position: absolute;
  top: calc(100% + 14px) !important;
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 10px !important;
  list-style: none;
  background: var(--jr-forest-2);
  border-top: 3px solid var(--jr-lime);
  border-radius: 0 0 var(--jr-radius-sm) var(--jr-radius-sm);
  box-shadow: var(--jr-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s var(--jr-ease);
}

.jr-nav #menu-main > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jr-nav #menu-main .sub-menu li {
  display: block;
  margin: 0;
  height: auto;
}

.jr-nav #menu-main .sub-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.92rem;
  text-decoration: none;
  transition:
    background-color 0.25s var(--jr-ease),
    color 0.25s var(--jr-ease);
}

.jr-nav #menu-main .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--jr-lime-2) !important;
}

.jr-nav .caret {
  display: none;
}

/* Actions à droite */
.jr-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.jr-nav__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jr-nav__socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jr-white);
  box-shadow: none;
  margin: 0;
  padding: 0;
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease),
    transform 0.3s var(--jr-ease);
}

.jr-nav__socials a:hover {
  background: var(--jr-lime);
  color: var(--jr-forest);
  transform: translateY(-2px);
}

.jr-nav__socials a svg {
  width: 16px;
  height: 16px;
}

/* Téléphone mis en avant dans la barre */
.jr-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--jr-white);
  padding: 8px 6px;
  transition: color 0.3s var(--jr-ease);
}

.jr-nav__phone:hover {
  color: var(--jr-lime-2);
}

.jr-nav__phone span {
  display: block;
  font-family: titleFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.jr-nav__phone small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.jr-nav__phone .jr-ico {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.6rem;
  border-radius: 50%;
  background: var(--jr-lime);
  color: var(--jr-forest);
}

/* Burger */
.jr-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jr-white);
  cursor: pointer;
  transition: background-color 0.3s var(--jr-ease);
}

.jr-burger:hover {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

.jr-burger .jr-ico {
  width: 1.6rem;
  height: 1.6rem;
}

/* Panneau mobile */
.navbar-menu {
  position: fixed;
  inset: 0;
  z-index: 400;
}

.navbar-menu .jr-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 34px;
  background: var(--jr-forest);
  overflow-y: auto;
  left: auto;
  transition: transform 0.45s var(--jr-ease);
}

.navbar-menu.offArea .jr-mobile {
  left: auto;
  transform: translateX(105%);
}

.jr-mobile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.jr-mobile__top img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.navbar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jr-white);
  cursor: pointer;
  position: static;
  transition: background-color 0.3s var(--jr-ease);
}

.navbar-close:hover {
  background: var(--jr-orange);
  color: var(--jr-white);
}

.jr-mobile ul.mobile {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.jr-mobile ul.mobile li,
.jr-mobile ul.mobile > li {
  display: block;
  align-items: stretch;
  margin-bottom: 0;
  gap: 0;
}

.jr-mobile ul.mobile > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.navbar-menu ul.mobile > li > a {
  display: block;
  padding: 15px 4px;
  font-family: titleFont, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--jr-white);
  text-decoration: none;
  transition:
    color 0.25s var(--jr-ease),
    padding-left 0.25s var(--jr-ease);
}

.navbar-menu ul.mobile > li > a:hover {
  color: var(--jr-lime-2);
  padding-left: 10px;
}

.navbar-menu ul.mobile > li.current-menu-item > a,
.navbar-menu ul.mobile > li.current-menu-ancestor > a,
.navbar-menu ul.mobile li .sub-menu li.current-menu-item > a {
  color: var(--jr-lime-2);
  background: transparent;
  padding: 15px 4px;
}

.navbar-menu ul.mobile .sub-menu {
  padding-left: 14px !important;
  list-style: none;
}

.navbar-menu ul.mobile .sub-menu a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.jr-mobile__cta {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jr-mobile__socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.jr-mobile__socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jr-white);
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.jr-mobile__socials a:hover {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

.jr-mobile__socials a svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   7. HERO (home-slider-10) & BANDEAU DE PAGE (page-title-10)
   ========================================================================== */

.jr-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 860px);
  padding: calc(var(--jr-nav-h) + 70px) 0 90px;
  overflow: hidden;
  background: var(--jr-forest);
}

.jr-hero__media,
.jr-hero__media .carousel-cell {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

.jr-hero__media {
  z-index: 0;
}

.jr-hero__media .flickity-viewport {
  height: 100% !important;
}

.jr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(15, 42, 18, 0.93) 0%,
    rgba(15, 42, 18, 0.82) 38%,
    rgba(15, 42, 18, 0.35) 70%,
    rgba(15, 42, 18, 0.55) 100%
  );
}

.jr-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

.jr-hero__content {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
}

.jr-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--jr-radius-pill);
  background: rgba(131, 176, 0, 0.18);
  border: 1px solid rgba(158, 201, 58, 0.45);
  color: var(--jr-lime-2);
  font-family: titleFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.jr-hero__title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  color: var(--jr-white);
  margin: 0 0 22px;
  font-weight: 700;
  text-wrap: balance;
}

.jr-hero__title em {
  font-style: normal;
  color: var(--jr-lime-2);
}

.jr-hero__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 34px;
}

.jr-hero .jr-btn-row {
  margin-bottom: 40px;
}

/* Bandeau de réassurance sous le hero */
.jr-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jr-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--jr-radius-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: var(--jr-white);
  font-size: 0.88rem;
  font-weight: 500;
}

.jr-badge .jr-ico {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--jr-lime-2);
}

/* Réseaux sociaux du hero */
.jr-hero__socials {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.jr-hero__socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--jr-white);
  box-shadow: none;
  margin: 0;
  padding: 0;
  transition:
    transform 0.3s var(--jr-ease),
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease);
}

.jr-hero__socials a:hover {
  background: var(--jr-lime);
  color: var(--jr-forest);
  transform: translateY(-3px);
}

.jr-hero__socials a svg {
  width: 17px;
  height: 17px;
}

/* Feuilles flottantes décoratives */
.jr-hero__leaf {
  position: absolute;
  z-index: 2;
  color: var(--jr-lime-2);
  opacity: 0.3;
  pointer-events: none;
}

.jr-hero__leaf .jr-ico {
  width: 100%;
  height: 100%;
}

.jr-hero__leaf--1 {
  width: 110px;
  height: 110px;
  top: 18%;
  right: 8%;
  animation: jr-float 9s ease-in-out infinite;
}

.jr-hero__leaf--2 {
  width: 76px;
  height: 76px;
  bottom: 16%;
  right: 22%;
  animation: jr-float 11s ease-in-out infinite reverse;
}

.jr-hero__leaf--3 {
  width: 62px;
  height: 62px;
  top: 58%;
  right: 4%;
  animation: jr-sway 7s ease-in-out infinite;
}

/* Indicateur de scroll */
.jr-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  animation: jr-bob 2.4s ease-in-out infinite;
}

.jr-hero__scroll .jr-ico {
  width: 2rem;
  height: 2rem;
}

/* Bandeau de page interne */
.jr-pagehead {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: calc(var(--jr-nav-h) + 60px) 0 60px;
  overflow: hidden;
  background: var(--jr-forest);
}

.jr-pagehead__media,
.jr-pagehead__media .carousel-cell {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

.jr-pagehead__media .flickity-viewport {
  height: 100% !important;
}

.jr-pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 18, 0.82) 0%,
    rgba(15, 42, 18, 0.6) 45%,
    rgba(15, 42, 18, 0.92) 100%
  );
}

.jr-pagehead__inner {
  position: relative;
  z-index: 3;
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

.jr-pagehead__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.06;
  color: var(--jr-white);
  margin: 0;
  font-weight: 700;
}

.jr-pagehead .jr-hero__eyebrow {
  margin-bottom: 18px;
}

.jr-pagehead .jr-btn-row {
  margin-top: 30px;
}

/* Liseré végétal en bas des bandeaux — dessiné DANS le bandeau, il reste
   donc juste quelle que soit la couleur de la section suivante. */
.jr-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  display: block;
  width: 100%;
  height: 46px;
  color: var(--jr-lime);
  pointer-events: none;
}

.jr-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   8. PRESTATIONS
   ========================================================================== */

/* Toujours 2 colonnes : le champ ACF « Nombre d'item par ligne » n'est
   volontairement PAS branché ici, la mise en page du bloc est fixée par la
   charte (et ne dépend donc pas d'une valeur saisie en back-office). */
.jr-presta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 700px) {
  .jr-presta__grid {
    grid-template-columns: 1fr;
  }
}

.jr-presta__card {
  position: relative;
  display: block;
  border-radius: var(--jr-radius);
  overflow: hidden;
  min-height: clamp(400px, 33vw, 500px);
  text-decoration: none;
  box-shadow: var(--jr-shadow);
  transition:
    transform 0.6s var(--jr-ease),
    box-shadow 0.6s var(--jr-ease);
}

.jr-presta__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jr-shadow-lg);
}

/* Zoom très progressif : départ légèrement agrandi pour éviter le « saut »
   du sous-pixel au début de l'animation. */
.jr-presta__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.005);
  transition: transform 1.4s var(--jr-ease);
  will-change: transform;
}

.jr-presta__card:hover .jr-presta__img {
  transform: scale(1.07);
}

/* Voile permanent (lisibilité du titre) */
.jr-presta__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 18, 0) 32%,
    rgba(15, 42, 18, 0.55) 62%,
    rgba(15, 42, 18, 0.94) 100%
  );
}

/* Voile de survol : on anime une OPACITÉ, pas un dégradé — l'interpolation
   de gradients est saccadée, celle-ci est composited par le GPU. */
.jr-presta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 18, 0.42) 0%,
    rgba(15, 42, 18, 0.84) 55%,
    rgba(15, 42, 18, 0.96) 100%
  );
  transition: opacity 0.7s var(--jr-ease);
}

.jr-presta__card:hover::before {
  opacity: 1;
}

.jr-presta__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 28px 26px 30px;
  color: var(--jr-white);
}

.jr-presta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--jr-lime);
  color: var(--jr-forest);
  transition:
    transform 0.6s var(--jr-ease),
    background-color 0.6s var(--jr-ease),
    color 0.6s var(--jr-ease);
}

.jr-presta__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.jr-presta__card:hover .jr-presta__icon {
  transform: rotate(-5deg) scale(1.04);
  background: var(--jr-orange);
  color: var(--jr-white);
}

.jr-presta__name {
  font-family: titleFont, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--jr-white);
  margin: 0;
  line-height: 1.15;
}

/* Dépliage fluide : on interpole grid-template-rows (0fr → 1fr).
   Contrairement à max-height, la durée correspond exactement à la hauteur
   réelle du texte — plus de « claquement » ni de fin d'animation à vide. */
.jr-presta__desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition:
    grid-template-rows 0.6s var(--jr-ease),
    margin-top 0.6s var(--jr-ease);
}

.jr-presta__card:hover .jr-presta__desc-wrap {
  grid-template-rows: 1fr;
  margin-top: 14px;
}

.jr-presta__desc {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s var(--jr-ease),
    transform 0.55s var(--jr-ease);
}

.jr-presta__card:hover .jr-presta__desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.jr-presta__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: titleFont, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--jr-lime-2);
}

.jr-presta__more .jr-ico {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.35s var(--jr-ease);
}

.jr-presta__card:hover .jr-presta__more .jr-ico {
  transform: translateX(5px);
}

/* ==========================================================================
   9. PICTOGRAMMES / ATOUTS (icons)
   ========================================================================== */

.jr-icons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.jr-icons__item {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 30px 26px;
  background: var(--jr-white);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius);
  box-shadow: 0 14px 30px -26px rgba(15, 42, 18, 0.5);
  overflow: hidden;
  transition:
    transform 0.4s var(--jr-ease),
    box-shadow 0.4s var(--jr-ease),
    border-color 0.4s var(--jr-ease);
}

.jr-icons__item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--jr-lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--jr-ease);
}

.jr-icons__item:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--jr-shadow);
}

.jr-icons__item:hover::before {
  transform: scaleY(1);
}

.jr-icons__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--jr-lime-soft);
  color: var(--jr-green);
  transition:
    background-color 0.4s var(--jr-ease),
    color 0.4s var(--jr-ease),
    transform 0.4s var(--jr-ease);
}

.jr-icons__ico svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: none;
}

.jr-icons__item:hover .jr-icons__ico {
  background: var(--jr-lime);
  color: var(--jr-forest);
  transform: rotate(-6deg);
}

.jr-icons__title {
  font-family: titleFont, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jr-forest);
  margin: 0 0 6px;
  line-height: 1.25;
}

.jr-icons__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   10. TEXTE + PHOTO
   ========================================================================== */

.jr-tp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.jr-tp--reverse .jr-tp__media {
  order: 2;
}

.jr-tp__media {
  position: relative;
}

.jr-tp__media img {
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 580px);
  object-fit: cover;
  border-radius: var(--jr-radius);
  box-shadow: var(--jr-shadow);
}

.jr-tp__media img {
  position: relative;
  z-index: 1;
}

/* Cadre végétal décalé */
.jr-tp__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 3px solid var(--jr-lime);
  border-radius: var(--jr-radius);
  z-index: 0;
}

.jr-tp--reverse .jr-tp__media::before {
  inset: 22px 22px -22px -22px;
}

.jr-tp__badge {
  position: absolute;
  right: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--jr-radius-sm);
  background: var(--jr-forest);
  color: var(--jr-white);
  box-shadow: var(--jr-shadow);
}

.jr-tp--reverse .jr-tp__badge {
  right: auto;
  left: -18px;
}

.jr-tp__badge .jr-ico {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--jr-lime-2);
}

.jr-tp__badge strong {
  display: block;
  font-family: titleFont, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.jr-tp__badge small {
  font-size: 0.76rem;
  opacity: 0.7;
}

.jr-tp__body h2,
.jr-tp__body h3 {
  margin: 0 0 8px;
}

.jr-rte {
  font-size: 1rem;
  line-height: 1.75;
}

.jr-rte p {
  margin-bottom: 1rem;
}

.jr-rte > *:last-child {
  margin-bottom: 0;
}

.jr-rte a:not(.jr-btn) {
  color: var(--jr-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body .jr-rte ul,
body .jr-rte ol,
body .jr-legal__card ul,
body .jr-legal__card ol {
  padding-left: 0;
  margin: 1rem 0 1rem 0 !important;
  list-style: none;
}

.jr-rte ul li,
.jr-rte ol li,
.jr-legal__card ul li,
.jr-legal__card ol li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  list-style: none;
  text-align: left;
}

.jr-rte ul li::marker,
.jr-rte ol li::marker {
  content: "";
}

/* Puce « check » végétale — sauf si une icône personnalisée est définie en admin */
.jr-rte ul li::before,
.jr-rte ol li::before,
.jr-legal__card ul li::before,
.jr-legal__card ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--jr-lime-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7d33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.jr-rte--light {
  color: rgba(255, 255, 255, 0.84);
}

.jr-rte--light ul li::before,
.jr-rte--light ol li::before {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec93a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8'/%3E%3C/svg%3E");
}

.jr-rte--light a:not(.jr-btn) {
  color: var(--jr-lime-2);
}

/* Icône de liste personnalisée (option d'admin) */
.iconListEnabled.jr-rte ul li::before,
.iconListEnabled.jr-rte ol li::before {
  background-color: transparent;
  background-size: contain;
  border-radius: 0;
}

/* ==========================================================================
   11. BLOC TYPO (panneau vert)
   ========================================================================== */

.jr-typo {
  padding: clamp(56px, 7vw, 96px) 0;
}

.jr-typo__panel {
  position: relative;
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--jr-radius);
  background: var(--jr-forest);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  box-shadow: var(--jr-shadow-lg);
}

.jr-typo__panel h2,
.jr-typo__panel h3 {
  color: var(--jr-white);
}

/* Halo lumineux */
.jr-typo__panel::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -160px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(131, 176, 0, 0.28) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.jr-typo__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

/* ==========================================================================
   12. CTA
   ========================================================================== */

.jr-cta {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0;
  background-size: cover;
  background-position: center;
  background-color: var(--jr-forest);
  overflow: hidden;
}

.jr-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 42, 18, 0.95) 0%,
    rgba(15, 42, 18, 0.78) 55%,
    rgba(15, 42, 18, 0.55) 100%
  );
}

.jr-cta__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.jr-cta__body {
  max-width: 660px;
}

.jr-cta__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--jr-white);
  margin: 0 0 12px;
  font-weight: 700;
}

.jr-cta__highlight {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--jr-lime-2);
  margin: 0;
  font-weight: 700;
}

.jr-cta__text {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.jr-cta .jr-btn-row {
  flex-direction: column;
  align-items: stretch;
  min-width: 260px;
}

/* Bandeau orange (rappel tee-shirts) */
.jr-strip {
  background: var(--jr-orange);
  color: var(--jr-white);
  padding: 22px 0;
}

.jr-strip__inner {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  text-align: center;
}

.jr-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: titleFont, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.jr-strip__item .jr-ico {
  width: 1.4rem;
  height: 1.4rem;
}

/* ==========================================================================
   13. FORMULAIRE & CONTACT
   ========================================================================== */

.jr-form {
  padding: clamp(56px, 7vw, 100px) 0;
}

.jr-form__inner {
  max-width: 940px;
  margin-inline: auto;
}

.jr-form__card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--jr-white);
  border-radius: var(--jr-radius);
  box-shadow: var(--jr-shadow);
  border: 1px solid var(--jr-line);
}

.jr-form__card form > div:first-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px !important;
  min-width: 0 !important;
}

.jr-form__card form > div:not(:first-child) {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.jr-form__card fieldset {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.jr-form__card fieldset.textarea,
.jr-form__card fieldset.text.full {
  grid-column: 1 / -1;
}

.jr-form__card label {
  font-family: titleFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jr-forest);
}

.jr-form__card .form-field {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--jr-line) !important;
  border-radius: var(--jr-radius-sm);
  background: var(--jr-cream);
  font-family: baseTypo, sans-serif;
  font-size: 0.96rem;
  color: var(--jr-ink);
  transition:
    border-color 0.3s var(--jr-ease),
    background-color 0.3s var(--jr-ease),
    box-shadow 0.3s var(--jr-ease);
}

.jr-form__card textarea.form-field {
  height: 160px;
  min-height: 160px;
}

.jr-form__card .form-field:focus {
  outline: none;
  background: var(--jr-white);
  border-color: var(--jr-lime) !important;
  box-shadow: 0 0 0 4px rgba(131, 176, 0, 0.16);
}

.jr-form__card .form-field::placeholder {
  color: #9aa89a;
}

.jr-form__card .submitButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  border: 0;
  border-radius: var(--jr-radius-pill);
  background: var(--jr-orange);
  color: var(--jr-white);
  font-family: titleFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px -14px rgba(240, 102, 43, 0.95);
  transition:
    transform 0.3s var(--jr-ease),
    background-color 0.3s var(--jr-ease);
}

.jr-form__card .submitButton:hover {
  background: var(--jr-orange-2);
  transform: translateY(-3px);
}

/* Cartes de contact */
.jr-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 46px;
}

/* Option « carte en dessous » : les coordonnées chevauchent la carte */
.jr-contact__grid--over {
  position: relative;
  z-index: 5;
  margin-bottom: -110px;
}

.jr-contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--jr-radius);
  background: var(--jr-forest);
  color: rgba(255, 255, 255, 0.82);
  transition:
    transform 0.4s var(--jr-ease),
    background-color 0.4s var(--jr-ease);
}

.jr-contact__card:hover {
  transform: translateY(-6px);
}

.jr-contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(131, 176, 0, 0.18);
  color: var(--jr-lime-2);
  transition:
    background-color 0.4s var(--jr-ease),
    color 0.4s var(--jr-ease);
}

.jr-contact__card:hover .jr-contact__ico {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

.jr-contact__ico .jr-ico {
  width: 1.7rem;
  height: 1.7rem;
}

.jr-contact__label {
  font-family: titleFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jr-white);
  margin: 0;
}

.jr-contact__card a,
.jr-contact__value {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.6;
  transition: color 0.3s var(--jr-ease);
}

.jr-contact__card a:hover {
  color: var(--jr-lime-2);
}

/* Toasters du formulaire */
.toaster,
.toasterSuccess {
  border-radius: var(--jr-radius-sm);
  overflow: hidden;
}

/* ==========================================================================
   14. CARTE (map)
   ========================================================================== */

.jr-map {
  padding: clamp(48px, 6vw, 90px) 0;
}

/* isolation:isolate confine les z-index internes de Leaflet (ses contrôles
   montent jusqu'à 1000) dans ce conteneur : ils ne peuvent plus repasser
   au-dessus des éléments fixes de la page (dock de contact, nav…). */
.jr-map__frame,
.jr-zone__map {
  isolation: isolate;
}

.jr-map__frame {
  position: relative;
  border-radius: var(--jr-radius);
  overflow: hidden;
  box-shadow: var(--jr-shadow);
  border: 4px solid var(--jr-white);
}

.jr-map__frame #map {
  width: 100%;
  height: clamp(360px, 46vw, 540px);
}

/* Zone d'intervention utilisée en CTA (map → use_cta) */
.jr-zone {
  padding: clamp(48px, 6vw, 90px) 0;
}

.jr-zone__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: var(--jr-radius);
  overflow: hidden;
  box-shadow: var(--jr-shadow-lg);
}

.jr-zone__body {
  padding: clamp(32px, 4vw, 56px);
  background: var(--jr-forest);
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jr-zone__body h2,
.jr-zone__body h3 {
  color: var(--jr-white);
}

.jr-zone__map #map {
  width: 100%;
  height: 100%;
  min-height: 460px;
}

@media (max-width: 900px) {
  .jr-zone__grid {
    grid-template-columns: 1fr;
  }

  .jr-zone__map #map {
    min-height: 340px;
  }
}

/* ==========================================================================
   15. GALERIE
   ========================================================================== */

.jr-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

button.jr-gallery__item,
.jr-gallery__item {
  position: relative;
  display: block;
  width: 100%;
  height: 320px;
  padding: 0;
  border: 0;
  background: var(--jr-cream-2);
  border-radius: var(--jr-radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 14px 30px -24px rgba(15, 42, 18, 0.6);
}

.jr-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--jr-ease);
}

.jr-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 42, 18, 0) 50%,
    rgba(15, 42, 18, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--jr-ease);
}

.jr-gallery__item:hover img {
  transform: scale(1.08);
}

.jr-gallery__item:hover::after {
  opacity: 1;
}

.jr-gallery__zoom {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--jr-lime);
  color: var(--jr-forest);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s var(--jr-ease),
    transform 0.4s var(--jr-ease);
}

.jr-gallery__item:hover .jr-gallery__zoom {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   16. PARTENAIRES / ÉQUIPE / BLOG / AVANT-APRÈS
   ========================================================================== */

.jr-partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.jr-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 30px;
  min-width: 200px;
  background: var(--jr-white);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius-sm);
  transition:
    transform 0.35s var(--jr-ease),
    box-shadow 0.35s var(--jr-ease);
}

.jr-partners__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--jr-shadow);
}

.jr-partners__item img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition:
    filter 0.35s var(--jr-ease),
    opacity 0.35s var(--jr-ease);
}

.jr-partners__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.jr-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.jr-team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 22px;
  background: var(--jr-white);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius);
  transition:
    transform 0.4s var(--jr-ease),
    box-shadow 0.4s var(--jr-ease);
}

.jr-team__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jr-shadow);
}

.jr-team__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--jr-lime-soft);
  margin-bottom: 18px;
}

.jr-team__name {
  font-family: titleFont, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--jr-forest);
  margin: 0 0 4px;
}

.jr-team__role {
  font-size: 0.92rem;
  color: var(--jr-green);
}

.jr-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
}

.jr-blog__card {
  display: block;
  background: var(--jr-white);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius);
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.4s var(--jr-ease),
    box-shadow 0.4s var(--jr-ease);
}

.jr-blog__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jr-shadow);
}

.jr-blog__media {
  height: 210px;
  overflow: hidden;
  background: var(--jr-cream-2);
}

.jr-blog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--jr-ease);
}

.jr-blog__card:hover .jr-blog__media img {
  transform: scale(1.07);
}

.jr-blog__body {
  padding: 24px;
}

.jr-blog__title {
  font-family: titleFont, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jr-forest);
  margin: 0;
  line-height: 1.35;
}

.jr-blog__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--jr-green);
  font-family: titleFont, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.jr-blog__more .jr-ico {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.35s var(--jr-ease);
}

.jr-blog__card:hover .jr-blog__more .jr-ico {
  transform: translateX(5px);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: var(--jr-radius-pill);
  background: var(--jr-cream);
  color: var(--jr-forest);
  font-family: titleFont, sans-serif;
  text-decoration: none;
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

.jr-blog__layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.jr-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}

.jr-team__photo--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--jr-lime-soft);
  color: var(--jr-green);
}

.jr-team__photo--empty .jr-ico {
  width: 3.4rem;
  height: 3.4rem;
}

/* Avant / après */
.before-after-listing .containerhere {
  border: 4px solid var(--jr-white);
  border-radius: var(--jr-radius-sm);
  overflow: hidden;
  box-shadow: var(--jr-shadow);
  position: relative;
  height: 34rem;
  min-width: 340px;
  max-width: 600px;
  flex: 1 1 340px;
}

.jr-befaf__legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(15, 42, 18, 0.92));
  color: var(--jr-white);
  font-size: 0.94rem;
  pointer-events: none;
}

.containerhere .slider-button {
  background-color: var(--jr-lime);
}

.containerhere .slider::-webkit-slider-thumb {
  background: var(--jr-lime);
}

.containerhere .slider::-moz-range-thumb {
  background: var(--jr-lime);
}

/* ==========================================================================
   17. PIED DE PAGE
   ========================================================================== */

.jr-footer {
  position: relative;
  padding: clamp(60px, 7vw, 96px) 0 0;
  background: var(--jr-forest);
  color: rgba(255, 255, 255, 0.74);
}

.jr-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.jr-footer__brand img {
  height: 76px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 20px;
}

.jr-footer__brand-name {
  font-family: titleFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jr-white);
  margin: 0 0 16px;
}

.jr-footer__baseline {
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 380px;
}

.jr-footer__heading {
  font-family: titleFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jr-white);
  margin: 0 0 22px;
  padding-bottom: 12px;
  position: relative;
}

.jr-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--jr-lime);
}

/* Menu du pied de page */
.jr-footer .footerMenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jr-footer .footerMenu li {
  display: block;
  margin: 0;
}

.jr-footer .footerMenu li > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--color-item-footer);
  font-size: 0.96rem;
  text-decoration: none;
  transition:
    color 0.3s var(--jr-ease),
    transform 0.3s var(--jr-ease);
}

.jr-footer .footerMenu li > a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jr-lime);
  flex: 0 0 auto;
  transition: transform 0.3s var(--jr-ease);
}

.jr-footer .footerMenu li > a:hover {
  color: var(--color-item-footer-hover) !important;
  transform: translateX(4px);
}

.jr-footer .footerMenu .sub-menu {
  position: static;
  visibility: visible;
  transform: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 16px !important;
  margin: 0;
  min-width: 0;
  list-style: none;
}

.jr-footer .footerMenu .sub-menu a {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* Coordonnées */
.jr-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.jr-footer__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.jr-footer__row .jr-footer__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--jr-lime-2);
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease);
}

.jr-footer__row:hover .jr-footer__ico {
  background: var(--jr-lime);
  color: var(--jr-forest);
}

.jr-footer__row .jr-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.jr-footer__row-label {
  display: block;
  font-family: titleFont, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jr-lime-2);
  margin-bottom: 3px;
}

.jr-footer__row a,
.jr-footer__row span.jr-footer__value {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s var(--jr-ease);
}

.jr-footer__row a:hover {
  color: var(--jr-lime-2);
}

/* Réseaux sociaux */
.jr-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px 0;
}

.jr-footer__socials a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-button);
  color: var(--color-icon-footer);
  box-shadow: none;
  margin: 0;
  padding: 0;
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease),
    transform 0.3s var(--jr-ease);
}

.jr-footer__socials a:hover {
  background: var(--color-button-hover);
  color: var(--jr-white);
  transform: translateY(-3px);
}

.jr-footer__socials a svg {
  width: 19px;
  height: 19px;
  fill: currentColor !important;
}

/* Barre de copyright */
.jr-copyright {
  background: var(--jr-forest-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.7);
}

.jr-copyright__inner {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 0.88rem;
  text-align: center;
}

.jr-copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s var(--jr-ease);
}

.jr-copyright a:hover {
  color: var(--jr-lime-2);
}

/* Lightbox galerie */
#modal {
  z-index: 900;
}

.jr-modal__close {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--jr-lime);
  color: var(--jr-forest);
  cursor: pointer;
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease),
    transform 0.3s var(--jr-ease);
}

.jr-modal__close:hover {
  background: var(--jr-orange);
  color: var(--jr-white);
  transform: rotate(90deg);
}

.jr-modal__close .jr-ico {
  width: 1.6rem;
  height: 1.6rem;
}

.jr-modal__img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--jr-radius-sm);
  box-shadow: var(--jr-shadow-lg);
}

/* ==========================================================================
   18. BLOC DE CONTACT FLOTTANT
   ========================================================================== */

.jr-dock {
  position: fixed;
  right: 0;
  bottom: 92px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-radius: 20px 0 0 20px;
  box-shadow: var(--jr-shadow);
}

.jr-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-button);
  color: var(--jr-forest);
  text-decoration: none;
  transition:
    background-color 0.3s var(--jr-ease),
    color 0.3s var(--jr-ease),
    transform 0.3s var(--jr-ease);
}

.jr-dock a:hover {
  background: var(--color-button-hover);
  color: var(--jr-white);
  transform: scale(1.06);
}

.jr-dock .jr-ico {
  width: 1.4rem;
  height: 1.4rem;
}

/* ==========================================================================
   19. MENTIONS LÉGALES & CONTENUS ÉDITORIAUX
   ========================================================================== */

.jr-legal {
  padding: clamp(48px, 6vw, 90px) 0 clamp(60px, 8vw, 110px);
}

.jr-legal__card {
  padding: clamp(28px, 4vw, 60px);
  background: var(--jr-white);
  border: 1px solid var(--jr-line);
  border-radius: var(--jr-radius);
  box-shadow: var(--jr-shadow);
}

.jr-legal__card h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--jr-forest);
  margin: 44px 0 14px;
  padding-left: 18px;
  position: relative;
  line-height: 1.25;
}

.jr-legal__card h2:first-child {
  margin-top: 0;
}

.jr-legal__card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 4px;
  background: var(--jr-lime);
}

.jr-legal__card p,
.jr-legal__card {
  line-height: 1.8;
}

.jr-legal__card a {
  color: var(--jr-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

/* ==========================================================================
   20. ANIMATIONS
   ========================================================================== */

@keyframes jr-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}

@keyframes jr-sway {
  0%,
  100% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(12deg);
  }
}

@keyframes jr-bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

@keyframes jr-grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */

@media (max-width: 1180px) {
  .jr-nav__phone small {
    display: none;
  }

  .jr-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .jr-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  :root {
    --jr-nav-h: 78px;
  }

  .jr-nav .containerMenu,
  .jr-nav__socials,
  .jr-nav__actions > .jr-btn-ico,
  .jr-nav__actions > .jr-btn {
    display: none !important;
  }

  .jr-burger {
    display: inline-flex;
  }

  .jr-tp {
    grid-template-columns: 1fr;
  }

  .jr-tp--reverse .jr-tp__media {
    order: 0;
  }

  .jr-tp__media::before,
  .jr-tp--reverse .jr-tp__media::before {
    inset: 16px -16px -16px 16px;
  }

  .jr-tp__badge,
  .jr-tp--reverse .jr-tp__badge {
    right: 16px;
    left: auto;
  }

  .jr-hero__leaf--2,
  .jr-hero__leaf--3 {
    display: none;
  }

  .jr-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .jr-cta .jr-btn-row {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .jr-wrap,
  .jr-wrap--narrow,
  .jr-hero__inner,
  .jr-pagehead__inner,
  .jr-cta__inner,
  .jr-strip__inner,
  .jr-copyright__inner {
    width: min(100% - 2.5rem, 1240px);
  }

  .jr-form__card form > div:first-child {
    grid-template-columns: 1fr;
  }

  .jr-footer__top {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .jr-presta__card {
    min-height: 360px;
  }

  /* Sur mobile (pas de survol), la description est toujours dépliée */
  .jr-presta__desc-wrap {
    grid-template-rows: 1fr;
    margin-top: 12px;
  }

  .jr-presta__desc {
    opacity: 1;
    transform: none;
  }

  .jr-presta__card::before {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .jr-hero {
    min-height: auto;
    padding: calc(var(--jr-nav-h) + 48px) 0 64px;
  }

  .jr-hero__leaf--1 {
    display: none;
  }

  .jr-hero__scroll {
    display: none;
  }

  .jr-btn-row {
    width: 100%;
  }

  .jr-btn-row > .jr-btn {
    width: 100%;
  }

  .jr-nav__phone span {
    display: none;
  }

  /* Ancré en bas à droite et passé en barre horizontale : à portée de pouce,
     et ne masque plus le contenu à mi-hauteur d'écran. */
  .jr-dock {
    top: auto;
    bottom: 14px;
    right: 12px;
    transform: none;
    flex-direction: row;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .jr-dock a {
    width: 46px;
    height: 46px;
  }

  .jr-team__photo {
    width: 130px;
    height: 130px;
  }
}

/* ==========================================================================
   22. ACCESSIBILITÉ — mouvement réduit
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .jr-hero__leaf,
  .jr-hero__scroll {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Focus visible homogène */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--jr-lime);
  outline-offset: 3px;
  border-radius: 4px;
}
