/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('BG.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container principal */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    padding: 2rem 0;
    text-align: center;
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Contenu principal */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.renovation-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0px);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.8s ease-out;
    transition: backdrop-filter 1.5s ease-out;
}

.renovation-card.blur-active {
    backdrop-filter: blur(20px);
}

/* Icône de rénovation */
.icon-container {
    margin-bottom: 2rem;
}

.renovation-icon {
    font-size: 4rem;
    color: #0093e8;
    animation: rotate 2s linear infinite;
}

/* Titres */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(318deg, #0093e8, #80d0c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Barre de progression */
.progress-container {
    margin: 2rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(318deg, #0093e8, #80d0c7);
    border-radius: 4px;
    animation: progress 3s ease-in-out infinite;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 147, 232, 0.05);
    transition: transform 0.3s ease;
    min-width: 120px;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #0093e8;
}

.feature-item span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* Contact */
.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.contact-text {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0093e8;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid #0093e8;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.contact-link:hover {
    background: #0093e8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 147, 232, 0.3);
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 147, 232, 0.05);
    border-radius: 12px;
    min-width: 200px;
    justify-content: center;
}

.address i {
    color: #0093e8;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-text {
    color: #333;
    font-size: 0.9rem;
}

/* Particules flottantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 80%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 8s;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


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

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }
    
    .renovation-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        min-width: auto;
        width: 100%;
    }
    
    .contact-details {
        gap: 0.75rem;
    }
    
    .contact-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .address {
        min-width: 180px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .renovation-card {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .renovation-icon {
        font-size: 3rem;
    }
}
