/* ==========================================================================
   RESET & POLICES DE BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #041431;
    color: #c5c6c7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

/* ==========================================================================
   SÉLECTEUR DE LANGUE & LOGO
   ========================================================================== */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.lang-switcher button {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-switcher button:hover {
    background: #ffffff;
    color: #041431;
}

.main-logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   EN-TÊTE (HERO SECTION)
   ========================================================================== */
.hero {
    text-align: center;
    padding: 90px 20px 50px;
    max-width: 820px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.3rem;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero p {
    font-size: 1.1rem;
    color: #a9b5c7;
    margin-bottom: 25px;
    padding: 0 15px;
}

/* ==========================================================================
   ORBE INTERACTIF ASTRALIS
   ========================================================================== */
.interactive-orb-section {
    text-align: center;
    margin: 35px auto 40px;
}

.orb {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #c4b5fd, #6c5ce7 55%, #041431 95%);
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.45), inset 0 0 20px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orb:hover {
    transform: scale(1.06);
    box-shadow: 0 0 35px rgba(108, 92, 231, 0.75), inset 0 0 25px rgba(255, 255, 255, 0.3);
}

.orb.parle {
    animation: pulse-cosmique 1.1s infinite alternate ease-in-out;
}

@keyframes pulse-cosmique {
    0% {
        box-shadow: 0 0 25px rgba(108, 92, 231, 0.45);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 65px rgba(108, 92, 231, 0.95), 0 0 110px rgba(196, 181, 253, 0.55);
        transform: scale(1.08);
    }
}

.orb-hint {
    margin-top: 18px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   BOUTONS DE TÉLÉCHARGEMENT
   ========================================================================== */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn.apple {
    background-color: #1a2744;
    border: 1px solid #2b3d66;
    color: #94a3b8;
    cursor: default;
}

.btn.google {
    background-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn.google:hover {
    background-color: #1d4ed8;
}

/* ==========================================================================
   SECTION FONCTIONNALITÉS
   ========================================================================== */
.features-section {
    padding: 70px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #081d45;
    padding: 30px 22px;
    border-radius: 14px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid #142d63;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #6c5ce7;
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   SECTION ÉTAPES
   ========================================================================== */
.steps-section {
    padding: 70px 20px;
    background-color: #061b3d;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    max-width: 900px;
    margin: 40px auto 0;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #6c5ce7;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 50%;
    margin: 0 auto 18px;
    box-shadow: 0 0 18px rgba(108, 92, 231, 0.6);
}

/* ==========================================================================
   SECTION FAQ ACCORDÉON
   ========================================================================== */
.faq-section {
    padding: 75px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-container {
    margin-top: 35px;
    text-align: left;
}

.faq-item {
    background-color: #081d45;
    border: 1px solid #142d63;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: #6c5ce7;
}

.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: #8b7df8;
    font-weight: bold;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 20px 20px;
    color: #a9b5c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION LIEN VIDÉO
   ========================================================================== */
.video-link-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #061b3d;
}

.video-link-section p {
    color: #a9b5c7;
    margin-bottom: 25px;
}

.video-btn {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    gap: 8px;
}

.video-btn:hover {
    background-color: #334155;
}

/* ==========================================================================
   PIED DE PAGE (FOOTER)
   ========================================================================== */
footer {
    padding: 45px 20px;
    background-color: #041431;
    text-align: center;
    border-top: 1px solid #142d63;
    font-size: 0.9rem;
}

.footer-content a {
    color: #8b7df8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-content a:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.legal-links {
    margin: 18px 0;
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.copyright {
    color: #64748b;
    margin-top: 20px;
}

/* ==========================================================================
   RESPONSIVE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .features-grid, .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .feature-card, .step-item {
        width: 100%;
        max-width: 380px;
    }

    .main-logo {
        max-width: 85%;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}