/* padding: 60px 20px 40px; */
.novatra-palette {
    position: relative;
    padding: 0 0 30px 0px; 
    color: #ffffff;
    background-color: #dbe4f2;
    overflow: hidden;
}

/* forcer le full-width même dans le couloir du thème */
body .entry-content .novatra-palette {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%);   
}

/* Fond d’écran */
.novatra-palette::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--vx-service-bg); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

/* Conteneur interne général */
.novatra-palette__inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto 30px;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Bloc titre dans un “carré” 

.novatra-palette__title-box {
    align-self: center;
    background: rgba(15, 23, 42, 0.9);
    padding: 1.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);

    width: 70%;           
    max-width: 820px;     
*/

.novatra-palette__title-box {
    width: min(var(--vx-title-max), calc(100% - 48px));
    margin: 50px auto 20px;
    padding: 2rem 2rem;
    background: var(--vx-ink);
    color: #ffffff;
    text-align: center;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.35);
    box-shadow: var(--vx-shadow);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/*
.novatra-palette__page-title {
    margin: 0.9rem 0 0.9rem;
    font-size: 2.6rem;
    font-weight: 500; 
    line-height: 1.25;
    color: #ffffff;    
    text-align: center;
    letter-spacing: 0.4px;
}

*/
.novatra-palette__page-title {
  margin: 0;
  color: inherit;
  font-size: 2.6rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* Grille des cartes */
.novatra-palette__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .novatra-palette__grid {
        grid-template-columns: repeat(2, minmax(0, 640px)); /* largeur max voulue */
        justify-content: center;                            /* centre le bloc */
    }
}

/* Carte de service (bloc bleu) */
.novatra-palette__block {
    background: rgba(66, 97, 138, 0.96);
    border-radius: 18px;
    padding: 1rem 2.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);

    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

/* Titres et textes dans les cartes */
.novatra-palette__title {
    margin: 0 0 0.75rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;        
}

.novatra-palette__intro {
    margin: 0 0 0.9rem;
    font-size: 1.4rem;
    font-weight: 500;        
}

.novatra-palette__list {
    margin: 0 0 1.4rem 1.2rem;
    padding: 0;
    font-size: 1.1rem;
}

.novatra-palette__list li {
    margin-bottom: 0.35rem;
}

/* Boutons d’action (inchangés) */
.novatra-btn {
    display: inline-block;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background-image: linear-gradient(120deg, #22c55e, #3b82f6);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.novatra-btn:hover,
.novatra-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.6);
    filter: brightness(1.03);
}

.novatra-btn:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.9);
}

/*-----------------------------------------------------------------------
 * PAGE "Palette de services" (ID 116) - suppression spacer + titre WP 
 * 1) supprimer le spacer WP au-dessus du contenu
 * 2) masquer le H1 WordPress par défaut
 *-----------------------------------------------------------------------
 */
body.page-id-116 .wp-block-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-116 h1.wp-block-post-title {
    display: none !important;
}
