/**
 * Page de remerciement (après demande de devis)
 * Reprend la DA du formulaire étape par étape
 */

.llw-merci-title {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.llw-merci {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 0 20px 5rem;
}

/* Étapes : toutes validées, en vert de la marque */
.llw-merci-progress .step.completed .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    cursor: default;
}

.llw-merci-progress .step.completed .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.llw-merci-progress .step {
    opacity: 0;
    animation: llwMerciStep 0.4s ease-out forwards;
}

.llw-merci-progress .step:nth-child(2) { animation-delay: 0.15s; }
.llw-merci-progress .step:nth-child(3) { animation-delay: 0.3s; }
.llw-merci-progress .step:nth-child(4) { animation-delay: 0.45s; }

@keyframes llwMerciStep {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Contenu */
.llw-merci-content {
    flex: 1;
    background: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    padding: 50px;
    animation: fadeInSlide 0.5s ease-out;
}

.llw-merci-badge {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.llw-merci-badge svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.llw-merci-badge circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: llwMerciDraw 0.6s ease-out 0.3s forwards;
}

.llw-merci-badge path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: llwMerciDraw 0.4s ease-out 0.8s forwards;
}

@keyframes llwMerciDraw {
    to { stroke-dashoffset: 0; }
}

.llw-merci-heading {
    color: var(--dark-gray);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 15px;
}

.llw-merci-intro {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 40px;
}

.llw-merci-subtitle {
    color: var(--dark-gray);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 20px;
}

/* Cartes « Et maintenant ? » */
.llw-merci-next {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.llw-merci-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.llw-merci-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(57, 163, 71, 0.2);
}

.llw-merci-card-num {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.llw-merci-card strong {
    display: block;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

.llw-merci-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Boutons (style des boutons du site : carrés, verts) */
.llw-merci-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.llw-merci-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    transition: var(--transition);
}

.llw-merci-btn--primary {
    background: var(--primary-color);
    color: #fff;
}

.llw-merci-btn--primary:hover {
    background: #2d8e3a;
    border-color: #2d8e3a;
    color: #fff;
}

.llw-merci-btn--outline {
    background: #fff;
    color: var(--primary-color);
}

.llw-merci-btn--outline:hover {
    background: rgba(57, 163, 71, 0.1);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .llw-merci-next {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .llw-merci {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px 3rem;
    }

    .llw-merci-progress {
        width: 100%;
    }

    .llw-merci-content {
        padding: 30px 20px;
    }

    .llw-merci-heading {
        font-size: 1.4rem;
    }

    .llw-merci-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .llw-merci-progress .step,
    .llw-merci-content,
    .llw-merci-badge circle,
    .llw-merci-badge path {
        animation: none;
        opacity: 1;
        stroke-dashoffset: 0;
    }
}
