/* ========================================
   PAGE DE CONFIRMATION - ESSENCIA
   Charte: Beige doré #D7B089, Crème #FBF4EE
======================================== */

/* Body confirmation page */
.confirmation-page {
    background: linear-gradient(180deg, #FBF4EE 0%, #FFFFFF 100%);
    min-height: 100vh;
}

/* Header simple */
.confirmation-header {
    padding: 30px 0;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(215, 176, 137, 0.1);
}

.confirmation-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Hero Confirmation */
.confirmation-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.confirmation-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Icône de succès avec animation */
.success-icon {
    margin-bottom: 40px;
    animation: successBounce 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes successBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(215, 176, 137, 0.4);
    position: relative;
}

.success-circle::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.success-circle i {
    font-size: 60px;
    color: #FFFFFF;
    animation: checkmark 0.5s 0.3s ease-out backwards;
}

@keyframes checkmark {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Titre et sous-titre */
.confirmation-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 20px 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.confirmation-subtitle {
    font-size: 22px;
    color: #6A6A6A;
    margin: 0 0 50px 0;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

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

/* Carte de réservation */
.booking-details {
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.booking-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(215, 176, 137, 0.2);
    border: 2px solid rgba(215, 176, 137, 0.3);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    text-align: left;
}

.booking-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FBF4EE, #FEFDFB);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-icon i {
    font-size: 36px;
    color: #D7B089;
}

.booking-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 15px 0;
}

.booking-info p {
    font-size: 16px;
    color: #6A6A6A;
    margin: 0 0 15px 0;
}

.booking-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-info ul li {
    padding: 10px 0;
    color: #4A4A4A;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-info ul li i {
    color: #D7B089;
    font-size: 18px;
}

.step-card .btn {
    width: 100%;
}

/* Carte Instagram spéciale */
.step-card-instagram {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    position: relative;
    overflow: hidden;
}

.step-card-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 0;
}

.step-card-instagram * {
    position: relative;
    z-index: 1;
}

.step-card-instagram:hover {
    transform: translateY(-5px) scale(1.02);
}

.step-icon-instagram {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.step-icon-instagram i {
    color: #FFFFFF !important;
}

.btn-instagram {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 8px 20px rgba(238, 42, 123, 0.4);
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(238, 42, 123, 0.5);
}

/* Section Prochaines Étapes */
.next-steps-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: linear-gradient(135deg, #FBF4EE 0%, #FEFDFB 100%);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(215, 176, 137, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(215, 176, 137, 0.25);
    border-color: #D7B089;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(215, 176, 137, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(215, 176, 137, 0.2);
}

.step-icon i {
    font-size: 32px;
    color: #D7B089;
}

.step-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 15px 0;
}

.step-card p {
    font-size: 15px;
    color: #6A6A6A;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.step-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.step-card ul li {
    padding: 8px 0 8px 25px;
    color: #4A4A4A;
    font-size: 14px;
    position: relative;
}

.step-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D7B089;
    font-weight: 700;
}

.step-card .btn {
    width: 100%;
}

/* Section Ce qui va se passer */
.what-happens-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FBF4EE 0%, #FFFFFF 100%);
}

.timeline {
    max-width: 700px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, #D7B089, #CFAE88);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 18px;
    top: 5px;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(215, 176, 137, 0.4);
    z-index: 1;
}

.timeline-content {
    background: #FFFFFF;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(215, 176, 137, 0.15);
    border: 1px solid rgba(215, 176, 137, 0.2);
}

.timeline-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 10px 0;
}

.timeline-content p {
    font-size: 15px;
    color: #6A6A6A;
    line-height: 1.6;
    margin: 0;
}

/* Section Témoignages Mini */
.testimonials-mini-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.testimonials-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.testimonial-mini-card {
    background: linear-gradient(135deg, #FBF4EE 0%, #FEFDFB 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(215, 176, 137, 0.2);
    transition: all 0.3s ease;
}

.testimonial-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(215, 176, 137, 0.2);
    border-color: #D7B089;
}

.testimonial-mini-stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: #D7B089;
}

.testimonial-mini-text {
    font-size: 15px;
    color: #4A4A4A;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.testimonial-mini-author {
    font-size: 14px;
    color: #8B7355;
    font-weight: 600;
    margin: 0;
}

/* Section Aide */
.help-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
}

.help-card {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 40px;
    align-items: center;
}

.help-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FBF4EE, #FEFDFB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon i {
    font-size: 48px;
    color: #D7B089;
}

.help-icon img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.help-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 15px 0;
}

.help-content p {
    font-size: 16px;
    color: #6A6A6A;
    margin: 0 0 25px 0;
}

.help-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.help-buttons .btn {
    min-width: 200px;
}

/* Footer Confirmation */
.confirmation-footer {
    padding: 60px 0 30px;
    background: #2C2C2C;
    color: #FFFFFF;
    text-align: center;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin: 0 auto 20px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #D7B089;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D7B089;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #CFAE88;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(215, 176, 137, 0.3);
}

.footer-bottom p {
    font-size: 14px;
    color: #A89080;
    margin: 5px 0;
}

.footer-address {
    font-size: 13px !important;
}

/* Canvas confettis */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    .confirmation-title {
        font-size: 42px;
    }
    
    .confirmation-subtitle {
        font-size: 18px;
    }
    
    .booking-card {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .booking-icon {
        margin: 0 auto;
    }
    
    .booking-info {
        text-align: center;
    }
    
    .booking-info ul li {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 8px;
        width: 15px;
        height: 15px;
    }
    
    .help-card {
        flex-direction: column;
        padding: 40px 25px;
        gap: 25px;
        text-align: center;
    }
    
    .help-buttons {
        justify-content: center;
    }
    
    .help-buttons .btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .confirmation-header {
        padding: 20px 0;
    }
    
    .confirmation-logo {
        max-width: 150px;
    }
    
    .confirmation-hero {
        padding: 50px 0 40px;
    }
    
    .success-circle {
        width: 100px;
        height: 100px;
    }
    
    .success-circle i {
        font-size: 50px;
    }
    
    .confirmation-title {
        font-size: 36px;
    }
    
    .confirmation-subtitle {
        font-size: 16px;
    }
    
    .booking-card {
        padding: 25px 15px;
    }
    
    .next-steps-section,
    .what-happens-section,
    .testimonials-mini-section,
    .help-section {
        padding: 50px 0;
    }
    
    .step-card {
        padding: 30px 20px;
    }
    
    .help-buttons {
        flex-direction: column;
    }
    
    .help-buttons .btn {
        width: 100%;
    }
}
