/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #64008d;
    --primary-light: rgb(227, 182, 255);
    --primary-dark: #470063;
    --secondary: #E67E22;
    --secondary-light: #f39c12;
    --accent: #2ECC71;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-primary: 0 10px 20px rgba(64,10,108,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    color: #64008d;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Boutons modernes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(64,10,108,0.25);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Hero Section corrigé */
.hero-modern {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #8e44ad 100%);
    overflow: hidden;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 50px);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    min-width: 200px;
}

.hero-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    flex-wrap: wrap;
}

.hero-contact i {
    font-size: 1.3rem;
}

.hero-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.hero-phone:hover {
    background: rgba(255,255,255,0.2);
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-shape svg {
    width: 100%;
    height: 80px;
}

.shape-fill {
    fill: var(--white);
}

/* About Section corrigé */
.about-modern {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    margin: 0 auto;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.features-list {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.image-wrapper:hover .main-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    padding: 20px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Services Grid corrigé */
.services-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary);
    gap: 10px;
}

.services-cta {
    text-align: center;
}

/* Tax Advantages corrigé */
.tax-advantages {
    padding: 80px 0;
    background: var(--white);
}

.advantages-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 30px;
    padding: clamp(40px, 5vw, 60px);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.advantages-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.advantages-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.8;
}

.advantages-list {
    list-style: none;
    margin-bottom: 30px;
}

.advantages-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantages-list li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.advantages-image {
    text-align: center;
}

.advantages-image i {
    font-size: clamp(6rem, 10vw, 10rem);
    opacity: 0.2;
    color: var(--white);
}

/* Testimonials corrigé */
.testimonials {
    padding: 100px 0;
    background: var(--gray-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.author-info h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Zone d'intervention corrigée */
.intervention-zone-section {
    padding: 80px 0;
    background: var(--white);
}

.zone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.zone-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 20px;
}

.zone-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cities-grid {
    display: grid;
    /* 180px est la taille idéale pour avoir 5 ou 6 colonnes sur un grand écran */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 15px;
    margin-bottom: 30px;
}

.city-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--gray-100);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.city-tag:hover {
    background: var(--primary);
    color: var(--white);
}

.city-tag i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.city-tag:hover i {
    color: var(--white);
}

.city-tag2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--gray-100);
    border-radius: 50px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.city-tag2:hover {
    background: var(--primary);
    color: var(--white);
}

.city-tag2 i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.city-tag2:hover i {
    color: var(--white);
}

.zone-contact {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    padding: 25px;
    border-radius: 15px;
}

.zone-contact p {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
    gap: 15px;
}

.zone-map {
    text-align: center;
}

.zone-map i {
    font-size: clamp(8rem, 12vw, 12rem);
    color: rgba(64,10,108,0.1);
}

/* Final CTA corrigé */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.cta-box {
    background: var(--white);
    padding: clamp(40px, 5vw, 60px);
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Popups corrigés */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.popup-content {
    background: var(--white);
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-primary);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.calendly-popup {
    max-width: 900px;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary);
    background: var(--gray-100);
}

.popup h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.popup h3 {
    color: var(--primary);
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

/* Formulaires corrigés */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(64,10,108,0.1);
}

/* Footer corrigé */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--white);
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive corrections */
@media (max-width: 992px) {
    .about-grid,
    .zone-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantages-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .advantages-list li {
        justify-content: center;
    }
    
    .advantages-image {
        display: none;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }

    .logo img {
        height: 35px; /* Logo un peu plus petit */
    }
    
    .logo-text h1 {
        font-size: 1.1rem; /* Texte Adomali plus petit */
    }
    
    .logo-text p {
        display: none; /* On cache le sous-texte "Services à la personne" sur très petit écran */
    }
}

/* Section Devis */
.devis-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.devis-container {
    max-width: 800px;
    margin: 0 auto;
}

.devis-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.devis-result {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-primary);
    animation: fadeIn 0.5s;
}

.devis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary);
}

.devis-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.devis-details {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-300);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    color: var(--primary);
    font-weight: 600;
}

.devis-calculs {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 25px;
    border-radius: 10px;
    color: var(--white);
    margin-bottom: 20px;
}

.calcul-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.calcul-row:last-child {
    border-bottom: none;
}

.calcul-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--white);
}

.devis-notes {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.devis-notes p {
    margin: 5px 0;
    color: var(--text-light);
}

.devis-notes i {
    color: var(--secondary);
    margin-right: 10px;
}

.devis-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--white);
}

.contact-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Ajouter au style.css */
#serviceCategory option {
    padding: 10px;
}

#serviceCategory option:hover {
    background-color: var(--primary);
    color: white;
}

#serviceCategory optgroup {
    font-weight: 600;
    color: var(--primary);
}

/* Services Categories */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.category-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}
/*
.category-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}
*/
.btn-category {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-category:hover {
    background: var(--primary);
    color: white;
}

.btn-category i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-category:hover i {
    transform: translateX(5px);
}

/* Service Popups */
.service-popup .popup-content {
    max-width: 600px;
}

.service-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.service-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.service-popup-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}
/*
.service-popup-price {
    background: var(--secondary);
    color: white;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
}
*/
.service-popup-body h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.service-popup-list {
    list-style: none;
    margin-bottom: 30px;
}

.service-popup-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-popup-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.service-popup-list li:last-child {
    border-bottom: none;
}

.service-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Devis Section */
.devis-montants {
    background: linear-gradient(135deg, var(--gray-100), white);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.montant-brut, .montant-mensuel {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-300);
    color: var(--text-light);
}

.montant-avance {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary);
}

.avance-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.avance-montant {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.montant-avance small {
    color: var(--text-light);
    font-size: 0.9rem;
}

.montant-reel {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.montant-reel strong {
    color: var(--text-dark);
}

.devis-conditions {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.devis-conditions p {
    margin: 5px 0;
    color: var(--text-light);
}

.devis-conditions i {
    color: var(--secondary);
    margin-right: 8px;
}

/* Ajouter à la suite des styles des montants */
.montant-unique {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-300);
    color: var(--text-light);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0;
}

.montant-unique span {
    font-weight: 500;
    color: var(--primary);
}

.montant-unique strong {
    font-size: 1.3rem;
    color: var(--secondary);
}

.price-badge {
    background: var(--secondary);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.main-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 10px 0;
}

.main-price small {
    font-size: 1.2rem;
    color: var(--text-light);
}

.price-mention {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.cta-box-pdf {
    background: var(--gray-100);
    padding: 25px;
    border-radius: 15px;
    border: 2px dashed var(--primary);
}

.success-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* ============================================
   AMÉLIORATIONS DYNAMIQUES & ANIMATIONS
   ============================================ */

/* 1. Animations d'apparition au scroll (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Rendre la section Hero plus vivante avec une animation d'entrée */
@keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: fadeUpIn 0.8s ease forwards;
    opacity: 0; /* Caché par défaut avant l'animation */
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .hero-stats { animation-delay: 0.6s; }
.hero-content .hero-actions { animation-delay: 0.8s; }

/* 3. Effet de "respiration" sur le bouton principal (Glow effect) */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* 4. Amélioration du survol des cartes de services (effet flottant plus doux) */
.category-card, .service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet rebond */
}

.category-card:hover, .service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 30px rgba(64,10,108,0.1); /* Ombre plus diffuse et élégante */
}

/* 5. Fluidité globale de la page */
html {
    scroll-behavior: smooth;
}

/* ============================================
   MISE À JOUR DU HERO (ACCUEIL)
   ============================================ */

.hero-modern {
    position: relative;
    background: transparent; /* On supprime l'ancien fond uni */
}

/* L'image de fond */
.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Le filtre violet par-dessus l'image pour rester dans tes couleurs */
.hero-overlay-color {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(64,10,108,0.85) 0%, rgba(106,27,154,0.7) 100%);
    z-index: -1;
}

/* Le macaron du crédit d'impôt */
.tax-credit-highlight {
    display: inline-block;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 1.05rem;
    backdrop-filter: blur(5px);
}

.tax-credit-highlight i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Ajustement de la vague pour qu'elle fusionne avec le fond gris clair de la section suivante */
.hero-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px; 
}
.shape-fill {
    fill: var(--gray-100); /* Correspond au dégradé de la section .services-preview */
}

/* ============================================
   BARRE DE PROGRESSION DU DEVIS
   ============================================ */
.devis-steps {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

/* La ligne grise entre les numéros */
.devis-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--gray-300);
    z-index: 1;
}

.devis-steps .step {
    position: relative;
    z-index: 2;
    text-align: center;
    background: transparent;
    width: 33%;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--gray-300);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
}

.step-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

/* État Actif/Passé */
.step.active .step-num {
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(64,10,108,0.15);
}
.step.active .step-text {
    color: var(--primary);
}

/* ============================================
   AMÉLIORATION DU HEADER & MENU MOBILE
   ============================================ */
#main-header {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Effet au défilement (ajouté via JS) */
#main-header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#main-header.scrolled .container {
    height: 70px; /* Le header devient un peu plus fin au scroll */
}

.logo-link {
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block; /* On affiche le bouton burger */
    }

    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Caché par défaut avec un effet stylé */
        transition: clip-path 0.4s ease-in-out;
    }

    /* Classe active pour afficher le menu mobile */
    #main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    #main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    #main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    #main-nav ul li:last-child {
        border-bottom: none;
    }

    #main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 1.1rem;
    }
    
    .header-call-btn .btn-text {
        display: none; /* Sur mobile, on ne garde que l'icône téléphone pour gagner de la place */
    }
    
    .header-call-btn {
        padding: 10px 15px;
        border-radius: 50%;
    }
}

/* ============================================
   AMÉLIORATION DU FOOTER
   ============================================ */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a042e 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    border-top: 5px solid var(--secondary); /* Une belle ligne orange pour séparer le contenu du footer */
}

/* Le petit badge de réassurance */
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ECC71;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin: 15px 0 25px;
}

/* Réinitialisation des listes du footer */
.contact-list, .footer-links, .cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style de la colonne Contact */
.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-list li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Style de la colonne Liens utiles avec petite flèche animée */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '›';
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: 8px;
    line-height: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Style de la colonne Zone d'intervention */
.cities-list li {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cities-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* La barre tout en bas (Copyright & Siret) */
.main-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #main-header .container {
        height: 70px; /* Réduit un peu la hauteur */
    }

    /* 1. On réduit la taille du logo et on cache le sous-titre */
    .logo img {
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .logo-text p {
        display: none !important; /* Cache "Services à la Personne" */
    }

    /* 2. On aligne horizontalement les actions (Bouton RDV + Burger) */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px; /* Espace entre le bouton et le burger */
    }

    /* 3. On transforme le bouton RDV en icône seule pour gagner de la place */
    .header-call-btn {
        padding: 8px 12px !important;
        min-width: auto !important;
    }

    .header-call-btn .btn-text {
        display: none !important; /* Cache "Prendre RDV" */
    }

    .header-call-btn i {
        margin: 0 !important;
        font-size: 1.2rem;
    }
    
    /* 4. On s'assure que le menu burger reste bien dimensionné */
    .mobile-menu-toggle {
        font-size: 1.4rem;
        padding: 5px;
    }
}

.partners-bar {
    padding: 40px 0;
    background-color: #f9f9f9; /* Un gris très léger pour séparer du pied de page */
    border-top: 1px solid #eee;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;       /* Permet de passer à la ligne si trop de logos */
    justify-content: center; /* Centre les logos horizontalement */
    align-items: center;     /* Centre les logos verticalement entre eux */
    gap: 40px;               /* Espace automatique entre les logos */
}

.partners-grid img {
    height: 60px;            /* TAILLE UNIQUE en hauteur pour tous */
    width: auto;             /* Largeur auto pour ne pas les déformer */
    filter: grayscale(0%); /* Optionnel : logos en gris pour un look pro */
    opacity: 1;            /* Optionnel : un peu transparent */
    transition: all 0.3s;    /* Animation fluide au survol */
}

.partners-grid img:hover {
    filter: grayscale(80%);   /* Reprend ses couleurs au survol */
    opacity: 0.7;
}

/* Ajouter à style.css */
.radio-group {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 20px;
    background: var(--gray-100);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: var(--gray-200);
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label:has(input:checked) {
    background: var(--primary);
    color: white;
}

.captcha-group {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-group label {
    margin: 0;
    font-weight: 600;
}

.captcha-group input {
    max-width: 100px;
    margin: 0;
}

/* ============================================
   POPUP DEVIS
============================================ */
.devis-popup .popup-content {
    max-width: 700px;
    width: 90%;
    background: white;
    border-radius: 20px;
    padding: 0;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #470e70, #5a1a88);
    color: white;
    border-radius: 20px 20px 0 0;
}

.popup-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.popup-header h2 i {
    margin-right: 10px;
}

.popup-close {
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.devis-popup-steps {
    display: flex;
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.devis-popup-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.devis-popup-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 18px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.devis-popup-step.active:not(:last-child):after,
.devis-popup-step.completed:not(:last-child):after {
    background: #470e70;
}

.devis-popup-step .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ddd;
    border-radius: 50%;
    font-weight: bold;
    color: #666;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.devis-popup-step.active .step-num {
    background: #470e70;
    color: white;
    box-shadow: 0 0 0 3px rgba(71,14,112,0.2);
}

.devis-popup-step.completed .step-num {
    background: #27ae60;
    color: white;
}

.devis-popup-step.completed .step-num:after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.devis-popup-step .step-label {
    display: block;
    font-size: 0.75rem;
    margin-top: 8px;
    color: #666;
}

.devis-popup-step.active .step-label {
    color: #470e70;
    font-weight: 600;
}

.popup-step-content {
    padding: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group label i {
    color: #470e70;
    width: 24px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #470e70;
    box-shadow: 0 0 0 3px rgba(71,14,112,0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 50px;
    transition: all 0.3s;
}

.radio-label:hover {
    background: #e9ecef;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-label:has(input:checked) {
    background: #470e70;
    color: white;
}

.radio-label:has(input:checked) i {
    color: white;
}

.form-text {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

.info-note {
    background: #e8f4fd;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #0066cc;
}

.info-note i {
    margin-right: 8px;
}

.captcha-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.captcha-group label {
    margin: 0;
    font-weight: 600;
}

.captcha-group input {
    max-width: 120px;
    margin: 0;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Récapitulatif */
.recap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.recap-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.recap-section h4 {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: #470e70;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.recap-section h4 i {
    margin-right: 8px;
}

.recap-content {
    font-size: 0.85rem;
    line-height: 1.5;
}

.recap-detail {
    font-size: 0.8rem;
    color: #666;
}

.confirmation-step i {
    font-size: 60px;
    margin-bottom: 20px;
}

.confirmation-step h3 {
    margin-bottom: 15px;
    color: #333;
}

.confirmation-step .small-text {
    font-size: 0.75rem;
    color: #888;
    margin-top: 15px;
}

/* Bouton flottant pour ouvrir le devis */
.floating-devis-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #470e70;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.floating-devis-btn:hover {
    background: #5a1a88;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .devis-popup .popup-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .recap-grid {
        grid-template-columns: 1fr;
    }
    
    .devis-popup-steps {
        padding: 15px;
    }
    
    .devis-popup-step .step-label {
        font-size: 0.65rem;
    }
    
    .floating-devis-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* Bouton Devis dans la page */
.devis-page-button-container {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.devis-main-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.2rem;
    padding: 18px 45px;
    box-shadow: 0 10px 30px rgba(71,14,112,0.3);
    transition: all 0.3s ease;
}

.devis-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(71,14,112,0.4);
}

.devis-main-btn i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Correction du popup */
#devisPopup {
    z-index: 10000;
}

#devisPopup .popup-content {
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
}

/* Pour le responsive du popup */
@media (max-width: 768px) {
    .devis-page-button-container {
        padding: 40px 15px;
    }
    
    .devis-main-btn {
        font-size: 1rem;
        padding: 14px 30px;
        width: 90%;
    }
    
    .popup-content {
        padding: 20px !important;
    }
    
    .popup-step-content {
        padding: 15px !important;
    }
    
    .recap-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ============================================
   INDICATEUR DE CHARGEMENT
   ============================================ */

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation de confirmation */
.confirmation-step i {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}