/* Identidade visual e telas responsivas da Weia Pintura. */
* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f7f6f2;
    color: #242521;
    font: 16px/1.5 system-ui, -apple-system, Segoe UI, sans-serif
}

header {
    background: #171816;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff
}

a {
    color: #715718;
    text-underline-offset: 3px
}

.brand img {
    width: 170px;
    display: block
}

.header-label {
    color: #cdb778
}

nav {
    margin-left: auto;
    display: flex;
    gap: 12px;
    align-items: center
}

nav button {
    padding: 8px 18px
}

.demo {
    background: #efe4c2;
    text-align: center;
    font-size: 13px;
    padding: 8px 15px;
    color: #5f4b13
}

main {
    max-width: 1220px;
    margin: auto;
    padding: 36px 24px 70px
}

.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 35px 0 50px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 750;
    color: #7b6327
}

h1 {
    font-size: clamp(32px, 4.1vw, 52px);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -.04em;
    margin: 10px 0 22px
}

h2 {
    font-size: 23px;
    margin-top: 0
}

h3 {
    font-size: 18px
}

.hero p {
    max-width: 570px
}

.fee-line {
    display: inline-block;
    border-bottom: 2px solid #b99a4a;
    padding-bottom: 10px
}

.fee-line strong {
    font-size: 24px;
    margin-left: 12px
}

.steps {
    padding: 0;
    list-style: none
}

.steps li {
    padding: 20px 0;
    border-bottom: 1px solid #dcd8ca;
    display: grid;
    gap: 4px
}

.steps span,
small {
    color: #64665c
}

.panel,
.order {
    background: #fff;
    border: 1px solid #dedfd4;
    border-radius: 13px;
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px #12120003
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 550;
    margin: 12px 0
}

input,
select,
textarea {
    font: inherit;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #bfc1b3;
    border-radius: 7px;
    background: #fff;
    color: #222
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #aa8e46;
    outline-offset: 1px
}

button,
.button {
    font: 600 14px system-ui;
    border: 1px solid transparent;
    background: #242b20;
    color: #fff;
    padding: 12px 20px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none
}

button:hover,
.button:hover {
    filter: brightness(1.18)
}

button:disabled {
    opacity: .5;
    cursor: wait
}

.secondary {
    background: #f4f3ee;
    border-color: #d5d5c7;
    color: #303728
}

.danger {
    background: #9a4336
}

.inline,
.actions {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px
}

.inline label {
    margin: 0
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400
}

.check input {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 3px
}

.section-head,
.order-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center
}

.section-head {
    margin: 25px 0
}

.section-head h1 {
    font-size: 36px
}

.badge {
    border-radius: 25px;
    background: #ebeee5;
    color: #485b33;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 650
}

.meta {
    color: #666;
    font-size: 14px
}

.protocol {
    overflow-wrap: anywhere;
    font-size: 13px
}

.order h2 {
    margin-bottom: 5px
}

summary {
    cursor: pointer;
    font-weight: 650;
    font-size: 18px
}

.sub {
    background: #f8f8f3;
    border-radius: 9px;
    padding: 20px;
    margin-top: 22px
}

.sub h3 {
    margin-top: 0
}

.notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #e6efdf;
    border-left: 4px solid #556b42
}

.notice.error {
    background: #f8e8e2;
    border-color: #a35546
}

dialog {
    border: 1px solid #ddd;
    border-radius: 14px;
    max-width: 800px;
    width: 90%;
    padding: 28px
}

dialog::backdrop {
    background: #1119
}

pre {
    white-space: pre-wrap;
    font: 15px/1.6 system-ui;
    max-height: 60vh;
    overflow: auto
}

canvas {
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 8px;
    background: #fff;
    touch-action: none
}

small {
    display: block;
    margin-top: 10px
}

.empty {
    padding: 40px;
    text-align: center;
    color: #666
}

footer {
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 26px;
    color: #676a60;
    font-size: 13px
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 10px 0
}

.history {
    font-size: 13px;
    color: #65695c
}

#notice:empty {
    display: none
}

[hidden] {
    display: none !important
}

@media(max-width:800px) {

    .hero,
    .two {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .hero {
        padding-top: 10px
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .header-label {
        display: none
    }

    header {
        padding: 15px
    }

    .brand img {
        width: 135px
    }

    main {
        padding: 22px 15px
    }

    .panel,
    .order {
        padding: 19px
    }

    .order-head {
        align-items: flex-start
    }

    .actions button {
        flex: 1
    }
}

@media(max-width:500px) {
    .grid {
        grid-template-columns: 1fr
    }

    nav span {
        display: none
    }

    .hero h1 {
        font-size: 37px
    }

    .payment-row {
        flex-wrap: wrap
    }
}

/* Página pública de agendamento e área por ID da OV. */
header { padding: 0; }
.top { max-width: 1220px; margin: auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 17px; }
.top nav a, .link-button { font: 600 14px system-ui; color: #eee; text-decoration: none; background: transparent; border: 0; padding: 7px 0; cursor: pointer; }
.link-button:hover, .top nav a:hover { color: #e0b354; }
.hero { display: block; background: linear-gradient(120deg,#171816 0%,#28291f 72%,#363223 100%); color: #fff; margin: 0 calc(50% - 50vw); padding: 70px max(24px,calc((100vw - 1220px)/2 + 24px)); }
.hero-grid { max-width: 1220px; margin: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(34px,5vw,58px); line-height: 1.08; margin: 10px 0 20px; }
.hero-card { border: 1px solid #766535; background: #ffffff0c; border-radius: 16px; padding: 30px; font-size: 18px; }
.hero-card strong { display: block; color: #e0b354; font-size: 22px; margin-bottom: 18px; }
.section { padding: 58px 0; }
.section.alt { margin: 0 calc(50% - 50vw); padding-left: max(24px,calc((100vw - 1220px)/2 + 24px)); padding-right: max(24px,calc((100vw - 1220px)/2 + 24px)); background: #ece9df; }
.section h2 { font-size: 32px; margin: 0 0 10px; }.section-lead { max-width: 760px; color: #616259; }
.cards { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }.cards article { background: #fff; border: 1px solid #dedfd4; border-radius: 13px; padding: 20px; }.cards h3 { margin: 0 0 8px; }.cards p { font-size: 14px; color: #666; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 16px; max-width: 1000px; background: #fff; border: 1px solid #dedfd4; padding: 28px; border-radius: 13px; }.form-grid label { display: grid; gap: 6px; margin: 12px 0; }.full { grid-column: 1/-1; }.subtitle { font-weight: 750; border-bottom: 1px solid #dedfd4; padding-bottom: 8px; margin-top: 8px; }.input-action { display: flex; gap: 8px; }.input-action input { min-width: 0; }.btn { font: 600 14px system-ui; border: 1px solid transparent; background: #242b20; color: #fff; padding: 11px 18px; border-radius: 7px; cursor: pointer; display: inline-block; text-decoration: none; }.btn.primary { background: #715718; }.btn.secondary { background: #f4f3ee; border-color: #d5d5c7; color: #303728; }.btn.danger { background:#9a4336; }.btn.small { white-space: nowrap; padding: 8px 11px; }.consent { display:flex!important; align-items:flex-start; gap:10px; font-weight:400!important; }.consent input { width:18px; height:18px; flex:none; margin-top:3px; }.inline-form { display:flex; max-width:650px; gap:10px; }.access-note { font-size:13px; color:#676a60; max-width:650px; }.order-code { overflow-wrap:anywhere; font-size:20px; font-weight:700; padding:12px; background:#f4f1e4; border-radius:7px; }
@media(max-width:800px){.hero-grid{grid-template-columns:1fr;gap:25px}.cards{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr 1fr}.top nav a{display:none}.top{padding:14px 16px}.hero{padding:48px 24px}.section.alt{padding-left:16px;padding-right:16px}}@media(max-width:500px){.form-grid,.cards{grid-template-columns:1fr}.inline-form{flex-direction:column}.top{gap:10px}.top nav{gap:10px}.link-button{font-size:12px}.hero h1{font-size:37px}}
