/* ===================================================
PÁGINA INDIVIDUAL DA LINHA
=================================================== */

.linha-single {
    background: #ffffff;
}

/* Hero */

.linha-hero {
    padding: 145px 0 90px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.linha-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 80px;
}

.linha-hero-image {
    min-height: 580px;
    overflow: hidden;
    border-radius: 34px;
    background: #edf1f6;
    box-shadow: var(--shadow-md);
}

.linha-hero-photo {
    display: block;
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.linha-hero-placeholder {
    display: flex;
    min-height: 580px;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text);
    text-align: center;
}

.linha-hero-content {
    max-width: 650px;
}

.linha-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--text);
    font-size: 13px;
}

.linha-breadcrumb a {
    color: var(--text);
}

.linha-breadcrumb a:hover {
    color: var(--primary);
}

.linha-breadcrumb strong {
    color: var(--black);
}

.linha-hero h1 {
    margin: 24px 0;
    color: var(--black);
    font-size: clamp(48px, 5vw, 72px);
    line-height: 0.98;
}

.linha-hero-content > p {
    margin: 0 0 28px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
}

.linha-hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.linha-hero-benefits li {
    position: relative;
    padding-left: 25px;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
}

.linha-hero-benefits li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary);
    content: "✓";
    font-weight: 900;
}

/* Orçamento */

.linha-orcamento {
    padding: 100px 0;
    background: #f6f8fb;
}

.linha-orcamento-box {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 70px;
    padding: 60px;
    border-radius: 36px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.linha-orcamento-content h2 {
    margin: 22px 0;
    color: var(--black);
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.05;
}

.linha-orcamento-content > p {
    max-width: 560px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}

.linha-orcamento-info {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.linha-orcamento-info li {
    position: relative;
    padding-left: 26px;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
}

.linha-orcamento-info li::before {
    position: absolute;
    left: 0;
    color: var(--primary);
    content: "✓";
}

.linha-orcamento-form {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #f9fafc;
}

.orcamento-field {
    margin-bottom: 22px;
}

.orcamento-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.orcamento-field input,
.orcamento-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--black);
    font: inherit;
    outline: none;
    transition: border-color 0.25s ease;
}

.orcamento-field input {
    height: 52px;
    padding: 0 16px;
}

.orcamento-field textarea {
    min-height: 120px;
    padding: 15px 16px;
    resize: vertical;
}

.orcamento-field input:focus,
.orcamento-field textarea:focus {
    border-color: var(--primary);
}

.quantidade-control {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    gap: 10px;
}

.quantidade-control input {
    text-align: center;
}

.quantidade-btn {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--primary);
    cursor: pointer;
    font-size: 24px;
    font-weight: 900;
}

.quantidade-btn:hover {
    border-color: var(--primary);
}

.orcamento-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.orcamento-feedback {
    min-height: 22px;
    margin: 16px 0 0;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 991px) {

    .linha-hero-grid,
    .linha-orcamento-box {
        grid-template-columns: 1fr;
    }

    .linha-hero {
        padding: 120px 0 75px;
    }

    .linha-hero-image,
    .linha-hero-photo,
    .linha-hero-placeholder {
        min-height: 480px;
        height: 480px;
    }

    .linha-orcamento-box {
        gap: 45px;
        padding: 45px;
    }
}

@media (max-width: 650px) {

    .linha-hero {
        padding: 105px 0 60px;
    }

    .linha-hero-grid {
        gap: 38px;
    }

    .linha-hero-image,
    .linha-hero-photo,
    .linha-hero-placeholder {
        min-height: 390px;
        height: 390px;
        border-radius: 24px;
    }

    .linha-hero h1 {
        font-size: 43px;
    }

    .linha-hero-content > p {
        font-size: 16px;
    }

    .linha-hero-benefits {
        grid-template-columns: 1fr;
    }

    .linha-hero-content .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .linha-orcamento {
        padding: 65px 0;
    }

    .linha-orcamento-box {
        padding: 25px 20px;
        border-radius: 24px;
    }

    .linha-orcamento-form {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .orcamento-feedback.is-error {
    color: #b42318;
}
/* Cores do orçamento */

.orcamento-cores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.orcamento-cor {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 7px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.orcamento-cor:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 79, 179, 0.3);
}

.orcamento-cor > span {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(6, 30, 69, 0.16);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.orcamento-cor small {
    overflow: hidden;
    width: 100%;
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orcamento-cor.is-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 79, 179, 0.1);
}

.cor-selecionada {
    margin: 12px 0 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 650px) {

    .orcamento-cores {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .orcamento-cor > span {
        width: 38px;
        height: 38px;
    }
}
/* Tamanhos e quantidades */

.tamanhos-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.tamanhos-header label {
    margin: 0;
}

.tamanhos-header strong {
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
}

.tamanhos-instrucao {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 13px;
}

.orcamento-tamanhos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.tamanho-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}

.tamanho-nome {
    display: flex;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: #e4e7eb;
    color: var(--black);
    font-size: 13px;
    font-weight: 900;
}

.tamanho-quantidade {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
}

.tamanho-input {
    width: 100%;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-align: center;
    appearance: textfield;
}

.tamanho-input::-webkit-inner-spin-button,
.tamanho-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.tamanho-btn {
    height: 30px;
    margin: 0 3px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.tamanho-diminuir {
    background: #20242a;
}

.tamanho-btn:hover {
    opacity: 0.85;
}

.tamanhos-aviso {
    margin: 12px 0 0;
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
}

.tamanhos-aviso.is-valid {
    color: #18794e;
}

@media (max-width: 767px) {

    .orcamento-tamanhos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tamanho-item:last-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 430px) {

    .tamanhos-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

}