body {
    background-color: rgb(255, 240, 224);
    color: rgb(38, 66, 46);
}

article {
    /* Évite que la première section se retrouve sous le menu */
    margin-top: 10rem;

    min-height: 70vh;
}


/* == MAIN SYLES (GLASS, ETC.) == */

/* Glassmorphism */
.glass {
    /* Effet de transparence et de flou (Glassmorphism) */
    background: rgba(255, 255, 255, 0.6);
    /* Fond blanc semi-transparent */
    backdrop-filter: blur(10px);
    /* Floute ce qui est derrière la barre */
    -webkit-backdrop-filter: blur(10px);
    /* Compatibilité Safari */

    /* Bordures et arrondis prononcés comme sur l'image */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Bordure légère pour l'effet brillant */

    /* Ombre douce */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}


/* == FONTS == */
.script {
    font-family: 'Italianno', cursive;
    font-size: 4rem;
    line-height: 0.8em;
    font-weight: 400;
    /* Cette police n'existe qu'en graisse 400 */
}

.minimalist {
    font-size: 1rem;
    color: rgb(178, 136, 114);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2em;
    font-weight: 600;
}


/* == SPECIFIC ELEMENTS == */
.rounded-border {
    border-radius: 10px !important;
}

img {
    object-fit: cover;
}

p {
    line-height: 1.5em;
    font-size: 1rem;
    color: rgb(38, 66, 46);
}

a,
a:hover,
a:active {
    color: rgb(38, 66, 46);
}

a.unstyled {
    text-decoration: none;
    color: inherit;
}


/* Navbar */
.nav-item .nav-link {
    color: rgb(38, 66, 46);
    transition: transform 0.2s;
}

.nav-item .nav-link:hover,
.nav-item .nav-link:active {
    color: #1e2a22;
}

.navbar {
    width: 100%;
    max-width: 1200px;
    padding: 10px 30px;
}

.cta-primary {
    background-color: rgb(38, 66, 46);
    color: white !important;
    border-radius: 50px;
}

.tag-pulse {
    display: inline-block;
    background: rgba(45, 62, 51, 0.15);
    /* Ton vert foncé très léger */
    color: #2D3E33;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    font-weight: 500;
}

/* Buttons */
a.btn.btn-primary {
    background-color: rgb(38, 66, 46);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: rgba(38, 66, 46, 0) 0px 0px 0px 0px;
    padding: 10px 25px;
    border: none;
    transition: transform 0.2s;
}

a.btn.btn-primary:hover,
a.btn.btn-primary:active {
    transform: scale(1.05);
    background-color: #1e2a22;
}

/* Tags */
h1.tag,
span.tag {
    display: inline-flex;
    color: rgb(178, 136, 114);
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    padding: 10px;
}

/* Cards */
.card {
    color: inherit !important;
    border: none !important;
}

.card-body {
    padding: 16px;
}

.card .card-title {
    color: rgb(178, 136, 114);
    font-size: 1.2rem;
    line-height: 1em;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-footer {
    background-color: #EEE;
    border: none;
}

.step-number {
    background-color: rgb(178, 136, 114);
    color: #ffffff;
    width: 35px;
    height: 35px;
    min-width: 35px;
    /* Empêche le cercle de s'écraser si le texte est long */
    border-radius: 50%;
    /* Rend le fond parfaitement rond */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* == BACKGROUNDS == */

/* Sections bg */
.hero-section,
.neurofeedback-section,
.method-section,
.prices-section,
.reviews-section {
    position: relative;
    /* Indispensable pour positionner le fond */
    overflow: hidden;
    /* Pour que le fond ne dépasse pas */
}

/* On crée une couche spécifique pour l'image de fond */
.hero-section::before,
.neurofeedback-section::before,
.method-section::before,
.prices-section::before,
.reviews-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* Le fond est au niveau 1 */

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    /* On applique le masque uniquement ici */
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);

    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);
}

/* On assigne les images respectives */
.hero-section::before {
    background-image: url("//demo.neurosphere.fr/media/img/themes/background_flowers_hero.png");
}

.neurofeedback-section::before {
    background-image: url("//demo.neurosphere.fr/media/img/themes/background_flowers_faded.png");
}

.method-section::before {
    background-image: url("//demo.neurosphere.fr/media/img/themes/background_flowers_method.png");
}

.prices-section::before {
    background-image: url("//demo.neurosphere.fr/media/img/themes/background_flowers_prices.png");
}

.reviews-section::before {
    background-image: url("//demo.neurosphere.fr/media/img/themes/background_flowers_reviews.png");
}


/* On force le contenu (Bootstrap row/container) à passer devant le fond */
.hero-section>.container,
.hero-section>.row,
.neurofeedback-section>.container,
.neurofeedback-section>.row,
.method-section>.container,
.method-section>.row,
.prices-section>.container,
.prices-section>.row,
.reviews-section>.container,
.reviews-section>.row {
    position: relative;
    z-index: 2;
    /* Le texte passe au niveau 2 */
}