/* ================================================================
   pourquoi.css + consultation.css — Sections intermédiaires
   ================================================================ */

/* ----------------------------------------------------------------
   POURQUOI — fond blanc, 2 colonnes texte / photo
   ---------------------------------------------------------------- */
.section-pourquoi {
    background: #f8f9fb;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(48px, 6vw, 80px) 0;
}

.pourquoi-wrap {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding: 0 clamp(16px, 4vw, 72px);
}

/* Colonne texte */
.pourquoi-text {
    flex: 1 1 0;
    min-width: 0;
}

.pourquoi-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1a3963;
    margin: 0 0 12px;
    line-height: 1.15;
}

.pourquoi-title-accent {
    color: #c9a87c;
}

.pourquoi-count {
    font-size: .85rem;
    font-weight: 800;
    color: #1a3963;
    margin: 0 0 24px;
}

.pourquoi-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pourquoi-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pourquoi-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #1a3963;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.pourquoi-icon svg {
    width: 16px;
    height: 16px;
    fill: #c9a87c;
    display: block;
}

.pourquoi-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #1a3963;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 800;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pourquoi-item-body {}

.pourquoi-item-title {
    display: block;
    font-size: .9rem;
    font-weight: 800;
    color: #1a3963;
    margin-bottom: 3px;
}

.pourquoi-item-detail {
    font-size: .82rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Colonne photo */
.pourquoi-media {
    flex: 0 0 38%;
    max-width: 420px;
}

.pourquoi-photo-stack {
    position: relative;
    height: 380px;
}

.pourquoi-photo {
    position: absolute;
    border-radius: 14px;
    background: #dce3ed center/cover no-repeat;
    box-shadow: 0 16px 40px rgba(26,57,99,.18);
}

.pourquoi-photo--back {
    width: 75%;
    height: 85%;
    bottom: 0;
    right: 0;
    background-image: url('../img/pourquoi_img_3.webp');
}

.pourquoi-photo--front {
    width: 60%;
    height: 65%;
    top: 0;
    left: 0;
    background-image: url('../img/pourquoi_img_1.webp');
    border: 4px solid #ffffff;
}

/* ----------------------------------------------------------------
   CONSULTATION — fond bleu foncé, étapes numérotées
   ---------------------------------------------------------------- */
.section-consultation {
    background: #1a3963;
    padding: clamp(48px, 6vw, 80px) 0;
}

.consultation-wrap {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(16px, 4vw, 72px);
}

.consultation-header {
    margin-bottom: clamp(32px, 4vw, 48px);
}

.consultation-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.15;
}

.consultation-subtitle {
    font-size: .95rem;
    font-weight: 700;
    color: #c9a87c;
    margin: 0;
}

/* Grille des étapes */
.consultation-etapes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.consultation-etape {
    position: relative;
    padding: 28px 24px 28px 28px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    transition: background .25s;
}

.consultation-etape:hover {
    background: rgba(255,255,255,.1);
}

/* Ligne de connexion entre étapes */
.consultation-etape:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -21px;
    width: 20px;
    height: 2px;
    background: rgba(201,168,124,.4);
}

.etape-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.etape-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #c9a87c;
    color: #1a3963;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}

.etape-titre {
    font-size: .92rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.etape-detail {
    font-size: .80rem;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin: 0;
}

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
    .pourquoi-media { display: none; }
    .pourquoi-wrap  { display: block; }

    .consultation-etapes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .consultation-etape::after { display: none; }
}

@media (max-width: 767px) {
    .pourquoi-list { gap: 16px; }
}
