/* Explain: Styles for buttons, cards, forms, and other UI components. */
/* ===== Boutons ===== */
.btn-gold,
.btn-call,
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
    background: linear-gradient(135deg, #C9A227, #E4C463);
    color: #14100A;
    box-shadow: 0 14px 32px -18px rgba(201, 162, 39, 0.95);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E4C463, #F2DB92);
    transform: translateY(-2px);
}

.btn-call {
    background: var(--secondary-color);
    color: #fff;
}

.btn-call:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-wa {
    background: #127C56;
    color: #fff;
}

.btn-wa:hover {
    background: #0E6547;
    transform: translateY(-2px);
}

/* ===== Cartes premium à liseré doré ===== */
.card-premium {
    position: relative;
    background: linear-gradient(180deg, #141419 0%, #0C0C10 100%);
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 3px;
    padding: 1.65rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card-premium::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.85), transparent);
}

.card-premium:hover {
    border-color: rgba(201, 162, 39, 0.6);
    transform: translateY(-3px);
}

/* ===== Typographie utilitaire ===== */
.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.gold {
    color: var(--primary-color);
}

.muted {
    color: var(--text-muted);
}

/* ===== Formulaires ===== */
.form-field {
    display: block;
}

.form-field > span {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: #0A0A0E;
    border: 1px solid rgba(201, 162, 39, 0.25);
    color: var(--text-color);
    padding: 0.85rem 1rem;
    border-radius: 2px;
    font-size: 1rem;
    min-height: 48px;
    font-family: inherit;
    transition: border-color 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(169, 162, 154, 0.6);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-feedback.is-ok {
    color: #86C79E;
}

.form-feedback.is-err {
    color: #E0837A;
}

/* ===== Boutons flottants persistants ===== */
.float-actions {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.9);
    transition: transform 0.25s ease;
}

@media (max-width: 640px) {
    .float-actions {
        right: 0.85rem;
        gap: 0.5rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .card-premium {
        padding: 1.4rem;
    }

    /* Boutons plus compacts sur téléphone : le libellé et le numéro tiennent sur une ligne */
    .btn-gold,
    .btn-call,
    .btn-wa {
        padding: 0.8rem 1rem;
        font-size: 0.88rem;
        gap: 0.45rem;
    }
}

.float-btn:hover {
    transform: scale(1.08);
}

.float-wa {
    background: #127C56;
}

.float-call {
    background: var(--secondary-color);
}

/* ===== Menu mobile ===== */
.mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--background-color);
    padding: 1.25rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
}

.mobile-panel.is-open {
    display: flex;
}

@media (min-width: 1024px) {
    .mobile-panel,
    .mobile-panel.is-open {
        display: none !important;
    }
}

/* Verrouillage du défilement quand le menu est ouvert */
body.is-locked {
    overflow: hidden;
}

/* ===== FAQ ===== */
.faq-item {
    background: #0E0E13;
    border: 1px solid rgba(201, 162, 39, 0.18);
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.faq-item .collapse-title {
    color: var(--text-color);
}

/* ===== Carrousel ===== */
.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}