/* ================= GLOBAL ================= */
body {
    font-family: 'Inter', sans-serif;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ================= LOADER ================= */
#preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #e0e0e0;
    border-top: 5px solid #3498db;
    background-color: #15152c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    color: rgb(223, 147, 48);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: #15152c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: rgb(223, 147, 48);
}
.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
}
.nav-center img.logo { height: 50px; }
.nav-left i.icon { font-size: 20px; color: rgb(223, 147, 48); cursor: pointer; }
.language-btn {
    background: rgb(223, 147, 48);
    color: #ebedee;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================= GOOGLE TRANSLATE CACHÉ ================= */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-logo-link,
.goog-te-gadget { display: none !important; }
iframe { display: none !important; }
body { top: 0 !important; }

/* ================= MODAL SERVICE CLIENT ================= */
.cs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 99998;
}
.cs-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 26px 26px 0 0;
    padding: 26px 16px 36px;
    text-align: center;
    transition: bottom 0.35s ease;
    z-index: 99999;
}
.cs-overlay.active { opacity: 1; visibility: visible; }
.cs-sheet.active { bottom: 0; }
.cs-sheet h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; color: #111; }
.cs-sheet p { font-size: 14px; color: #9a9a9a; line-height: 1.45; margin-bottom: 30px; }
.cs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4f5f7;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
}
.cs-left { display: flex; align-items: center; gap: 16px; }
.cs-left img {
    width: 50px; height: 50px;
    padding: 8px;
    background: #2aa7e3;
    border-radius: 14px;
}
.cs-left span { font-size: 16px; font-weight: 500; color: #111; }
.cs-arrow { font-size: 20px; color: #b0b0b0; }

/* ================= MODAL LANGUES ================= */
.lang-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 99998;
}
.lang-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 26px 26px 0 0;
    padding: 26px 16px 36px;
    text-align: center;
    transition: bottom 0.35s ease;
    z-index: 99999;
}
.lang-overlay.active { opacity: 1; visibility: visible; }
.lang-sheet.active { bottom: 0; }
.lang-sheet h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; color: #111; }
.lang-sheet p { font-size: 14px; color: #9a9a9a; line-height: 1.45; margin-bottom: 20px; }
.lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.lang-item {
    flex: 1 1 30%;
    background: #f4f5f7;
    border-radius: 16px;
    padding: 14px 0;
    cursor: pointer;
    font-weight: 500;
    color: #111;
    text-align: center;
    transition: background 0.25s ease;
    position: relative;
}
.lang-item:hover { background: #e0e0e0; }
.lang-item.active {
    background: #2aa7e3;
    color: #fff;
}
.lang-item.active::after {
    content: "✔️";
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
    color: #fff;
}