/**
 * Refonte "S'installer en Espagne" — styles propres à la page 06 · Professionnels.
 * Chargée en plus de refonte-common.css (.hero2, .ic2b, .sec, .eyebrow, .lead-c,
 * table.cmp, .coords, .btn-red y sont déjà communs).
 */

.hero2 .bg {
    background-image: url('../images/professionnels-hero.webp');
}
.hero2 .txt {
    width: 600px;
}
.hero2 h1 {
    font-size: 40px;
}
.hero2 .txt .sub {
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    line-height: normal;
    margin-top: 22px;
}
.hero2 .txt p {
    font-size: 15px;
    margin-top: 10px;
}

h2.l {
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
}

.d4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 26px;
}
.d4 > div {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px;
    background: #fff;
}
.d4 .hd {
    display: flex;
    align-items: center;
    gap: 10px;
}
.d4 .n {
    font-weight: 700;
    color: var(--red);
    font-size: 18px;
}
.d4 h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    margin: 12px 0 8px;
}
.d4 p,
.d4 li {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
}
.d4 p {
    margin-top: 6px;
}
.d4 ul {
    margin: 6px 0 0 16px;
}
.d4 a {
    color: var(--red);
    text-decoration: underline;
}

.e3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.e3 > div {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 22px;
    /* Réserve la place de l'icône d'angle (.ill : 34px à 16px du bas)
       pour qu'elle ne chevauche pas la fin du texte */
    padding-bottom: 62px;
    background: #fff;
    position: relative;
}
.e3 .lab {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
}
.e3 h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    margin: 10px 0;
}
.e3 .risk-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: normal;
    margin-top: 12px;
}
.e3 p,
.e3 li {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text);
}
.e3 p {
    margin-top: 4px;
}
.e3 ul {
    margin: 4px 0 0 16px;
}
.e3 .ill {
    position: absolute;
    right: 18px;
    bottom: 16px;
    opacity: .9;
}

.a4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}
.a4 > div {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}
.a4 h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin: 10px 0 8px;
}
.a4 li {
    font-size: 13.5px;
    line-height: 1.6;
}
.a4 ul {
    margin-left: 16px;
}

.l4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}
.l4 > div {
    text-align: center;
    padding: 10px 14px;
}
.l4 .n {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.l4 h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin: 12px 0 6px;
}
.l4 p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.ctab {
    background: var(--navy);
    border-radius: 16px;
    color: #fff;
    padding: 36px 44px;
}
.ctab h3 {
    font-size: 28px;
    font-weight: 600;
}
.ctab .bar {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 14px 0 16px;
}
.ctab p {
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 760px;
    margin-bottom: 12px;
}

@media (max-width: 980px) {
    .d4,
    .a4 {
        grid-template-columns: 1fr 1fr;
    }
    .e3 {
        grid-template-columns: 1fr;
    }
    .l4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .hero2 h1 {
        font-size: 28px !important;
    }
    .d4,
    .a4 {
        grid-template-columns: 1fr;
    }
    h2.l {
        font-size: 22px;
    }
    .ctab {
        padding: 26px 22px;
    }
    .ctab h3 {
        font-size: 22px;
    }
}

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

/* Icônes des cartes « 4 démarches » (.d4 .hd img) */
.icon-60 {
    width: 60px;
    height: 60px;
    flex: none;
}

/* Icônes du tableau comparatif (td.k img) */
.icon-42 {
    width: 42px;
    height: 42px;
    flex: none;
}

/* Icônes des labels d'erreur (.e3 .lab img) */
.icon-26 {
    width: 26px;
    height: 26px;
    flex: none;
}

/* Illustrations d'angle des cartes erreur (.e3 .ill img) */
.icon-34 {
    width: 34px;
    height: 34px;
}

/* Icônes des cartes « Notre accompagnement » (.a4 img) */
.icon-56 {
    width: 56px;
    height: 56px;
    flex: none;
}

/* Marges verticales extraites */
.mt-8 {
    margin-top: 8px;
}
.mt-22 {
    margin-top: 22px;
}
.mt-48 {
    margin-top: 48px;
}
.mt-56 {
    margin-top: 56px;
}

/* En-tête vide (première colonne) du tableau comparatif */
.cmp-th-empty {
    width: 20%;
    background: #fff;
}

/* Note sous le tableau comparatif */
.cmp-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

/* Emphase en couleur marine (b.txt-navy) */
.txt-navy {
    color: var(--navy);
}
