/*
Theme Name: Luiz Obras
Theme URI: https://luizobras.com.br
Author: Wan
Description: Tema customizado Luiz Obras
Version: 1.0
*/

:root {
    --lo-red: #ef211b;
    --lo-red-dark: #b70705;
    --lo-gold: #ffc957;
    --lo-green: #128a45;
    --lo-green-dark: #075b2b;
    --lo-white: #ffffff;
    --lo-muted: #d8d8d8;
    --lo-black: #050505;
    --lo-panel: rgba(32, 30, 34, 0.9);
    --lo-border: rgba(255, 255, 255, 0.14);
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    color: var(--lo-white);
    background:
        radial-gradient(circle at 20% 0%, rgba(239, 33, 27, 0.12), transparent 28rem),
        linear-gradient(180deg, #050505 0%, #161416 42%, #080808 100%);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
}

.site-header {
    background: rgba(4, 4, 4, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 104px;
}

.brand-lockup {
    position: relative;
    display: grid;
    grid-template-columns: 62px auto;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 0 8px;
    padding: 0;
    letter-spacing: 0;
}

.brand-icon {
    position: relative;
    grid-row: 1 / 3;
    width: 62px;
    height: 60px;
}

.helmet {
    position: absolute;
    left: 2px;
    bottom: 13px;
    width: 46px;
    height: 28px;
    background: linear-gradient(90deg, #ffb223, #ffd466);
    border-radius: 28px 28px 4px 4px;
    box-shadow: inset 14px 0 rgba(255, 140, 0, 0.35);
}

.helmet::before,
.helmet::after {
    content: "";
    position: absolute;
    bottom: 0;
    background: rgba(68, 45, 8, 0.32);
}

.helmet::before {
    left: 22px;
    width: 4px;
    height: 28px;
}

.helmet::after {
    left: -3px;
    right: -8px;
    height: 8px;
    border-radius: 3px;
    background: #ffbb34;
}

.hammer {
    position: absolute;
    right: 0;
    top: 12px;
    width: 13px;
    height: 46px;
    background: #e52a24;
    border-radius: 3px;
    transform: rotate(-20deg);
    box-shadow: inset -4px 0 rgba(0, 0, 0, 0.28);
}

.hammer::before {
    content: "";
    position: absolute;
    left: -16px;
    top: -7px;
    width: 50px;
    height: 14px;
    background: #cfd1d4;
    border-radius: 4px;
    box-shadow: inset -9px 0 rgba(0, 0, 0, 0.2);
}

.brand-title {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: clamp(2rem, 4vw, 3.12rem);
    font-weight: 900;
    line-height: 0.92;
}

.brand-white {
    color: #fff;
}

.brand-red {
    color: var(--lo-red);
}

.brand-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.83rem, 1.5vw, 1rem);
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.brand-subtitle::before,
.brand-subtitle::after {
    content: "";
    width: 36px;
    height: 2px;
    background: var(--lo-red);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--lo-gold);
}

.btn {
    border: 0;
    border-radius: 7px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.24), 0 10px 20px rgba(0, 0, 0, 0.34);
}

.btn-danger-premium {
    color: #fff;
    background: linear-gradient(180deg, #ff2720 0%, var(--lo-red-dark) 100%);
}

.btn-danger-premium:hover {
    color: #fff;
    background: linear-gradient(180deg, #ff3a34 0%, #c20805 100%);
}

.btn-whatsapp {
    color: #fff;
    background: linear-gradient(180deg, #159b4e 0%, #086431 100%);
}

.btn-whatsapp:hover {
    color: #fff;
    background: linear-gradient(180deg, #19ad5a 0%, #087139 100%);
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.hero-section {
    position: relative;
    min-height: 850px;
    overflow: hidden;
    background: #070707;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.78) 34%, rgba(5, 5, 5, 0.12) 66%, rgba(5, 5, 5, 0.42) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.1) 62%, rgba(5, 5, 5, 0.96) 100%),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=85") center right / cover no-repeat;
    filter: saturate(0.92) contrast(1.1);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 3px 3px;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 112px;
}

.hero-section h1 {
    max-width: 760px;
    margin-bottom: 26px;
    font-size: clamp(2.65rem, 6vw, 4.9rem);
    font-weight: 900;
    line-height: 1.05;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.hero-section h1 span {
    display: block;
    color: var(--lo-gold);
}

.hero-location {
    margin-bottom: 34px;
    color: #f4f4f4;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.hero-points {
    display: grid;
    gap: 18px;
    margin-bottom: 58px;
    font-size: clamp(1.1rem, 1.7vw, 1.48rem);
    font-weight: 700;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-points i {
    color: #f2f2f2;
    font-size: 1.28em;
}

.hero-actions .btn {
    min-width: 260px;
    padding: 0.9rem 1.5rem;
    font-size: 1.28rem;
}

.signature-block {
    max-width: 470px;
    margin-top: 46px;
}

.signature {
    margin: 0 0 8px;
    font-family: "Segoe Print", "Bradley Hand ITC", cursive;
    font-size: clamp(2.15rem, 4vw, 3.05rem);
    line-height: 1;
}

.signature-block p:last-child {
    color: #f2f2f2;
    font-size: 1.12rem;
    line-height: 1.38;
}

.services-strip {
    position: relative;
    padding: 18px 0;
    background: rgba(25, 24, 26, 0.94);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.services-list,
.gallery-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 22px;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 900;
}

.services-list i,
.gallery-services i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lo-red);
}

.budget-section,
.before-after-section,
.contact-section {
    position: relative;
    display: block;
    overflow: visible;
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.06), transparent 22rem),
        linear-gradient(180deg, #151315 0%, #0b0a0b 100%);
}

.page-section {
    clear: both;
    width: 100%;
}

.budget-section {
    padding: 52px 0 58px;
}

.budget-section .container-xl,
.before-after-section .container-xl,
.contact-section .container-xl {
    position: relative;
}

.budget-section h2,
.before-after-section h2,
.contact-section h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 900;
}

.budget-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 28px;
}

.budget-heading span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    color: var(--lo-gold);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
}

.budget-heading h2 {
    margin-bottom: 0;
}

.budget-form {
    position: relative;
}

.budget-panel,
.quote-summary {
    border: 1px solid var(--lo-border);
    border-radius: 8px;
    background: rgba(25, 24, 27, 0.86);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.budget-panel {
    min-height: 100%;
    padding: 26px;
}

.budget-panel h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 900;
}

.budget-form .form-label {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.budget-form .form-control {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    color: #fff;
    background: rgba(3, 3, 3, 0.5);
}

.budget-form .form-control:focus {
    border-color: rgba(255, 201, 87, 0.72);
    box-shadow: 0 0 0 0.2rem rgba(255, 201, 87, 0.14);
}

.budget-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.quote-grid-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(6, 6, 7, 0.56);
}

.quote-service-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #fff;
}

.quote-service-table th,
.quote-service-table td {
    padding: 12px 13px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    white-space: nowrap;
}

.quote-service-table th {
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(180deg, rgba(239, 33, 27, 0.3), rgba(18, 17, 19, 0.94));
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.quote-service-table tbody tr {
    background: rgba(255, 255, 255, 0.035);
}

.quote-service-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.06);
}

.quote-service-table tbody tr:hover,
.quote-service-table tbody tr.is-selected {
    background: rgba(255, 201, 87, 0.13);
}

.grid-check-col {
    width: 58px;
    text-align: center;
}

.service-check {
    width: 18px;
    height: 18px;
    accent-color: var(--lo-red);
}

.service-name-cell {
    min-width: 180px;
    font-weight: 900;
    white-space: normal;
}

.service-qty {
    width: 86px;
    min-height: 38px;
    padding: 0.35rem 0.5rem;
    text-align: center;
}

.service-subtotal {
    color: var(--lo-gold);
    font-weight: 900;
}

.quote-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 28px;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.quote-actions .btn {
    min-height: 48px;
    padding-inline: 18px;
}

.quote-summary .quote-number {
    margin-bottom: 6px;
    padding-bottom: 0;
    border-bottom: 0;
    text-align: left;
}

.quote-summary .quote-value {
    margin-bottom: 0;
}

.quote-status {
    min-height: 22px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    font-weight: 700;
}

.quote-status[data-type="success"] {
    color: #78f0a5;
}

.quote-status[data-type="error"] {
    color: #ff7a73;
}

.quote-status[data-type="loading"] {
    color: var(--lo-gold);
}

.estimate-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 520px);
    margin-bottom: 20px;
    padding: 17px 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #ff201a, #c20604);
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 900;
}

.estimate-banner strong,
.quote-value strong {
    color: var(--lo-gold);
}

.btn-muted {
    min-width: 315px;
    max-width: 100%;
    padding: 0.7rem 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.btn-muted:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.quote-card {
    max-width: 520px;
    padding: 26px 34px 28px;
    border: 1px solid var(--lo-border);
    border-radius: 8px;
    background: var(--lo-panel);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.38);
}

.quote-number {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    text-align: center;
    font-size: 1.32rem;
    font-weight: 800;
}

.quote-value {
    margin-bottom: 20px;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.quote-card .btn {
    padding: 0.8rem 1rem;
    font-size: 1.18rem;
}

.before-after-section {
    display: block;
    clear: both;
    padding: 24px 0 58px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: auto;
    overflow: visible;
}

.before-after-section h2 span {
    color: var(--lo-red);
}

.gallery-services {
    margin-bottom: 28px;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.gallery-grid {
    display: flex;
    visibility: visible;
}

.work-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #1c1a1c;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}

.work-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.94);
}

.work-card .badge {
    position: absolute;
    top: 18px;
    left: 0;
    z-index: 1;
    padding: 8px 14px;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-size: 1.02rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.badge-before {
    background: #d60905;
}

.badge-after {
    background: #076a33;
}

.contact-section {
    padding: 70px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--lo-muted);
    font-size: 1.15rem;
}

.site-footer {
    padding: 22px 0;
    color: rgba(255, 255, 255, 0.74);
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 86px;
    }

    .navbar-collapse {
        margin-top: 18px;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        background: rgba(8, 8, 8, 0.95);
    }

    .brand-lockup {
        grid-template-columns: 48px auto;
    }

    .brand-icon {
        width: 48px;
        height: 48px;
        transform: scale(0.78);
        transform-origin: left bottom;
    }

    .brand-subtitle::before,
    .brand-subtitle::after {
        width: 22px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-bg {
        background:
            linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.78) 100%),
            linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, rgba(5, 5, 5, 0.98) 100%),
            url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1200&q=85") center right / cover no-repeat;
    }

    .hero-content {
        padding-top: 112px;
        padding-bottom: 54px;
    }

    .hero-content .min-vh-100 {
        min-height: auto !important;
    }

    .hero-points {
        margin-bottom: 34px;
    }

    .quote-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-actions {
        justify-content: stretch;
    }

    .quote-actions .btn {
        flex: 1 1 180px;
    }
}

@media (max-width: 575.98px) {
    .site-header {
        position: absolute;
    }

    .navbar {
        min-height: 78px;
    }

    .brand-title {
        font-size: 1.76rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .brand-subtitle::before,
    .brand-subtitle::after {
        width: 15px;
    }

    .hero-section h1 {
        font-size: 2.55rem;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .services-list,
    .gallery-services {
        gap: 10px 12px;
    }

    .estimate-banner,
    .btn-muted {
        width: 100%;
        min-width: 0;
    }

    .quote-card {
        padding: 22px 20px;
    }

    .budget-panel,
    .quote-summary {
        padding: 20px;
    }

    .quote-service-table {
        min-width: 700px;
    }

    .quote-actions .btn {
        width: 100%;
        flex-basis: 100%;
    }
}
