/**
 * SensFlow - Audit Page Styles
 * Design épuré et animations douces
 */

/* Hero */
.audit-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--sf-linen) 0%, #fff 100%);
    text-align: center;
    transition: padding 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.audit-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(165, 178, 159, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(198, 170, 118, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.audit-hero--collapsed {
    padding: 30px 0 20px;
}

.audit-hero--collapsed h1 {
    font-size: 1.125rem;
    margin-bottom: 0;
}
.audit-hero--collapsed .subtitle { display: none; }
.audit-hero--collapsed .micro-proof { display: none; }
.audit-hero--collapsed .audit-questions-intro { display: none; }
.audit-hero--collapsed .badge { display: none; }
.audit-hero--collapsed .audit-hint { display: none; }

.audit-hero-content {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.audit-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out;
}

.audit-hero .subtitle {
    font-size: 1.125rem;
    color: var(--sf-muted);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* Micro-proof */
.micro-proof {
    font-size: 0.875rem;
    color: var(--sf-sage);
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

/* Bloc 3 questions aligné pub */
.audit-questions-intro {
    background: linear-gradient(135deg, rgba(165, 178, 159, 0.08) 0%, rgba(198, 170, 118, 0.06) 100%);
    border: 1px solid rgba(165, 178, 159, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.questions-hook {
    font-size: 1rem;
    color: var(--sf-ink);
    margin: 0 0 14px 0;
}

.questions-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
}

.question-tag {
    background: #fff;
    border: 1px solid var(--sf-sage);
    color: var(--sf-sage);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(165, 178, 159, 0.15);
}

.questions-challenge {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-ink);
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-sage {
    background: rgba(165, 178, 159, 0.12);
    color: #7a8a74;
    border: 1px solid rgba(165, 178, 159, 0.2);
}

/* Form - Design moderne et unifié */
.audit-form {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.audit-input-wrapper {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--sf-sage);
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(165, 178, 159, 0.2), 0 0 0 4px rgba(165, 178, 159, 0.08);
}

.audit-input-wrapper:focus-within {
    border-color: #8fa389;
    box-shadow: 0 8px 40px rgba(165, 178, 159, 0.3), 0 0 0 6px rgba(165, 178, 159, 0.12);
    transform: translateY(-2px);
}

.audit-input-icon {
    padding: 0 14px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.audit-input-wrapper:focus-within .audit-input-icon {
    opacity: 0.8;
}

.audit-input {
    flex: 1;
    padding: 16px 10px;
    font-size: 1rem;
    border: none;
    background: transparent;
    outline: none;
    min-width: 0;
    font-family: inherit;
}

.audit-input::placeholder {
    color: #9ca3af;
}

.audit-submit {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
}

.audit-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(165, 178, 159, 0.3);
}

.audit-submit:active {
    transform: translateY(0);
}

.audit-submit .btn-text {
    display: inline;
}

.audit-submit .btn-loading {
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

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

.audit-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.audit-hint::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--sf-sage);
    border-radius: 50%;
    opacity: 0.6;
}

/* Error */
.error-message {
    margin-top: 20px;
    padding: 14px 18px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #dc2626;
    font-size: 0.9375rem;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Results */
.audit-results {
    padding: 50px 0 70px;
    background: var(--sf-linen);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.audit-results .container {
    max-width: 720px;
}

/* Score Card */
.results-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.06);
    margin-bottom: 24px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.score-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--sf-border);
}

.score-circle {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
}

.score-ring {
    transform: rotate(-90deg);
    filter: drop-shadow(0 2px 8px rgba(165, 178, 159, 0.2));
}

.score-progress {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s;
}

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.score-value span:first-child {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--sf-ink);
    line-height: 1;
}

.score-max {
    font-size: 0.875rem;
    color: var(--sf-muted);
    font-weight: 500;
}

.score-info h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 6px;
}

.score-subtitle {
    color: var(--sf-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sf-linen);
    border-radius: 12px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    animation: fadeInUp 0.4s ease-out both;
}

.criteria-item:nth-child(1) { animation-delay: 0.05s; }
.criteria-item:nth-child(2) { animation-delay: 0.1s; }
.criteria-item:nth-child(3) { animation-delay: 0.15s; }
.criteria-item:nth-child(4) { animation-delay: 0.2s; }
.criteria-item:nth-child(5) { animation-delay: 0.25s; }
.criteria-item:nth-child(6) { animation-delay: 0.3s; }
.criteria-item:nth-child(7) { animation-delay: 0.35s; }
.criteria-item:nth-child(8) { animation-delay: 0.4s; }
.criteria-item:nth-child(9) { animation-delay: 0.45s; }
.criteria-item:nth-child(10) { animation-delay: 0.5s; }

.criteria-icon {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.criteria-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.criteria-label {
    color: var(--sf-ink);
    font-weight: 500;
}

.criteria-consequence {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.3;
}

.criteria-status {
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.criteria-ok .criteria-status { color: #22c55e; }
.criteria-ok {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.criteria-missing .criteria-status { color: #ef4444; }
.criteria-missing {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.12);
}

/* Recommendations */
.recommendations-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.06);
    margin-bottom: 24px;
    animation: slideUp 0.5s ease-out 0.2s both;
}

.recommendations-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recommendations-card h3::before {
    content: '💡';
    font-size: 1.25rem;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--sf-linen);
    border-radius: 14px;
    transition: transform 0.2s ease;
}

.recommendation-item:hover {
    transform: translateX(4px);
}

.recommendation-number {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(165, 178, 159, 0.3);
}

.recommendation-content strong {
    display: block;
    color: var(--sf-ink);
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.recommendation-content p {
    font-size: 0.8125rem;
    color: var(--sf-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============================
   Recommendations Lock/Unlock
   ============================ */
.recommendations-locked {
    position: relative;
    min-height: 200px;
}

.recommendations-blur {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.recommendations-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 14px;
}

.unlock-box {
    text-align: center;
    padding: 28px 24px;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.12);
}

.unlock-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(165, 178, 159, 0.35);
}

.unlock-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-ink);
    margin-bottom: 18px;
    line-height: 1.4;
}

.unlock-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unlock-input-group {
    display: flex;
    gap: 10px;
}

/* Wrapper pour l'input avec icône */
.unlock-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--sf-sage);
    border-radius: 12px;
    padding: 0 4px 0 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(165, 178, 159, 0.15);
}

.unlock-input-wrapper:focus-within {
    border-color: #7a9a72;
    box-shadow: 0 4px 16px rgba(165, 178, 159, 0.25), 0 0 0 4px rgba(165, 178, 159, 0.1);
}

.unlock-input-icon {
    color: var(--sf-sage);
    flex-shrink: 0;
    opacity: 0.7;
}

.unlock-input-wrapper:focus-within .unlock-input-icon {
    opacity: 1;
}

.unlock-input-wrapper input {
    flex: 1;
    padding: 14px 12px;
    font-size: 0.9375rem;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    min-width: 0;
}

.unlock-input-wrapper input::placeholder {
    color: #9ca3af;
}

.unlock-input-group .btn-primary {
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(165, 178, 159, 0.3);
}

.unlock-input-group .btn-primary:hover {
    box-shadow: 0 6px 16px rgba(165, 178, 159, 0.4);
    transform: translateY(-1px);
}

.unlock-input-group .btn-primary .btn-loading {
    display: none;
}

.unlock-input-group .btn-primary.loading .btn-text {
    display: none;
}

.unlock-input-group .btn-primary.loading .btn-loading {
    display: inline-flex;
}

.unlock-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.unlock-hint svg {
    color: var(--sf-sage);
    opacity: 0.7;
}

.unlock-error {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.8125rem;
    animation: shake 0.4s ease;
}

.recommendations-unlocked {
    animation: fadeIn 0.5s ease-out;
}

/* Animation de déverrouillage */
@keyframes unlockReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.recommendations-unlocked.just-unlocked {
    animation: unlockReveal 0.5s ease-out;
}

/* Bonus Tips Section */
.recommendations-bonus {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--sf-border);
}

.bonus-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.bonus-badge {
    background: linear-gradient(135deg, var(--sf-gold) 0%, #d4b896 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
}

.bonus-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-ink);
    margin: 0;
}

.bonus-tips {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-tip {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--sf-linen);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.bonus-tip:hover {
    background: #f5f3ef;
    transform: translateX(4px);
}

.tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tip-content {
    flex: 1;
}

.tip-content strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--sf-ink);
    margin-bottom: 4px;
}

.tip-content p {
    font-size: 0.8125rem;
    color: var(--sf-muted);
    line-height: 1.5;
    margin: 0;
}

/* SensFlow Suggestion */
.sensflow-suggestion {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(165, 178, 159, 0.08) 0%, rgba(165, 178, 159, 0.15) 100%);
    border: 1px solid rgba(165, 178, 159, 0.25);
    border-radius: 16px;
}

.suggestion-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(165, 178, 159, 0.3);
}

.suggestion-content {
    flex: 1;
}

.suggestion-content p {
    font-size: 0.9375rem;
    color: var(--sf-ink);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.suggestion-content p strong {
    color: var(--sf-sage);
}

.suggestion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sf-sage);
    text-decoration: none;
    transition: all 0.2s ease;
}

.suggestion-link:hover {
    color: #7a9a72;
    gap: 12px;
}

.suggestion-link svg {
    transition: transform 0.2s ease;
}

.suggestion-link:hover svg {
    transform: translateX(4px);
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    border-radius: 24px;
    padding: 36px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.5s ease-out 0.3s both;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-content p {
    opacity: 0.92;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

.cta-card .btn-primary {
    background: #fff;
    color: #6b7a65;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cta-card .btn-primary:hover {
    background: var(--sf-linen);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Restart */
.restart-section {
    text-align: center;
    animation: fadeIn 0.5s ease-out 0.4s both;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--sf-muted);
    font-size: 0.9375rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: var(--sf-ink);
    background: rgba(165, 178, 159, 0.1);
}

/* Why Section */
.audit-why {
    padding: 50px 0;
    background: #fff;
}

.audit-why h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.audit-why > .container > p {
    text-align: center;
    color: var(--sf-muted);
    font-size: 1.0625rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--sf-linen);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(31, 41, 55, 0.08);
    border-color: var(--sf-border);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(165, 178, 159, 0.2) 0%, rgba(165, 178, 159, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.05);
}

.why-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--sf-muted);
    line-height: 1.6;
    margin: 0;
}

/* Platforms hint */
.platforms-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--sf-border);
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.platforms-hint span {
    font-size: 0.8125rem;
    color: var(--sf-muted);
}

.platform-logos {
    display: flex;
    gap: 16px;
    align-items: center;
}

.platform-logo {
    opacity: 0.4;
    font-size: 0.75rem;
    color: var(--sf-muted);
    font-weight: 500;
    transition: opacity 0.2s;
}

.platform-logo:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .audit-hero {
        padding: 100px 0 50px;
    }
    .audit-hero h1 {
        font-size: 1.875rem;
    }
    .audit-hero .subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .micro-proof {
        font-size: 0.8125rem;
        margin-bottom: 20px;
    }

    .audit-questions-intro {
        padding: 16px 18px;
        margin-bottom: 24px;
    }

    .questions-hook {
        font-size: 0.9375rem;
    }

    .questions-tags {
        gap: 8px;
        flex-wrap: wrap;
    }

    .question-tag {
        font-size: 0.8125rem;
        padding: 6px 14px;
    }

    .questions-challenge {
        font-size: 0.9375rem;
    }

    .audit-input-wrapper {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border-radius: 14px;
    }

    .audit-input-icon {
        display: none;
    }

    .audit-input {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .audit-submit {
        width: 100%;
        padding: 16px;
    }

    .results-card,
    .recommendations-card {
        padding: 24px;
        border-radius: 20px;
    }

    .score-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .score-circle {
        width: 100px;
        height: 100px;
    }

    .score-value span:first-child {
        font-size: 2rem;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .cta-card .btn-primary {
        width: 100%;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 24px 20px;
    }

    .platforms-hint {
        flex-direction: column;
        gap: 12px;
    }
}

/* Loading pulse effect */
.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Score color variations */
.score-excellent .score-progress { stroke: #22c55e; }
.score-good .score-progress { stroke: var(--sf-sage); }
.score-average .score-progress { stroke: #f59e0b; }
.score-poor .score-progress { stroke: #ef4444; }

/* ============================
   Section intro
   ============================ */
.section-intro {
    text-align: center;
    color: var(--sf-muted);
    font-size: 1.0625rem;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================
   How Section (Comment ça marche)
   ============================ */
.audit-how {
    padding: 50px 0;
    background: var(--sf-linen);
}

.audit-how h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Ligne de connexion entre les étapes */
.how-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--sf-sage) 0%, var(--sf-gold) 50%, var(--sf-sage) 100%);
    opacity: 0.3;
    z-index: 0;
}

.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(165, 178, 159, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(165, 178, 159, 0.45);
}

.how-step h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 10px;
}

.how-step p {
    font-size: 0.9375rem;
    color: var(--sf-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   FAQ Section
   ============================ */
.audit-faq {
    padding: 50px 0;
    background: #fff;
}

.audit-faq h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sf-ink);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--sf-linen);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--sf-border);
}

.faq-item[open] {
    background: #fff;
    border-color: var(--sf-sage);
    box-shadow: 0 4px 20px rgba(165, 178, 159, 0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--sf-ink);
    font-size: 1rem;
    transition: color 0.2s ease;
}

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

.faq-question:hover {
    color: var(--sf-sage);
}

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--sf-muted);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--sf-sage);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--sf-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
}

/* ============================
   Final CTA Section
   ============================ */
.audit-final-cta {
    padding: 50px 0 60px;
    background: linear-gradient(180deg, var(--sf-linen) 0%, #fff 100%);
}

.final-cta-card {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--sf-sage) 0%, #8fa389 100%);
    border-radius: 32px;
    padding: 56px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(165, 178, 159, 0.35);
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(198, 170, 118, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.final-cta-card > p {
    font-size: 1.0625rem;
    opacity: 0.92;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.final-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.final-cta-buttons .btn-primary {
    background: #fff;
    color: #6b7a65;
    padding: 18px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.final-cta-buttons .btn-primary:hover {
    background: var(--sf-linen);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.final-cta-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.final-cta-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
}

/* ============================
   Visually Hidden (Accessibility)
   ============================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================
   Responsive - Nouvelles sections
   ============================ */
@media (max-width: 768px) {
    .how-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .how-steps::before {
        display: none;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .audit-faq {
        padding: 40px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 20px 20px;
        font-size: 0.875rem;
    }

    .audit-final-cta {
        padding: 40px 0 50px;
    }

    .final-cta-card {
        padding: 36px 24px;
        border-radius: 24px;
    }

    .final-cta-card h2 {
        font-size: 1.5rem;
    }

    .final-cta-card > p {
        font-size: 1rem;
    }

    .final-cta-buttons {
        flex-direction: column;
    }

    .final-cta-buttons .btn-primary,
    .final-cta-buttons .btn-outline {
        width: 100%;
    }

    .audit-how {
        padding: 40px 0;
    }

    .audit-how h2,
    .audit-faq h2 {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .audit-why {
        padding: 40px 0;
    }

    /* Unlock form responsive */
    .recommendations-locked {
        min-height: 180px;
    }

    .unlock-box {
        padding: 20px 16px;
        margin: 0 8px;
        max-width: 320px;
    }

    .unlock-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .unlock-icon svg {
        width: 22px;
        height: 22px;
    }

    .unlock-box h4 {
        font-size: 0.875rem;
        margin-bottom: 14px;
    }

    .unlock-form {
        gap: 8px;
    }

    .unlock-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .unlock-input-wrapper {
        width: 100%;
        padding: 0 4px 0 12px;
    }

    .unlock-input-wrapper input {
        padding: 12px 10px;
        font-size: 0.875rem;
    }

    .unlock-input-icon {
        width: 18px;
        height: 18px;
    }

    .unlock-input-group .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .unlock-hint {
        font-size: 0.6875rem;
    }

    .unlock-hint svg {
        width: 12px;
        height: 12px;
    }

    /* Bonus tips responsive */
    .recommendations-bonus {
        margin-top: 24px;
        padding-top: 24px;
    }

    .bonus-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .bonus-header h4 {
        font-size: 0.9375rem;
    }

    .bonus-tip {
        padding: 14px;
        gap: 12px;
    }

    .bonus-tip:hover {
        transform: none;
    }

    .tip-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .tip-content strong {
        font-size: 0.875rem;
    }

    .tip-content p {
        font-size: 0.75rem;
    }

    /* SensFlow suggestion responsive */
    .sensflow-suggestion {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .suggestion-icon {
        width: 40px;
        height: 40px;
    }

    .suggestion-content p {
        font-size: 0.875rem;
    }

    .suggestion-link {
        font-size: 0.875rem;
    }
}
