/* =========================================================
   PÁGINA DE ORÇAMENTO
========================================================= */

.quote-page {
    background: var(--background-light);
    color: var(--text-color);
}

.quote-page-main {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.quote-page *,
.quote-page *::before,
.quote-page *::after {
    box-sizing: border-box;
}

.quote-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.quote-section {
    padding: 76px 0;
}

.quote-section--gray {
    background: var(--background-gray);
}

.quote-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.085em;
    line-height: 1.4;
    text-transform: uppercase;
}

.quote-eyebrow--light {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   HERO
========================================================= */

.quote-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 88px;

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(252, 122, 81, 0.2),
            transparent 33%
        ),
        linear-gradient(
            135deg,
            var(--primary-color),
            var(--secondary-color) 60%,
            #74212a
        );

    color: var(--text-light);
}

.quote-hero::before {
    position: absolute;
    top: -170px;
    right: -130px;

    width: 380px;
    height: 380px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    content: "";
}

.quote-hero__grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, 0.75fr);
    align-items: center;
    gap: 72px;
}

.quote-hero__content h1 {
    max-width: 720px;
    margin: 12px 0 22px;

    color: var(--text-light);

    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.quote-hero__content p {
    max-width: 700px;
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    line-height: 1.75;
}

.quote-hero__content p + p {
    margin-top: 14px;
}

.quote-hero__lead {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 1.08rem;
}

.quote-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;

    margin-top: 28px;
}

.quote-hero__channel-note {
    margin-top: 13px !important;

    color: rgba(255, 255, 255, 0.7) !important;

    font-size: 0.78rem;
}

.quote-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 26px;
}

.quote-hero__highlights span {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 7px 12px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);

    font-size: 0.76rem;
    font-weight: 700;
}

/* =========================================================
   CARD DO HERO
========================================================= */

.quote-hero__card {
    padding: 31px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.11);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(5px);
}

.quote-hero__card-label {
    display: inline-block;

    margin-bottom: 21px;

    color: var(--accent-color);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.quote-steps {
    display: grid;
    gap: 21px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.quote-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
}

.quote-steps li > span {
    display: grid;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
    color: var(--text-light);

    font-size: 0.78rem;
    font-weight: 800;

    place-items: center;
}

.quote-steps strong {
    display: block;

    color: var(--text-light);

    font-size: 0.92rem;
    line-height: 1.4;
}

.quote-steps p {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.82rem;
    line-height: 1.55;
}

.quote-hero__card-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 44px;

    margin-top: 25px;
    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);

    font-size: 0.8rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.quote-hero__card-whatsapp:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.17);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* =========================================================
   BOTÕES
========================================================= */

.quote-page .quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: auto;
    min-height: 48px;

    margin: 0;
    padding: 12px 21px;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;

    box-shadow: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.quote-page .quote-button:hover {
    transform: translateY(-2px);
}

.quote-page .quote-button--whatsapp {
    border-color: #148f4b;
    background: #148f4b;
    color: #ffffff;

    box-shadow: 0 7px 20px rgba(20, 143, 75, 0.22);
}

.quote-page .quote-button--whatsapp:hover,
.quote-page .quote-button--whatsapp:focus-visible {
    border-color: #107b40;
    background: #107b40;
    color: #ffffff;

    box-shadow: 0 9px 24px rgba(20, 143, 75, 0.3);
}

.quote-button__whatsapp-icon {
    display: grid;

    width: 23px;
    height: 23px;

    border: 2px solid currentColor;
    border-radius: 50%;

    color: inherit;

    font-family: Arial, sans-serif;
    font-size: 0.69rem;
    font-weight: 800;
    line-height: 1;

    place-items: center;
}

.quote-page .quote-button--light {
    border-color: var(--background-light);
    background: var(--background-light);
    color: var(--primary-color);
}

.quote-page .quote-button--light:hover {
    background: var(--background-gray);
    color: var(--secondary-color);
}

.quote-page .quote-button--outline-light {
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
    color: var(--text-light);
}

.quote-page .quote-button--outline-light:hover {
    border-color: var(--background-light);
    background: var(--background-light);
    color: var(--primary-color);
}

/* =========================================================
   CABEÇALHOS
========================================================= */

.quote-section__header {
    max-width: 760px;
    margin-bottom: 38px;
}

.quote-section__header--center {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.quote-section__header h2,
.quote-form-intro h2,
.quote-form-card h2,
.quote-alternatives h2,
.quote-whatsapp-section h2 {
    margin: 6px 0 15px;

    color: var(--text-color);

    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.quote-section__header p,
.quote-form-intro > p {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.75;
}

/* =========================================================
   OPÇÕES
========================================================= */

.quote-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.quote-option {
    position: relative;

    min-height: 245px;
    padding: 27px 24px;

    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);

    background: var(--background-light);

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.quote-option:hover {
    border-color: rgba(173, 51, 80, 0.26);

    box-shadow: var(--shadow-md);

    transform: translateY(-4px);
}

.quote-option::after {
    position: absolute;
    right: -35px;
    bottom: -45px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: rgba(173, 51, 80, 0.04);

    content: "";
}

.quote-option__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 31px;

    margin-bottom: 23px;

    border-radius: 999px;

    background: rgba(173, 51, 80, 0.08);
    color: var(--primary-color);

    font-size: 0.7rem;
    font-weight: 800;
}

.quote-option h3 {
    margin: 0 0 12px;

    color: var(--text-color);

    font-size: 1.06rem;
    line-height: 1.4;
}

.quote-option p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.88rem;
    line-height: 1.68;
}

/* =========================================================
   WHATSAPP EM DESTAQUE
========================================================= */

.quote-whatsapp-section {
    padding: 54px 0;

    background:
        linear-gradient(
            135deg,
            rgba(20, 143, 75, 0.08),
            rgba(20, 143, 75, 0.025)
        );

    border-top: 1px solid rgba(20, 143, 75, 0.13);
    border-bottom: 1px solid rgba(20, 143, 75, 0.13);
}

.quote-whatsapp-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 54px;
}

.quote-whatsapp-section h2 {
    margin-bottom: 13px;
}

.quote-whatsapp-section__content > p {
    max-width: 720px;
    margin: 0;

    color: var(--text-muted);

    line-height: 1.72;
}

.quote-whatsapp-section__number {
    display: flex;
    flex-direction: column;
    gap: 4px;

    margin-top: 20px;
}

.quote-whatsapp-section__number span {
    color: var(--text-muted);

    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.07em;

    text-transform: uppercase;
}

.quote-whatsapp-section__number strong {
    color: var(--text-color);

    font-size: 1.05rem;
}

.quote-whatsapp-section__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.quote-whatsapp-section__action p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.72rem;
}

/* =========================================================
   FORMULÁRIO
========================================================= */

.quote-form-section {
    padding: 76px 0;

    background: var(--background-gray);

    scroll-margin-top: 30px;
}

.quote-form-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);
    align-items: start;
    gap: 58px;
}

.quote-form-intro {
    position: sticky;
    top: 28px;
}

.quote-form-tips {
    margin-top: 28px;
    padding: 25px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);

    background: var(--background-light);
}

.quote-form-tips h3 {
    margin: 0 0 16px;

    color: var(--text-color);

    font-size: 1rem;
    line-height: 1.4;
}

.quote-form-tips ul {
    display: grid;
    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.quote-form-tips li {
    position: relative;

    padding-left: 22px;

    color: var(--text-muted);

    font-size: 0.86rem;
    line-height: 1.5;
}

.quote-form-tips li::before {
    position: absolute;
    top: 0.1em;
    left: 0;

    color: var(--success-color);

    content: "✓";

    font-weight: 800;
}

/* WhatsApp ao lado do formulário */
.quote-form-whatsapp {
    margin-top: 18px;
    padding: 21px;

    border: 1px solid rgba(20, 143, 75, 0.2);
    border-radius: var(--radius-lg);

    background: rgba(20, 143, 75, 0.06);
}

.quote-form-whatsapp > span {
    display: block;

    margin-bottom: 6px;

    color: #107b40;

    font-size: 0.82rem;
    font-weight: 800;
}

.quote-form-whatsapp p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.81rem;
    line-height: 1.55;
}

.quote-form-whatsapp a {
    display: inline-flex;

    margin-top: 13px;

    color: #107b40;

    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.quote-form-whatsapp a:hover {
    color: #0b6333;
}

.quote-notice {
    margin-top: 18px;
    padding: 19px 21px;

    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;

    background: rgba(252, 122, 81, 0.08);
}

.quote-notice strong {
    display: block;

    margin-bottom: 6px;

    color: var(--text-color);

    font-size: 0.82rem;
}

.quote-notice p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.8rem;
    line-height: 1.6;
}

/* =========================================================
   CARD DO FORMULÁRIO
========================================================= */

.quote-form-card {
    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);

    background: var(--background-light);

    box-shadow: var(--shadow-md);
}

.quote-form-card__header {
    padding: 30px 32px;

    border-bottom: 1px solid var(--border-color);

    background:
        linear-gradient(
            135deg,
            rgba(173, 51, 80, 0.055),
            rgba(252, 122, 81, 0.04)
        );
}

.quote-form-card__header > span {
    color: var(--primary-color);

    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.quote-form-card__header h2 {
    margin-bottom: 9px;

    font-size: 1.75rem;
}

.quote-form-card__header p {
    margin: 0;

    color: var(--text-muted);

    line-height: 1.65;
}

.quote-form-card__body {
    padding: 32px;
}

.quote-form-card__privacy {
    padding: 17px 32px;

    border-top: 1px solid var(--border-color);

    background: var(--background-gray);
}

.quote-form-card__privacy p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.75rem;
    line-height: 1.55;
}

.quote-form-card__privacy a {
    color: var(--primary-color);
    font-weight: 700;
}

/* =========================================================
   NINJA FORMS
========================================================= */

.quote-form-card .nf-form-cont {
    margin: 0;
}

.quote-form-card .nf-form-fields-required {
    margin-bottom: 22px;

    color: var(--text-muted);

    font-size: 0.78rem;
}

.quote-form-card .nf-field-container {
    margin-bottom: 22px;
}

.quote-form-card .nf-field-label {
    margin-bottom: 7px;
}

.quote-form-card .nf-field-label label {
    color: var(--text-color);

    font-size: 0.84rem;
    font-weight: 700;
}

.quote-form-card .ninja-forms-req-symbol {
    color: var(--danger-color);
}

.quote-form-card
.nf-field-element
input:not([type="checkbox"]):not([type="radio"]),
.quote-form-card
.nf-field-element select,
.quote-form-card
.nf-field-element textarea {
    width: 100%;
    min-height: 48px;

    margin: 0;
    padding: 11px 13px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);

    background: var(--background-light);
    color: var(--text-color);

    font-size: 0.92rem;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.quote-form-card .nf-field-element textarea {
    min-height: 140px;

    resize: vertical;
}

.quote-form-card
.nf-field-element
input:focus,
.quote-form-card
.nf-field-element select:focus,
.quote-form-card
.nf-field-element textarea:focus {
    border-color: var(--primary-color);

    outline: 0;

    box-shadow: 0 0 0 3px rgba(173, 51, 80, 0.12);
}

.quote-form-card .checkbox-container .nf-field-element {
    width: auto;
}

.quote-form-card .checkbox-container label {
    color: var(--text-muted);

    font-size: 0.81rem;
    line-height: 1.55;
}

.quote-form-card .nf-error-msg,
.quote-form-card .ninja-forms-field-error {
    color: var(--danger-color);

    font-size: 0.78rem;
}

.quote-form-card .nf-response-msg {
    padding: 17px 19px;

    border: 1px solid rgba(46, 125, 50, 0.25);
    border-radius: var(--radius-md);

    background: rgba(46, 125, 50, 0.07);
    color: var(--success-color);
}

.quote-form-card
.nf-field-element
input[type="button"],
.quote-form-card
.nf-field-element
input[type="submit"],
.quote-form-card
.nf-field-element button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin: 0;
    padding: 12px 22px;

    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);

    background: var(--primary-color);
    color: var(--text-light);

    font-size: 0.9rem;
    font-weight: 750;

    box-shadow: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.quote-form-card
.nf-field-element
input[type="button"]:hover,
.quote-form-card
.nf-field-element
input[type="submit"]:hover,
.quote-form-card
.nf-field-element button:hover {
    border-color: var(--secondary-color);

    background: var(--secondary-color);
    color: var(--text-light);

    box-shadow: 0 6px 16px rgba(173, 51, 80, 0.2);

    transform: translateY(-1px);
}

/* =========================================================
   CONDIÇÕES
========================================================= */

.quote-conditions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.quote-conditions article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;

    padding: 23px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);

    background: var(--background-light);
}

.quote-conditions article > span {
    display: grid;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(46, 125, 50, 0.1);
    color: var(--success-color);

    font-weight: 800;

    place-items: center;
}

.quote-conditions h3 {
    margin: 0 0 7px;

    color: var(--text-color);

    font-size: 0.94rem;
    line-height: 1.4;
}

.quote-conditions p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.83rem;
    line-height: 1.62;
}

/* =========================================================
   OUTROS CAMINHOS
========================================================= */

.quote-alternatives {
    padding: 60px 0;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(252, 122, 81, 0.18),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            var(--primary-color),
            var(--secondary-color)
        );

    color: var(--text-light);
}

.quote-alternatives__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

.quote-alternatives h2 {
    color: var(--text-light);
}

.quote-alternatives p {
    max-width: 700px;
    margin: 0;

    color: rgba(255, 255, 255, 0.83);

    line-height: 1.7;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .quote-hero__grid {
        gap: 44px;
    }

    .quote-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-form-layout {
        gap: 38px;
    }

    .quote-whatsapp-section__grid {
        gap: 32px;
    }
}

@media (max-width: 820px) {

    .quote-hero__grid,
    .quote-form-layout,
    .quote-alternatives__grid,
    .quote-whatsapp-section__grid {
        grid-template-columns: 1fr;
    }

    .quote-form-intro {
        position: static;
    }

    .quote-actions {
        justify-content: flex-start;
    }

    .quote-whatsapp-section__action {
        align-items: flex-start;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .quote-container {
        width: min(100% - 28px, 1180px);
    }

    .quote-section,
    .quote-form-section {
        padding: 54px 0;
    }

    .quote-hero {
        padding: 48px 0 58px;
    }

    .quote-hero__content h1 {
        font-size: 2.35rem;
    }

    .quote-hero__lead {
        font-size: 1rem;
    }

    .quote-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-hero__card {
        padding: 24px 21px;
    }

    .quote-options,
    .quote-conditions {
        grid-template-columns: 1fr;
    }

    .quote-option {
        min-height: auto;
        padding: 24px 21px;
    }

    .quote-whatsapp-section {
        padding: 46px 0;
    }

    .quote-whatsapp-section__action,
    .quote-whatsapp-section__action .quote-button {
        width: 100%;
    }

    .quote-form-tips {
        padding: 21px;
    }

    .quote-form-card__header,
    .quote-form-card__body {
        padding: 24px 20px;
    }

    .quote-form-card__privacy {
        padding: 16px 20px;
    }

    .quote-conditions article {
        padding: 20px;
    }

    .quote-alternatives {
        padding: 50px 0;
    }

    .quote-actions {
        flex-direction: column;
    }

    .quote-page .quote-button {
        width: 100%;
    }
}

/* =========================================================
   WORDPRESS E ACESSIBILIDADE
========================================================= */

.quote-page + .edit-link,
.quote-page-main > .edit-link {
    display: none;
}

.quote-page a:focus-visible {
    outline: 3px solid rgba(252, 122, 81, 0.35);
    outline-offset: 3px;
}