/*
Theme Name: ISM Sydney Child
Theme URI: https://ismrenovation.com
Description: Child theme pour ISM Rénovation
Author: ISM Rénovation
Template: sydney
Version: 1.0.0
*/

:root {
    --wp--preset--font-size--small: 12px;
}
.home .shfb-main_header_row {
    background-color: transparent;
}
@media (min-width: 1199px) {
    .stretch-right .wp-block-image {
        margin-right: calc((100vw - 1140px) / -2) !important;
        width: calc(100% + calc((100vw - 1140px) / 2));
    }
    .stretch-left .wp-block-image {
        margin-left: calc( ( 100vw - 1140px)/-2);
        width: calc(100% + calc((100vw - 1140px) / 2));
    }
}
.syd-contact  div.wpforms-container-full .wpforms-form button[type=submit] {
    width: 100%;
    display: block;
    color: #00102E;
    background: var(--sydney-global-color-1);
    border: 0;
}
.grecaptcha-badge {visibility: hidden;}
.s-contact-form p,
.s-contact-form .row {
    margin-bottom: 40px;
}
.footer-widget ul {
    padding: 0;
    list-style: none;
}
.footer-widget .widget-title {
    font-size: 16px;
    text-transform: uppercase;
}
.at-block-flex-container.has-background-image-overlay:before {
    opacity: 0.9;
}
.shfb .header-search-form {
    background-color: var(--sydney-global-color-6);
}
button,
.wp-block-button__link {
    letter-spacing: 2px;
}
.wp-block-button.is-style-outline a:hover {
    background-color: #fff;
    color: #00102E !important;
}
.zindex10 {overflow: visible;}
@media (max-width: 780px) {
    .center-mobile {
        text-align:center;
        justify-content: center !important;
    }
}
@media (max-width: 991px) {
    .main-page-title {
        font-size: 42px !important;
    }
}
/*.sticky-header-active .has-sticky-header .shfb-main_header_row {
    background-color: var(--sydney-global-color-6);
}*/

/* --- Services cards: hover animation --- */
.ism-services .wp-block-column {
    transition: transform .25s ease, box-shadow .25s ease;
}

.ism-services .wp-block-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 31, 60, .12);
}

/* Icon hover (SVG inherit currentColor) */
.ism-services .wp-block-column svg,
.ism-services .wp-block-column .wp-block-icon {
    transition: transform .25s ease, filter .25s ease;
}

.ism-services .wp-block-column:hover svg,
.ism-services .wp-block-column:hover .wp-block-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 14px rgba(225, 6, 0, .18));
}

/* Optional: subtle red underline on title */
.ism-services .wp-block-heading {
    transition: color .25s ease;
}

.ism-services .wp-block-column:hover .wp-block-heading {
    color: #0F3A3F;
}

/* --- Scroll reveal (base) --- */
.ism-reveal .wp-block-column {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.ism-reveal.ism-reveal--on .wp-block-column {
    opacity: 1;
    transform: translateY(0);
}

.ism-reveal.ism-reveal--on .wp-block-column:nth-child(1) { transition-delay: .05s; }
.ism-reveal.ism-reveal--on .wp-block-column:nth-child(2) { transition-delay: .12s; }
.ism-reveal.ism-reveal--on .wp-block-column:nth-child(3) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
    .ism-reveal .wp-block-column {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Section proof: reset Gutenberg noise */
.ism-proof-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.ism-proof-ul li{
    margin: 0 !important;
    padding: 12px 16px 12px 52px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10,31,60,.08);
    position: relative;
    font-weight: 600;
    color: #0F3A3F;
    line-height: 1.35;
    max-width: 440px;
    margin-left: auto;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ism-proof-ul li:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(10,31,60,.12);
}

.ism-proof-ul li::before{
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: currentColor;
    color: #E10600;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%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 fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Uniformise les images des réalisations */


.ism-projects .wp-block-image img{
    width: 100%;
    height: 220px;         /* ajuste: 200-260 selon ton rendu */
    object-fit: cover;     /* recadre proprement */
    border-radius: 8px;
    display: block;
}
.ism-projects .wp-block-image{
    margin: 0 0 14px 0;
}
.ism-projects .wp-block-column{
    transition: transform .25s ease;
}
.ism-projects .wp-block-column:hover{
    transform: translateY(-4px);
}
.ism-projects .wp-block-image img{
    transition: transform .35s ease;
}
.ism-projects .wp-block-column:hover img{
    transform: scale(1.04);
}
/* ===== Testimonials Slider (ISM) ===== */
.ism-testimonials{
    padding: 64px 0;
    background: #f6f7f8;
}

.ism-testimonials__head{
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 0 18px;
}

.ism-testimonials__head h2{
    margin: 0 0 6px;
}

.ism-testimonials__meta{
    margin: 0;
    opacity: .85;
}

.ism-slider{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.ism-slider__viewport{
    overflow: hidden;
    border-radius: 18px;
}

.ism-slider__track{
    display: flex;
    gap: 16px;
    will-change: transform;
    transition: transform .8s ease;
}

.ism-slide{
    flex: 0 0 100%;
    background: #fff;
    border-radius: 18px;
    padding: 22px 22px 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,.10);
}

@media (min-width: 900px){
    .ism-slide{ flex-basis: calc((100% - 16px) / 2); } /* 2 cartes desktop */
}

.ism-stars{
    font-size: 18px;
    letter-spacing: 2px;
    color: #E10600;
    margin-bottom: 10px;
}

.ism-quote{
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.55;
}

.ism-author{
    margin: 0;
    font-weight: 700;
}

.ism-author span{
    font-weight: 500;
    opacity: .75;
}

.ism-slider__controls{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.ism-prev, .ism-next{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.ism-dots{
    display: flex;
    gap: 8px;
    align-items: center;
}

.ism-dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    border: none;
    cursor: pointer;
}

.ism-dot.is-active{
    width: 22px;
    background: #E10600;
}

.ism-testimonials__cta{
    text-align: center;
    margin: 12px 0 0;
}

.ism-google-link{
    font-weight: 700;
    text-decoration: underline;
}

/* Fix Sydney override on slider controls */
.ism-slider__controls{
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Prev/Next: force real round buttons */
.ism-slider__controls .ism-prev,
.ism-slider__controls .ism-next{
    all: unset;               /* coupe les styles du thème */
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.ism-slider__controls .ism-prev:hover,
.ism-slider__controls .ism-next:hover{
    transform: translateY(-1px);
}

/* Dots: small circles + active pill */
.ism-slider__controls .ism-dots{
    display: flex;
    gap: 8px;
    align-items: center;
}

.ism-slider__controls .ism-dot{
    all: unset;               /* coupe styles WP/Sydney */
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    cursor: pointer;
}

.ism-slider__controls .ism-dot.is-active{
    width: 26px;
    background: #E10600;
}

/* FAQ modern (Gutenberg details/summary) */
.ism-faq details{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:14px 16px;
    margin: 0 0 12px;
    box-shadow: 0 10px 24px rgba(10,31,60,.06);
}

.ism-faq summary{
    cursor:pointer;
    font-weight:800;
    color:#0F3A3F;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.ism-faq summary::-webkit-details-marker{ display:none; }

.ism-faq summary::after{
    content:"+";
    width: 28px;
    height: 28px;
    display:grid;
    place-items:center;
    border-radius:10px;
    border:1px solid #e5e7eb;
    color:#E10600;
    transition: transform .2s ease;
}

.ism-faq details[open] summary::after{
    content:"–";
}

.ism-faq details p{
    margin: 10px 0 0;
    color:#6B7280;
    line-height:1.6;
}

/* small open animation */
.ism-faq details[open]{
    border-color: rgba(225,6,0,.25);
}


/* ===== Footer ISM ===== */
/* Footer: logo non coupé */
.site-footer .widget_media_image img,
.site-footer .wp-block-image img{
    max-width: 220px;
    height: auto;
    display: block;
}
/* Footer layout: colonnes alignées */
.site-footer .footer-widgets{
    padding-top: 48px;
    padding-bottom: 48px;
}

.site-footer .footer-widgets .widget,
.site-footer .footer-widgets .widget_block{
    margin-bottom: 18px;
}

/* Titres footer */
.site-footer .footer-widgets h2,
.site-footer .footer-widgets h3{
    margin: 0 0 14px;
    font-size: 18px;
}

/* Listes footer plus clean */
.site-footer .footer-widgets ul{
    margin: 0;
    padding-left: 18px;
}
.site-footer .footer-widgets li{
    margin: 8px 0;
}

/* Colonne contact: lignes compactes */
.site-footer .ism-footer-contact p{
    margin: 8px 0;
}
/* Images de cartes : toutes au même format */
.card-premium img {
    width: 100%;
    height: 400px;      /* ajuste 200-260 selon ton rendu */
    object-fit: cover;
    display: block;
}
.card-premium {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.card-premium p {
    flex-grow: 1;
}

.wp-block-columns {
    align-items: stretch;
}
.section-separator {
    border-top: 1px solid #e5e5e5;
    padding-top: 80px;
    margin-top: 80px;
}
/* === ISM - sections métier (2 colonnes) === */
.ism-feature {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px;
}

.ism-feature .wp-block-columns {
    align-items: center;
    gap: 40px;
}

/* Carte légère autour de la zone texte (optionnel mais premium) */
.ism-feature .wp-block-column:first-child,
.ism-feature.is-reversed .wp-block-column:last-child {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

/* Images : même rendu, crop propre */
.ism-feature figure,
.ism-feature .wp-block-image {
    border-radius: 18px;
    overflow: hidden;
    margin: 0;
}

.ism-feature img {
    width: 100%;
    height: 320px;       /* ajuste 280-360 selon ton goût */
    object-fit: cover;
    display: block;
}

/* Titres plus “agency” */
.ism-feature h2, .ism-feature h3 {
    line-height: 1.05;
    margin-top: 0;
}

.ism-feature p {
    line-height: 1.7;
}

/* Listes : plus clean */
.ism-feature ul {
    margin: 18px 0 0;
    padding-left: 18px;
}

.ism-feature li {
    margin: 8px 0;
}

/* Alternance image/texte sur desktop (si tu ajoutes is-reversed sur le groupe) */
@media (min-width: 782px) {
    .ism-feature.is-reversed .wp-block-columns {
        flex-direction: row-reverse;
    }
}

/* Mobile : tout en colonne, spacing propre */
@media (max-width: 781px) {
    .ism-feature img { height: 220px; }
    .ism-feature .wp-block-columns { gap: 18px; }
}
.ism-feature img {
    transition: transform .35s ease, filter .35s ease;
}
/* Images : même ratio partout (carré arrondi) */
.ism-feature img {
    width: 100%;
    aspect-ratio: 1 / 1;   /* carré premium */
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}
.ism-feature .wp-block-columns {
    align-items: center;
}
.ism-feature:hover img {
    transform: scale(1.03);
    filter: contrast(1.02);
}
/*.ism-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
.ism-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}*/
.ism-feature {
    padding: 56px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ism-feature:last-of-type { border-bottom: none; }
.hentry .title-post {
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 18px;
}

/* petit trait rouge premium sous le titre */
.hentry .title-post::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background: #d63b3b; /* rouge proche de ton logo */
    opacity: 0.9;
}
.ism-feature img {
    transition: transform .35s ease;
}
.ism-feature:hover img {
    transform: scale(1.03);
}
/* Arrondis + crop : quel que soit le bloc image WP */
.ism-feature figure,
.ism-feature .wp-block-image,
.ism-feature .wp-block-image figure {
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* L'image elle-même */
.ism-feature img {
    display: block;
    width: 100%;
    height: 320px;          /* ajuste si besoin */
    object-fit: cover;
    border-radius: 18px !important; /* au cas où l'image sort du conteneur */
}
/* Listes premium avec check (sans mettre ✓ dans le contenu) */
.ism-feature ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 18px 0 0 !important;
}

.ism-feature ul li {
    position: relative;
    padding-left: 26px;
    margin: 10px 0;
    line-height: 1.5;
}

.ism-feature ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f2937; /* gris foncé */
    font-weight: 700;
}
.ism-feature .wp-block-column:first-child,
.ism-feature.is-reversed .wp-block-column:last-child {
    border-radius: 18px;
}
.ism-feature.is-reversed .wp-block-column:last-child{
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/****************************/
/* === 1) IMPORTANT : ne pas impacter le menu principal === */
#primary-menu > li > a {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* === 2) Sous-menu seulement (dropdown) === */
#primary-menu li.menu-item-has-children > ul.sub-menu {
    background: #ffffff !important;
    padding: 10px 0 !important;
    min-width: 240px !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12) !important;
    margin-top: 12px !important;
}

/* Liens du sous-menu */
#primary-menu li.menu-item-has-children > ul.sub-menu > li > a {
    color: #1f2937 !important;
    padding: 10px 18px !important;
    display: block !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

/* Hover sous-menu */
#primary-menu li.menu-item-has-children > ul.sub-menu > li > a:hover {
    background: rgba(214,59,59,0.08) !important;
    color: #d63b3b !important;
}

/* Animation SAFE (sans opacity) */
#primary-menu li.menu-item-has-children > ul.sub-menu {
    transform: translateY(8px);
    transition: transform .2s ease;
}
#primary-menu li.menu-item-has-children:hover > ul.sub-menu {
    transform: translateY(0);
}
/* Sous-menu : pas de gap entre le parent et le dropdown */
#primary-menu li.menu-item-has-children > ul.sub-menu{
    margin-top: 0 !important;
    transform: none !important; /* important si tu avais une animation */
}
/**********************************/
/* Réduit l'espace bas avant footer (Sydney) */
.page-wrap {
    padding-bottom: 0 !important; /* ajuste 0 à 60 */
}
/* Dernier bloc du contenu : pas de marge énorme */
.entry-content > :last-child {
    margin-bottom: 0 !important;
}
.entry-footer {
    margin-top: 0 !important;
}
@media (min-width: 992px) {
    .shfb-below_footer_row {
        text-align: center;
        min-height: 50px;
    }
}
/***********************************/
.ism-real-card{
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ism-real-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.ism-real-card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display:block;
    transition: transform .35s ease;
}

.ism-real-card:hover img{
    transform: scale(1.04);
}

.ism-real-card h3{
    margin: 16px 16px 8px;
}

.ism-real-card p{
    margin: 0 16px 16px;
    line-height: 1.6;
    opacity: .9;
}

.ism-real-card .wp-block-buttons{
    margin: 0 16px 18px;
}
.ism-real-card .wp-block-button__link{
    background: transparent;
    color: #d63b3b;
    border: 2px solid #d63b3b;
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 600;
    transition: all .25s ease;
}

.ism-real-card .wp-block-button__link:hover{
    background: #d63b3b;
    color: #fff;
}
/* La carte devient une colonne */
.ism-real-card{
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Le contenu texte doit rester au-dessus */
.ism-real-card .wp-block-image{
    flex: 0 0 auto;
}

.ism-real-card h3,
.ism-real-card p{
    flex: 0 0 auto;
}

/* Le bouton va au fond */
.ism-real-card .wp-block-buttons{
    margin-top: auto !important;
    padding-top: 12px;
}
.ism-real-card p{
    display: -webkit-box;
    -webkit-line-clamp: 3;    /* 3 lignes max */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ism-real-card{
    display:flex;
    flex-direction:column;
    height:100%;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    padding:20px;
}

.ism-real-card .wp-block-buttons{
    margin-top:auto;
}
/******************************/
/* ===== Page Projet (global) ===== */
.ism-project-page h2{
    margin-top: 48px;
    margin-bottom: 18px;
}
.ism-project-page p{
    line-height: 1.75;
}

/* ===== Infos chantier (tableau) ===== */
.ism-project-info table{
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.08);
}
.ism-project-info td,
.ism-project-info th{
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,.06);
}
.ism-project-info tr:nth-child(odd){
    background: rgba(0,0,0,.02);
}
.ism-project-info td:first-child{
    font-weight: 700;
    width: 35%;
}

/* ===== Avant / Après ===== */
.ism-before-after figure img{
    width: 100%;
    height: 360px;       /* ajuste 300–420 selon ton rendu */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0,0,0,.10);
}
.ism-before-after figcaption{
    margin-top: 10px;
    font-weight: 700;
    opacity: .85;
}

/* ===== Description + Liste ===== */
.ism-project-details{
    margin-top: 22px;
}
.ism-project-details ul{
    padding-left: 18px;
}
.ism-project-details li{
    margin: 8px 0;
}

/* ===== Nos engagements (liste) ===== */
.ism-project-commitments{
    margin-top: 34px;
    padding: 22px 22px;
    border-radius: 16px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.06);
}
.ism-project-commitments ul{
    margin: 0;
    padding-left: 18px;
}
.ism-project-commitments li{
    margin: 10px 0;
}

/* ===== Mobile ===== */
@media (max-width: 900px){
    .ism-before-after figure img{
        height: 260px;
    }
    .ism-project-info td:first-child{
        width: 45%;
    }
}
/* AVANT / APRÈS : images identiques */
.ism-before-after figure{
    margin: 0;
}

.ism-before-after figure img{
    width: 100%;
    height: 320px;           /* ajuste 280–380 selon ton rendu */
    object-fit: cover;       /* recadre sans déformer */
    border-radius: 16px;
    display: block;
    box-shadow: 0 14px 38px rgba(0,0,0,.10);
}

/* Caption "Avant / Après" */
.ism-before-after figcaption{
    margin-top: 10px;
    font-weight: 700;
    font-size: 14px;
    opacity: .85;
}
/* Espace propre entre les sections */
.ism-project-details{
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* Titres mieux alignés */
.ism-project-details h2,
.ism-project-details h3{
    margin-top: 0;
}
/* Liste premium avec ✓ */
.ism-project-details ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ism-project-details li{
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    line-height: 1.6;
}

.ism-project-details li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #d63b3b; /* ton rouge */
}
/* Liste premium avec ✓ */
.ism-project-details ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ism-project-details li{
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    line-height: 1.6;
}

.ism-project-details li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #d63b3b; /* ton rouge */
}
.no-sidebar .entry-content .cta-devis-projet.alignfull{
    margin-bottom: 0;
}
.no-sidebar .entry-content .alignfull.ism-project-page{
    margin-bottom: 0;
}
/* Card engagements */
.ism-project-commitments{
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 28px;
    border-radius: 18px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

/* Titre centré + spacing */
.ism-project-commitments h2,
.ism-project-commitments h3{
    text-align: center;
    margin: 0 0 18px 0;
}

/* Liste : centrée dans la card, mais texte lisible */
.ism-project-commitments ul{
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: inline-block;   /* permet de centrer le bloc liste */
    text-align: left;        /* garde la lecture propre */
}

/* Items premium */
.ism-project-commitments li{
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    line-height: 1.6;
    font-weight: 600;
    opacity: .95;
}

/* Check rouge */
.ism-project-commitments li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #d63b3b;
}
/************************/
/* =========================
   ABOUT – GLOBAL
========================= */
.ism-about-hero,
.ism-about-who,
.ism-about-highlight,
.ism-about-skills,
.ism-about-method,
.ism-about-why{
    margin-top: 34px;
    margin-bottom: 34px;
}

.ism-about-who h2,
.ism-about-highlight h2,
.ism-about-skills h2,
.ism-about-method h2,
.ism-about-why h2{
    margin-bottom: 14px;
}

.ism-about-who p,
.ism-about-highlight p,
.ism-about-method p{
    line-height: 1.75;
}

/* =========================
   HERO
========================= */
.ism-about-hero{
    padding: 56px 0;
    background: linear-gradient(180deg, rgba(10,25,52,.05), rgba(10,25,52,0));
}

.ism-about-hero h1{
    font-size: clamp(32px, 3.6vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.ism-about-hero p{
    max-width: 820px;
    font-size: 18px;
    opacity: .9;
}

/* Petit soulignement rouge sous le H1 (option) */
.ism-about-hero h1:after{
    content:"";
    display:block;
    width: 72px;
    height: 4px;
    margin-top: 14px;
    border-radius: 999px;
    background:#d63b3b;
}

/* =========================
   HIGHLIGHT (Vision / Engagements)
========================= */
.ism-about-highlight{
    padding: 26px 26px;
    border-radius: 18px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.ism-about-highlight h3{
    margin-top: 0;
    margin-bottom: 10px;
}

/* Engagements en ✓ */
.ism-about-highlight ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.ism-about-highlight li{
    position: relative;
    padding-left: 28px;
    margin: 10px 0;
    line-height: 1.6;
    font-weight: 600;
}
.ism-about-highlight li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #d63b3b;
}

/* =========================
   SKILLS (3 colonnes en cartes)
========================= */
.ism-about-skills .wp-block-columns{
    gap: 18px;
}

.ism-about-skills .wp-block-column{
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 14px 38px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ism-about-skills .wp-block-column:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 52px rgba(0,0,0,.10);
}

.ism-about-skills h3{
    margin-top: 0;
    margin-bottom: 8px;
}

/* =========================
   METHOD (liste numérotée "timeline")
========================= */
.ism-about-method ol{
    counter-reset: step;
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-width: 900px;
}

.ism-about-method ol li{
    counter-increment: step;
    position: relative;
    padding: 14px 14px 14px 54px;
    margin: 10px 0;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0,0,0,.05);
}

.ism-about-method ol li::before{
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #d63b3b;
    color: #fff;
    font-weight: 800;
}

/* =========================
   WHY (bloc centré)
========================= */
.ism-about-why{
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px 26px;
    border-radius: 18px;
    background: rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.ism-about-why h2{
    text-align: center;
    margin-top: 0;
}

.ism-about-why ul{
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    text-align: left;
}
.ism-about-why li{
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    line-height: 1.6;
    font-weight: 600;
}
.ism-about-why li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    font-weight: 900;
    color:#d63b3b;
}

/* =========================
   CTA (si tu veux homogénéiser)
========================= */
.ism-cta-band{
    border-top: 1px solid rgba(255,255,255,.08);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px){
    .ism-about-hero{ padding: 10px 0; }
    .ism-about-highlight,
    .ism-about-why{ padding: 18px 16px; }
}
/* ===== About – Method & Why as premium cards ===== */

.ism-about-why{
    max-width: 900px;
    margin: 50px auto 60px auto; /* plus d'espace avant CTA */
    padding: 40px 40px; /* plus d’air interne */
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}
.ism-about-method{
    max-width: 900px;
    margin: 40px auto 32px auto;
    padding: 10px 0; /* on enlève le gros padding */
    background: transparent; /* plus de fond blanc */
    border: none; /* suppression border global */
    box-shadow: none; /* suppression shadow */
}
/* Titres centrés */
.ism-about-method h2{
    text-align: center;
    margin: 0 0 18px 0;
    letter-spacing: .02em;
}
.ism-about-why h2{
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: .03em;
}
/* ----- METHOD : timeline numérotée ----- */
.ism-about-method ol{
    counter-reset: step;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.ism-about-method ol li{
    counter-increment: step;
    position: relative;
    padding: 14px 14px 14px 56px;
    margin: 12px 0;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    background: rgba(0,0,0,.02);
}


/* Si tu gardes une UL par erreur, on la rend quand même propre */
.ism-about-method ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.ism-about-method ul li{
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    font-weight: 600;
}
.ism-about-method ul li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: #d63b3b;
}

/* ----- WHY : liste centrée en bloc (lecture à gauche) ----- */
.ism-about-why ul{
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
}

.ism-about-why li{
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    line-height: 1.6;
    font-weight: 700;
}

.ism-about-why li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    font-weight: 900;
    color:#d63b3b;
}

/* Mobile */
@media (max-width: 900px){
    .ism-about-method,
    .ism-about-why{
        padding: 18px 16px;
    }
}
/************************/

.ism-map{
    margin-top: 60px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    margin-bottom: 60px;
}
form.form-devis button{
    background:#d63b3b;
    border:none;
    border-radius:10px;
    padding:14px 28px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}
form.form-devis button:hover{
    background:#b82c2c;
}
/* color */

.shfb-footer .shfb-component-widget2 .widget-column .widget a,
.shfb-footer .shfb-component-widget4 .widget-column .widget,
.shfb-footer .shfb-component-widget3 .widget-column .widget a,
.shfb-component-contact_info .header-contact > a,
#primary-menu > li > a,
#block-9 p{
    font-weight: bold;
}