/* =============================================
   Home Index — sections additionnelles
   ============================================= */

/* ── Barre "Conçu pour" ── */
.h-proof-band {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.1rem 2rem;
}

.h-proof-band-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.h-proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    margin: 0;
}

.h-proof-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.h-proof-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

.h-proof-item i {
    color: #6022c4;
    font-size: 1rem;
}

/* ── Section douleur ── */
.h-pain-section {
    padding: 5rem 4rem;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.h-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.h-pain-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.h-pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 34, 196, 0.6), rgba(167, 139, 250, 0.4));
}

.h-pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0e8ff;
    color: #6022c4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.h-pain-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.h-pain-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.h-pain-solution {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #16a34a;
}

/* ── Comment ça marche ── */
.h-how-section {
    padding: 5rem 4rem;
    background: #f8fafc;
}

.h-how-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.h-how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 860px;
    margin: 3rem auto 0;
}

.h-how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 1.5rem;
}

.h-how-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: #6022c4;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #6022c4;
    box-shadow: 0 4px 14px rgba(96, 34, 196, 0.12);
}

.h-how-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.h-how-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.h-how-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #6022c4, #a78bfa);
    margin-top: 26px;
}

.h-how-cta {
    text-align: center;
    margin-top: 3rem;
}

.h-how-cta a {
    display: inline-block;
    background: #6022c4;
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}

.h-how-cta a:hover {
    background: #4e1aa0;
    color: #fff;
}

/* ── Tour produit (peek carousel) ── */
.h-tour-section {
    padding: 1rem 0;
    background: #fff;
    overflow: hidden;
}

.h-tour-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tour-preview {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tour-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 30px 0;
}

.tour-carousel-track {
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.tour-card {
    flex: 0 0 640px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.4;
    transform: scale(0.88);
    cursor: pointer;
}

.tour-card.active {
    opacity: 1;
    transform: scale(1);
    cursor: default;
}

.tour-frame {
    position: relative;
    width: 100%;
    background: #1a0830;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(96, 34, 196, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.tour-frame-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tour-frame-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tour-frame-bar span:nth-child(1) { background: #ff5f56; }
.tour-frame-bar span:nth-child(2) { background: #ffbd2e; }
.tour-frame-bar span:nth-child(3) { background: #27c93f; }

.tour-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.tour-frame-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 4%;
}

.tour-mobile {
    position: absolute;
    left: -2%;
    bottom: -2%;
    width: 19%;
    border-radius: 22px;
    border: 5px solid #1a0830;
    background: #1a0830;
    box-shadow: 0 10px 28px rgba(96, 34, 196, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 2;
}

.tour-mobile img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.tour-card-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.4s ease;
}

.tour-card.active .tour-card-label {
    color: #6022c4;
}

.tour-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tour-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(96, 34, 196, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.tour-dot:hover {
    background: rgba(96, 34, 196, 0.5);
}

.tour-dot.active {
    width: 28px;
    border-radius: 100px;
    background: #6022c4;
}

/* ── FAQ ── */
.h-faq-section {
    padding: 5rem 4rem;
    background: #fff;
}

.h-faq-inner {
    max-width: 780px;
    margin: 0 auto;
}

.h-faq-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.h-faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
}

.h-faq-item[open] {
    background: #fff;
    border-color: #6022c4;
}

.h-faq-item summary {
    padding: 1.1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.h-faq-item summary::after {
    content: '+';
    color: #6022c4;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s;
    flex-shrink: 0;
}

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

.h-faq-item p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .h-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .h-pain-section,
    .h-how-section,
    .h-faq-section,
    .h-tour-section {
        padding: 3.5rem 1.5rem;
    }

    .h-tour-inner {
        padding: 0;
    }

    .tour-card {
        flex: 0 0 88vw;
    }

    .tour-carousel-viewport {
        padding: 16px 0;
    }

    .tour-frame {
        border-radius: 10px;
    }

    .tour-frame-bar {
        padding: 7px 10px;
    }

    .tour-frame-bar span {
        width: 7px;
        height: 7px;
    }

    .tour-mobile {
        width: 22%;
        border-width: 4px;
        border-radius: 16px;
    }

    .tour-mobile img {
        border-radius: 11px;
    }

    .h-faq-item summary {
        padding: 1rem 1.1rem;
        font-size: 0.9rem;
    }

    .h-faq-item p {
        padding: 0 1.1rem 1.1rem;
        font-size: 0.85rem;
    }

    .h-pain-grid {
        grid-template-columns: 1fr;
    }

    .h-proof-band {
        padding: 1rem 1.5rem;
    }

    .h-proof-band-inner {
        gap: 0.75rem;
    }

    .h-proof-label {
        display: none;
    }

    .h-proof-items {
        gap: 0.75rem;
    }

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

    .h-how-step {
        width: 100%;
        max-width: 320px;
        padding: 0 1rem;
    }

    .h-how-connector {
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, #6022c4, #a78bfa);
        margin: 0;
    }

    .h-how-cta a {
        width: 100%;
        text-align: center;
    }
}
