/* ===== AMÉLIORATIONS DU SITE ===== */

/* Logo et navigation mobile */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Navigation mobile */
.mobile-nav {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-menu li {
    margin: 0.5rem 0;
}

.mobile-menu a {
    color: var(--text-light);
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Étoiles décoratives entre les sections */
.section-divider {
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(94, 44, 165, 0.05) 0%, rgba(248, 217, 72, 0.05) 100%);
}

.stars-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.star-animated {
    color: #4CAF50;
    font-size: 1.5rem;
    animation: starRotate 3s linear infinite, starBlink 2s ease-in-out infinite;
}

.star-animated:nth-child(1) { animation-delay: 0s; }
.star-animated:nth-child(2) { animation-delay: 0.5s; }
.star-animated:nth-child(3) { animation-delay: 1s; }
.star-animated:nth-child(4) { animation-delay: 1.5s; }

@keyframes starRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes starBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Prix des services améliorés */
.service-price {
    color: var(--primary-color) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0 !important;
    display: inline-block !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 20px !important;
    background-color: rgba(94, 44, 165, 0.1) !important;
    border: 2px solid rgba(94, 44, 165, 0.2) !important;
}

/* Footer amélioré */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-contact {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* Modal de succès moderne */
.success-modal .modal-content {
    max-width: 500px;
    text-align: center;
    padding: 0;
}

.success-content {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 20px;
    overflow: hidden;
}

.success-animation {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.success-checkmark {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    animation: checkmarkPulse 2s ease-in-out;
}

.check-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-line {
    height: 5px;
    background-color: white;
    position: absolute;
    border-radius: 2px;
    animation: checkmarkDraw 0.6s ease-in-out 0.4s both;
}

.line-tip {
    width: 25px;
    left: 14px;
    top: 46px;
    transform: rotate(45deg);
}

.line-long {
    width: 47px;
    right: 8px;
    top: 38px;
    transform: rotate(-45deg);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border: 5px solid white;
    border-radius: 50%;
    position: absolute;
    animation: checkmarkCircle 0.6s ease-in-out;
}

.icon-fix {
    width: 5px;
    height: 90px;
    background-color: #4CAF50;
    position: absolute;
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    animation: checkmarkFix 0.6s ease-in-out 0.4s both;
}

@keyframes checkmarkPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes checkmarkCircle {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes checkmarkFix {
    0% { height: 0; }
    100% { height: 90px; }
}

.success-message {
    padding: 2rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.success-message p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.success-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.detail-item i {
    font-size: 1.1rem;
}

.success-actions {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-success {
    background-color: white;
    color: #4CAF50;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-success:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section-divider {
        padding: 1rem 0;
    }
    
    .star-animated {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-form {
        order: -1;
    }
    
    .success-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-price {
        font-size: 1.1rem !important;
        padding: 0.2rem 0.6rem !important;
    }
}

@media (max-width: 480px) {
    .stars-container {
        gap: 0.5rem;
    }
    
    .star-animated {
        font-size: 1rem;
    }
    
    .success-message h3 {
        font-size: 1.5rem;
    }
    
    .success-message p {
        font-size: 0.9rem;
    }
}
