.pricing-switch-large {
    margin-top: 2.5rem;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem;
    border-radius: 1.25rem;
}

.pricing-switch-large .switch-btn {
    padding: 1rem 1.75rem;
    font-size: 1rem;
    line-height: 1.2;
}

#view-monthly.plan-form-active #plan-selection-area {
    display: none;
}

#view-monthly:not(.plan-form-active) #plan-choice-card {
    display: none;
}

#view-monthly.plan-form-active #plan-choice-card {
    display: block;
}

#formule-confirmation,
#estimate-confirmation {
    display: none;
}

#formule-confirmation.is-visible,
#estimate-confirmation.is-visible {
    display: block;
}

.lead-confirmation[hidden] {
    display: none !important;
}

.lead-flow .lead-confirmation {
    display: none;
}

.lead-flow.is-complete form {
    display: none !important;
}

.lead-flow.is-complete .lead-confirmation {
    display: block !important;
}

.stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.stepper-item {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--surface);
}

.stepper-item.active {
    color: var(--primary-text);
    background: var(--primary);
    border-color: var(--primary);
}

.stepper-item.done {
    color: var(--text-main);
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.08);
}

.step-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.stepper-compact {
    margin: 0.5rem auto 1.5rem;
    max-width: 640px;
    text-align: left;
}

.stepper-compact .stepper-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.stepper-compact .step-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stepper-compact .step-title {
    font-size: 1rem;
}

.stepper-progress {
    margin-top: 0.6rem;
    width: 100%;
    height: 6px;
    background: var(--surface-alt);
    border-radius: 999px;
    overflow: hidden;
}

.stepper-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.25s ease;
}

.step-actions .form-helper {
    flex-basis: 100%;
    text-align: center;
    display: block;
    justify-content: center;
}

#audit-form.audit-step-form {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
    border: 1.5px solid rgba(251, 191, 36, 0.75);
    background: #f8fafc;
}

#audit-form.audit-step-form:hover {
    transform: none;
    border-color: rgba(251, 191, 36, 0.75);
}

#audit-form.audit-step-form .stepper-compact {
    max-width: 430px;
    margin: 0 auto 2.1rem;
    text-align: center;
}

#audit-form.audit-step-form .stepper-compact .stepper-top {
    justify-content: center;
    align-items: center;
    gap: 1.15rem;
}

#audit-form.audit-step-form .stepper-compact .step-count {
    font-size: clamp(1.25rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.03em;
}

#audit-form.audit-step-form .stepper-compact .step-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    color: #0f172a;
}

#audit-form.audit-step-form .stepper-progress {
    height: 10px;
    max-width: 330px;
    margin: 0.8rem auto 0;
    background: #e2e8f0;
}

#audit-form.audit-step-form .stepper-progress-fill {
    background: #fbbf24;
}

#audit-form.audit-step-form .form-grid {
    max-width: 760px;
    justify-items: center;
    text-align: center;
}

#audit-form.audit-step-form .form-control {
    align-items: center;
}

#audit-form.audit-step-form .form-inline {
    justify-content: center;
}

#audit-form.audit-step-form [data-step="1"] .form-control > label,
#audit-form.audit-step-form [data-step="3"] .form-control > label,
#audit-form.audit-step-form [data-step="4"] .form-control > label {
    text-align: center;
    color: #0f172a;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
}

#audit-form.audit-step-form .form-helper,
#audit-form.audit-step-form .rgpd-intro,
#audit-form.audit-step-form .audit-single-note {
    color: #5a6d89;
}

#audit-form.audit-step-form .rgpd-intro,
#audit-form.audit-step-form .audit-single-note {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#audit-form.audit-step-form .audit-single-note {
    margin-top: 1.3rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

#audit-form.audit-step-form .btn {
    min-height: 56px;
    padding: 0.95rem 2rem;
    border-radius: 1rem;
    font-size: 1.08rem;
}

#audit-form.audit-step-form .btn-primary {
    background: #fbbf24;
    border: 1px solid #f59e0b;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.22);
}

#audit-form.audit-step-form .btn-primary:hover {
    background: #f59e0b;
    border-color: #d97706;
    color: #0f172a;
}

#audit-form.audit-step-form .btn-ghost {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

#audit-form.audit-step-form .btn-ghost:hover {
    color: #0f172a;
    border-color: #f59e0b;
    background: #fff7db;
}

#audit-form.audit-step-form .step-actions {
    margin-top: 2rem;
}

#audit-form.audit-step-form .step-actions .btn {
    min-width: 220px;
}

.plan-features-compact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.plan-features-compact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.plan-choice-card {
    margin: 2rem auto 0;
    max-width: 820px;
    border: 1px solid var(--border);
}

.full-width {
    grid-column: 1 / -1;
}

.lead-form-estimate .form-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    justify-items: stretch;
}

.lead-form-estimate {
    max-width: 820px;
    margin: 0 auto;
}

.lead-form,
.lead-form-estimate {
    min-height: 420px;
}

.lead-form-estimate .stepper,
.lead-form-estimate .step-actions,
.plan-choice-card .stepper,
.plan-choice-card .step-actions {
    justify-content: center;
}

.lead-form-estimate .form-grid,
.plan-choice-card .form-grid {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.lead-form-estimate .form-control.full-width {
    grid-column: 1 / -1;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.lead-form-estimate .form-control {
    width: 100%;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.75rem 0 1.5rem;
}

.field-optional {
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    #audit-form.audit-step-form {
        padding: 1.5rem 1rem;
    }

    #audit-form.audit-step-form .stepper-compact .stepper-top {
        gap: 0.55rem;
        flex-direction: column;
    }

    #audit-form.audit-step-form .form-inline .btn {
        flex: 1 1 140px;
    }

    #audit-form.audit-step-form .step-actions {
        flex-direction: column;
    }

    #audit-form.audit-step-form .step-actions .btn {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .lead-form-estimate .form-control input,
    .lead-form-estimate .form-control textarea,
    .lead-form-estimate .form-control select {
        font-size: 16px;
    }
}

.lead-form-estimate .form-control label {
    text-align: left;
}

.lead-form-estimate .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.lead-form-estimate .form-checkbox input[type="checkbox"] {
    margin-top: 0.35rem;
}

.lead-form-estimate .form-checkbox label {
    font-weight: 600;
    color: var(--text-main);
}

.rgpd-intro {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.rgpd-intro a {
    color: var(--primary);
    font-weight: 700;
}

.rgpd-accept-btn {
    width: 100%;
    max-width: 420px;
}

.rgpd-step {
    text-align: center;
}

.rgpd-step .form-control {
    align-items: center;
}

.rgpd-step .rgpd-intro {
    max-width: 640px;
    text-align: center;
}

.lead-form-estimate .form-inline {
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.lead-form-estimate .form-control label {
    width: 100%;
}

.lead-form .form-grid {
    margin-top: 0.5rem;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.form-helper {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.inline-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.input-optional {
    margin-top: 0.75rem;
}

.lead-confirmation {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 1.5rem auto 0;
    max-width: 820px;
    width: 100%;
}

.lead-confirmation h4 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.lead-confirmation p {
    color: var(--text-muted);
}

.lead-confirmation .step-actions {
    justify-content: center;
}

.lead-confirmation .btn-ghost {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.lead-confirmation .btn-ghost:hover {
    color: #0f172a;
    border-color: #f59e0b;
    background: #fff7db;
}

.whatsapp-btn {
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.whatsapp-btn:hover {
    border-color: #22c55e;
    color: #22c55e;
    transform: translateY(-1px);
}

.form-error {
    margin-top: 1rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
}

@media (max-width: 640px) {
    .pricing-switch-large .switch-btn {
        width: 100%;
        text-align: center;
    }
    .form-actions {
        align-items: stretch;
    }
}
.plan-reset-btn {
    margin: 0.75rem auto 0;
    display: block;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    border: 1px solid var(--primary);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
    width: fit-content;
}

.plan-reset-btn:hover {
    border-color: var(--primary);
    color: var(--primary-text);
    background: var(--primary);
}
