/* ==========================================================================
   POLICES & RESET (ESTHÉTIQUE SABLE & LIN)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f1ea;
    color: #2d2926;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: #2d2926;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

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

.lang-switcher a,
.lang-switcher button {
    background: #ffffff;
    color: #8c827a;
    border: 1px solid #e2d7c5;
    border-radius: 20px;
    padding: 6px 14px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.lang-switcher a.active,
.lang-switcher button:hover,
.lang-switcher a:hover {
    background: #faf8f5;
    color: #9e7d3b;
    border-color: #caa255;
}

.main-logo {
    max-width: 260px;
    height: auto;
    margin-bottom: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
}

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

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #2d2926;
}

.hero p {
    font-size: 1.05rem;
    color: #6d645c;
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.65;
}

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

.orb {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 45%, #ffffff 0%, #ffe8b8 25%, #ffd1dc 50%, #d6e4ff 75%, #f5e6ff 100%);
    box-shadow: 0 15px 35px rgba(230, 200, 160, 0.35), 0 0 25px rgba(210, 220, 255, 0.4);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: pulse-soft 3.2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orb:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(230, 195, 140, 0.55), 0 0 35px rgba(210, 220, 255, 0.5);
}

.orb.parle {
    animation: pulse-parle 1.1s ease-in-out infinite alternate !important;
    border: 3px solid rgba(202, 162, 85, 0.8) !important;
}

@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.04);
        filter: brightness(1.08);
        box-shadow: 0 20px 45px rgba(230, 195, 140, 0.5);
    }
}

@keyframes pulse-parle {
    from {
        transform: scale(0.97);
        filter: brightness(1.05);
    }
    to {
        transform: scale(1.08);
        filter: brightness(1.2);
        box-shadow: 0 0 45px rgba(202, 162, 85, 0.55);
    }
}

.orb-hint {
    margin-top: 18px;
    color: #8c827a;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.btn.google {
    background-color: #9e7d3b;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(158, 125, 59, 0.25);
}

.btn.google:hover {
    background-color: #886a30;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(158, 125, 59, 0.35);
}

.btn.apple {
    background-color: #ffffff;
    border: 1px solid #e2d7c5;
    color: #524b45;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn.apple:hover {
    border-color: #caa255;
    transform: translateY(-2px);
}

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

.features-section h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: #faf8f5;
    padding: 32px 24px;
    border-radius: 24px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e2d7c5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #2d2926;
}

.feature-card p {
    color: #6d645c;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ==========================================================================
   SECTION ÉTAPES
   ========================================================================== */
.steps-section {
    padding: 70px 20px;
    background-color: #faf8f5;
    border-top: 1px solid #e8e2d8;
    border-bottom: 1px solid #e8e2d8;
    text-align: center;
}

.steps-section h2 {
    font-size: 1.8rem;
}

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

.step-item {
    flex: 1;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #eee7db;
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #9e7d3b;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50%;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(158, 125, 59, 0.3);
}

.step-item h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.step-item p {
    font-size: 0.85rem;
    color: #6d645c;
}

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

.faq-section h2 {
    font-size: 1.8rem;
}

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

.faq-item {
    background-color: #faf8f5;
    border: 1px solid #e8e2d8;
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

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

.faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: #2d2926;
    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.3rem;
    color: #9e7d3b;
    font-weight: bold;
    transition: transform 0.2s ease;
}

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

.faq-item p {
    padding: 0 22px 20px;
    color: #6d645c;
    font-size: 0.88rem;
    line-height: 1.65;
    border-top: 1px solid #ede7dc;
    padding-top: 14px;
}

/* ==========================================================================
   SECTION LIEN VIDÉO
   ========================================================================== */
.video-link-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #faf8f5;
    border-top: 1px solid #e8e2d8;
}

.video-link-section p {
    color: #6d645c;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.video-btn {
    background-color: #ffffff;
    border: 1px solid #e2d7c5;
    color: #2d2926;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.video-btn:hover {
    border-color: #caa255;
    transform: translateY(-2px);
}

/* ==========================================================================
   PIED DE PAGE (FOOTER)
   ========================================================================== */
footer {
    padding: 50px 20px 40px;
    background-color: #f4f1ea;
    text-align: center;
    border-top: 1px solid #e8e2d8;
    font-size: 0.85rem;
    color: #8c827a;
}

.footer-content a {
    color: #9e7d3b;
    text-decoration: none;
    font-weight: 500;
}

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

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

.copyright {
    color: #a3978b;
    margin-top: 20px;
    font-size: 0.8rem;
}

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

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

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

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

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

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