/* =========================================
   PAGES DE SERVICES — Styles communs
   Chargé sur : impatriation, recrutement,
   portage-salarial, interimaire, services-rh
   ========================================= */


/* =========================================
   SECTION — Hero image
   ========================================= */

#hero .heroImg {
    position: relative;
    border-radius: 10px;
    box-shadow: -8px 8px 0 0 #33BBBC;
}

#hero .heroImg::before,
#hero .heroImg::after {
    position: absolute;
    border-radius: 10px;
    padding: 8px 16px;
    background: #FFFFFF;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--wp--preset--shadow--card);
    z-index: 2;
}

#hero .heroImg::before {
    bottom: 2rem;
    left: -1rem;
}

#hero .heroImg::after {
    top: 2rem;
    right: -1rem;
}


/* =========================================
   HERO — Badges texte via CSS custom properties
   Valeurs injectées par PHP (swb_inject_css_strings) depuis lang/{locale}.json
   ========================================= */

#hero .heroImg::before { content: var(--hero-img-before, none); }
#hero .heroImg::after  { content: var(--hero-img-after, none); }



/* =========================================
   SECTION — Benefits grid
   ========================================= */

#benefitsGrid .iconContainer {
    display: flex;
    aspect-ratio: 1 / 1 !important;
    align-items: center;
    justify-content: center;
}


/* =========================================
   SOLUTIONS BENEFITS — Liste deux colonnes
   ========================================= */

.solutionsBenefitsList {
    columns: 2;
    width: 100%;
    list-style: none;
    padding-left: 0;
}

.solutionsBenefitsList li {
    padding-left: 0;
    break-inside: avoid;
}

.solutionsBenefitsList li::before {
    content: '✅';
    margin-right: 0.5em;
}


/* =========================================
   SOLUTIONS CARDS — Icône ronde numérotée
   ========================================= */

#solutionsCards .iconContainer {
    display: flex !important;
    width: 3.5rem !important;
    aspect-ratio: 1 / 1 !important;
    align-items: center !important;
    justify-content: flex-start;
    margin-left: 0px !important;
    align-self: flex-start;
}

#benefitsMediaText strong { font-weight: bold; }


/* =========================================
   BOUTON LAUNCH PROJECT — Texte court localisé
   Masque le texte long, affiche --btn-label-launch-project
   injecté via swb_inject_css_strings() (functions.php)
   ========================================= */

.wp-block-button.launch-project .wp-block-button__link,
.wp-block-button.launch-project-revert .wp-block-button__link {
    font-size: 0 !important;
}

.wp-block-button.launch-project .wp-block-button__link::before,
.wp-block-button.launch-project-revert .wp-block-button__link::before {
    width: 1.3rem !important;
    height: 1.3rem !important;
    min-width: 1.3rem;
}

.wp-block-button.launch-project .wp-block-button__link::after,
.wp-block-button.launch-project-revert .wp-block-button__link::after {
    content: var(--btn-label-launch-project);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
}

#solutionsCards .iconContainer p {
    margin: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto !important;
    margin-right: auto !important;
}
