/* ==========================================================================
   Fondation Mimosas — Ajustements Studio UB (thème enfant Salient)
   Version : 28.09.2026 — priorité mobile (≤ 999 px tablette, ≤ 690 px téléphone)
   Les !important sont nécessaires pour passer devant les styles en ligne
   générés par WPBakery (tailles saisies élément par élément).
   ========================================================================== */

:root {
  --mim-vert-fonce: #5a7334;   /* couleur extra 1 du thème */
  --mim-vert: #9eb88d;         /* couleur d'accent du thème */
  --mim-marge-mobile: 24px;    /* marge latérale unique sur mobile */
  --mim-section-mobile: 48px;  /* respiration verticale entre sections */
}

/* --------------------------------------------------------------------------
   1. En-tête mobile et tablette : logo plus grand, barre plus aérée
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 999px) {
  html body #top #logo img,
  html body #header-outer #logo img,
  html #header-outer[data-permanent-transparent="false"] #logo .dark-version,
  html body #header-outer .logo-spacing img {
    height: 40px !important;        /* 24 px auparavant */
    width: auto !important;
  }
  body #header-outer header#top {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* --------------------------------------------------------------------------
   2. Menu mobile (volet vert) : liens plus grands, plus espacés, plus actuels
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 999px) {
  #slide-out-widget-area .off-canvas-menu-container .menu > li {
    margin: 0 0 4px !important;
    padding: 0 !important;
  }
  #slide-out-widget-area .off-canvas-menu-container .menu > li > a {
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    padding: 7px 0 !important;
  }
  /* Bloc contact ajouté en bas du volet (voir functions.php) */
  #slide-out-widget-area .mim-menu-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
  }
  #slide-out-widget-area .mim-menu-contact a {
    color: #fff !important;
    text-decoration: none;
    display: block;
    font-size: 17px !important;
    font-weight: 500;
  }
  #slide-out-widget-area .mim-menu-contact .mim-menu-bouton {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #fff;
    color: var(--mim-vert-fonce) !important;
    font-weight: 600;
  }
}

/* --------------------------------------------------------------------------
   3. Échelle typographique téléphone : hiérarchie nette, lecture confortable
      H1 38 · H2 28 · H3 22 · H4 18 · H5/H6 16 · texte 16 / 1,6
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* uniquement le contenu des pages : le pied de page (section globale) garde son style */
  .main-content p, .main-content li,
  .main-content .vc_custom_heading:is(p, div) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  body #ajax-content-wrap .main-content h1 {
    font-size: 38px !important;
    line-height: 1.15 !important;
  }
  body #ajax-content-wrap .main-content h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  body #ajax-content-wrap .main-content h3 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }
  body #ajax-content-wrap .main-content h4 {
    font-size: 18px !important;
    line-height: 1.45 !important;
  }
  body #ajax-content-wrap .main-content :is(h5, h6) {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  /* Titre manuscrit de l'accueil (Allura) : plus présent */
  body h1.vc_custom_heading[style*="Allura"] {
    font-size: 54px !important;
    line-height: 1.1 !important;
  }
  /* Titres « surlignés » (Un EMS pas comme les autres) : pas un mot par ligne */
  .nectar-highlighted-text h2 { font-size: 30px !important; }
  /* Titres découpés animés (Salient split heading) : interligne réparé */
  .nectar-split-heading, .nectar-split-heading * {
    line-height: 1.15 !important;
  }
  /* Accordéons (FAQ, témoignages) : questions lisibles */
  .toggles .toggle-title a, .toggles .toggle h3 a, .toggle-heading,
  .fusion-toggle-heading {
    font-size: 17px !important;
    line-height: 1.4 !important;
  }
  /* Boutons et liens d'appel à l'action */
  .main-content .nectar-cta .link_text, .main-content .nectar-button {
    font-size: 15px !important;
  }
  /* Citations (témoignages équipe) : pas de retrait inutile */
  blockquote.nectar_single_testimonial {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  blockquote.nectar_single_testimonial p,
  .nectar_single_testimonial .inner p {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }
  /* Police unique : les blocs réglés en Roboto passent en Montserrat */
  [style*="font-family:Roboto"] {
    font-family: Montserrat, sans-serif !important;
  }
  /* Colonnes de texte réduites à 50-80 % de largeur sur téléphone : pleine largeur */
  .vc_col-xs-6:has(.wpb_wrapper :is(p, h1, h2, h3, h4, h5, h6, .nectar-cta)),
  .vc_col-xs-7:has(.wpb_wrapper :is(p, h1, h2, h3, h4, h5, h6)),
  .vc_col-xs-10:has(.wpb_wrapper :is(p, h1, h2, h3, h4, h5, h6)) {
    width: 100% !important;
    margin-left: 0 !important;
  }
  /* Colonnes décoratives vides à côté de ces textes (Accueil, Résidence) : masquées */
  .home .vc_col-xs-5:not(:has(img, p, h1, h2, h3, h4, h5, h6)),
  .page-id-7 .vc_col-xs-2:not(:has(img, p, h1, h2, h3, h4, h5, h6)) {
    display: none !important;
  }
  /* Textes clairs sur fonds verts : contraste suffisant */
  .vc_custom_heading[style*="rgba(255,255,255,0.7"] {
    color: #fff !important;
  }
}

/* --------------------------------------------------------------------------
   4. Rythme vertical mobile : aéré mais pas interminable
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  .main-content > .row > .wpb_row:not(:first-child) {
    padding-top: var(--mim-section-mobile) !important;
    padding-bottom: var(--mim-section-mobile) !important;
  }
  .main-content .wpb_row .row_col_wrap_12 > .vc_column_container,
  .main-content .wpb_row .row_col_wrap_12_inner > .vc_column_container {
    margin-bottom: 24px;
  }
  .main-content p { margin-bottom: 14px; }
}

/* --------------------------------------------------------------------------
   5. Logos de certification (Prestations) : même hauteur, sur une ligne
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) > .vc_col-sm-4 {
    width: auto !important;
    flex: 1 1 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* La 1re colonne contient deux logos : elle compte double et les aligne côte à côte */
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) > .vc_col-sm-4:has(img[src*="fegems"]) {
    flex: 2 1 0 !important;
  }
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) .wpb_wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) .img-with-aniamtion-wrap {
    flex: 1 1 0;
    margin: 0 !important;
  }
  :is(.row_col_wrap_12, .row_col_wrap_12_inner):has(> .vc_col-sm-4 img[src*="fegems"]) img {
    height: 64px !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

/* --------------------------------------------------------------------------
   6. Bouton flottant « Appeler » (mobile et tablette uniquement)
   -------------------------------------------------------------------------- */
.mim-appel { display: none; }
@media only screen and (max-width: 999px) {
  .mim-appel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 9990;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    background: var(--mim-vert-fonce);
    color: #fff !important;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transition: transform .2s ease, opacity .2s ease;
  }
  .mim-appel svg { width: 20px; height: 20px; fill: currentColor; }
  .mim-appel:active { transform: scale(0.96); }
  /* Masqué quand le menu mobile est ouvert */
  body.material-ocm-open .mim-appel,
  #slide-out-widget-area.open ~ .mim-appel { opacity: 0; pointer-events: none; }
}

/* --------------------------------------------------------------------------
   7. Pied de page (section globale verte) : titres compacts, pas d'orphelin
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* (règle retirée le 28.09 : le pied de page garde exactement son style d'origine) */
}

/* --------------------------------------------------------------------------
   8. Sécurités de mise en page téléphone
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Tailles forcées sur des fragments de texte : on suit la taille du paragraphe */
  .main-content .wpb_text_column :is(span, div)[style*="font-size"] {
    font-size: inherit !important;
    line-height: inherit !important;
  }
  /* Aucun texte coupé au bord de l'écran */
  .main-content :is(p, li, h1, h2, h3, h4) { overflow-wrap: break-word; }
}

/* --------------------------------------------------------------------------
   9. Accueil — hero mobile : titre plus grand et remonté, dessin pleine largeur
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  .home .main-content .wpb_row.top-level {
    padding-top: 8px !important;
  }
  /* colonnes latérales vides du hero : supprimées sur téléphone */
  .home .wpb_row.top-level > .row_col_wrap_12 > .vc_column_container:not(:has(img, p, h1, h2, h3, h4, h5, h6, a)) {
    display: none !important;
  }
  .home .wpb_row.top-level > .row_col_wrap_12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.home #ajax-content-wrap .vc_custom_heading[style*="Allura"] {
    font-size: 64px !important;
    line-height: 1 !important;
    margin-bottom: 0 !important;
  }
  /* dessin de la maison : bord à bord */
  .home .wpb_row.top-level .img-with-aniamtion-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }
  .home .wpb_row.top-level .img-with-aniamtion-wrap img {
    width: 100% !important;
    height: auto !important;
  }
}

/* --------------------------------------------------------------------------
   10. Résidence — hero mobile : la photo animée du bureau devient un bandeau
       au-dessus du titre (au lieu d'une colonne étroite en dégradé)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  .page-id-7 .row_col_wrap_12:has(> .vc_col-sm-9.vc_col-xs-6) {
    flex-wrap: wrap !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-9.vc_col-xs-6 {
    width: 100vw !important;
    max-width: 100vw !important;
    flex: 0 0 100vw !important;
    order: -1;
    margin: 0 0 8px calc(50% - 50vw) !important;
  }
  /* voile dégradé léger (comme sur ordinateur) pour laisser voir la photo */
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .column-overlay-layer {
    opacity: 0.3 !important;
  }
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .inner_row {
    min-width: 100% !important;
  }
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .divider {
    height: 44vh !important;
  }
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .column-image-bg-wrap.viewport-desktop {
    display: block !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 {
    width: 100% !important;
  }
  /* titre rapproché de la photo */
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 > .vc_column-inner {
    padding-top: 12px !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 .inner_row:first-child {
    padding-top: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   11. Témoignages — collage de photos : grille propre sur téléphone
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  .page-id-1251 .inner_row:has(img):has(> .row_col_wrap_12_inner > :is(.vc_col-xs-1, .vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-6)) > .row_col_wrap_12_inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 10px !important;
  }
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :is(.vc_col-xs-1, .vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-6) {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > .vc_col-xs-1 { display: none !important; }
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :is(.vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-6) :is(.vc_column-inner, .wpb_wrapper, .img-with-aniamtion-wrap, .inner, .hover-wrap, .hover-wrap-inner) {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :is(.vc_col-xs-3, .vc_col-xs-4, .vc_col-xs-6) img {
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 12px;
  }
  /* 5e photo seule sur sa ligne : pleine largeur */
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :is(.vc_col-xs-3, .vc_col-xs-4):last-child:nth-child(odd of :not(.vc_col-xs-1)) {
    grid-column: 1 / -1;
  }
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :is(.vc_col-xs-3, .vc_col-xs-4):last-child:nth-child(odd of :not(.vc_col-xs-1)) img {
    height: 190px !important;
  }
}

/* --------------------------------------------------------------------------
   12. Infos pratiques — bloc d'inscription modernisé + 3 gros boutons
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Colonne « deuxième temps » en carte blanche */
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) p:empty,
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) p:has(> br:only-child) { display: none; }
  /* Liens PDF → gros boutons pleine largeur */
  .page-id-1274 .fusion-text p:has(> a[href$=".pdf"]) {
    font-size: 0 !important;       /* masque la puce « • » saisie à la main */
    margin: 0 0 12px !important;
  }
  .page-id-1274 .fusion-text p > a[href$=".pdf"],
  .page-id-1274 .main-content .nectar-cta .link_text {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 20px !important;
    border-radius: 14px;
    background: var(--mim-vert-fonce);
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(90, 115, 52, 0.25);
  }
  .page-id-1274 .fusion-text p > a[href$=".pdf"]::after {
    content: "";
    flex: 0 0 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-5-5h3V4h4v7h3l-5 5zm-7 2h14v2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-5-5h3V4h4v7h3l-5 5zm-7 2h14v2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .page-id-1274 .main-content .nectar-cta .link_text .text { color: #fff !important; font-size: 16px !important; }
  .page-id-1274 .main-content .nectar-cta, .page-id-1274 .main-content .nectar-cta .link_wrap { display: block !important; width: 100%; }
}

/* --------------------------------------------------------------------------
   13. Menu mobile : « Contact » retiré de la liste (bouton « Nous contacter » en bas)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 999px) {
  #slide-out-widget-area .off-canvas-menu-container .menu > li:has(> a[href$="/contact/"]) {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   14. Accueil — mise au propre mobile (retours Tin 28.09 19h)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Hero : le titre se pose sur la partie claire (arche) du dessin */
  .home .wpb_row.top-level .inner_row:has(h1) {
    position: relative;
    z-index: 3;
    margin-bottom: 0 !important;
  }
  .home .wpb_row.top-level .inner_row:has(.img-with-aniamtion-wrap) {
    position: relative;
    z-index: 1;
    margin-top: -58px !important;
  }
  .home .wpb_row.top-level .inner_row:has(.img-with-aniamtion-wrap) .vc_column_container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* Section « Un EMS pas comme les autres » (et ses deux filets) : retirée sur téléphone */
  .home .main-content > .row > .wpb_row:has(.nectar-highlighted-text) {
    display: none !important;
  }
  /* Espaceur de 250 px prévu pour l'ordinateur : inutile sur téléphone */
  .home .main-content > .row > .wpb_row:has(.divider-wrap):not(:has(p, h1, h2, h3, h4, h5, h6, img, a, .nectar-fancy-box)) {
    display: none !important;
  }
  /* Carrés de couleur : même écart partout (décalages « en quinconce » de l'ordinateur annulés) */
  .home .inner_row:has(.nectar-fancy-box) > .row_col_wrap_12_inner > .vc_column_container {
    margin: 0 0 14px !important;
    padding: 0 !important;
  }
  .home .inner_row:has(.nectar-fancy-box) > .row_col_wrap_12_inner > .vc_column_container:last-child {
    margin-bottom: 0 !important;
  }
  .home .inner_row:has(.nectar-fancy-box) > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner {
    padding: 0 !important;
  }
  .home .nectar-fancy-box {
    margin: 0 0 14px !important;
  }
  /* le dernier carré de chaque colonne ne double pas l'écart */
  .home .inner_row:has(.nectar-fancy-box) .vc_column_container .wpb_wrapper > .nectar-fancy-box:last-child {
    margin-bottom: 0 !important;
  }
  /* Carte témoignage : sur ordinateur elle chevauche la photo (décalage -50 % / -17 %),
     sur téléphone elle reprend sa place normale */
  .home .inner_row[class*="translate_y_"], .home .inner_row[class*="translate_x_"] {
    transform: none !important;
  }
  /* Accueil : respiration un peu plus serrée entre les sections */
  .home .main-content > .row > .wpb_row:not(:first-child) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .home .main-content > .row > .wpb_row:has(.inner_row[class*="translate_y_"]) {
    padding-top: 16px !important;
  }
  /* Intro « Découvrez-en plus » plus proche des carrés */
  .home #creative-services > .row_col_wrap_12 > .vc_column_container:first-child {
    margin-bottom: 20px !important;
  }
}

/* --------------------------------------------------------------------------
   15. Accueil — ajustements fins (retours Tin 28.09 19h15)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Hero : titre plus grand, un peu plus bas, toujours dans l'arche du dessin */
  .home .main-content .wpb_row.top-level {
    padding-top: 22px !important;
  }
  .home .wpb_row.top-level .inner_row:has(.img-with-aniamtion-wrap) {
    margin-top: -84px !important;
  }

  /* Disponibilité des places : texte et lien resserrés, lien en bouton */
  .home .main-content > .row > .wpb_row.parallax_section .inner_row,
  .home .main-content > .row > .wpb_row.parallax_section .inner_row .vc_column_container {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .home .main-content > .row > .wpb_row.parallax_section .nectar-split-heading {
    margin-bottom: 14px !important;
  }
  .home .main-content > .row > .wpb_row.parallax_section .nectar-cta {
    margin-top: 18px !important;
  }
  .home .main-content > .row > .wpb_row.parallax_section .nectar-cta .link_text {
    display: inline-block;
    padding: 12px 24px;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff !important;
    font-size: 15px !important;
    text-decoration: none !important;
  }
  .home .main-content > .row > .wpb_row.parallax_section .nectar-cta .link_text::before,
  .home .main-content > .row > .wpb_row.parallax_section .nectar-cta .link_text::after {
    display: none !important;   /* soulignement animé de Salient retiré */
  }

  /* Témoignage : la photo du potager reste visible au-dessus de la carte */
  .home .main-content > .row > .wpb_row:has(.inner_row[class*="translate_y_"]) {
    padding-top: 210px !important;
    padding-bottom: 24px !important;
    margin-top: 16px !important;
  }
  .home .main-content > .row > .wpb_row:has(.inner_row[class*="translate_y_"]) > .row_col_wrap_12 > .vc_column_container:last-child {
    margin-bottom: 0 !important;
  }

  /* Nos prestations : titre moins massif, écarts réguliers */
  .home #ajax-content-wrap .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row,
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row .vc_column_container {
    margin-bottom: 18px !important;
  }
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .nectar-cta {
    margin: 4px 0 8px !important;
  }

  /* Nos actualités : le titre devient un bouton arrondi vers la page Actualités */
  .home .nectar-split-heading:has(a.mim-titre-bouton) .heading-line > div,
  .home .nectar-split-heading:has(a.mim-titre-bouton) .heading-line {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
  .home a.mim-titre-bouton {
    display: flex !important;
    justify-content: center;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: 999px;
    background: var(--mim-vert-fonce);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(90, 115, 52, 0.25);
    margin-bottom: 8px;
  }
  .home #ajax-content-wrap a.mim-titre-bouton h1 {
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }
  /* le titre d'origine est un « split heading » auto-ajusté (fitty) : on neutralise sa hauteur */
  .home .nectar-split-heading:has(a.mim-titre-bouton),
  .home .nectar-split-heading:has(a.mim-titre-bouton) > * {
    font-size: 16px !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .home .nectar-split-heading:has(a.mim-titre-bouton) {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  /* pas de flèche : bouton plus sobre */
}

/* --------------------------------------------------------------------------
   16. Accueil — hero lisible, bouton Résidence, bouton Prestations en fin de bloc
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Accroche « Etablissement Médico-Social (EMS) à Genthod, Genève. » plus grande */
  .home .wpb_row.top-level .nectar-responsive-text p,
  .home .wpb_row.top-level .nectar-responsive-text {
    font-size: 19px !important;
    line-height: 1.45 !important;
  }
  .home .wpb_row.top-level .nectar-responsive-text {
    max-width: 320px;
    margin: 0 auto;
  }
  /* « Découvrir la résidence » en vrai bouton */
  .home .wpb_row.top-level .nectar-cta {
    text-align: center !important;
    margin-top: 18px !important;
  }
  .home .wpb_row.top-level .nectar-cta .link_text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    background: var(--mim-vert-fonce);
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(90, 115, 52, 0.25);
  }
  .home .wpb_row.top-level .nectar-cta .link_text::before,
  .home .wpb_row.top-level .nectar-cta .link_text::after {
    display: none !important;
  }
  /* Nos prestations : tous les textes ensemble, bouton à la fin */
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row:has(.nectar-button) > .row_col_wrap_12_inner {
    display: flex !important;
    flex-direction: column;
  }
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row:has(.nectar-button) > .row_col_wrap_12_inner > .vc_column_container,
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row:has(.nectar-button) > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner,
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row:has(.nectar-button) > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner > .wpb_wrapper {
    display: contents !important;
  }
  .home .main-content > .row > .wpb_row:has(.vc_custom_heading[style*="0.71"]) .inner_row:has(.nectar-button) .nectar-button {
    order: 99;
    align-self: flex-start;
    margin: 10px 0 0 !important;
  }
}

/* --------------------------------------------------------------------------
   17. Accueil (témoignage) + Résidence mobile (retours Tin 28.09 20h25)
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 690px) {
  /* Accueil : carte témoignage plus compacte, la photo respire */
  .home .inner_row[class*="translate_y_"] {
    width: 74% !important;
  }
  .home .inner_row[class*="translate_y_"] > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner {
    padding: 18px 18px 16px !important;
  }
  .home .inner_row[class*="translate_y_"] .nectar_single_testimonial p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
  }
  .home .inner_row[class*="translate_y_"] .nectar_single_testimonial .open-quote {
    font-size: 48px !important;
    line-height: 1 !important;
    height: 34px !important;
    margin-bottom: -4px !important;
  }
  .home .inner_row[class*="translate_y_"] .nectar_single_testimonial .wrap > span:first-child {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }
  .home .inner_row[class*="translate_y_"] .nectar_single_testimonial .wrap .title {
    font-size: 12px !important;
  }

  /* Résidence — hero : titre posé en haut de la photo, texte d'intro sous la photo.
     Hauteur liée à la largeur (vw) et non à la hauteur d'écran (vh), qui varie
     selon les iPhone et les barres de Safari. */
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .divider {
    height: 108vw !important;
    max-height: 560px;
  }
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 .column-image-bg-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 38%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
  }
  .page-id-7 .vc_col-sm-9.vc_col-xs-6 {
    margin-bottom: 0 !important;
  }
  /* le titre sort du flux et se cale en haut de la photo */
  .page-id-7 .main-content > .row > .wpb_row:first-child > .row_col_wrap_12 {
    position: relative !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6,
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 > .vc_column-inner {
    position: static !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 .inner_row:first-child {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    margin: 0 !important;
    padding: 26px 0 0 !important;
  }
  .page-id-7 #ajax-content-wrap .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 .inner_row:first-child h1 {
    color: #fff !important;
    font-size: clamp(28px, 8.4vw, 38px) !important;
    line-height: 1.12 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  }
  /* texte d'intro juste sous la photo */
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 {
    margin-bottom: 0 !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 > .vc_column-inner {
    padding-top: 16px !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 .inner_row:not(:first-child) .vc_column_container {
    margin-bottom: 8px !important;
  }
  .page-id-7 .row_col_wrap_12 > .vc_col-sm-3.vc_col-xs-6 .inner_row:not(:first-child) .vc_column-inner {
    padding-right: 0 !important;
  }
  /* bloc « Tous ceux qui sont venus… » : moins d'espace au-dessus */
  .page-id-7 .main-content > .row > .wpb_row:nth-child(2) {
    padding-top: 28px !important;
    padding-bottom: 8px !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:nth-child(2) .inner_row:last-child .vc_column_container {
    margin-bottom: 0 !important;
  }

  /* Résidence — « La maison » et « Le cadre » : textes et photos resserrés */
  .page-id-7 .main-content > .row > .wpb_row:nth-child(3) {
    padding-top: 24px !important;
    padding-bottom: 0 !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:nth-child(4) {
    padding-top: 16px !important;
    padding-bottom: 0 !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) > .row_col_wrap_12 > .vc_column_container,
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .inner_row .vc_column_container {
    margin-bottom: 0 !important;
  }
  /* encadré texte : marges latérales conservées, espacements internes réduits */
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .padding-12-percent > .vc_column-inner {
    padding: 24px 22px 12px !important;
    transform: none !important; /* décalage « chevauchement » prévu pour l'ordinateur */
  }
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .wpb_text_column {
    margin-bottom: 14px !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .wpb_text_column :is(h2, h3) {
    margin-bottom: 0 !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .wpb_text_column p {
    padding-bottom: 0 !important;
    margin-bottom: 12px !important;
  }
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .wpb_text_column:last-child,
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .wpb_text_column p:last-child {
    margin-bottom: 0 !important;
  }
  /* photos bord à bord */
  .page-id-7 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(4)) .vc_col-sm-5 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }

  /* Résidence — titres en blanc sur toutes les parties vertes */
  .page-id-7 #ajax-content-wrap .wpb_row:has(.nectar-sticky-media-sections) :is(h1, h2, h3):not(.nectar-sticky-media-sections *),
  .page-id-7 #ajax-content-wrap .nectar-sticky-media-section__content-section:nth-child(odd) :is(h1, h2, h3) {
    color: #fff !important;
  }
}

/* Résidence : pastille décorative derrière « Tous ceux qui sont venus… » dans le vert du site */
.page-id-7 .main-content .nectar-animated-shape circle {
  fill: #9eb88d !important;
}

/* --------------------------------------------------------------------------
   18. Toutes les pages : fond vert sous le pied de page
       (zone visible quand on « tire » en bas de page sur iPhone / Mac)
   -------------------------------------------------------------------------- */
/* Safari (iPhone) prend la couleur de html ou de body pour la zone de rebond :
   on met les deux en vert ; le contenu garde son propre fond (#f4f4f4 / blanc). */
html,
body {
  background-color: #9eb88d !important;
}
#ajax-content-wrap {
  background-color: #f4f4f4;
}

/* --------------------------------------------------------------------------
   19. Prestations (page 1236) — refonte mobile
       Rangées : 1 accompagnement + photo, 2 photo + accueil de jour,
       3 autres services (vert), 4 notre équipe + photo, 5 certifications.
       Les classes mim-carte / mim-puce sont posées par le script mimosas_scripts_interface.
   -------------------------------------------------------------------------- */
/* Ordinateur : les anciens tirets deviennent de petites puces vertes */
@media only screen and (min-width: 691px) {
  .page-id-1236 :is(.mim-carte, .mim-puce) {
    position: relative;
    padding-left: 20px !important;
  }
  .page-id-1236 :is(.mim-carte, .mim-puce)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9eb88d;
  }
}

@media only screen and (max-width: 690px) {
  .page-id-1236 .main-content > .row > .wpb_row { --r: 18px; }

  /* ---- 1. Accompagnement : les prestations en encarts colorés (palette de l'accueil) ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) {
    padding-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) {
    padding-top: 4px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) .vc_column_container {
    margin-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) h4 {
    margin: 0 0 14px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }
  .page-id-1236 .main-content .mim-carte {
    margin: 0 0 12px !important;
    padding: 18px 20px !important;
    border-radius: 16px;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  .page-id-1236 .main-content .mim-carte * { color: #fff !important; }
  .page-id-1236 .mim-carte.mim-c0 { background: #2ac4ea; }
  .page-id-1236 .mim-carte.mim-c1 { background: #9eb88d; }
  .page-id-1236 .mim-carte.mim-c2 { background: #ff1053; }
  .page-id-1236 .mim-carte.mim-c3 { background: #fbbc05; }
  .page-id-1236 .mim-carte.mim-c4 { background: #2f88d6; }
  .page-id-1236 .mim-carte.mim-c5 { background: #34a853; }

  /* ---- 1-2. Les deux photos se chevauchent au lieu d'être séparées par un grand vide ---- */
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(2), :nth-child(3), :nth-child(5)) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)),
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(2), :nth-child(3), :nth-child(5)) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) :is(.inner_row, .vc_column_container) {
    margin-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(2), :nth-child(5)) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) .divider {
    height: 250px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(2), :nth-child(3), :nth-child(5)) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) :is(.column-image-bg-wrap, .column-image-bg-wrap .inner-wrap) {
    border-radius: var(--r) !important;
    overflow: hidden;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) {
    margin-top: 16px !important;
  }
  /* 2e photo : plus petite, décalée à droite, posée sur le bas de la 1re */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(3) {
    padding-top: 0 !important;
    padding-bottom: 24px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(3) > .row_col_wrap_12 > .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) {
    position: relative;
    z-index: 3;
    width: 64% !important;
    max-width: 64% !important;
    margin: -72px 26px 0 auto !important;
    border: 5px solid #fff;
    border-radius: calc(var(--r) + 5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(3) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) .divider {
    height: 210px !important;
  }
  /* « L'accueil de jour » remonte et reprend la largeur des autres blocs */
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(3), :nth-child(6)) > .row_col_wrap_12 > .vc_col-xs-12:has(p) {
    width: auto !important;
    max-width: none !important;
    margin: 8px 26px 0 !important;
  }

  /* ---- 3. Nos autres services : titre centré, titres blancs, services en cartes ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .nectar-sticky-column-css {
    text-align: center;
    margin-bottom: 20px !important;
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(4) .nectar-sticky-column-css h3 {
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .nectar-sticky-column-css p {
    color: #fff !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row .child_column {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row .child_column > .vc_column-inner {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 18px 20px !important;
    margin-bottom: 12px;
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(4) .inner_row h4 {
    color: #fff !important;
    margin: 0 0 6px !important;
    font-size: 18px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row p {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ---- 4. Notre équipe : bloc vert, fonctions en étiquettes, textes encadrés ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .inner_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .inner_row .vc_column_container {
    margin-bottom: 8px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .wpb_text_column:has(h5) {
    margin: 4px 0 14px !important;
    padding: 20px !important;
    border-radius: 16px;
    background: var(--mim-vert-fonce);
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(5) h5 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.45 !important;
  }
  .page-id-1236 .main-content .mim-puce {
    position: relative;
    margin: 0 0 8px !important;
    padding: 12px 16px 12px 36px !important;
    border-radius: 12px;
    background: #f1f5ee;
    border: 1px solid #d5e2cc;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .page-id-1236 .main-content .mim-puce::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border-radius: 50%;
    background: #9eb88d;
  }
  /* paragraphes d'explication : encadrés avec filet vert */
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(5), :nth-child(6)) .child_column:not(:has(h5, h2, img)) p,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) p {
    margin: 0 0 12px !important;
    padding: 16px 18px !important;
    border-radius: 14px;
    background: #f7f7f4;
    border-left: 4px solid #9eb88d;
  }
  /* photo de l'équipe */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5)) {
    margin-top: 12px !important;
  }

  /* ---- 5. Certifications : colonne photo vide supprimée (aucune image n'y est définie) ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) > .row_col_wrap_12 > .vc_col-xs-12:not(:has(p, h1, h2, h3, h4, h5, img, .column-image-bg)) {
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) {
    padding-top: 32px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(h3) {
    margin-bottom: 16px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row .child_column {
    margin-bottom: 0 !important;
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(6) h3 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }
}

/* --------------------------------------------------------------------------
   20. Résidence : le grand chiffre « 01 » de « Nos atouts » est masqué partout
   -------------------------------------------------------------------------- */
.page-id-7 .main-content .nectar-responsive-text.font_size_desktop_10vw {
  display: none !important;
}

/* --------------------------------------------------------------------------
   21. Témoignages (page 1251) — mobile
       carrousel des deux mots de l'équipe (classes posées par le script),
       collage régulier, zone grise « notre communauté » harmonisée
   -------------------------------------------------------------------------- */
.mim-carrousel__nav { display: none; }
@media only screen and (max-width: 690px) {
  /* ---- carrousel ---- */
  .page-id-1251 .mim-carrousel > .mim-carrousel__piste {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 26px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -26px !important;
    padding: 4px 26px 8px !important;
  }
  .page-id-1251 .mim-carrousel > .mim-carrousel__piste::-webkit-scrollbar { display: none; }
  .page-id-1251 .mim-carrousel > .mim-carrousel__piste > .vc_column_container {
    flex: 0 0 86% !important;
    width: 86% !important;
    max-width: 86% !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
    transform: none !important;
  }
  .page-id-1251 .mim-carrousel > .mim-carrousel__piste > .vc_column_container > .vc_column-inner {
    height: 100%;
    padding: 22px 20px !important;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  }
  .page-id-1251 .mim-carrousel .nectar_single_testimonial p {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 10px !important;
  }
  .page-id-1251 .mim-carrousel__nav {
    position: relative;
    z-index: 5;           /* au-dessus du calque de fond de la rangée */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 14px 0 0;
  }
  .page-id-1251 .mim-carrousel__fleche {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--mim-vert-fonce);
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    padding: 0;
    cursor: pointer;
  }
  .page-id-1251 .mim-carrousel__fleche[disabled] { opacity: 0.35; }
  .page-id-1251 .mim-carrousel__points { display: flex; gap: 8px; }
  .page-id-1251 .mim-carrousel__point {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9d6bf;
  }
  .page-id-1251 .mim-carrousel__point.is-actif { background: var(--mim-vert-fonce); width: 22px; border-radius: 5px; }
  /* section « Un mot de la part de notre équipe » : respiration réduite */
  .page-id-1251 .main-content > .row > .wpb_row:has(.mim-carrousel) {
    padding-top: 36px !important;
    padding-bottom: 32px !important;
  }
  .page-id-1251 .main-content > .row > .wpb_row:has(.mim-carrousel) .inner_row:not(.mim-carrousel) {
    padding-bottom: 0 !important;
    margin-bottom: 12px !important;
  }
  .page-id-1251 .main-content > .row > .wpb_row:has(.mim-carrousel) .vc_column_container {
    margin-bottom: 0 !important;
  }

  /* ---- collage : colonnes vides retirées → même écart (10 px) partout ---- */
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > .vc_column_container:not(:has(img)) {
    display: none !important;
  }
  .page-id-1251 .main-content > .row > .wpb_row:has(.inner_row img) .inner_row {
    padding: 0 !important;
  }
  /* clearfix (::after) de Salient qui créait une ligne fantôme de 10 px dans la grille */
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner > :not(.vc_column_container),
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner::before,
  .page-id-1251 .inner_row:has(img) > .row_col_wrap_12_inner::after {
    display: none !important;
  }

  /* ---- « Enfin, un mot de la part de notre communauté » : titre et carrousel
          dans une même zone grise, espacements réguliers ---- */
  .page-id-1251 .main-content > .row > .wpb_row:has(> .row_col_wrap_12 .nectar-split-heading h1) {
    background: #f2f2f2;
    padding: 36px 0 12px !important;
  }
  .page-id-1251 #ajax-content-wrap .main-content > .row > .wpb_row .nectar-split-heading h1 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }
  .page-id-1251 .main-content > .row > .wpb_row:has(.testimonial_slider) {
    padding-top: 8px !important;
    padding-bottom: 36px !important;
  }
  .page-id-1251 .main-content > .row > .wpb_row:has(.testimonial_slider) .vc_column_container {
    margin-bottom: 0 !important;
  }
  .page-id-1251 .testimonial_slider blockquote .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px !important;
    border-radius: 18px;
  }
  .page-id-1251 .testimonial_slider blockquote .inner p {
    margin-top: 10px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  .page-id-1251 .testimonial_slider .testimonial-name {
    font-size: 16px !important;
    font-weight: 600;
  }
  .page-id-1251 .testimonial_slider .flickity-page-dots {
    position: static !important;
    margin-top: 14px !important;
  }
}

/* --------------------------------------------------------------------------
   22. Infos pratiques (page 1274)
       coordonnées en gras, titres « offres d'emploi » / « FAQ » dans un bandeau vert,
       photo finale pleine largeur collée au pied de page
   -------------------------------------------------------------------------- */
.page-id-1274 .main-content .mim-gras,
.page-id-1274 .main-content .mim-gras a {
  font-weight: 700 !important;
  color: inherit;
}
.page-id-1274 .main-content .mim-vide { display: none; }
.page-id-1274 .main-content .mim-masque { display: none !important; }
@media only screen and (max-width: 690px) {
  /* bandeaux verts de séparation : fond vert sur toute la largeur de l'écran */
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) {
    padding: 30px 0 !important;
    margin-bottom: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) > .row-bg-wrap .row-bg {
    background-color: #9eb88d !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) :is(.vc_column_container, .inner_row) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .page-id-1274 #ajax-content-wrap .main-content .nectar-highlighted-text h1 {
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .page-id-1274 .main-content .nectar-highlighted-text h1 :is(em, span, a) {
    color: #fff !important;
    background-image: none !important;
  }
  /* bouton « Formulaire d'inscription » d'origine : remplacé par le 3e bouton de la carte */
  .page-id-1274 .main-content .mim-masque { display: none !important; }
  /* respiration réduite sous les cartes de documents */
  .page-id-1274 .main-content > .row > .wpb_row:has(.mim-masque) {
    padding-bottom: 20px !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.mim-masque) .inner_row:has(.mim-masque:only-child),
  .page-id-1274 .main-content > .row > .wpb_row:has(.mim-masque) :is(.inner_row, .vc_column_container):last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  /* photo finale : pleine largeur, jusqu'au pied de page */
  .page-id-1274 .main-content > .row > .wpb_row:last-child {
    padding-bottom: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 24px calc(50% - 50vw) 0 !important;
    padding: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) :is(.vc_column-inner, .wpb_wrapper, .inner_row, .row_col_wrap_12_inner, .child_column, .img-with-aniamtion-wrap, .inner, .hover-wrap, .hover-wrap-inner) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) img {
    display: block;
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   23. Articles et actualités : aucun nom d'auteur affiché (toutes tailles d'écran)
   -------------------------------------------------------------------------- */
/* encadré « auteur » en bas des articles */
#author-bio,
.single-post .nectar-author-info-title,
/* « Par … » dans l'en-tête des articles */
.single-post .meta-author.vcard.author,
.single-post #single-below-header .meta-author,
/* nom et photo de l'auteur dans les grilles d'articles (la date reste) */
.meta-author-name,
.meta-author .avatar,
.meta-author img.avatar,
.author-leading {
  display: none !important;
}

/* --------------------------------------------------------------------------
   24. Prestations (page 1236) — version ordinateur harmonisée avec le mobile
       Même langage que le mobile : encarts colorés, cartes translucides dans
       le vert, étiquettes et textes encadrés, logos alignés sur une ligne.
       Échelle de texte unique : titres 34 px, chapeaux 18 px, textes 16 px.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 691px) {
  /* ---- Typographie commune ---- */
  .page-id-1236 .main-content > .row > .wpb_row:is(:nth-child(2), :nth-child(3), :nth-child(5)) .child_column:has(h2) p.vc_custom_heading,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(3) p.vc_custom_heading {
    font-size: 18px !important;
    line-height: 1.75 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(3) p.vc_custom_heading + p.vc_custom_heading {
    margin-top: 18px !important;
  }

  /* ---- 1. Accompagnement : les 6 prestations en encarts colorés, grille 2 colonnes ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100% !important;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner > .child_column,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner > .child_column > .vc_column-inner,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner > .child_column > .vc_column-inner > .wpb_wrapper {
    display: contents !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) :is(.row_col_wrap_12_inner, .child_column, .vc_column-inner, .wpb_wrapper)::before,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) :is(.row_col_wrap_12_inner, .child_column, .vc_column-inner, .wpb_wrapper)::after {
    content: none !important;
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner > .child_column > :not(.vc_column-inner),
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) > .row_col_wrap_12_inner > .child_column > .vc_column-inner > :not(.wpb_wrapper) {
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) .wpb_text_column:has(h4) {
    grid-column: 1 / -1;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(2) .inner_row:has(.mim-carte) h4 {
    margin: 0 0 2px !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  .page-id-1236 .main-content .mim-carte {
    margin: 0 !important;
    padding: 18px 20px !important;
    border-radius: 16px;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  .page-id-1236 .main-content .mim-carte::before { content: none !important; display: none !important; }
  .page-id-1236 .main-content .mim-carte * { color: #fff !important; }
  .page-id-1236 .mim-carte.mim-c0 { background: #2ac4ea; }
  .page-id-1236 .mim-carte.mim-c1 { background: #9eb88d; }
  .page-id-1236 .mim-carte.mim-c2 { background: #ff1053; }
  .page-id-1236 .mim-carte.mim-c3 { background: #fbbc05; }
  .page-id-1236 .mim-carte.mim-c4 { background: #2f88d6; }
  .page-id-1236 .mim-carte.mim-c5 { background: #34a853; }

  /* ---- 3. Nos autres services : titres en blanc, services en cartes translucides ---- */
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(4) .nectar-sticky-column-css h3 {
    color: #fff !important;
    font-size: 46px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .nectar-sticky-column-css p {
    color: #fff !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row {
    margin-bottom: 20px !important;
    padding: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row:last-child { margin-bottom: 0 !important; }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row > .row_col_wrap_12_inner {
    display: flex !important;
    align-items: stretch;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row .child_column {
    display: flex !important;
    margin-bottom: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row .child_column > .vc_column-inner {
    flex: 1;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 24px 26px !important;
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(4) .inner_row h4 {
    color: #fff !important;
    margin: 0 0 8px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(4) .inner_row p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  /* ---- 4. Notre équipe : bloc vert, fonctions en étiquettes, textes encadrés ---- */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .wpb_text_column:has(h5) {
    margin: 0 0 14px !important;
    padding: 20px 22px !important;
    border-radius: 16px;
    background: var(--mim-vert-fonce);
  }
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(5) h5 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  .page-id-1236 .main-content .mim-puce {
    position: relative;
    margin: 0 0 8px !important;
    padding: 12px 16px 12px 36px !important;
    border-radius: 12px;
    background: #f1f5ee;
    border: 1px solid #d5e2cc;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
  .page-id-1236 .main-content .mim-puce::before {
    left: 16px !important;
    top: 50% !important;
    width: 9px !important;
    height: 9px !important;
    margin-top: -4.5px;
  }
  /* 2e colonne de texte et textes des certifications : encadrés avec filet vert */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(5) .child_column:not(:has(h2, h5, .mim-puce)) p.vc_custom_heading,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) p.vc_custom_heading {
    margin: 0 0 12px !important;
    padding: 16px 18px !important;
    border-radius: 14px;
    background: #f7f7f4;
    border-left: 4px solid #9eb88d;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  /* ---- 5. Certifications : pleine largeur, textes en 3 cartes, logos alignés ---- */
  .page-id-1236 #ajax-content-wrap .main-content > .row > .wpb_row:nth-child(6) h3 {
    font-size: 30px !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
    max-width: 900px;
  }
}

@media only screen and (min-width: 1000px) {
  /* colonne photo vide supprimée : le texte prend toute la largeur */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) > .row_col_wrap_12 > .vc_column_container:not(:has(p, h3, img)) {
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) > .row_col_wrap_12 > .vc_column_container:has(h3) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) > .row_col_wrap_12 > .vc_column_container:has(h3) > .vc_column-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 40px 80px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) > .row_col_wrap_12 > .vc_column_container:has(h3) > .vc_column-inner > .wpb_wrapper {
    max-width: none !important;
    width: 100% !important;
  }
  /* les 3 textes côte à côte */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) > .vc_column-inner > .wpb_wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) > .vc_column-inner > .wpb_wrapper::before,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) > .vc_column-inner > .wpb_wrapper::after {
    content: none !important;
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) .wpb_text_column {
    grid-column: 1 / -1;
    margin: 0 0 6px !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .child_column:has(h3) p.vc_custom_heading {
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(h3) {
    margin-bottom: 36px !important;
    padding: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row .child_column { margin-bottom: 0 !important; }

  /* les 3 logos sur une ligne, chacun dans une carte blanche */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100% !important;
    margin: 0 !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column > .vc_column-inner,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column > .vc_column-inner > .wpb_wrapper {
    display: contents !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) :is(.row_col_wrap_12_inner, .child_column, .vc_column-inner, .wpb_wrapper)::before,
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) :is(.row_col_wrap_12_inner, .child_column, .vc_column-inner, .wpb_wrapper)::after {
    content: none !important;
    display: none !important;
  }
  /* seuls les logos deviennent des cases de la grille (les calques techniques de Salient sont écartés) */
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column > :not(.vc_column-inner),
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column > .vc_column-inner > :not(.wpb_wrapper),
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .inner_row:has(img) > .row_col_wrap_12_inner > .child_column > .vc_column-inner > .wpb_wrapper > :not(.img-with-aniamtion-wrap) {
    display: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .img-with-aniamtion-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin: 0 !important;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e3eadd;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .img-with-aniamtion-wrap :is(.inner, .hover-wrap, .hover-wrap-inner),
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .img-with-aniamtion-wrap > div {
    width: auto !important;
    height: 100% !important;
    max-width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    transform: none !important;
  }
  .page-id-1236 .main-content > .row > .wpb_row:nth-child(6) .img-with-aniamtion-wrap img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 150px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   25. Infos pratiques (page 1274) — version ordinateur alignée sur le mobile
       Cartes blanches, gros boutons de téléchargement verts, bandes vertes
       « Nos offres d'emploi » / « Foire aux questions », photo finale pleine largeur.
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 691px) {
  /* titre « Dans un deuxième temps… » à l'échelle des autres titres */
  .page-id-1274 .main-content .inner_row:has(.nectar-split-heading) .child_column {
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-id-1274 #ajax-content-wrap .main-content .nectar-split-heading :is(h1, h1 *) {
    font-size: 42px !important;
    line-height: 1.2 !important;
  }
  .page-id-1274 .main-content .inner_row:has(.nectar-split-heading) {
    margin-bottom: 28px !important;
  }

  /* les deux colonnes (coordonnées / documents) en cartes blanches de même hauteur */
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) > .row_col_wrap_12_inner {
    display: flex !important;
    align-items: stretch;
    gap: 28px;
    width: 100% !important;
    margin: 0 !important;
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) > .row_col_wrap_12_inner > .vc_column_container {
    display: flex !important;
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) > .row_col_wrap_12_inner > .vc_column_container > .vc_column-inner {
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 32px 34px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) :is(.row_col_wrap_12_inner, .vc_column_container)::before,
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) :is(.row_col_wrap_12_inner, .vc_column_container)::after {
    content: none !important;
    display: none !important;
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) p:empty,
  .page-id-1274 .inner_row:has(a[href$=".pdf"]) p:has(> br:only-child) { display: none; }

  /* liens PDF → gros boutons verts avec icône de téléchargement (comme sur mobile) */
  .page-id-1274 .fusion-text p:has(> a[href$=".pdf"]) {
    font-size: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }
  .page-id-1274 .fusion-text p > a[href$=".pdf"] {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 22px !important;
    border-radius: 14px;
    background: var(--mim-vert-fonce);
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(90, 115, 52, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .page-id-1274 .fusion-text p > a[href$=".pdf"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(90, 115, 52, 0.3);
  }
  .page-id-1274 .fusion-text p > a[href$=".pdf"]::after {
    content: "";
    flex: 0 0 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-5-5h3V4h4v7h3l-5 5zm-7 2h14v2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16l-5-5h3V4h4v7h3l-5 5zm-7 2h14v2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.mim-masque) {
    padding-bottom: 50px !important;
  }

  /* bandes vertes pleine largeur « Nos offres d'emploi » / « Foire aux questions » */
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) {
    padding: 38px 0 !important;
    margin-bottom: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) > .row-bg-wrap .row-bg {
    background-color: #9eb88d !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) :is(.vc_column_container, .inner_row) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:has(.nectar-highlighted-text h1) .vc_column_container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-id-1274 .main-content .nectar-highlighted-text { text-align: center !important; }
  .page-id-1274 #ajax-content-wrap .main-content .nectar-highlighted-text h1 {
    text-align: center !important;
    color: #fff !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .page-id-1274 .main-content .nectar-highlighted-text h1 :is(em, span, a) {
    color: #fff !important;
    background-image: none !important;
  }

  /* offres d'emploi : message « aucune offre » dans une carte blanche */
  .page-id-1274 .main-content .awsm-job-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 10px;
  }
  .page-id-1274 .main-content .awsm-job-listings:has(.awsm-jobs-none-container) {
    display: block !important;
    margin: 0 !important;
  }
  .page-id-1274 .main-content .awsm-jobs-none-container {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100%;
    background: #fff;
    border-radius: 16px;
    padding: 22px 26px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  }
  .page-id-1274 .main-content .awsm-jobs-none-container p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
  }

  /* FAQ : questions centrées sur toute la largeur, puis photo pleine largeur jusqu'au pied de page */
  .page-id-1274 .main-content > .row > .wpb_row:last-child {
    padding-bottom: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(.toggle) {
    float: none !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) {
    float: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 50px calc(50% - 50vw) 0 !important;
    padding: 0 !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) :is(.vc_column-inner, .wpb_wrapper, .inner_row, .row_col_wrap_12_inner, .child_column, .img-with-aniamtion-wrap, .inner, .hover-wrap, .hover-wrap-inner) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
  }
  .page-id-1274 .main-content > .row > .wpb_row:last-child > .row_col_wrap_12 > .vc_column_container:has(img):not(:has(.toggle)) img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 460px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   26. Contact (page 1624) — page épurée
       Titre blanc sur fond vert, formulaire en carte arrondie avec champs légers,
       plan d'accès fonctionnel (bloc « Nous trouver », voir inc/mimosas-contact.php).
   -------------------------------------------------------------------------- */
.page-id-1624 .main-content > .row > .wpb_row:first-child > .row-bg-wrap .row-bg {
  background-color: #9eb88d !important;
}
.page-id-1624 #ajax-content-wrap .main-content > .row > .wpb_row:first-child .nectar-split-heading :is(h1, h1 *) {
  color: #fff !important;
}
@media only screen and (min-width: 1000px) {
  .page-id-1624 #ajax-content-wrap .main-content > .row > .wpb_row:first-child .nectar-split-heading :is(h1, h1 *) {
    font-size: 76px !important;
    line-height: 1.1 !important;
  }
}
/* carte du formulaire */
.page-id-1624 .inner_row:has(.wpcf7) > .row_col_wrap_12_inner > .vc_column_container {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}
.page-id-1624 .inner_row:has(.wpcf7) :is(.column-bg-overlay-wrap, .column-bg-overlay) {
  border-radius: 22px;
}
/* champs légers et arrondis */
.page-id-1624 .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  border: 1px solid #d5e2cc !important;
  border-radius: 12px !important;
  background: #f7f9f5 !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #333 !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.page-id-1624 .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus {
  border-color: #5a7334 !important;
  background: #fff !important;
  outline: none !important;
}
.page-id-1624 .wpcf7 textarea { min-height: 160px; }
.page-id-1624 .wpcf7 ::placeholder { color: #7a8672 !important; opacity: 1; }
.page-id-1624 .wpcf7 p { font-size: 15px; color: #555; }
.page-id-1624 .wpcf7 input[type="file"] { font-size: 14px !important; }
.page-id-1624 .wpcf7 input[type="submit"] {
  background: #5a7334 !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 15px 38px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 20px rgba(90, 115, 52, 0.25) !important;
  cursor: pointer;
}
.page-id-1624 .wpcf7 input[type="submit"]:hover { background: #4a602a !important; }

/* section du plan : fond clair au lieu du noir */
.page-id-1624 .main-content > .row > .wpb_row:nth-child(2) > .row-bg-wrap .row-bg {
  background-image: none !important;
  background-color: #f4f4f4 !important;
}
.page-id-1624 .main-content > .row > .wpb_row:nth-child(2) {
  padding-top: 70px !important;
  padding-bottom: 80px !important;
}
/* bloc « Nous trouver » : adresse + plan */
.mim-acces {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}
.mim-acces__infos {
  padding: 38px 34px;
  background: #9eb88d;
  color: #fff;
}
#ajax-content-wrap .mim-acces__infos h3 {
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  margin: 0 0 18px !important;
}
.mim-acces__infos p {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
.mim-acces__infos a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.mim-acces__infos .mim-acces__bouton {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 28px;
  border-radius: 30px;
  background: #fff;
  color: #5a7334 !important;
  font-weight: 700;
  text-decoration: none !important;
}
.mim-acces__plan {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}
@media only screen and (max-width: 690px) {
  .page-id-1624 .main-content > .row > .wpb_row:nth-child(2) {
    padding-top: 36px !important;
    padding-bottom: 40px !important;
  }
  .mim-acces {
    grid-template-columns: 1fr;
    margin: 0 var(--mim-marge-mobile, 24px);
    border-radius: 18px;
  }
  .mim-acces__infos { padding: 26px 24px; }
  .mim-acces__plan { min-height: 300px; }
}

/* 26b. Contact : le formulaire reste entièrement sur le fond vert (plus de débordement),
        calque sombre de la section du plan remplacé par le fond clair du site */
.page-id-1624 .inner_row:has(.wpcf7) > .row_col_wrap_12_inner > .vc_column_container {
  margin-bottom: 0 !important;
}
.page-id-1624 .main-content > .row > .wpb_row:first-child {
  padding-bottom: 80px !important;
}
.page-id-1624 .main-content > .row > .wpb_row:nth-child(2) > .row-bg-wrap :is(.row-bg, .row-bg-overlay) {
  background-image: none !important;
  background-color: #f4f4f4 !important;
  opacity: 1 !important;
}
@media only screen and (max-width: 690px) {
  .page-id-1624 .main-content > .row > .wpb_row:first-child { padding-bottom: 40px !important; }
}

/* 26c. Contact : ombre portée par la carte blanche elle-même (plus de halo autour) */
.page-id-1624 .inner_row:has(.wpcf7) > .row_col_wrap_12_inner > .vc_column_container {
  box-shadow: none !important;
  overflow: visible !important;
}
.page-id-1624 .inner_row:has(.wpcf7) .column-bg-overlay-wrap {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}
