@charset "utf-8";
/* =====================================================
   SITE.CSS — commun à toutes les pages :
   police, en-tête et menu, pied de page, fondu entre les pages.
   Chaque page garde ensuite ses propres styles (ceux de ses blocs).
   ===================================================== */

/* ---------- la police des titres : Cormorant Garamond ----------
   Exactement comme sur l'ancien site : la seule graisse 500 (fichiers
   Google « statiques »). Les autres graisses et l'italique sont
   simulés par le navigateur, comme avant : les lignes tombent pareil.
   (Si les fichiers « -500 » manquent, l'ancien fichier sert de secours.) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-500.woff2") format("woff2"), url("../polices/cormorant-garamond.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../polices/cormorant-garamond-500-ext.woff2") format("woff2"), url("../polices/cormorant-garamond.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #2d3748;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
main { display: block; }
.ys-evitement { position: absolute; left: -9999px; top: 0; z-index: 2000; padding: 10px 16px; background: #1f2a22; color: #f1ebe6; }
.ys-evitement:focus { left: 10px; top: 10px; }

/* =====================================================
   LA BASE DE L'ANCIEN THÈME (Kadence + Elementor), dans le contenu
   Les blocs de l'ancien site ont été dessinés avec ces règles
   par-dessous : elles sont reprises telles quelles (mêmes
   priorités), pour que chaque page reste identique au pixel près.
   ===================================================== */
:root {
  --global-palette3: #1A202C; --global-palette4: #2D3748; --global-palette5: #4A5568; --global-palette6: #718096;
  --global-palette7: #EDF2F7; --global-palette9: #ffffff; --global-gray-400: #CBD5E0; --global-gray-500: #A0AEC0;
  --global-md-spacing: 2rem;
}
:where(.ys-contenu) h1, :where(.ys-contenu) h2, :where(.ys-contenu) h3, :where(.ys-contenu) h4, :where(.ys-contenu) h5, :where(.ys-contenu) h6 { padding: 0; margin: 0; }
:where(.ys-contenu) h1 a, :where(.ys-contenu) h2 a, :where(.ys-contenu) h3 a, :where(.ys-contenu) h4 a, :where(.ys-contenu) h5 a, :where(.ys-contenu) h6 a { color: inherit; text-decoration: none; }
:where(.ys-contenu) ul, :where(.ys-contenu) ol { margin: 0 0 1.5em 1.5em; padding: 0; }
:where(.ys-contenu) li > ul, :where(.ys-contenu) li > ol { margin-bottom: 0; margin-left: 1.5em; }
:where(.ys-contenu) img { display: block; height: auto; max-width: 100%; border: none; border-radius: 0; box-shadow: none; }
:where(.ys-contenu) figure { margin: .5em 0; }
:where(.ys-contenu) table { margin: 0 0 1.5em; width: 100%; }
:where(.ys-contenu) address { margin: 0 0 1.5em; }
:where(.ys-contenu) blockquote { padding-left: 1em; border-left: 4px solid var(--global-palette4); }
:where(.ys-contenu) a { color: #1A202C; text-underline-offset: .1em; transition: .1s linear; box-shadow: none; text-decoration: none; }
:where(.ys-contenu) a:hover, :where(.ys-contenu) a:focus, :where(.ys-contenu) a:active { color: #1A202C; text-underline-offset: .25em; }
:where(.ys-contenu) iframe, :where(.ys-contenu) video { border: none; line-height: 1; margin: 0; max-width: 100%; width: 100%; }
:where(.ys-contenu) button, :where(.ys-contenu) input, :where(.ys-contenu) select, :where(.ys-contenu) textarea { font-size: 100%; margin: 0; }
:where(.ys-contenu) textarea { width: 100%; overflow: auto; }
:where(.ys-contenu) button, :where(.ys-contenu) input[type="button"], :where(.ys-contenu) input[type="submit"] { border-radius: 3px; background: #2B6CB0; color: #fff; padding: .4em 1em; border: 0; font-size: 1.125rem; line-height: 1.6; display: inline-block; font-family: inherit; cursor: pointer; text-decoration: none; transition: .2s; }
:where(.ys-contenu) input[type="text"], :where(.ys-contenu) input[type="email"], :where(.ys-contenu) input[type="tel"], :where(.ys-contenu) input[type="number"], :where(.ys-contenu) input[type="search"], :where(.ys-contenu) input[type="url"], :where(.ys-contenu) textarea {
  -webkit-appearance: none; appearance: none; color: var(--global-palette5); border: 1px solid var(--global-gray-400); border-radius: 3px; padding: .4em .5em; max-width: 100%; background: #fff;
}
:where(.ys-contenu) select { border: 1px solid var(--global-gray-400); padding: .2em 35px .2em .5em; -webkit-appearance: none; appearance: none; outline: 0; }
.ys-contenu ::placeholder { color: var(--global-palette6); }
/* le texte des pages (ancien « .single-content ») */
.ys-contenu address, .ys-contenu figure, .ys-contenu hr, .ys-contenu p, .ys-contenu table, .ys-contenu pre, .ys-contenu form { margin-top: 0; margin-bottom: var(--global-md-spacing); }
.ys-contenu address:last-child, .ys-contenu figure:last-child, .ys-contenu hr:last-child, .ys-contenu p:last-child, .ys-contenu table:last-child, .ys-contenu pre:last-child, .ys-contenu form:last-child,
.ys-contenu h1:last-child, .ys-contenu h2:last-child, .ys-contenu h3:last-child, .ys-contenu h4:last-child, .ys-contenu h5:last-child, .ys-contenu h6:last-child, .ys-contenu ul:last-child, .ys-contenu ol:last-child { margin-bottom: 0; }
.ys-contenu p > img, .ys-contenu li > img { display: inline-block; }
.ys-contenu h1, .ys-contenu h2, .ys-contenu h3, .ys-contenu h4, .ys-contenu h5, .ys-contenu h6 { margin: 1.5em 0 .5em; }
.ys-contenu h1:first-child, .ys-contenu h2:first-child, .ys-contenu h3:first-child, .ys-contenu h4:first-child, .ys-contenu h5:first-child, .ys-contenu h6:first-child { margin-top: 0; }
.ys-contenu h1 + *, .ys-contenu h2 + *, .ys-contenu h3 + *, .ys-contenu h4 + *, .ys-contenu h5 + *, .ys-contenu h6 + * { margin-top: 0; }
.ys-contenu ul, .ys-contenu ol { margin: 0 0 var(--global-md-spacing); padding-left: 2em; }
.ys-contenu li > ol, .ys-contenu li > ul { margin: 0; }
/* Elementor : aucune marge autour des figures (même priorité qu'avant) */
.ys-contenu.ys-contenu.ys-contenu.ys-contenu figure { margin: 0; }

/* ---------- fondu blanc entre deux pages ---------- */
.ys-voile { position: fixed; inset: 0; z-index: 3000; background: #fff; pointer-events: none; opacity: 1; transition: opacity .6s ease; }
.ys-voile.ys-parti { opacity: 0; }
.ys-voile.ys-revient { opacity: 1; transition-duration: .45s; }
@media (prefers-reduced-motion: reduce) { .ys-voile { display: none; } }

/* =====================================================
   L'EN-TÊTE ET LE MENU (repris de l'ancien site)
   ===================================================== */
.ys-tete {
  --ys-creme: #f1ebe6;
  --ys-sauge: #cfdbcd;
  --ys-vert: #1f2a22;           /* vert sombre, presque noir */
  --ys-olive: #6b7d4f;          /* accent */
  --ys-texte: var(--ys-vert);
  --ys-accent: var(--ys-olive);
  --ys-bandeau: rgba(241, 235, 230, .97);
  --ys-filet: rgba(31, 42, 34, .12);
  --ys-h: 84px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ys-texte);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), background-color .35s ease, box-shadow .35s ease, color .35s ease;
}
.ys-tete *, .ys-tete *::before, .ys-tete *::after { box-sizing: border-box; }

/* déclinaison SOMBRE (au-dessus d'une photo) */
.ys-tete.ys-sombre {
  --ys-texte: #f7f3ec;
  --ys-accent: var(--ys-sauge);
  --ys-bandeau: rgba(20, 27, 22, .62);
  --ys-filet: rgba(247, 243, 236, .22);
}
.ys-tete.ys-sombre::before {          /* léger dégradé pour la lisibilité sur la photo */
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 11, .5), rgba(10, 14, 11, 0));
  pointer-events: none;
  transition: opacity .35s ease;
}

/* il revient en remontant : toujours la version claire, fond crème */
.ys-tete.ys-flotte {
  --ys-texte: var(--ys-vert);
  --ys-accent: var(--ys-olive);
  --ys-bandeau: rgba(241, 235, 230, .97);
  --ys-filet: rgba(31, 42, 34, .12);
  background: rgba(241, 235, 230, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(31, 42, 34, .45);
}
.ys-tete.ys-flotte::before { opacity: 0; }
.ys-tete.ys-cache { transform: translateY(calc(-100% - 4px)); }

.ys-barre {                      /* pas de position : le bandeau se cale sur toute la largeur de l'écran */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--ys-h);
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 44px);
}

/* le nom, à gauche */
.ys-tete .ys-marque, .ys-panneau .ys-marque { display: flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--ys-texte); line-height: 1; }
.ys-marque b { font-weight: 600; font-size: 23px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.ys-marque small { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; white-space: nowrap; }

/* les titres du menu */
.ys-nav { height: 100%; }
.ys-nav > ul { display: flex; align-items: stretch; gap: clamp(18px, 2.4vw, 38px); height: 100%; margin: 0; padding: 0; list-style: none; }
.ys-nav > ul > li { position: static; display: flex; align-items: center; margin: 0; }
.ys-tete .ys-lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ys-texte);
  white-space: nowrap;
  transition: color .25s ease;
}
.ys-lien::after {                       /* filet qui se dessine au survol */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.ys-nav li:hover > .ys-lien::after, .ys-nav li.ys-ouvert > .ys-lien::after, .ys-lien[aria-current="page"]::after, .ys-nav li.ys-actif > .ys-lien::after { transform: scaleX(1); }
.ys-tete .ys-lien:hover { color: var(--ys-accent); }
.ys-fleche { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s ease; }
.ys-nav li.ys-ouvert .ys-fleche { transform: rotate(180deg); }

/* le bandeau des sous-menus */
.ys-bandeau {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 22px 0 26px;
  background: var(--ys-bandeau);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--ys-filet);
  box-shadow: 0 24px 40px -30px rgba(31, 42, 34, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .28s ease, transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .35s;
}
.ys-nav li.ys-ouvert > .ys-bandeau { opacity: 1; visibility: visible; transform: none; transition: opacity .28s ease, transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s; }
/* la liste : placée par le script sur le bord gauche (ou droit) du titre */
.ys-bandeau ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--ys-colonnes, 3), max-content);   /* chaque colonne prend la largeur de son plus long sous-titre */
  gap: 2px 48px;
  justify-items: start;              /* sous-titres alignés à gauche de leur colonne */
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ys-bandeau li { margin: 0; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease; }
.ys-nav li.ys-ouvert > .ys-bandeau li { opacity: 1; transform: none; }
.ys-tete .ys-bandeau a {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ys-texte);
  white-space: nowrap;
  transition: color .2s ease, transform .25s ease;
}
.ys-tete .ys-bandeau a:hover, .ys-tete .ys-bandeau a:focus-visible, .ys-tete .ys-bandeau a[aria-current="page"] { color: var(--ys-accent); }
/* au survol, le titre ne bouge pas : un filet se dessine dessous, depuis la gauche (comme le menu) */
.ys-bandeau a::after { content: ""; position: absolute; left: 0; right: .12em; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.ys-bandeau a:hover::after, .ys-bandeau a:focus-visible::after, .ys-bandeau a[aria-current="page"]::after { transform: scaleX(1); }
.ys-tete a:focus { outline: none; }
.ys-tete a:focus-visible, .ys-tete button:focus-visible { outline: 2px solid var(--ys-accent); outline-offset: 4px; }

/* ---------- téléphone et tablette ---------- */
.ys-burger { display: none; }
.ys-panneau { display: none; }
@media (max-width: 1024px) {
  .ys-tete { --ys-h: 68px; }
  .ys-nav { display: none; }
  .ys-marque b { font-size: 19px; letter-spacing: .2em; }
  .ys-marque small { font-size: 9px; letter-spacing: .24em; }
  .ys-burger {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ys-texte);
    cursor: pointer;
  }
  .ys-burger span { display: block; width: 30px; height: 2px; margin: 3.5px 0; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
  .ys-burger i { display: block; }
  .ys-panneau {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    overflow-y: auto;
    padding: 0 0 40px;
    background: var(--ys-creme, #f1ebe6);
    color: #1f2a22;
    font-family: "Cormorant Garamond", Georgia, serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .35s;
  }
  .ys-panneau.ys-ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.22, .61, .36, 1), visibility 0s; }
  .ys-panneau-tete { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 20px; border-bottom: 1px solid rgba(31, 42, 34, .1); }
  .ys-panneau .ys-marque { color: #1f2a22; }
  .ys-fermer { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; color: #1f2a22; cursor: pointer; }
  .ys-fermer svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .ys-panneau > ul { margin: 0; padding: 14px 20px 0; list-style: none; }
  .ys-panneau > ul > li { margin: 0; border-bottom: 1px solid rgba(31, 42, 34, .1); }
  .ys-ligne { display: flex; align-items: center; justify-content: space-between; }
  .ys-panneau .ys-ligne > a { flex: 1; padding: 14px 0; font-size: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #1f2a22; }
  .ys-panneau .ys-ligne > a[aria-current="page"] { color: #6b7d4f; }
  .ys-plus { position: relative; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; color: #1f2a22; }
  .ys-plus::before, .ys-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.6px; margin: -.8px 0 0 -9px; background: currentColor; transition: transform .3s ease; }
  .ys-plus::after { transform: rotate(90deg); }
  .ys-plus[aria-expanded="true"]::after { transform: rotate(0deg); }
  /* les sous-titres, l'un sous l'autre */
  .ys-sous { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, .61, .36, 1); }
  .ys-sous.ys-ouvert { grid-template-rows: 1fr; }
  .ys-sous > ul { min-height: 0; overflow: hidden; display: flex; flex-direction: column; margin: 0; padding: 0 0 0 14px; list-style: none; border-left: 1px solid rgba(107, 125, 79, .35); }   /* l'un sous l'autre */
  .ys-sous.ys-ouvert > ul { margin-bottom: 14px; }
  .ys-panneau .ys-sous a { display: inline-block; padding: 7px 0; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #3c4a3e; }
  .ys-panneau .ys-sous a[aria-current="page"] { color: #6b7d4f; }
  .ys-panneau-pied { padding: 26px 20px 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6b7d4f; }
}
@media (prefers-reduced-motion: reduce) {
  .ys-tete, .ys-tete *, .ys-panneau, .ys-panneau * { transition: none !important; }
}

/* ---------- accueil : en-tête transparent, assombri au survol ---------- */
.ys-tete.ys-sombre:not(.ys-flotte)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 14, 11, 0);
  transition: background-color .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .ys-tete.ys-sombre:not(.ys-flotte):hover::after,
  .ys-tete.ys-sombre:not(.ys-flotte):focus-within::after {
    background: rgba(10, 14, 11, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* =====================================================
   LE PIED DE PAGE (repris de l'ancien site)
   ===================================================== */
.ys-pied {
  --ys-fond: #1f2a22;                       /* vert sombre du menu */
  --ys-creme: #f1ebe6;
  --ys-sauge: #cfdbcd;
  --ys-gris: rgba(241, 235, 230, .62);      /* texte courant */
  --ys-trait: rgba(241, 235, 230, .28);
  position: relative;
  z-index: 2;
  background: var(--ys-fond);
  color: var(--ys-gris);
  padding: clamp(64px, 6vw, 90px) 0 34px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
.ys-pied *, .ys-pied *::before, .ys-pied *::after { box-sizing: border-box; }
.ys-pied-contenu { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }

/* le filet qui se trace */
.ys-pied-filet { height: 1px; margin-bottom: clamp(48px, 5vw, 70px); background: var(--ys-trait); transform: scaleX(0); transform-origin: left center; transition: transform 1.1s ease-in-out; }
.ys-pied.ys-vu .ys-pied-filet { transform: scaleX(1); transition-delay: .2s; }

/* les colonnes qui montent */
.ys-pied-colonnes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .8fr); gap: 50px clamp(36px, 5vw, 80px); align-items: start; }
.ys-pied-col { opacity: 0; transform: translate3d(0, 100px, 0); }
.ys-pied.ys-vu .ys-pied-col { opacity: 1; transform: none; transition: transform 4s cubic-bezier(.18, 1, .21, 1), opacity 2.5s cubic-bezier(.18, 1, .21, 1); }
.ys-pied.ys-vu .ys-pied-col:nth-child(2) { transition-delay: .16s; }
.ys-pied.ys-vu .ys-pied-col:nth-child(3) { transition-delay: .32s; }
.ys-pied.ys-vu .ys-pied-col:nth-child(4) { transition-delay: .48s; }

.ys-pied p { margin: 0 0 12px; }
.ys-pied strong {
  display: block;
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(23px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--ys-creme);
}
.ys-pied a { color: var(--ys-gris); text-decoration: none; transition: color .3s ease-in-out; }
.ys-pied a:hover, .ys-pied a:focus-visible { color: var(--ys-creme); }
.ys-pied .ys-pied-discret { font-size: 13.5px; opacity: .8; }

/* le logo */
.ys-pied-logo { display: inline-block; margin-bottom: 22px; }
.ys-pied-logo img { display: block; width: 210px; max-width: 100%; height: auto; }
.ys-pied-marque p { max-width: 330px; }

/* les listes de liens */
.ys-pied-liste { list-style: none; margin: 0; padding: 0; }
.ys-pied-liste li + li { margin-top: 8px; }
.ys-pied-liste a { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.ys-pied-liste a::before { content: ""; display: inline-block; width: 0; height: 1px; margin-right: 0; vertical-align: middle; background: var(--ys-sauge); transition: width .3s ease-in-out, margin .3s ease-in-out; }
.ys-pied-liste a:hover::before, .ys-pied-liste a:focus-visible::before { width: 14px; margin-right: 8px; }

/* les losanges des réseaux */
.ys-reseaux { display: flex; gap: 40px; min-height: 45px; margin-top: 26px; padding: 5px 0 0 5px; }   /* même place, avec ou sans icônes */
.ys-pied .ys-reseau { position: relative; display: block; width: 40px; height: 40px; }
.ys-reseau::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--ys-trait); transform: rotate(45deg); transition: .3s ease-in-out; }
.ys-reseau svg { position: relative; display: block; width: 18px; height: 18px; margin: 11px; fill: var(--ys-gris); transition: fill .3s ease-in-out; }
.ys-reseau:hover::before, .ys-reseau:focus-visible::before { background: var(--ys-creme); border-color: var(--ys-creme); }
.ys-reseau:hover svg, .ys-reseau:focus-visible svg { fill: var(--ys-fond); }
.ys-reseau:focus-visible { outline: none; }

/* la ligne du bas */
.ys-pied .ys-pied-bas { margin: clamp(56px, 6vw, 80px) 0 0; padding-top: 22px; border-top: 1px solid rgba(241, 235, 230, .1); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: rgba(241, 235, 230, .42); }

@media (max-width: 1000px) {
  .ys-pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  /* le logo et les coordonnées sur toute la largeur, les deux listes côte à côte */
  .ys-pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .ys-pied-col:nth-child(-n+2) { grid-column: 1 / -1; }
  .ys-pied-logo img { width: 180px; }
  .ys-pied .ys-pied-bas { letter-spacing: .08em; line-height: 1.9; }
}

@media (prefers-reduced-motion: reduce) {
  .ys-pied-filet, .ys-pied-col { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* le lien discret vers l'administration */
.ys-pied .ys-pied-bas .ys-pied-admin { margin-left: 14px; font-size: 10.5px; letter-spacing: .1em; color: rgba(241, 235, 230, .3); }
.ys-pied .ys-pied-bas .ys-pied-admin:hover, .ys-pied .ys-pied-bas .ys-pied-admin:focus-visible { color: var(--ys-creme); }

/* ---------- le bouton « remonter » ---------- */
.ys-remonter {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(241, 235, 230, .35);
  background: #1f2a22;
  color: #f1ebe6;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background .3s ease-in-out, color .3s ease-in-out;
}
.ys-remonter.ys-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s, background .3s ease-in-out, color .3s ease-in-out; }
.ys-remonter:hover, .ys-remonter:focus-visible { background: #f1ebe6; color: #1f2a22; }
.ys-remonter svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .ys-remonter { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* =====================================================
   BLOCS COMMUNS (inc/blocs.php) : ils remplacent les
   widgets Elementor de l'ancien site
   ===================================================== */
@media (min-width: 1025px) { .ys-masque-ordi { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .ys-masque-tablette { display: none !important; } }
@media (max-width: 767px) { .ys-masque-tel { display: none !important; } }

.ys-espace { display: block; }

/* le logo « création de jardins », centré */
.ys-ep-logo { padding: 50px 20px; text-align: center; line-height: 0; }
.ys-ep-logo img { display: inline-block; width: 300px; max-width: 100%; height: auto; }

/* la bannière d'une page */
.ys-ep-banniere { padding: 0 20px; line-height: 0; }
.ys-ep-banniere img { display: block; width: 100%; height: auto; }
.ys-ep-banniere-plein { padding: 0; }
.ys-ep-banniere-tel { padding: 0; height: 220px; overflow: hidden; }
.ys-ep-banniere-tel img { height: 100%; object-fit: cover; }

/* ---------- le carrousel de photos ---------- */
.ys-car { --ys-car-vue: var(--ys-car-ordi, 3); position: relative; overflow: hidden; }
@media (max-width: 1023px) { .ys-car { --ys-car-vue: var(--ys-car-tab, 2); } }
@media (max-width: 766px) { .ys-car { --ys-car-vue: var(--ys-car-tel, 1); } }
.ys-car-fenetre { overflow: hidden; margin-right: calc(-1 * var(--ys-car-ecart, 0px)); }
.ys-car-piste { display: flex; will-change: transform; }
.ys-car-photo {
  flex: 0 0 calc(100% / var(--ys-car-vue));
  padding-right: var(--ys-car-ecart, 0px);
  line-height: 0;
}
.ys-car-photo img { display: block; width: 100%; height: auto; }
.ys-car-photo img { aspect-ratio: var(--ys-car-ratio, auto); object-fit: cover; }   /* une photo d'un autre format garde la même hauteur */
.ys-car-fleche {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(237, 237, 237, .9);
  cursor: pointer;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, .45));
}
.ys-car-avant { left: 0; }
.ys-car-apres { right: 0; }
.ys-car-fleche svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ys-car-fleche:hover, .ys-car-fleche:focus-visible { color: #fff; }
