/* ===============================================================
   AQUA FINDER - Questionnaire en slider
   Design premium avec fond blanc et pictos gold
   ============================================================ */

.aqua-finder {
    position: relative;
    min-height: 550px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 4px 20px rgba(0,0,0,.04);
}

/* Progress bar en haut */
.aqua-finder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 25%;
    background: linear-gradient(90deg, #B48C58 0%, #D4AF7A 100%);
    transition: width .4s cubic-bezier(.4,0,.2,1);
    z-index: 10;
    box-shadow: 0 0 12px rgba(180,140,88,.4);
}

.aqua-finder[data-progress="50"]::before { width: 50%; }
.aqua-finder[data-progress="75"]::before { width: 75%; }
.aqua-finder[data-progress="100"]::before { width: 100%; }

.aqua-finder__slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(60px) scale(.96);
    transition: all .45s cubic-bezier(.4,0,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.aqua-finder__slide--active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) scale(1) !important;
    position: relative !important;
}

.aqua-finder__content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.aqua-finder__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 .75rem;
    text-align: center;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.aqua-finder__title-icon {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0;
    display: block !important;
}

.aqua-finder__subtitle {
    font-size: 1rem;
    color: rgba(0,0,0,.5);
    text-align: center;
    margin: 0 0 3rem;
    font-weight: 400;
}

/* ── Choices (boutons design) ───────────────────────────── */
.aqua-finder__choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.aqua-finder__choices--grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.aqua-finder__choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 2.5rem 1.5rem;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    overflow: hidden;
}

.aqua-finder__choice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(180,140,88,.06) 0%, rgba(212,175,122,.03) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.aqua-finder__choice:hover {
    border-color: #B48C58;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(180,140,88,.15);
}

.aqua-finder__choice:hover::before {
    opacity: 1;
}

.aqua-finder__choice.is-selected {
    border-color: #B48C58;
    background: rgba(180,140,88,.04);
    box-shadow: 0 0 0 3px rgba(180,140,88,.12),
                0 8px 24px rgba(180,140,88,.2);
}

.aqua-finder__choice--primary {
    padding: 3.5rem 2rem;
    font-size: 1.35rem;
}

.aqua-finder__choice--skip {
    grid-column: 1 / -1;
    padding: 1.5rem;
    background: #fafafa;
    border-color: #e8e8e8;
    color: rgba(0,0,0,.45);
    font-size: .95rem;
    font-weight: 500;
}

.aqua-finder__choice--skip:hover {
    background: #f5f5f5;
    border-color: #ddd;
    color: rgba(0,0,0,.65);
    transform: none;
    box-shadow: none;
}

.aqua-finder__choice-label {
    position: relative;
    z-index: 1;
}

.aqua-finder__choice-icon {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
    opacity: .85;
    transition: opacity .3s ease;
    display: block !important;
}

.aqua-finder__choice:hover .aqua-finder__choice-icon {
    opacity: 1;
}

/* ── Navigation ──────────────────────────────────────────── */
.aqua-finder__nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.aqua-finder__btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    font-family: inherit;
    letter-spacing: .01em;
}

.aqua-finder__btn--back {
    background: #f8f8f8;
    color: rgba(0,0,0,.6);
    border-color: #e8e8e8;
}

.aqua-finder__btn--back:hover:not(:disabled) {
    background: #f0f0f0;
    border-color: #ddd;
    color: rgba(0,0,0,.8);
}

.aqua-finder__btn--next,
.aqua-finder__btn--results {
    background: linear-gradient(135deg, #B48C58 0%, #D4AF7A 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(180,140,88,.25);
}

.aqua-finder__btn--next:hover:not(:disabled),
.aqua-finder__btn--results:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(180,140,88,.35);
}

.aqua-finder__btn:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Loading ─────────────────────────────────────────────── */
.aqua-finder__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 2rem;
    color: rgba(0,0,0,.5);
}

.aqua-finder__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: #B48C58;
    border-radius: 50%;
    animation: aqua-spin 0.8s linear infinite;
}

@keyframes aqua-spin {
    to { transform: rotate(360deg); }
}

/* ── Results ─────────────────────────────────────────────── */
.aqua-finder__results {
    min-height: 300px;
}

.aqua-finder__no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(0,0,0,.5);
}

.aqua-finder__no-results p {
    margin: .75rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.aqua-finder__no-results a {
    color: #B48C58;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(180,140,88,.3);
    cursor: pointer;
    transition: all .2s ease;
}

.aqua-finder__no-results a:hover {
    color: #9d7749;
    border-bottom-color: #9d7749;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .aqua-finder {
        padding: 0;
        min-height: 600px;
        border-radius: 16px;
    }
    
    .aqua-finder__slide {
        padding: 3rem 1.5rem;
    }
    
    .aqua-finder__title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: .75rem;
    }
    
    .aqua-finder__title-icon {
        width: 36px !important;
        height: 36px !important;
    }
    
    .aqua-finder__subtitle {
        font-size: .95rem;
        margin-bottom: 2.5rem;
    }
    
    .aqua-finder__choices {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .aqua-finder__choices--grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aqua-finder__choice {
        padding: 2rem 1.25rem;
        font-size: 1rem;
    }
    
    .aqua-finder__choice-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .aqua-finder__choice--primary {
        padding: 2.5rem 1.5rem;
        font-size: 1.25rem;
    }
    
    .aqua-finder__nav {
        flex-direction: column-reverse;
        gap: .75rem;
    }
    
    .aqua-finder__btn {
        width: 100%;
        padding: 1.125rem 2rem;
    }
}

