:root {
    --sapl-navy: #14213d;
    --sapl-gold: #fca311;
    --sapl-ink: #111827;
    --sapl-muted: #5b6472;
    --sapl-soft: #f4f6f8;
    --sapl-success: #176b3a;
    --sapl-error: #9b1c1c;
}

.sapl-hide {
    display: none !important;
}

.sapl-form-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.sapl-form {
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(20, 33, 61, 0.12);
    background: #fff;
    box-shadow: 0 16px 45px rgba(20, 33, 61, 0.08);
}

.sapl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.sapl-field {
    min-width: 0;
}

.sapl-field--full {
    grid-column: 1 / -1;
}

.sapl-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--sapl-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.sapl-field label span {
    color: #b42318;
}

.sapl-field input[type="text"],
.sapl-field input[type="tel"],
.sapl-field input[type="email"],
.sapl-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #ccd3dc;
    border-radius: 4px;
    background: #fff;
    color: var(--sapl-ink);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sapl-field textarea {
    min-height: 112px;
    resize: vertical;
}

.sapl-field input:focus,
.sapl-field textarea:focus {
    outline: none;
    border-color: var(--sapl-gold);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.18);
}

.sapl-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    color: var(--sapl-muted);
}

.sapl-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--sapl-gold);
}

.sapl-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 13px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--sapl-gold);
    color: #fff;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.sapl-submit:hover,
.sapl-submit:focus-visible {
    background: var(--sapl-navy);
    transform: translateY(-1px);
}

.sapl-form-footnote {
    margin: 14px 0 0;
    color: var(--sapl-muted);
    font-size: 12px;
    line-height: 1.6;
}

.sapl-form-notice {
    margin: 0 0 18px;
    padding: 13px 15px;
    border-left: 4px solid;
    background: #fff;
    font-weight: 600;
}

.sapl-form-notice--success {
    border-color: var(--sapl-success);
    color: var(--sapl-success);
    background: #eefaf3;
}

.sapl-form-notice--error {
    border-color: var(--sapl-error);
    color: var(--sapl-error);
    background: #fff1f1;
}

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

.sapl-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.sapl-whatsapp-float:hover,
.sapl-whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.sapl-whatsapp-float svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}

@media (max-width: 767px) {
    .sapl-form-grid {
        grid-template-columns: 1fr;
    }

    .sapl-field--full {
        grid-column: auto;
    }

    .sapl-form {
        padding: 20px 16px;
    }

    .sapl-whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}
