/* Explain: Styles for reusable UI components like buttons, cards, and input fields. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.7rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e3c489, #b98f3c);
    color: #2b0d17;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .55);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
    cursor: pointer;
}
.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 20px 38px -18px rgba(0, 0, 0, .6);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(201, 162, 75, .45);
    color: var(--ivory);
    font-size: 1rem;
    font-weight: 500;
    background: rgba(247, 238, 225, .06);
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
    cursor: pointer;
}
.btn-outline:hover {
    border-color: rgba(201, 162, 75, .85);
    background: rgba(201, 162, 75, .16);
    transform: translateY(-2px);
}

.card-gold {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #4b1c2d, #431726);
    padding: 1.6rem;
    box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .9);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card-gold::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, .75), transparent);
}
.card-gold:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 75, .55);
    box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .85);
}

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    background: rgba(201, 162, 75, .16);
    border: 1px solid rgba(201, 162, 75, .4);
    color: var(--gold-soft);
    font-size: 1.15rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: rgba(247, 238, 225, .06);
    font-size: .9rem;
    color: var(--ivory-dim);
}

.field {
    width: 100%;
    border-radius: .85rem;
    border: 1px solid #6e2c3e;
    background: #2f1020;
    padding: .9rem 1.05rem;
    color: var(--text-color);
    font-size: 1.02rem;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus {
    outline: none;
    border-color: rgba(201, 162, 75, .8);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
}
.field::placeholder { color: #b39a8c; }

.faq { border-bottom: 1px solid var(--border-color); }
.faq summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.22rem;
    color: var(--ivory);
}
.faq-chev {
    color: var(--gold-soft);
    transition: transform .3s ease;
    margin-top: .3rem;
}
.faq[open] .faq-chev { transform: rotate(180deg); }
.faq[open] summary { color: var(--gold-soft); }

.float-stack {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    font-size: 1.2rem;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .65);
    transition: transform .3s ease;
}
.float-btn:hover { transform: scale(1.07); }
.float-btn--wa { background: var(--mint); color: #ffffff; }
.float-btn--call { background: linear-gradient(135deg, #e3c489, #b98f3c); color: #2b0d17; }

/* Mobile : boutons flottants plus petits et jamais collés au bord bas de l'écran */
@media (max-width: 767px) {
    .float-stack {
        right: .85rem;
        bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
        gap: .5rem;
    }
    .float-btn {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

.swiper-pagination-bullet {
    background: rgba(247, 238, 225, .3);
    opacity: 1;
}
.swiper-pagination-bullet-active { background: var(--gold); }

.star-row { color: var(--gold); letter-spacing: .12em; }

/* Basmala calligraphiée au-dessus du portrait du Marabout */
.bismillah {
    margin: 0;
    text-align: center;
    font-family: var(--font-arabic);
    font-size: clamp(1.55rem, 6vw, 2.3rem);
    line-height: 1.85;
    color: var(--gold-soft);
    text-shadow: 0 2px 26px rgba(201, 162, 75, .3);
    word-spacing: .12em;
}
.bismillah::after {
    content: '';
    display: block;
    width: 5.5rem;
    height: 1px;
    margin: .35rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, .8), transparent);
}
.bismillah-wrap {
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .bismillah-wrap {
        margin-bottom: 1.1rem;
    }
}