/* ==========================================================
   SEN DARAL — Contact public
   Palette alignée sur le vert institutionnel de la plateforme.
   ========================================================== */

.sd-contact-page {
    --sd-contact-green: #0d4f45;
    --sd-contact-green-dark: #083a34;
    --sd-contact-green-soft: #eaf5f1;
    --sd-contact-accent: #d7a85b;
    --sd-contact-ink: #18312d;
    --sd-contact-muted: #72817d;
    --sd-contact-border: #e1eae6;
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 94px) 0 36px;
    background:
        radial-gradient(circle at 8% 12%, rgba(13, 79, 69, .055), transparent 25%),
        linear-gradient(180deg, #f7faf8 0%, #ffffff 52%, #f8fbf9 100%);
    color: var(--sd-contact-ink);
    font-family: Inter, sans-serif;
}

.sd-contact-container {
    position: relative;
    z-index: 1;
    max-width: 1160px;
}

.sd-contact-orb {
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(13, 79, 69, .08);
    border-radius: 50%;
}

.sd-contact-orb-one {
    width: 420px;
    height: 420px;
    top: -245px;
    right: -90px;
}

.sd-contact-orb-two {
    width: 280px;
    height: 280px;
    bottom: 150px;
    left: -205px;
}

.sd-contact-intro {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.sd-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(13, 79, 69, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: var(--sd-contact-green);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.sd-contact-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #69a987;
    box-shadow: 0 0 0 4px rgba(105, 169, 135, .13);
}

.sd-contact-intro h1 {
    margin: 20px 0 14px;
    color: var(--sd-contact-green-dark);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.sd-contact-intro h1 span {
    color: var(--sd-contact-green);
    position: relative;
    white-space: nowrap;
}

.sd-contact-intro h1 span::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 2px;
    height: 5px;
    border-radius: 99px;
    background: var(--sd-contact-accent);
    content: "";
    opacity: .9;
}

.sd-contact-lead {
    max-width: 650px;
    margin: 0 auto;
    color: #687a75;
    font-size: 1.02rem;
    line-height: 1.8;
}

.sd-contact-trust {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    text-align: left;
}

.sd-contact-trust-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #dbece4;
    border-radius: 13px;
    background: #eff8f3;
    color: var(--sd-contact-green);
    font-size: 1.15rem;
}

.sd-contact-trust strong,
.sd-contact-trust small {
    display: block;
}

.sd-contact-trust strong {
    color: #24423b;
    font-size: .85rem;
    font-weight: 750;
}

.sd-contact-trust small {
    margin-top: 3px;
    color: var(--sd-contact-muted);
    font-size: .76rem;
}

.sd-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.42fr);
    align-items: stretch;
    gap: 22px;
}

.sd-contact-aside {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(27px, 3vw, 38px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .12), transparent 30%),
        linear-gradient(145deg, var(--sd-contact-green) 0%, var(--sd-contact-green-dark) 100%);
    box-shadow: 0 22px 55px rgba(8, 58, 52, .14);
    color: #fff;
}

.sd-contact-aside-top {
    position: relative;
    z-index: 1;
}

.sd-contact-aside-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 17px;
    background: rgba(255, 255, 255, .1);
    color: #f4d79d;
    font-size: 1.45rem;
}

.sd-contact-aside-kicker {
    margin: 26px 0 9px;
    color: #c6dfd5;
    font-size: .73rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sd-contact-aside h2 {
    max-width: 330px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(1.55rem, 2.5vw, 2.05rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.sd-contact-aside-top > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
    line-height: 1.8;
}

.sd-contact-detail {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.sd-contact-detail-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    color: #f4d79d;
    font-size: 1.05rem;
}

.sd-contact-detail small,
.sd-contact-detail strong,
.sd-contact-detail a {
    display: block;
}

.sd-contact-detail small {
    margin-bottom: 4px;
    color: #c6dfd5;
    font-size: .75rem;
}

.sd-contact-detail a,
.sd-contact-detail strong {
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sd-contact-detail a:hover {
    color: #f4d79d;
}

.sd-contact-aside-note {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 30px;
    color: rgba(255, 255, 255, .72);
    font-size: .77rem;
    line-height: 1.7;
}

.sd-contact-aside-note i {
    flex: 0 0 auto;
    color: #f4d79d;
    font-size: 1rem;
}

.sd-contact-decor {
    position: absolute;
    right: -5px;
    bottom: -28px;
    display: flex;
    gap: 7px;
    align-items: flex-end;
    opacity: .13;
    transform: rotate(-25deg);
}

.sd-contact-decor span {
    display: block;
    width: 15px;
    height: 90px;
    border: 2px solid white;
    border-radius: 99px;
}

.sd-contact-decor span:nth-child(2),
.sd-contact-decor span:nth-child(4) {
    height: 125px;
}

.sd-contact-decor span:nth-child(3) {
    height: 155px;
}

.sd-contact-form-card {
    padding: clamp(24px, 3.2vw, 42px);
    border: 1px solid rgba(218, 231, 225, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 55px rgba(20, 55, 45, .07);
}

.sd-contact-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}

.sd-contact-form-kicker {
    color: #65867a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sd-contact-form-heading h2 {
    margin: 7px 0 7px;
    color: var(--sd-contact-green-dark);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.sd-contact-form-heading p {
    margin: 0;
    color: var(--sd-contact-muted);
    font-size: .81rem;
}

.sd-contact-form-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--sd-contact-green-soft);
    color: var(--sd-contact-green);
    font-size: 1.2rem;
}

.sd-contact-label {
    display: block;
    margin-bottom: 8px;
    color: #29463e;
    font-size: .81rem;
    font-weight: 750;
}

.sd-contact-label > span {
    color: #b36a3f;
}

.sd-contact-label small {
    color: #8a9893;
    font-size: .73rem;
    font-weight: 500;
}

.sd-contact-input {
    min-height: 51px;
    padding: 12px 14px;
    border: 1px solid #dfe8e3;
    border-radius: 12px;
    background-color: #fbfdfb;
    color: #233e36;
    font-family: inherit;
    font-size: .87rem;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sd-contact-input::placeholder {
    color: #a2afaa;
}

.sd-contact-input:hover {
    border-color: #c3d8cd;
}

.sd-contact-input:focus {
    border-color: #4f9580;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 79, 69, .09);
    outline: 0;
}

.sd-contact-textarea {
    min-height: 158px;
    resize: vertical;
    line-height: 1.7;
}

.sd-contact-field-hint {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 9px;
    color: #81918a;
    font-size: .73rem;
    line-height: 1.5;
}

.sd-contact-field-hint i {
    color: #5d8b78;
}

.sd-contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #edf1ee;
}

.sd-contact-form-bottom p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #72847b;
    font-size: .74rem;
    line-height: 1.55;
}

.sd-contact-form-bottom p i {
    color: #4d8a73;
    font-size: 1rem;
}

.sd-contact-submit {
    display: inline-flex;
    min-height: 51px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 17px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sd-contact-green) 0%, #176d5d 100%);
    box-shadow: 0 9px 20px rgba(13, 79, 69, .19);
    color: #fff;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.sd-contact-submit i {
    font-size: 1.05rem;
    transition: transform .2s ease;
}

.sd-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px rgba(13, 79, 69, .24);
    filter: brightness(1.04);
}

.sd-contact-submit:hover i {
    transform: translateX(3px);
}

.sd-contact-submit:focus-visible {
    outline: 3px solid rgba(13, 79, 69, .25);
    outline-offset: 3px;
}

.sd-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sd-contact-bottom-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 36px;
}

.sd-contact-bottom-line span {
    width: 36px;
    height: 1px;
    background: #d5e4dc;
}

.sd-contact-bottom-line p {
    margin: 0;
    color: #8a9992;
    font-size: .75rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .sd-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sd-contact-aside {
        min-height: auto;
    }

    .sd-contact-aside-note {
        margin-top: 26px;
    }
}

@media (max-width: 575.98px) {
    .sd-contact-page {
        padding-top: 42px;
    }

    .sd-contact-intro {
        margin-bottom: 28px;
    }

    .sd-contact-intro h1 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .sd-contact-eyebrow {
        font-size: .7rem;
    }

    .sd-contact-aside,
    .sd-contact-form-card {
        padding: 23px 19px;
        border-radius: 19px;
    }

    .sd-contact-form-heading {
        gap: 10px;
    }

    .sd-contact-form-mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .sd-contact-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .sd-contact-submit {
        width: 100%;
    }

    .sd-contact-bottom-line {
        gap: 9px;
    }

    .sd-contact-bottom-line span {
        width: 18px;
    }

    .sd-contact-bottom-line p {
        font-size: .68rem;
    }
}
