/**
 * Refonte "S'installer en Espagne" — styles propres à la page 02 · Profil Entrepreneur.
 * Chargée en plus de refonte-common.css (qui contient déjà .hero2, .sec, .boxw,
 * .num, .h3n, table.cmp, communs à plusieurs pages).
 */

.hero2 .bg {
    background-image: url('../images/profil-entrepreneur-hero.webp');
}

.pil {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.pc {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(20, 33, 91, .05);
}
.pc .top {
    position: relative;
    text-align: center;
}
.pc .top .num {
    position: absolute;
    left: 4px;
    top: 0;
    width: 34px;
    height: 34px;
    font-size: 16px;
}
.pc h2 {
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    line-height: 1.3;
    margin: 14px 0 18px;
}
.blk {
    border-radius: 12px;
    padding: 16px 16px 12px;
    margin-top: 12px;
}
.blk.b {
    background: #eef3fc;
}
.blk.p {
    background: #fdf0f0;
}
.blk .hd {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.blk .hd h3 {
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    margin: 0;
}
.blk em {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: -4px 0 8px;
}
.blk ul.dots li {
    font-size: 13.5px;
}
.blk a {
    display: inline-block;
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
}

.expert {
    border: 1.5px solid var(--red);
    border-radius: 14px;
    padding: 22px 30px;
    display: flex;
    gap: 22px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.expert h2 {
    color: var(--red);
    font-size: 20px;
    font-weight: 600;
}
.expert p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--navy);
    margin-top: 4px;
}

@media (max-width: 980px) {
    .pil {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .expert {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* ---- classes extraites du HTML inline ---- */

.hero2 h1 .h1-flag {
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 4px;
}

.pc .top .pc-icon {
    width: 72px;
    height: 72px;
    flex: none;
}

.blk .hd .blk-icon {
    width: 42px;
    height: 42px;
    flex: none;
}

.expert .expert-icon {
    width: 70px;
    height: 70px;
    flex: none;
}

.reassurance-spacer {
    margin-top: 34px;
}

.expert.expert--spaced {
    margin-top: 30px;
}
