/**
 * Refonte "S'installer en Espagne" — styles propres à la page 08 · Contact.
 * Chargée en plus de refonte-common.css (.sec, .eyebrow, .lead-c, .coords,
 * .btn-red, .badge y sont déjà communs). Hero dédié (.ch), pas de .hero2.
 */

.ch {
    position: relative;
    overflow: hidden;
}
.ch .ph {
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    height: 560px;
    background: url('../images/contact-hero-devanture.webp') center 25%/cover;
}
.ch .ph:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 22%);
}
.ch .wrap {
    position: relative;
    padding: 40px 0 0;
}
.ch .txt {
    width: 560px;
}
.ch h1 {
    font-size: 44px;
    line-height: 1.12;
    font-weight: 600;
    color: var(--navy);
    margin-top: 18px;
}
.ch p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--navy);
    margin-top: 16px;
}
.ch .ic2b > div span {
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
}
.ch .ic2b > div b {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.fc {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 22px;
    margin-top: 40px;
    position: relative;
}
.card2 {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 26px 28px;
    box-shadow: 0 8px 30px rgba(20, 33, 91, .08);
}
.card2 .card-title {
    font-size: 21px;
    font-weight: 600;
    color: var(--navy);
    line-height: normal;
    margin-top: 0;
}
.card2 .bar {
    width: 34px;
    height: 2.5px;
    background: var(--red);
    margin: 10px 0 12px;
}
.card2 .intro {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
}
.fg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.fld {
    border: 1px solid var(--line);
    border-radius: 10px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    font-size: 13.5px;
    color: #8a93ad;
    margin-bottom: 10px;
    width: 100%;
    font-family: inherit;
    background: none;
}
.fld input {
    border: none;
    outline: none;
    font-size: 13.5px;
    color: var(--navy);
    width: 100%;
    font-family: inherit;
}
.fld .req {
    color: var(--red);
}
.lbl {
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 8px;
}
.opt {
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
    width: 100%;
    text-align: left;
    background: none;
    font-family: inherit;
}
.ta {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #8a93ad;
    margin-top: 6px;
}
.ta .t {
    color: var(--navy);
    font-size: 13px;
    margin-bottom: 4px;
}
.ta textarea {
    border: none;
    outline: none;
    resize: vertical;
    width: 100%;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--navy);
    font-family: inherit;
    height: 56px;
}
.consent {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}
.consent input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 2px;
    accent-color: var(--red);
}
.consent u {
    color: var(--navy);
}
.card2 .btn-red {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
    padding: 14px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.sec-m {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}
.cb {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.cb .card-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--navy);
    line-height: normal;
    margin-top: 0;
}
.cb p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--navy);
    margin-top: 2px;
}
.cb .s {
    font-size: 12.5px;
    color: var(--muted);
}

.faq {
    max-width: 900px;
    margin: 22px auto 0;
}
.fq {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    transition: border-color .15s;
}
.fq[open] {
    border-color: #c9d2e8;
    box-shadow: 0 6px 20px rgba(20, 33, 91, .07);
}
.fq summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    cursor: pointer;
}
.fq summary::-webkit-details-marker {
    display: none;
}
.fq summary:hover h3 {
    color: var(--red);
}
.fq h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--navy);
}
.fq .ans {
    padding: 0 20px 16px 88px;
}
.fq p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
    margin-top: 6px;
}
.fq .chev {
    margin-left: auto;
    flex: none;
    transition: transform .2s;
}
.fq[open] .chev {
    transform: rotate(180deg);
}

@media (max-width: 980px) {
    .fc {
        grid-template-columns: 1fr;
    }
    .ta textarea {
        height: 38px;
    }
}
@media (max-width: 768px) {
    .ch .ph {
        position: relative;
        width: 100%;
        height: 260px;
    }
    .ch .ph:after {
        display: none;
    }
    .ch .wrap {
        padding-top: 24px;
    }
    .ch .txt {
        width: auto;
    }
    .ch h1 {
        font-size: 30px;
    }
    .fg {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .card2 {
        padding: 22px 18px;
    }
    .fq summary {
        padding: 12px 14px;
        gap: 12px;
    }
    .fq summary img {
        width: 40px !important;
        height: 40px !important;
    }
    .fq h3 {
        font-size: 14.5px;
    }
    .fq .ans {
        padding: 0 14px 14px 14px;
    }
}
@media (max-width: 560px) {
    .ta textarea {
        height: 113px;
    }
}

/* ---- classes extraites du HTML inline ---- */
.hint-note {
    font-size: 13.5px;
    color: var(--muted);
}
.ic2b-icon {
    width: 54px;
    height: 54px;
    flex: none;
}
.ic2b-spaced {
    margin-top: 14px;
}
.cb-icon {
    width: 50px;
    height: 50px;
    flex: none;
}
.contact-hours {
    margin-top: 8px;
}
.text-navy {
    color: var(--navy);
}
.contact-response {
    margin-top: 6px;
}
.lead-narrow {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.faq-icon {
    width: 52px;
    height: 52px;
    flex: none;
}
