/* ============================================================
   PAGE — À propos
   Expat' Immo
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.ap-hero {
    background: linear-gradient(135deg, #1a2b4a 0%, #0d1f38 100%);
    color: #fff;
    padding: 80px 24px 64px;
    text-align: center;
}
.ap-hero .section-label { color: rgba(34,159,168,.9); }
.ap-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.2;
}
.ap-hero h1 span { color: #5cdee6; }
.ap-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.9);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Sections ───────────────────────────────────────────────── */
.ap-section-wrap { background: #f8fafc; }
.ap-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.ap-section--story {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.ap-story-intro {
    font-size: 1.05rem;
    color: #555;
    max-width: 720px;
    line-height: 1.8;
    margin: 16px 0 56px;
    font-style: italic;
}

/* ── Valeurs ────────────────────────────────────────────────── */
.ap-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.ap-value-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    position: relative;
    overflow: hidden;
}
.ap-value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #229FA8, #1a6e8a);
}
.ap-value-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 16px;
}
.ap-value-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2b4a;
    margin: 0 0 12px;
}
.ap-value-card p {
    font-size: .92rem;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ── Timeline ───────────────────────────────────────────────── */
.ap-timeline {
    position: relative;
    padding-left: 48px;
}
.ap-timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #229FA8, rgba(34,159,168,.1));
}
.ap-tl-item {
    position: relative;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0 20px;
    align-items: start;
}
.ap-tl-item:last-child { margin-bottom: 0; }
.ap-tl-dot {
    position: absolute;
    left: -41px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #229FA8;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #229FA8;
}
.ap-tl-item--current .ap-tl-dot {
    width: 18px;
    height: 18px;
    left: -43px;
    top: 4px;
    background: linear-gradient(135deg, #229FA8, #1a2b4a);
}
.ap-tl-year {
    font-size: .82rem;
    font-weight: 800;
    color: #229FA8;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding-top: 7px;
    white-space: nowrap;
}
.ap-tl-body {}
.ap-tl-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2b4a;
    margin: 0 0 10px;
    padding-top: 4px;
}
.ap-tl-body p {
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: .95rem;
}

/* ── Équipe ─────────────────────────────────────────────────── */
.ap-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.ap-team-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.ap-team-card--founder {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0f9fa 0%, #fff 100%);
    border: 1.5px solid rgba(34,159,168,.2);
}
.ap-team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #229FA8, #1a2b4a);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ap-team-avatar--photo {
    padding: 0;
    overflow: hidden;
    background: none;
}
.ap-team-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}
.ap-team-card--founder .ap-team-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
}
.ap-team-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2b4a;
    margin: 0 0 4px;
}
.ap-team-role {
    display: block;
    font-size: .8rem;
    color: #229FA8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}
.ap-team-body p {
    margin: 0;
    font-size: .9rem;
    color: #555;
    line-height: 1.7;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ap-values-grid { grid-template-columns: 1fr; }
    .ap-team-grid   { grid-template-columns: 1fr; }
    .ap-team-card--founder { grid-column: 1; }
}
@media (max-width: 600px) {
    .ap-timeline { padding-left: 32px; }
    .ap-tl-item  { grid-template-columns: 50px 1fr; }
    .ap-team-card { flex-direction: column; }
}
