/**
 * Styles spécifiques pour la page Service à la personne
 * Paysagiste Français
 */

/* Hero Section Service à la personne - Styles de base */
.hero-service-personne {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    color: white;
    /* Les autres propriétés sont définies inline pour éviter les conflits */
}

.hero-service-personne::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-leaves.png') repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-service-personne .container {
    position: relative;
    z-index: 2;
    /* Le padding-top est géré inline */
}

/* Row ajustée pour être centrée */
.hero-service-personne .row {
    width: 100%;
    margin: 0;
}

/* Hero CTA Buttons */
.hero-cta {
    position: relative;
    z-index: 2;
}

.hero-cta .btn {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.badge-economie {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 2px solid #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avantages-hero {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.avantage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.avantage-item i {
    color: #ffc107; /* Jaune pour mieux ressortir */
    font-size: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.economy-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    margin: 0 auto; /* Centrer sur mobile */
}

.economy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.economy-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
}

.price-comparison {
    position: relative;
}

.price-before, .price-after {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.price-after {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
}

.price-before .label, .price-after .label {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-before .amount, .price-after .amount {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.price-after .amount {
    color: #2e7d32;
}

.arrow-down {
    text-align: center;
    color: #4caf50;
    font-size: 2rem;
    margin: 1rem 0;
    animation: bounce 2s infinite;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: #333;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #666;
    margin: 0;
}

/* Avance Immédiate Box */
.avance-immediate-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.avance-immediate-box::before {
    content: '💰';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    opacity: 0.1;
}

.avance-immediate-box h3 {
    color: #e65100;
    margin-bottom: 1rem;
}

.avance-immediate-box p {
    color: #333;
    line-height: 1.6;
}

/* Services éligibles */
.service-eligible {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #4caf50;
}

.service-eligible:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-eligible .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2e7d32;
    font-size: 1.75rem;
}

.service-eligible h4 {
    color: #333;
    margin-bottom: 1rem;
}

.service-eligible ul {
    list-style: none;
    padding: 0;
}

.service-eligible ul li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.service-eligible ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Simulateur */
.simulateur-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.frequency-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.frequency-option {
    display: block;
    position: relative;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.frequency-option:hover {
    border-color: #4caf50;
    background: #f8f9fa;
}

.frequency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.frequency-option input[type="radio"]:checked + span {
    color: #2e7d32;
    font-weight: 600;
}

.frequency-option input[type="radio"]:checked ~ .frequency-option {
    border-color: #4caf50;
    background: #e8f5e9;
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-checkbox {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-checkbox:hover {
    background: #f8f9fa;
    border-color: #4caf50;
}

.service-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
}

.service-checkbox input[type="checkbox"]:checked + span {
    color: #2e7d32;
    font-weight: 500;
}

/* Résultat simulation */
.resultat-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 2rem;
}

.resultat-box h4 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
}

.result-item .label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-item .value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.result-item.highlight {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}

.result-item.highlight .value {
    color: #2e7d32;
}

.economie-annuelle {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #333;
}

.economie-annuelle i {
    color: #ffc107;
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.economie-annuelle strong {
    color: #2e7d32;
    font-size: 1.4rem;
}

/* FAQ Accordion */
.accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    border: none;
    box-shadow: none;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: #e8f5e9;
    color: #2e7d32;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #4caf50;
}

.accordion-body {
    background: #fafafa;
    color: #666;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-service-personne {
        text-align: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .economy-card {
        padding: 1.5rem;
    }
    
    .price-before .amount, .price-after .amount {
        font-size: 1.5rem;
    }
    
    .frequency-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-checkboxes {
        grid-template-columns: 1fr;
    }
}