/**
 * Bilan de compétences
 * Maquette Figma "Bilan_competences"
 */

/* =============================================
   HERO
   ============================================= */
.bc-hero {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
}

.bc-hero__image-wrapper {
    width: 100%;
    max-height: 50vh;
    overflow: hidden;
    line-height: 0;
}

.bc-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.bc-hero__content {
    background-color: #fff;
    padding: 80px 0;
}

.bc-hero__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 160px;
    align-items: flex-start;
}

.bc-hero__deco {
    flex: 0 0 250px;
}

.bc-hero__deco-img {
    width: 100%;
    height: auto;
}

.bc-hero__text {
    flex: 1;
}

.bc-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 46px;
    font-weight: 700;
    color: #571632;
    line-height: 1.2;
    margin: 0 0 36px 0;
}

.bc-hero__list {
    font-size: 18px;
    line-height: 1.8;
    color: #3e2a2c;
}

.bc-hero__list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bc-hero__list ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
}

.bc-hero__list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #d98546;
    border-radius: 50%;
}

.bc-hero__list strong {
    font-weight: 600;
    color: #571632;
}

/* =============================================
   DÉFINITION
   ============================================= */
.bc-definition {
    background-color: #571632;
    padding: 72px 0;
}

.bc-definition__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.bc-definition__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 32px 0;
}

.bc-definition__text {
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.bc-definition__text p {
    margin: 0 0 16px 0;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bc-definition__text strong {
    font-weight: 700;
    color: #fff;
}

.bc-definition__text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.bc-definition__text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.bc-definition__text ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

/* =============================================
   DÉROULEMENT
   ============================================= */
.bc-deroulement {
    background-color: #f9f8f5;
    padding: 72px 0;
}

.bc-deroulement__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.bc-deroulement__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: #3e2a2c;
    margin: 0 0 32px 0;
}

.bc-deroulement__duree {
    margin-bottom: 32px;
}

.bc-deroulement__duree h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3e2a2c;
    margin: 0 0 8px 0;
}

.bc-deroulement__duree p {
    font-size: 18px;
    line-height: 1.7;
    color: #3e2a2c;
    margin: 0;
}

.bc-deroulement__subtitle {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3e2a2c;
    margin: 32px 0 16px 0;
}

.bc-deroulement__subtitle--red {
    color: #b6464a;
}

/* --- 3 ÉTAPES (affichées, pas accordéon) --- */
.bc-deroulement__phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 32px;
}

.bc-deroulement__phase {
    padding: 32px 24px;
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
}

.bc-deroulement__phase--1 { background-color: #b6464a; }
.bc-deroulement__phase--2 { background-color: #657763; }
.bc-deroulement__phase--3 { background-color: #d98546; }

.bc-deroulement__phase-number {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    margin-bottom: 12px;
}

.bc-deroulement__phase-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px 0;
    color: #fff;
}

.bc-deroulement__phase p {
    margin: 0 0 12px 0;
}

.bc-deroulement__phase strong {
    font-weight: 700;
}

.bc-deroulement__phase ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.bc-deroulement__phase ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.bc-deroulement__phase ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #fff;
}

/* --- CE QUE COMPREND --- */
.bc-deroulement__includes {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #3e2a2c;
}

.bc-deroulement__includes li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.bc-deroulement__includes li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #b6464a;
    font-weight: bold;
}

/* --- FORMULES (accordéon) --- */
.bc-deroulement__formulas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.bc-deroulement__formula-col {
    border: none;
    display: flex;
    flex-direction: column;
}

.bc-deroulement__formula-header {
    width: 100%;
    padding: 16px 20px;
    background: #657763;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.bc-deroulement__formula-header svg {
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.bc-deroulement__formula-header--active svg {
    transform: rotate(0deg);
}

.bc-deroulement__formula-body {
    display: none;
}

.bc-deroulement__formula-body--active {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 24px;
    background: #657763;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.bc-deroulement__formula-body p {
    margin: 0 0 8px 0;
}

.bc-deroulement__formula-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
}

.bc-deroulement__formula-body ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.bc-deroulement__formula-body ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #fff;
}

.bc-deroulement__formula-body .bc-deroulement__formula-price {
    margin-top: auto;
    padding-top: 12px;
    margin-bottom: 0;
}

/* =============================================
   4 VERTUS
   ============================================= */
.bc-vertus {
    background-color: #fff;
    padding: 72px 0;
}

.bc-vertus__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.bc-vertus__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: #3e2a2c;
    text-align: center;
    margin: 0 0 48px 0;
}

.bc-vertus__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.bc-vertus__card {
    padding: 40px 32px;
    border-radius: 0;
    color: #fff;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bc-vertus__card--red { background-color: #dd9351; }
.bc-vertus__card--green { background-color: #ba5e57; }
.bc-vertus__card--orange { background-color: #76806d; }
.bc-vertus__card--dark { background-color: #d49b7d; }

.bc-vertus__card-icon {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.bc-vertus__card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.bc-vertus__card-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* =============================================
   CTA
   ============================================= */
.bc-cta {
    background-color: #ede9e0;
    padding: 80px 24px 100px;
    text-align: center;
}

.bc-cta__wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    padding: 60px 40px 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.bc-cta__header {
    padding: 0 0 32px;
    text-align: center;
}

.bc-cta__subtitle {
    font-size: 16px;
    color: #3e2a2c;
    margin: 16px 0 0 0;
}

.bc-cta__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: #ba5e57;
    line-height: 1.3;
    max-width: 700px;
    margin: 0 auto;
}

.bc-cta__card {
    max-width: 420px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bc-cta__profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.bc-cta__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.bc-cta__info {
    flex: 1;
}

.bc-cta__name {
    font-weight: 600;
    color: #3e2a2c;
    margin: 0 0 4px 0;
    font-size: 16px;
}

.bc-cta__role {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.bc-cta__booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background-color: #0066ff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-bottom: 16px;
    text-decoration: none;
}

.bc-cta__booking-btn:hover {
    background-color: #0052cc;
}

.bc-cta__link {
    font-size: 14px;
    color: #666;
    text-decoration: underline;
}

.bc-cta__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 24px 80px;
}

.bc-cta__btn {
    display: inline-block;
    padding: 18px 48px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #ba5e57;
    color: #fff;
    border: 1.5px solid #ba5e57;
}

.bc-cta__btn:hover {
    background-color: #a04e48;
    border-color: #a04e48;
}

.bc-cta__btn--outline {
    background-color: transparent;
    color: #3e2a2c;
    border-color: #3e2a2c;
}

.bc-cta__btn--outline:hover {
    background-color: #3e2a2c;
    color: #fff;
}

/* =============================================
   INFOS CPF (accordéon intégré dans la carte CTA)
   ============================================= */
.bc-cpf-inline {
    margin-top: 32px;
    background-color: #657763;
    border-radius: 8px;
    overflow: hidden;
}

.bc-cpf__toggle {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
}

.bc-cpf__toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.bc-cpf__chevron {
    transition: transform 0.3s ease;
}

.bc-cpf__toggle--active .bc-cpf__chevron {
    transform: rotate(180deg);
}

.bc-cpf__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.bc-cpf__content--active {
    max-height: 600px;
}

.bc-cpf__inner {
    padding: 0 32px 40px;
    color: #fff;
    font-size: 18px;
    line-height: 1.8;
}

.bc-cpf__inner p {
    margin: 0 0 16px 0;
}

.bc-cpf__inner strong {
    font-weight: 700;
}

.bc-cpf__certif {
    margin-bottom: 24px;
}

.bc-cpf__subtitle {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin: 0 0 16px 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .bc-hero {
        margin-top: 64px;
    }

    .bc-hero__container {
        flex-direction: column;
        gap: 24px;
    }

    .bc-hero__deco {
        display: none;
    }

    .bc-hero__title {
        font-size: 30px;
    }

    .bc-hero__list {
        font-size: 16px;
    }

    .bc-definition {
        padding: 48px 0;
    }

    .bc-definition__title {
        font-size: 28px;
    }

    .bc-deroulement {
        padding: 48px 0;
    }

    .bc-deroulement__title {
        font-size: 28px;
    }

    .bc-deroulement__phases {
        grid-template-columns: 1fr;
    }

    .bc-deroulement__formulas-grid {
        grid-template-columns: 1fr;
    }

    .bc-vertus {
        padding: 48px 0;
    }

    .bc-vertus__grid {
        grid-template-columns: 1fr;
    }

    .bc-vertus__title {
        font-size: 28px;
    }

    .bc-vertus__card {
        min-height: 0;
        padding: 32px 24px;
    }

    .bc-vertus__card-title {
        font-size: 28px;
    }

    .bc-vertus__card-text {
        font-size: 16px;
    }

    .bc-vertus__card-icon {
        width: 50px;
        margin-bottom: 12px;
    }

    .bc-cta__header {
        padding: 48px 24px 24px;
    }

    .bc-cta__title {
        font-size: 32px;
    }

    .bc-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .bc-cta__btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .bc-cpf__toggle {
        padding: 20px 24px;
        font-size: 16px;
    }

    .bc-cpf__inner {
        padding: 0 24px 32px;
    }
}
