/* Orçamento personalizado — layout moderno (Astelar 3D / tema Trekko) */

.page-orcamento-personalizado .tk-page-content {
    max-width: 1100px;
    padding-top: 24px;
    padding-bottom: 64px;
}

.page-orcamento-personalizado .tk-page-content > article > .entry-title,
.page-orcamento-personalizado .tk-page-content > article > h1 {
    display: none;
}

.aq-wrap {
    --aq-accent: #ff5b1f;
    --aq-accent-dark: #d83f00;
    --aq-text: #1a1a1a;
    --aq-muted: #6b6b6b;
    --aq-border: #e8e8e8;
    --aq-bg: #f7f7f7;
    --aq-radius: 12px;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--aq-text);
}

.aq-hero {
    text-align: center;
    margin-bottom: 40px;
}

.aq-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--aq-text);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.aq-hero h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.02em;
}

.aq-hero p {
    margin: 0 auto;
    max-width: 560px;
    font-size: 16px;
    color: var(--aq-muted);
    line-height: 1.6;
}

.aq-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    text-align: left;
}

.aq-benefit {
    background: #fff;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    padding: 20px 18px;
}

.aq-benefit strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.aq-benefit span {
    font-size: 13px;
    color: var(--aq-muted);
    line-height: 1.45;
}

.aq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.aq-card {
    background: #fff;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .04);
}

.aq-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px;
}

.aq-field {
    margin-bottom: 20px;
}

.aq-field label,
.aq-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--aq-text);
}

.aq-field label .aq-req {
    color: var(--aq-accent);
}

.aq-field input[type="text"],
.aq-field input[type="email"],
.aq-field input[type="tel"],
.aq-field textarea,
.aq-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--aq-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.aq-field input:focus,
.aq-field textarea:focus,
.aq-field select:focus {
    outline: none;
    border-color: var(--aq-text);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, .08);
}

.aq-field textarea {
    min-height: 88px;
    resize: vertical;
}

.aq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.aq-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aq-materials input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aq-materials label {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--aq-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    margin: 0;
}

.aq-materials input:checked + label {
    background: var(--aq-text);
    border-color: var(--aq-text);
    color: #fff;
}

.aq-materials label:hover {
    border-color: var(--aq-text);
}

.aq-dropzone {
    position: relative;
    border: 2px dashed var(--aq-border);
    border-radius: var(--aq-radius);
    padding: 36px 20px;
    text-align: center;
    background: var(--aq-bg);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.aq-dropzone:hover,
.aq-dropzone.is-dragover {
    border-color: var(--aq-accent);
    background: #fff7f3;
}

.aq-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.aq-dropzone-icon {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.aq-dropzone-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.aq-dropzone-hint {
    font-size: 13px;
    color: var(--aq-muted);
}

.aq-file-name {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--aq-accent-dark);
    min-height: 1.2em;
}

.aq-submit {
    width: 100%;
    margin-top: 8px;
    padding: 16px 24px;
    background: var(--aq-text) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background .15s !important;
    font-family: inherit !important;
}

.aq-submit:hover:not(:disabled) {
    background: var(--aq-accent) !important;
}

.aq-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.aq-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.aq-result.is-visible {
    display: block;
}

.aq-result.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.aq-result.is-loading {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* Status / cotação */
.aq-status {
    max-width: 640px;
    margin: 0 auto;
}

.aq-status-card {
    background: #fff;
    border: 1px solid var(--aq-border);
    border-radius: var(--aq-radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
}

.aq-status-card h2 {
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.aq-status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--aq-bg);
    margin-bottom: 20px;
}

.aq-status-badge.is-quoted {
    background: #ecfdf5;
    color: #047857;
}

.aq-status-badge.is-processing {
    background: #eff6ff;
    color: #1d4ed8;
}

.aq-status-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 16px 0 8px;
    color: var(--aq-text);
}

.aq-status-meta {
    color: var(--aq-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.aq-status .button,
.aq-status .aq-submit {
    display: inline-block;
    width: auto;
    min-width: 220px;
    text-decoration: none;
}

.aq-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--aq-border);
    border-top-color: var(--aq-accent);
    border-radius: 50%;
    animation: aq-spin .8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes aq-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .aq-benefits {
        grid-template-columns: 1fr;
    }
    .aq-row {
        grid-template-columns: 1fr;
    }
    .aq-card {
        padding: 24px 20px;
    }
}
