/* Optimisation de la bannière "Demande de devis" - Responsive */
.inner-banner {
    background-attachment: scroll !important;
    min-height: 300px;
    background-size: cover !important;
    background-position: center center !important;
}

.inner-banner:before {
    background: rgba(0, 0, 0, 0.5) !important;
    /* Overlay pour meilleur contraste */
}

.inner-banner .box {
    height: 300px !important;
    padding: 20px;
}

.inner-banner h3 {
    font-size: 28px;
    line-height: 1.3;
}

/* Section présentation devis - Responsive */
.devis-intro {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.devis-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.devis-intro-content {
    position: relative;
    z-index: 2;
}

.devis-step-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.devis-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.devis-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.devis-icon-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #667eea;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.devis-step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.devis-step-title {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.devis-step-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.devis-reassurance {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
}

.devis-reassurance p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.devis-intro-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.devis-intro-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Tablettes */
@media (min-width: 768px) {
    .inner-banner {
        min-height: 350px;
    }

    .inner-banner .box {
        height: 350px !important;
    }

    .inner-banner h3 {
        font-size: 36px;
    }

    .devis-step-card {
        margin-bottom: 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .inner-banner {
        background-attachment: fixed !important;
        min-height: 400px;
    }

    .inner-banner .box {
        height: 400px !important;
    }

    .inner-banner h3 {
        font-size: 42px;
    }

    .devis-intro-title {
        font-size: 38px;
    }
}

/* Grands écrans */
@media (min-width: 1440px) {
    .inner-banner {
        min-height: 450px;
    }

    .inner-banner .box {
        height: 450px !important;
    }

    .devis-intro-title {
        font-size: 42px;
    }
}

/* Mobile - Ajustements */
@media (max-width: 767px) {
    .devis-icon-circle {
        width: 70px;
        height: 70px;
    }

    .devis-step-title {
        font-size: 18px;
    }

    .devis-step-desc {
        font-size: 14px;
    }

    .devis-intro-title {
        font-size: 26px;
    }

    .devis-intro-subtitle {
        font-size: 15px;
    }

    .devis-reassurance {
        padding: 20px;
    }

    .devis-reassurance p {
        font-size: 14px;
    }
}