/* ============================================
   PAGE B2B / RÉSEAU - CHAUFFAGE COMPARE
   ============================================ */
/* ============================================
   HERO B2B (VERSION MODERNE)
   ============================================ */

.section-hero-b2b .hero-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-hero-b2b .sous-titre {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.85;
    margin: 0;
    font-weight: 500;
}

.section-hero-b2b .hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--black);
    margin: 15px 0;
    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-b2b .hero-description p {
    margin: 18px 0;
}

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

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

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

.section-hero-b2b .cta-buttons .btn {
    min-width: 220px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-12);
    transition: all 0.3s ease;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.section-hero-b2b .cta-buttons .btn-primary {
    background: var(--tertiary);
    color: var(--primary);
}

.section-hero-b2b .cta-buttons .btn-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0px 6px 20px rgba(239, 180, 71, 0.3);
}

.section-hero-b2b .cta-buttons .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.section-hero-b2b .cta-buttons .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0px 6px 20px rgba(21, 41, 61, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .section-hero-b2b {
        padding: 60px 0;
    }

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

    .section-hero-b2b .sous-titre {
        font-size: 18px;
    }

    .section-hero-b2b .hero-description {
        padding: 25px 20px;
        font-size: 16px;
    }

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

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

/* ============================================
   SECTION AVANTAGES
   ============================================ */
.avantages-section__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.avantage-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
}

.avantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.12);
}

.avantage-item__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.avantage-item__icon svg {
    width: 28px;
    height: 28px;
}

.avantage-item__content {
    flex: 1;
}

.avantage-item__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.avantage-item__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
}

/* ============================================
   SECTION PROCESS / TIMELINE
   ============================================ */
.process-section {
    background: var(--tertiary);
}

.process-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.process-section__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.process-section__intro {
    font-size: 18px;
    color: var(--black);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-step {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 34px;
    top: 100%;
    width: 2px;
    height: 25px;
    background: var(--primary);
    opacity: 0.3;
}

.process-step__number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.process-step__content {
    flex: 1;
    padding-top: 5px;
}


.process-step__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
}

/* ============================================
   SECTION FAQ B2B
   ============================================ */
.faq-b2b-section__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
}

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

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

.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;
}

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

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

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

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

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

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

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

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

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

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

/* ============================================
   CTA FINAL B2B
   ============================================ */
.cta-final-b2b {
    background: var(--tertiary);
}

.cta-final-b2b__wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    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;
}

.cta-final-b2b__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    margin: 0;
}

.cta-final-b2b__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    max-width: 700px;
}

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

.cta-final-b2b .btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.cta-final-b2b .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

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

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

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

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

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

/* Tablet */
@media screen and (max-width: 1023px) {
    .hero-b2b__overlay {
        padding: 80px 0;
    }

    .hero-b2b__title {
        font-size: 40px;
    }

    .hero-b2b__subtitle {
        font-size: 18px;
    }

    .avantages-grid {
        gap: 25px;
    }

    .process-timeline {
        gap: 20px;
    }

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

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

/* Mobile */
@media screen and (max-width: 800px) {
    .hero-b2b {
        min-height: 400px;
    }

    .hero-b2b__overlay {
        padding: 60px 0;
    }

    .hero-b2b__title {
        font-size: 32px;
    }

    .hero-b2b__subtitle {
        font-size: 16px;
    }

    .hero-b2b__cta {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
    }

    .constat-section__title,
    .avantages-section__title,
    .process-section__title,
    .faq-b2b-section__title,
    .cta-final-b2b__title {
        font-size: 26px;
    }

    .avantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .avantage-item {
        padding: 25px;
    }

    .process-step {
        padding: 25px 20px;
    }

    .process-step::after {
        left: 29px;
    }

    .process-step__number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

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

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

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

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

    .cta-final-b2b__subtitle {
        font-size: 16px;
    }

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

    .cta-final-b2b .btn-lg {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }
}
