/* Accueil — mise en page uniquement */
body.home main.wp-block-group,
body.home .wp-site-blocks > main,
body.home main { max-width: none; }

body.home main > .wp-block-group,
body.home .entry-content,
body.home .wp-block-post-content { max-width:none; width:100%; }

body.home .wp-block-post-title,
body.home h1.wp-block-post-title {
  color:#285d52; font-weight:700; font-family:Georgia,"Times New Roman",serif;
  line-height:1.15; letter-spacing:-0.015em; max-width:none;
}

body.home .wp-block-post-content > section,
body.home .wp-block-post-content > section > div { box-sizing:border-box; }

body.home .wp-block-post-content > section { width:100%; max-width:none; }

/* Titres WordPress des trois pages d'intervention */
body.page-id-286 .wp-block-post-title,
body.page-id-287 .wp-block-post-title,
body.page-id-154 .wp-block-post-title {
  max-width:none; width:max-content; font-family:Georgia,"Times New Roman",serif;
  color:#285d52; line-height:1.15; margin-left:0; margin-right:auto;
  text-align:left; justify-self:start;
}

@media (min-width:1100px) {
  body.home .wp-block-post-content { width:min(100%,1920px); margin-inline:auto; }
  body.home .wp-block-post-title,
  body.home h1.wp-block-post-title { white-space:nowrap; font-size:clamp(28px,2.4vw,46px); }

  body.page-id-286 .wp-block-post-title,
  body.page-id-287 .wp-block-post-title,
  body.page-id-154 .wp-block-post-title { white-space:nowrap; font-size:clamp(28px,2.5vw,44px); }
}

/* Alignement réel des titres WordPress des 3 axes */
body.page-id-286 .wp-block-post-title,
body.page-id-287 .wp-block-post-title,
body.page-id-154 .wp-block-post-title { margin-left:0; margin-right:auto; text-align:left; }

body.page-id-286 .wp-block-post-title.alignwide,
body.page-id-287 .wp-block-post-title.alignwide,
body.page-id-154 .wp-block-post-title.alignwide,
body.page-id-286 .wp-block-post-title.alignfull,
body.page-id-287 .wp-block-post-title.alignfull,
body.page-id-154 .wp-block-post-title.alignfull { margin-left:0; margin-right:auto; }

@media (min-width:1100px) {
  body.page-id-286 main > .wp-block-post-title,
  body.page-id-287 main > .wp-block-post-title,
  body.page-id-154 main > .wp-block-post-title,
  body.page-id-286 main .wp-block-post-title,
  body.page-id-287 main .wp-block-post-title,
  body.page-id-154 main .wp-block-post-title {
    width:auto; max-width:none; margin-left:clamp(32px,6vw,100px);
    margin-right:0; text-align:left; white-space:nowrap;
  }
}

/* Accueil — cartes des 3 axes sur mobile */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:nth-of-type(3) {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) > div > div {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) article {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 26px !important;
    text-align: left;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) article h3 {
    font-size: 25px !important;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) article a {
    display: inline-block;
    margin-top: 18px !important;
  }
}

/* Accueil — correction responsive globale */
@media (max-width: 767px) {
  body.home,
  body.home .wp-site-blocks,
  body.home main,
  body.home .wp-block-post-content {
    overflow-x: hidden;
  }

  body.home .wp-block-post-content > section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.home .wp-block-post-content > section > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Toutes les grilles principales de l'accueil passent en une colonne */
  body.home .wp-block-post-content > section > div[style*="display: grid"],
  body.home .wp-block-post-content > section > div > div[style*="display: grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.home .wp-block-post-content article,
  body.home .wp-block-post-content > section > div > div > div {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content h1,
  body.home .wp-block-post-content h2,
  body.home .wp-block-post-content h3,
  body.home .wp-block-post-content p,
  body.home .wp-block-post-content a {
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Hero : illustration non contraignante sur petit écran */
  body.home .wp-block-post-content > section:first-of-type div[aria-hidden="true"] {
    min-width: 0 !important;
    width: 100% !important;
    height: 300px !important;
  }

  body.home .wp-block-post-content > section:first-of-type div[aria-hidden="true"] img {
    height: 295px !important;
    max-width: 100% !important;
  }

  /* CTA final plein écran disponible */
  body.home .wp-block-post-content > section:last-of-type {
    text-align: center !important;
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  body.home .wp-block-post-content > section:last-of-type h2,
  body.home .wp-block-post-content > section:last-of-type p {
    max-width: 100% !important;
  }
}

/* Accueil mobile — titre des trois axes */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:nth-of-type(3) h2 {
    font-size: clamp(32px, 9vw, 40px) !important;
    line-height: 1.12 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    hyphens: none !important;
  }
}

/* Accueil mobile — empêcher toute coupure de mot dans les axes */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:nth-of-type(3) h2 {
    font-size: 32px !important;
    line-height: 1.12 !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) h2,
  body.home .wp-block-post-content > section:nth-of-type(3) h3,
  body.home .wp-block-post-content > section:nth-of-type(3) article,
  body.home .wp-block-post-content > section:nth-of-type(3) article p,
  body.home .wp-block-post-content > section:nth-of-type(3) article a {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(3) article h3 {
    font-size: 24px !important;
    line-height: 1.18 !important;
  }
}

/* Toutes les pages publiques — robustesse responsive mobile */
@media (max-width: 767px) {
  body.page:not(.home),
  body.page:not(.home) .wp-site-blocks,
  body.page:not(.home) main,
  body.page:not(.home) .wp-block-post-content,
  body.page:not(.home) .entry-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.page:not(.home) .wp-block-post-content > *,
  body.page:not(.home) .entry-content > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page:not(.home) h1,
  body.page:not(.home) h2,
  body.page:not(.home) h3,
  body.page:not(.home) h4,
  body.page:not(.home) h5,
  body.page:not(.home) h6,
  body.page:not(.home) p,
  body.page:not(.home) li,
  body.page:not(.home) a,
  body.page:not(.home) blockquote,
  body.page:not(.home) label {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.page:not(.home) .wp-block-post-title {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-align: left !important;
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.12 !important;
  }

  body.page:not(.home) .wp-block-post-content > section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.page:not(.home) .wp-block-post-content > section > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.page:not(.home) .wp-block-post-content div[style*="display: grid"],
  body.page:not(.home) .wp-block-post-content div[style*="display:grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page:not(.home) img,
  body.page:not(.home) video,
  body.page:not(.home) iframe {
    max-width: 100% !important;
    height: auto;
  }
}

/* Accueil mobile — titre principal du hero */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:first-of-type h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

/* Accueil mobile — bloc référence APP en colonne */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:last-of-type > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 26px 22px !important;
    text-align: center !important;
  }

  body.home .wp-block-post-content > section:last-of-type > div > div {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  body.home .wp-block-post-content > section:last-of-type img {
    width: 110px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  body.home .wp-block-post-content > section:last-of-type p,
  body.home .wp-block-post-content > section:last-of-type a {
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

/* Accueil mobile — cartes Qui suis-je / Permanences */
@media (max-width: 767px) {
  body.home .wp-block-post-content > section:nth-of-type(5) {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(5) > div {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 22px !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(5) > div > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 28px 24px !important;
    box-sizing: border-box !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(5) h2 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.home .wp-block-post-content > section:nth-of-type(5) p,
  body.home .wp-block-post-content > section:nth-of-type(5) a {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

/* À propos — responsive mobile */
@media (max-width: 767px) {
  body.page-id-142 .wp-block-post-content,
  body.page-id-142 .wp-block-post-content > main,
  body.page-id-142 .wp-block-post-content > main > section,
  body.page-id-142 .wp-block-post-content > main > section > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.page-id-142 .wp-block-post-content > main > section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.page-id-142 .wp-block-post-content div[style*="display:grid"],
  body.page-id-142 .wp-block-post-content div[style*="display: grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
  }

  body.page-id-142 .wp-block-post-content div[style*="border-radius:20px"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
  }

  body.page-id-142 .wp-block-post-content h1 {
    font-size: clamp(34px, 10vw, 42px) !important;
    line-height: 1.08 !important;
  }

  body.page-id-142 .wp-block-post-content h2 {
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.15 !important;
  }

  body.page-id-142 .wp-block-post-content h3 {
    font-size: clamp(21px, 6.4vw, 25px) !important;
    line-height: 1.18 !important;
  }

  body.page-id-142 .wp-block-post-content h1,
  body.page-id-142 .wp-block-post-content h2,
  body.page-id-142 .wp-block-post-content h3,
  body.page-id-142 .wp-block-post-content p,
  body.page-id-142 .wp-block-post-content a,
  body.page-id-142 .wp-block-post-content strong {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.page-id-142 .wp-block-post-content p {
    font-size: 17px !important;
  }

  body.page-id-142 .mt-linkedin-footer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.page-id-142 .mt-linkedin-footer a {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* Harmonisation mobile globale — toutes les pages */
@media (max-width: 767px) {
  body.page .wp-site-blocks,
  body.page main,
  body.page .entry-content,
  body.page .wp-block-post-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  body.page .wp-block-post-content > main,
  body.page .wp-block-post-content > section,
  body.page .wp-block-post-content > main > section,
  body.page .wp-block-post-content > section > div,
  body.page .wp-block-post-content > main > section > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.page:not(.home) .wp-block-post-content > main > section,
  body.page:not(.home) .wp-block-post-content > section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.page .wp-block-post-content div[style*="display:grid"],
  body.page .wp-block-post-content div[style*="display: grid"],
  body.page .wp-block-columns {
    grid-template-columns: minmax(0,1fr) !important;
  }

  body.page .wp-block-columns {
    flex-direction: column !important;
  }

  body.page .wp-block-column,
  body.page .wp-block-post-content article,
  body.page .wp-block-post-content div[style*="border-radius"] {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page:not(.home) .wp-block-post-content h1 {
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.1 !important;
  }

  body.page:not(.home) .wp-block-post-content h2 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    line-height: 1.15 !important;
  }

  body.page:not(.home) .wp-block-post-content h3 {
    font-size: clamp(21px, 6vw, 26px) !important;
    line-height: 1.18 !important;
  }

  body.page .wp-block-post-content h1,
  body.page .wp-block-post-content h2,
  body.page .wp-block-post-content h3,
  body.page .wp-block-post-content h4,
  body.page .wp-block-post-content p,
  body.page .wp-block-post-content li,
  body.page .wp-block-post-content a,
  body.page .wp-block-post-content label,
  body.page .wp-block-post-content strong {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.page .wp-block-post-content img,
  body.page .wp-block-post-content video,
  body.page .wp-block-post-content iframe {
    max-width: 100% !important;
  }

  body.page .wp-block-post-content input,
  body.page .wp-block-post-content select,
  body.page .wp-block-post-content textarea,
  body.page .wp-block-post-content button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page .mt-linkedin-footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.page .mt-linkedin-footer a {
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
}

/* Responsive mobile global — harmonisation de toutes les pages */
@media (max-width: 767px) {
  body.page,
  body.page .wp-site-blocks,
  body.page main,
  body.page .entry-content,
  body.page .wp-block-post-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  body.page .wp-block-post-content > main,
  body.page .wp-block-post-content > section,
  body.page .wp-block-post-content > main > section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.page .wp-block-post-content > section,
  body.page .wp-block-post-content > main > section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.page .wp-block-post-content > section > div,
  body.page .wp-block-post-content > main > section > div,
  body.page .wp-block-post-content article,
  body.page .wp-block-post-content .wp-block-group,
  body.page .wp-block-post-content .wp-block-column {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page .wp-block-post-content div[style*="display:grid"],
  body.page .wp-block-post-content div[style*="display: grid"],
  body.page .wp-block-columns {
    grid-template-columns: minmax(0,1fr) !important;
  }

  body.page .wp-block-columns {
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.page .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  body.page .wp-block-post-title {
    width: auto !important;
    max-width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    font-size: clamp(30px,8.5vw,40px) !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  body.page .wp-block-post-content h1 {
    font-size: clamp(32px,9vw,42px) !important;
    line-height: 1.1 !important;
  }

  body.page .wp-block-post-content h2 {
    font-size: clamp(27px,7.6vw,34px) !important;
    line-height: 1.15 !important;
  }

  body.page .wp-block-post-content h3 {
    font-size: clamp(21px,6.2vw,26px) !important;
    line-height: 1.2 !important;
  }

  body.page .wp-block-post-content h1,
  body.page .wp-block-post-content h2,
  body.page .wp-block-post-content h3,
  body.page .wp-block-post-content h4,
  body.page .wp-block-post-content p,
  body.page .wp-block-post-content li,
  body.page .wp-block-post-content a,
  body.page .wp-block-post-content label,
  body.page .wp-block-post-content strong {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.page .wp-block-post-content img,
  body.page .wp-block-post-content video,
  body.page .wp-block-post-content iframe,
  body.page .wp-block-post-content figure {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page .wp-block-post-content img,
  body.page .wp-block-post-content video {
    height: auto !important;
  }

  body.page .wp-block-post-content input,
  body.page .wp-block-post-content select,
  body.page .wp-block-post-content textarea,
  body.page .wp-block-post-content button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.page .wp-block-post-content input,
  body.page .wp-block-post-content select,
  body.page .wp-block-post-content textarea {
    width: 100% !important;
  }

  body.page .mt-linkedin-footer {
    width: 100% !important;
    padding: 20px 18px !important;
    box-sizing: border-box !important;
  }

  body.page .mt-linkedin-footer a {
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
}


/* Galerie — composition dynamique */
body.page-id-235 .mt-gallery-grid .mt-g-a{grid-column:span 4;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-b{grid-column:span 8;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-c{grid-column:span 7;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-d{grid-column:span 5;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-e{grid-column:span 4;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-f{grid-column:span 4;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-g{grid-column:span 4;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-h{grid-column:span 5;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-i{grid-column:span 7;grid-row:span 3}
body.page-id-235 .mt-gallery-grid .mt-g-j{grid-column:span 12;grid-row:span 3}
@media (hover:hover) and (pointer:fine){body.page-id-235 .mt-gallery-item img{transition:transform .35s ease,filter .35s ease}body.page-id-235 .mt-gallery-item a{overflow:hidden;border-radius:18px}body.page-id-235 .mt-gallery-item a:hover img{transform:scale(1.025)}}
@media(max-width:767px){
body.page-id-235 .mt-gallery-grid{
display:block!important;
width:100%!important;
}
body.page-id-235 .mt-gallery-item{
display:block!important;
width:100%!important;
height:auto!important;
margin:0 0 16px!important;
grid-column:auto!important;
grid-row:auto!important;
}
body.page-id-235 .mt-gallery-item a{
display:block!important;
width:100%!important;
height:auto!important;
overflow:visible!important;
border-radius:16px!important;
}
body.page-id-235 .mt-gallery-item img{
display:block!important;
width:100%!important;
max-width:100%!important;
height:auto!important;
aspect-ratio:auto!important;
object-fit:contain!important;
border-radius:16px!important;
}
body.page-id-235 .mt-gallery-page section{
padding-left:18px!important;
padding-right:18px!important;
}
body.page-id-235 .mt-gallery-page h1{
font-size:clamp(34px,10vw,43px)!important;
white-space:normal!important;
}
}



/* --- WPWriter addition --- */
/* APP : onglets collective / individuelle */
body.page-id-154 .mt-app-tabs{width:100%;max-width:100%;box-sizing:border-box}
body.page-id-154 .mt-app-tabs>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important}
body.page-id-154 .mt-app-tab-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:24px 18px;background:#faf8f1;border-bottom:1px solid #d5e2dc}
body.page-id-154 .mt-app-tab-controls label{display:inline-block;min-width:160px;text-align:center;cursor:pointer;border:2px solid #285d52;border-radius:999px;padding:13px 24px;color:#285d52;background:#fff;font-weight:700;transition:background .2s,color .2s;box-sizing:border-box}
body.page-id-154 #mt-app-collective:checked~.mt-app-tab-controls label[for="mt-app-collective"],body.page-id-154 #mt-app-individuelle:checked~.mt-app-tab-controls label[for="mt-app-individuelle"]{background:#285d52;color:#fff}
body.page-id-154 #mt-app-collective:focus-visible~.mt-app-tab-controls label[for="mt-app-collective"],body.page-id-154 #mt-app-individuelle:focus-visible~.mt-app-tab-controls label[for="mt-app-individuelle"]{outline:3px solid #9b7b38;outline-offset:3px}
body.page-id-154 .mt-app-panel{display:none}
body.page-id-154 #mt-app-collective:checked~.mt-app-panels>.mt-app-collective{display:block}
body.page-id-154 #mt-app-individuelle:checked~.mt-app-panels>.mt-app-individuelle{display:block}
@media(max-width:767px){body.page-id-154 .mt-app-tab-controls{gap:8px;padding:18px 12px}body.page-id-154 .mt-app-tab-controls label{min-width:0;flex:1;padding:12px 10px;font-size:15px}body.page-id-154 .mt-app-node-grid{grid-template-columns:minmax(0,1fr)!important}}
/* Accueil : téléphone seulement */ @media (max-width:767px){body.home .wp-block-site-logo,body.home .wp-block-site-logo a{max-width:100%!important;min-width:0!important}body.home .wp-block-site-logo img{width:100%!important;max-width:100%!important;height:auto!important}body.home main,body.home main>.wp-block-group,body.home .wp-block-post-content{width:auto!important;max-width:none!important;min-width:0!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}body.home .wp-block-post-content>section{width:100%!important;max-width:100%!important;min-width:0!important;padding:24px 16px!important;box-sizing:border-box!important}body.home .wp-block-post-content>section>div{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}body.home .wp-block-post-content article,body.home .wp-block-post-content>section:nth-of-type(5)>div>div{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;padding:22px 18px!important}body.home .wp-block-post-content :is(h1,h2,h3,p,a){overflow-wrap:anywhere!important;white-space:normal!important;box-sizing:border-box!important;max-width:100%!important}body.home .wp-block-post-content>section:first-of-type>div{display:flex!important;flex-direction:column!important}body.home .wp-block-post-content>section:first-of-type>div>div{display:block!important;flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important}body.home .wp-block-post-content>section:first-of-type>div>div:last-child{height:auto!important;text-align:center}body.home .wp-block-post-content img{max-width:100%!important;height:auto!important}body.home .mt-linkedin-footer a{display:flex!important;flex-wrap:wrap;justify-content:center}}
/* Témoignages : petits livres marron */
body.page-id-559 .glsr { --glsr-star-empty: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E"); --glsr-star-full: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'%23795b48'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23fff8ed'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E"); --glsr-star-half: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'%23795b48'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23fff8ed'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E"); }
body.page-id-559 .glsr-star-rating--stars>span { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E")!important; background-size:contain!important; width:32px!important;height:32px!important; }
body.page-id-559 .glsr-star-rating--stars>span.gl-active {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'%23795b48'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23fff8ed'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E")!important;}
body.page-id-559 .glsr-star-empty{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23795b48'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E")!important;}
body.page-id-559 .glsr-star-full{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2032%2032'%3E%3Cpath%20d%3D'M16%208C12%205%206%205%203%206v20c4-1%209-1%2013%202%204-3%209-3%2013-2V6c-3-1-9-1-13%202Z'%20fill%3D'%23795b48'%20stroke%3D'%23795b48'%20stroke-width%3D'2'%20stroke-linejoin%3D'round'%2F%3E%3Cpath%20d%3D'M16%208v20M6%2011c3-1%205%200%207%201M19%2012c2-1%204-2%207-1M6%2016c3-1%205%200%207%201M19%2017c2-1%204-2%207-1'%20fill%3D'none'%20stroke%3D'%23fff8ed'%20stroke-width%3D'1.3'%2F%3E%3C%2Fsvg%3E")!important;}
body.page-id-559 .glsr-review {background:#faf7f0;border:1px solid #d9cec2;border-radius:18px;padding:24px;box-sizing:border-box;overflow-wrap:anywhere;}
body.page-id-559 .glsr-review-rating{order:-1;}
body.page-id-559 .glsr-form {background:#faf7f0;border:1px solid #d9cec2;border-radius:18px;padding:24px;box-sizing:border-box;}
body.page-id-559 .glsr-field input,body.page-id-559 .glsr-field textarea{border-radius:8px;}
body.page-id-559 .glsr-button{background:#285d52;color:white;border-radius:999px;}
@media(max-width:767px){body.page-id-559 .wp-block-site-logo,body.page-id-559 .wp-block-site-logo a{max-width:100%!important;}body.page-id-559 .wp-block-site-logo img{max-width:100%!important;height:auto!important;}body.page-id-559 .wp-block-post-content{margin-inline:18px!important;padding-inline:0!important;}body.page-id-559 .glsr-form,body.page-id-559 .glsr-review{padding:18px;}body.page-id-559 .wp-block-post-content a{overflow-wrap:anywhere!important;}}
/* Boutons publics : animations harmonisées avec l’accueil */
body .wp-site-blocks :is(button,input[type="submit"],input[type="button"],a.wp-element-button,a.wp-block-button__link,a.wp-block-file__button,a[role="button"],a[style*="background"][style*="padding"],.mt-app-tab-controls label){transition:transform .22s ease,background-color .22s ease,color .22s ease,box-shadow .22s ease;}
@media(hover:hover){body .wp-site-blocks :is(button,input[type="submit"],input[type="button"],a.wp-element-button,a.wp-block-button__link,a.wp-block-file__button,a[role="button"],a[style*="background"][style*="padding"],.mt-app-tab-controls label):not(:disabled):hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(40,93,82,.2);text-decoration:underline;}
body .wp-site-blocks main :is(button,input[type="submit"],input[type="button"],a.wp-element-button,a.wp-block-button__link,a.wp-block-file__button,a[role="button"],a[style*="background"][style*="padding"]):not(:disabled):hover{background-color:#367466!important;color:#fff!important;}}
body .wp-site-blocks :is(button,input[type="submit"],input[type="button"],a.wp-element-button,a.wp-block-button__link,a.wp-block-file__button,a[role="button"],a[style*="background"][style*="padding"],.mt-app-tab-controls label):focus-visible{outline:3px solid #9b7b38;outline-offset:4px;}
@media(prefers-reduced-motion:reduce){body .wp-site-blocks :is(button,input[type="submit"],input[type="button"],a.wp-element-button,a.wp-block-button__link,a.wp-block-file__button,a[role="button"],a[style*="background"][style*="padding"],.mt-app-tab-controls label){transition:none!important;transform:none!important;}}

/* Lecture : paragraphes harmonisés, titres et identité conservés */
body .wp-site-blocks .wp-block-post-content :is(p,li,blockquote,dd,dt),body .wp-site-blocks footer p{font-family:"Segoe UI",Arial,sans-serif!important;font-weight:400;letter-spacing:normal!important;}
body .wp-site-blocks .wp-block-post-content :is(p,blockquote){font-size:18px!important;line-height:1.75!important;}
body .wp-site-blocks .wp-block-post-content :is(ul,ol){font-family:"Segoe UI",Arial,sans-serif!important;font-size:18px!important;line-height:1.75!important;}
body .wp-site-blocks .wp-block-post-content li{font-size:1em;line-height:1.75!important;}
body .wp-site-blocks .wp-block-post-content :is(input,textarea,select,label){font-family:"Segoe UI",Arial,sans-serif;letter-spacing:normal;}
body .wp-site-blocks .wp-block-post-content :is(strong,b){font-weight:700;}
@media(min-width:768px){body .wp-site-blocks .wp-block-post-content p{max-width:72ch!important;}body .wp-site-blocks .wp-block-post-content [style*="text-align:center"]>p,body .wp-site-blocks .wp-block-post-content [style*="text-align: center"]>p,body .wp-site-blocks .wp-block-post-content p.has-text-align-center,body .wp-site-blocks .wp-block-post-content p[style*="text-align:center"],body .wp-site-blocks .wp-block-post-content p[style*="text-align: center"]{margin-inline:auto;}}
@media(max-width:767px){body .wp-site-blocks .wp-block-post-content :is(p,blockquote,ul,ol){font-size:17px!important;line-height:1.7!important;}}

/* Tablette : menu entièrement visible */
@media(min-width:600px) and (max-width:1024px){body .wp-site-blocks>header .wp-block-navigation{min-width:0!important;max-width:100%!important;width:100%!important;}body .wp-site-blocks>header .wp-block-navigation__responsive-container-content{min-width:0!important;max-width:100%!important;width:100%!important;}body .wp-site-blocks>header ul.wp-block-navigation__container{flex-wrap:wrap!important;width:100%!important;max-width:100%!important;gap:14px 22px!important;}body .wp-site-blocks>header .wp-block-navigation-item{flex-shrink:1;}}