/* ============================================
   PAGE SERVICES - CHAUFFAGE COMPARE
   ============================================ */


.section-hero-services h1 {
    max-width: 640px;
    margin: auto;
}
.section-hero-services .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-hero-services .sous-titre {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.85;
    margin: 0;
    font-weight: 500;
    width: 860px;
    margin: auto;	
}

.section-hero-services .hero-description {
    margin: 0 auto;
    max-width: 900px;	
    font-size: 17px;
    line-height: 1.7;
    color: var(--black);
    text-align: left;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-12);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary);
}

.section-hero-services .hero-description p {
    margin: 0 0 18px 0;
}

.section-hero-services .hero-description p:last-child {
    margin-bottom: 0;
}

.section-hero-services .hero-description strong {
    color: var(--secondary);
    font-weight: 700;
}

.section-hero-services .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-hero-services .hero-description {
        padding: 25px 20px;
        font-size: 16px;
    }

    .section-hero-services .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section-hero-services .cta-buttons .btn {
        min-width: auto;
        width: 100%;
    }
}

/* ============================================
   SERVICES CARDS
   ============================================ */
.section-services-cards {
    padding: 70px 0;
}

.section-services-cards .service-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.05);
}

.section-services-cards .service-card:last-child {
    margin-bottom: 0;
}

.section-services-cards .service-card.layout-left {
    flex-direction: row;
}


.section-services-cards .service-image {
    flex: 0 0 45%;
}

.section-services-cards .service-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.section-services-cards .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-services-cards .service-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.section-services-cards .service-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--black);
}

.section-services-cards .service-text p {
    margin-bottom: 15px;
}

.section-services-cards .service-text p:last-child {
    margin-bottom: 0;
}

.section-services-cards .service-reassurance {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: row;
}

.section-services-cards .service-reassurance li {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    color: var(--black);
}

.section-services-cards .service-reassurance li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.section-services-cards .service-cta {
    margin-top: 10px;
}

/* ============================================
   SECTION TARIFS
   ============================================ */
.section-tarifs {
    padding: 70px 0;
    background: var(--tertiary);
}

.section-tarifs .tarifs-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tarifs .tarifs-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-tarifs .intro-text {
    font-size: 18px;
    color: var(--black);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.section-tarifs .tarifs-blocs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-tarifs .tarif-bloc {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.section-tarifs .tarif-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}

.section-tarifs .tarif-bloc h3 {
    font-size: 20px;
}

.section-tarifs .tarif-bloc p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
}

/* ============================================
   SECTION AIDES FINANCIÈRES
   ============================================ */
.section-aides-financieres {
    padding: 70px 0;
}

.section-aides-financieres .aides-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-aides-financieres .aides-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.section-aides-financieres .aides-table {
    margin-bottom: 30px;
    overflow-x: auto;
}

.section-aides-financieres .table-aides {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.05);
}

.section-aides-financieres .table-aides thead {
    background: var(--primary);
}

.section-aides-financieres .table-aides thead th {
    color: var(--white);
    font-weight: 700;
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
}

.section-aides-financieres .table-aides tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-aides-financieres .table-aides tbody tr:last-child {
    border-bottom: none;
}

.section-aides-financieres .table-aides tbody tr:nth-child(even) {
    background: var(--tertiary);
}

.section-aides-financieres .table-aides tbody td {
    padding: 16px 20px;
    font-size: 15px;
    color: var(--black);
}

.section-aides-financieres .aides-note {
    text-align: center;
    margin-bottom: 30px;
}

.section-aides-financieres .note {
    font-size: 14px;
    color: var(--black);
    opacity: 0.8;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.section-aides-financieres .aides-cta {
    text-align: center;
}

/* ============================================
   SECTION CTA FINAL
   ============================================ */
.section-cta-final {
    padding: 70px 0;
    background: var(--tertiary);
}

.section-cta-final .cta-final-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--secondary);
    border-radius: var(--radius);
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.section-cta-final h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.section-cta-final .sous-titre {
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
}

.section-cta-final .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.section-cta-final .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.2);
}

.section-cta-final .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.section-cta-final .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.2);
}

.row.cta-final-content.text-center * {
    text-align: center;
}

.section-cta-final .reassurance-text {
    font-size: 14px;
    color: var(--white);
    opacity: 0.9;
    margin: 5px 0 0 0;
    font-style: italic;
}

/* ============================================
   SECTION FAQ (Structure identique à B2B)
   ============================================ */
.section-faq {
    padding: 70px 0;
}

.section-faq .faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-faq .faq-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.section-faq .faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-faq .faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-faq .faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.section-faq .faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.3s ease;
}

.section-faq .faq-item__question:hover {
    background: var(--tertiary);
}

.section-faq .faq-item__question[aria-expanded="true"] {
    background: var(--tertiary);
}

.section-faq .faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.section-faq .faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(180deg);
}

.section-faq .faq-item__answer {
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-faq .faq-item__answer[hidden] {
    display: none;
}

.section-faq .faq-item__answer-content {
    padding: 25px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
}

.section-faq .faq-item__answer-content p {
    margin: 0 0 15px 0;
}

.section-faq .faq-item__answer-content p:last-child {
    margin-bottom: 0;
}

.section-faq .faq-item__answer-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   BOUTONS (Variables CSS)
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px 0px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Espacement prédéfini */
.spacing-top-30 {
    padding-top: 30px !important;
}

.spacing-top-50 {
    padding-top: 50px !important;
}

.spacing-top-70 {
    padding-top: 70px !important;
}

.spacing-bottom-30 {
    padding-bottom: 30px !important;
}

.spacing-bottom-50 {
    padding-bottom: 50px !important;
}

.spacing-bottom-70 {
    padding-bottom: 70px !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media screen and (max-width: 1023px) {
    .section-hero-services,
    .section-introduction,
    .section-services-cards,
    .section-tarifs,
    .section-aides-financieres,
    .section-cta-final,
    .section-faq {
        padding: 50px 0;
    }

    .section-hero-services h1 {
        font-size: 36px;
    }

    .section-services-cards .service-card {
        gap: 30px;
        margin-bottom: 50px;
        padding: 30px;
    }

    .section-tarifs .tarifs-blocs {
        gap: 25px;
    }

    .section-cta-final .cta-final-content {
        padding: 50px 30px;
    }

    .section-cta-final h2 {
        font-size: 28px;
    }
}

/* Mobile */
@media screen and (max-width: 800px) {
    .section-hero-services,
    .section-introduction,
    .section-services-cards,
    .section-tarifs,
    .section-aides-financieres,
    .section-cta-final,
    .section-faq {
        padding: 40px 0;
    }

    .section-hero-services .hero-services-content {
        flex-direction: column;
        gap: 30px;
    }

    .section-hero-services h1 {
        font-size: 28px;
    }

    .section-hero-services .sous-titre {
        font-size: 16px;
    }

    .section-services-cards .service-card {
        flex-direction: column !important;
        gap: 25px;
        margin-bottom: 40px;
        padding: 25px;
    }

    .section-services-cards .service-image {
        flex: 0 0 100%;
    }

    .section-services-cards .service-content h3 {
        font-size: 24px;
    }

    .section-services-cards .service-reassurance {
        flex-direction: column;
        gap: 10px;
    }

    .section-tarifs .tarifs-header h2,
    .section-aides-financieres .aides-header h2,
    .section-cta-final h2,
    .section-faq .faq-header h2 {
        font-size: 26px;
    }

    .section-tarifs .tarifs-blocs {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-tarifs .tarif-bloc {
        padding: 30px 25px;
    }

    .section-aides-financieres .table-aides {
        font-size: 14px;
    }

    .section-aides-financieres .table-aides thead th,
    .section-aides-financieres .table-aides tbody td {
        padding: 12px 15px;
    }

    .section-cta-final .cta-final-content {
        padding: 40px 25px;
    }

    .section-cta-final h2 {
        font-size: 24px;
    }

    .section-cta-final .sous-titre {
        font-size: 16px;
    }

    .section-cta-final .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .section-cta-final .btn {
        width: 100%;
    }

    .section-faq .faq-item__question {
        padding: 18px 20px;
        font-size: 16px;
    }

    .section-faq .faq-item__answer-content {
        padding: 20px;
    }
}
