/* =========================================================
   DS INFORMÁTICA - PÁGINA DE CONTATO
   Complementa o style.css sem alterar a lógica do formulário
   ========================================================= */

body {
    background: #f6f8fb;
}

.page-header {
    padding: 54px 0 48px;
    background:
        radial-gradient(circle at 82% 15%, rgba(21, 94, 239, .10), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f4f8ff 100%);
    border-bottom: 1px solid #e8edf4;
}

.page-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.page-header p {
    margin: 13px 0 0;
    color: #64748b;
    font-size: 16px;
}

main > .section {
    padding-top: 46px !important;
    padding-bottom: 72px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 24px;
    align-items: start;
}

.checkout-section {
    padding: 30px;
    border: 1px solid #e1e7ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .055);
}

.checkout-section h2 {
    margin: 0 0 24px;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #293449;
    font-size: 13px;
    font-weight: 800;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dce3ec;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-group input {
    min-height: 48px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 160px;
    padding: 13px 14px;
    resize: vertical;
    line-height: 1.55;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #c6d1df;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #155eef;
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .09);
}

.form-help {
    display: block;
    margin-top: 7px;
    color: #8490a3;
    font-size: 12px;
}

.checkout-section form > .btn {
    min-height: 49px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: #155eef;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(21, 94, 239, .16);
    transition: background .18s ease, transform .18s ease;
}

.checkout-section form > .btn:hover {
    background: #0f50d8;
    transform: translateY(-1px);
}

.notice {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #dfe6ef;
    border-radius: 11px;
    background: #f8fafc;
    color: #465166;
    font-size: 14px;
    line-height: 1.55;
}

.notice strong {
    color: #172033;
}

.notice ul {
    padding-left: 20px;
}

.notice.error {
    border-color: #fecaca;
    background: #fff7f7;
    color: #9f3232;
}

.notice.success {
    border-color: #bbf7d0;
    background: #f3fff7;
    color: #277443;
}

.checkout-layout aside {
    position: sticky;
    top: 96px;
}

.checkout-layout aside .checkout-section {
    margin-bottom: 16px;
}

.checkout-layout aside .checkout-section > div {
    padding-bottom: 20px;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #edf0f4;
}

.checkout-layout aside .checkout-section > div:last-child {
    padding-bottom: 0;
    margin-bottom: 0 !important;
    border-bottom: 0;
}

.checkout-layout aside strong {
    color: #172033;
    font-size: 14px;
}

.checkout-layout aside p {
    line-height: 1.6;
}

.checkout-layout aside a.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #155eef;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

.checkout-layout aside a.btn:hover {
    background: #0f50d8;
    transform: translateY(-1px);
}

.checkout-layout aside > .notice {
    padding: 19px 20px;
    border-color: #dce6f5;
    background: #f2f7ff;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout aside {
        position: static;
    }
}

@media (max-width: 650px) {
    .page-header {
        padding: 38px 0 34px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .page-header p {
        font-size: 14px;
    }

    main > .section {
        padding-top: 28px !important;
        padding-bottom: 52px;
    }

    .checkout-layout {
        gap: 16px;
    }

    .checkout-section {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .checkout-section h2 {
        margin-bottom: 20px;
        font-size: 21px;
    }

    .form-group input {
        min-height: 50px;
    }

    .checkout-section form > .btn {
        width: 100%;
        min-height: 50px;
    }
}
