:root {

    /* Couleurs */

    --color-bg: #000000;
    --color-header: #1F1C17;

    --color-text: #E9E6E1;
    --color-accent: #DED0B4;
    --color-light: #FFF28E;

    /* Typographies */

    --font-title: "Montserrat", Arial, sans-serif;
    --font-text: "Lato", Arial, sans-serif;

    /* Boutons */

    --button-padding-y: 10px;
    --button-padding-x: 22px;
    --button-radius: 999px;
    --button-font-size: 13px;
}

/* ------------------------
   Base
------------------------ */

body{
    margin:0;
    background:var(--color-bg);
    color:var(--color-text);
    font-family:var(--font-text);
}

h1,h2,h3,h4,h5,h6{
    margin-top:0;
    color:var(--color-accent);
    font-family:var(--font-title);
    font-weight:400;
}

p{

    font-family: var(--font-text);

    font-size:16px;

    line-height:1.8;

    letter-spacing:.01em;

}


li,
span{
    color:var(--color-text);
}

a{
    color:var(--color-accent);
    text-decoration:none;
}

/* Conteneur réutilisable pour les pages construites avec un bloc Groupe */
.page-content-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0 64px 96px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page-content-shell {
        padding: 0 20px 72px;
    }
}

/* ------------------------
   Boutons
------------------------ */

.wp-block-button__link,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: var(--button-padding-y) var(--button-padding-x);

    border: 1px solid var(--color-accent);
    border-radius: var(--button-radius);

    background: transparent;
    color: var(--color-accent);

    font-family: var(--font-title);
    font-size: var(--button-font-size);

    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

.wp-block-button__link:hover,
.button:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Bouton plein */

.button--filled .wp-block-button__link,
.button.button--filled {
    background: var(--color-accent);
    color: var(--color-bg);
}

.button--filled .wp-block-button__link:hover,
.button.button--filled:hover {
    background: transparent;
    color: var(--color-accent);
}

/* Bouton texte */

.button--text .wp-block-button__link,
.button.button--text {
    padding: 0;
    border: none;
    background: none;
}

.button--text .wp-block-button__link:hover,
.button.button--text:hover {
    opacity: .7;
    background: none;
    color: var(--color-accent);
}

/* Soulignement des titres */

.section-title{

    position: relative;
    width: fit-content;
    padding-bottom: 8px;

}

.section-title::after{

    content: "";
    position: absolute;
    left: 0;
    bottom: 0px; 
    width: 100%;
    height: 1px;
    background: var(--color-accent);

}

.section-title--center {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Séparateur fin réutilisable */
.section-separator {
    width: min(72%, 760px);
    height: 1px;
    margin: 80px auto;
    background: var(--color-accent);
    opacity: .85;
}

.wp-block-separator.section-separator {
    border: none;
}

/* ==========================
   H1 avec halo lumineux
========================== */

.page-title-wrap {
    position: relative;
    isolation: isolate; /* garantit un contexte d'empilement propre */
    width: fit-content;
    padding-bottom: 18px;
}

/* Le glow devient un pseudo-élément indépendant plutôt qu'un background */
.page-title-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    /* largeur relative avec garde-fou : ne descend jamais sous 60px,
       même pour un titre très court */
    width: min(80%, calc(100% - 40px));
    max-width: 820px;
    height: 22px;

    background: radial-gradient(
        ellipse at center,
        rgba(255, 242, 142, 0.95) 0%,
        rgba(255, 242, 142, 0.55) 40%,
        rgba(255, 242, 142, 0.15) 70%,
        transparent 100%
    );

    filter: blur(9px);
    z-index: 0;
    pointer-events: none;
}

.page-title {
    position: relative;
    z-index: 1;
    display: block;
    width: fit-content;
    margin: 0;

    padding: 4px 32px 8px;

    background: var(--color-bg);
    color: var(--color-accent);

    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.1;
}

/* Variante centrée */

.page-title-wrap--center {
    margin-left: auto;
    margin-right: auto;
}

