/* Página de Orçamento Online: usa os tokens de style.css */

.page-hero { position: relative; background: var(--gradiente); color: var(--branco); overflow: hidden; isolation: isolate; }
.page-hero__in { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: 14px; max-width: 760px; margin-inline: 0; }
.page-hero h1 { color: var(--branco); font-size: clamp(32px, 4.6vw, 52px); }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.86); }
.page-hero .wrap { margin-inline: auto; max-width: var(--maxw); }
.page-hero .page-hero__in > * { max-width: 700px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); font-family: var(--f-titulo); }
.crumbs a { color: var(--menta); text-decoration: none; }

.orc { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='168' height='194' viewBox='0 0 168 194'%3E%3Cg fill='none' stroke='%232D8BEA' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M84 0 L168 48.5 L168 145.5 L84 194 L0 145.5 L0 48.5 Z'/%3E%3C/g%3E%3Cg fill='%232D8BEA' fill-opacity='.16'%3E%3Ccircle cx='84' cy='0' r='4'/%3E%3Ccircle cx='168' cy='48.5' r='4'/%3E%3Ccircle cx='168' cy='145.5' r='4'/%3E%3Ccircle cx='84' cy='194' r='4'/%3E%3Ccircle cx='0' cy='145.5' r='4'/%3E%3Ccircle cx='0' cy='48.5' r='4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 168px 194px, var(--n-50); padding-top: clamp(32px, 5vw, 56px); }
.orc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .orc__grid { grid-template-columns: 1fr; } }

.orc__form { background: var(--branco); border: 1px solid var(--n-100); border-radius: 18px; padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 18px 44px rgba(33,28,86,.07); min-width: 0; }

/* Etapas */
.stepper { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 8px; font-family: var(--f-titulo); font-size: 13.5px; font-weight: 500; color: var(--n-600); padding-top: 10px; border-top: 3px solid var(--n-100); transition: border-color .3s, color .3s; min-width: 0; }
.stepper li span { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--n-100); color: var(--indigo); transition: background .3s, color .3s; }
.stepper li.is-active { border-color: var(--verde); color: var(--indigo); font-weight: 600; }
.stepper li.is-active span { background: var(--verde); color: var(--branco); }
.stepper li.is-done { border-color: var(--menta); }
.stepper li.is-done span { background: var(--menta); color: var(--indigo); }
@media (max-width: 600px) { .stepper li { font-size: 0; gap: 0; } .stepper li span { font-size: 12px; } .stepper li.is-active { font-size: 13px; gap: 8px; } }

.ostep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.ostep[hidden] { display: none !important; }
.ostep legend { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); color: var(--indigo); padding: 0; margin-bottom: 22px; }

/* Tipos de equipamento */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .types { grid-template-columns: repeat(2, 1fr); } }
.type { position: relative; cursor: pointer; }
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type span { height: 100%; display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; padding: 18px 10px; border: 1.5px solid var(--n-100); border-radius: 12px; font-family: var(--f-titulo); font-size: 14px; font-weight: 600; color: var(--indigo); line-height: 1.25; transition: border-color .2s, background .2s, box-shadow .2s; }
.type svg { width: 32px; height: 32px; }
.type:hover span { border-color: var(--n-300); }
.type input:checked + span { border-color: var(--verde); background: rgba(0,104,55,.06); box-shadow: inset 0 0 0 1px var(--verde); }
.type input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--n-300); font-size: 15px; transition: .2s; }
.chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: var(--branco); }
.chip input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }

.radios { display: grid; gap: 8px; }
.radios--inline { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 14px; border: 1.5px solid var(--n-100); border-radius: 10px; font-size: 15.5px; transition: border-color .2s, background .2s; }
.radio input { accent-color: var(--verde); width: 18px; height: 18px; margin: 0; flex: none; }
.radio:has(input:checked) { border-color: var(--verde); background: rgba(0,104,55,.05); }

.drop { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 24px 18px; border: 2px dashed var(--n-300); border-radius: 14px; cursor: pointer; background: var(--n-50); transition: border-color .2s, background .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 34px; height: 34px; color: var(--verde); }
.drop strong { font-family: var(--f-titulo); font-size: 15.5px; color: var(--indigo); }
.drop span { font-size: 14.5px; color: var(--n-600); max-width: 420px; }
.drop.is-over { border-color: var(--verde); background: rgba(0,104,55,.05); }
.thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs li { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--n-100); background: var(--n-50); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(22,18,61,.8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.thumbs button svg { width: 15px; height: 15px; }


.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--n-100); margin-top: 4px; padding-top: 22px; }
.step__nav--final { flex-wrap: wrap; }
.send { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--ghost-dark { --bg: transparent; --fg: var(--verde); border-color: var(--verde); }
.btn--ghost-dark:hover { background: rgba(0,104,55,.06); }
.btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 600px) {
  .step__nav { flex-direction: column-reverse; align-items: stretch; }
  .step__nav > span:empty { display: none; }
  .step__nav .btn, .send, .send .btn { width: 100%; }
}

/* Revisão */
.review { margin: 0; display: grid; grid-template-columns: 170px 1fr; border: 1px solid var(--n-100); border-radius: 12px; overflow: hidden; }
.review dt, .review dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--n-100); font-size: 15.5px; }
.review dt { font-family: var(--f-titulo); font-weight: 600; color: var(--indigo); background: var(--n-50); font-size: 14px; }
.review dd { overflow-wrap: anywhere; }
.review dt:nth-last-of-type(1), .review dd:last-of-type { border-bottom: 0; }
.review .edit { background: none; border: 0; color: var(--verde); font: inherit; font-family: var(--f-titulo); font-weight: 600; font-size: 13px; cursor: pointer; padding: 0; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .review { grid-template-columns: 1fr; } .review dt { border-bottom: 0; padding-bottom: 4px; } .review dd { padding-top: 0; background: var(--n-50); } }
.promise { display: flex; gap: 10px; align-items: center; font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--indigo); background: rgba(93,238,193,.18); border: 1px solid rgba(0,104,55,.2); border-radius: 10px; padding: 12px 14px; margin: 0; }
.promise svg { width: 20px; height: 20px; flex: none; color: var(--verde); }

/* Sucesso */
.done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 24px 0 8px; outline: none; }
.done[hidden] { display: none !important; }
.done__ic { width: 72px; height: 72px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; }
.done__ic svg { width: 36px; height: 36px; }
.done h2 { font-size: clamp(24px, 3vw, 32px); }
.done p { color: var(--n-600); max-width: 520px; }
.done__demo { background: #FFF8E1; border: 1px solid #F3DC8B; color: #6B5300 !important; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
.done__ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* Lateral */
.orc__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 960px) { .orc__aside { position: static; } }
.aside-box { background: var(--indigo); color: var(--branco); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.aside-box h2 { color: var(--branco); font-size: 19px; }
.aside-link { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; font-size: 15px; line-height: 1.4; }
.aside-link svg { width: 22px; height: 22px; flex: none; color: var(--menta); margin-top: 2px; }
.aside-link b { display: block; font-family: var(--f-titulo); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
a.aside-link:hover span { color: var(--menta); }
.aside-box--soft { background: var(--branco); color: var(--texto); border: 1px solid var(--n-100); }
.aside-box--soft h2 { color: var(--indigo); }
.mini-steps { margin: 0; padding: 0 0 0 22px; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--n-600); }
.mini-steps b { color: var(--indigo); }
.mini-steps li::marker { color: var(--verde); font-family: var(--f-titulo); font-weight: 700; }

[hidden] { display: none !important; }

/* Política de Privacidade */
.legal { background: var(--branco); }
.legal__in { max-width: 780px; display: grid; gap: 14px; }
.legal__in h2 { font-size: 22px; margin-top: 18px; }
.legal__in p, .legal__in li { font-size: 17px; line-height: 1.7; color: #3A3766; }
.legal__in ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal__in a { color: var(--verde); }
.legal .tbd, .page-hero .tbd { font-style: normal; }
.legal .tbd { background: rgba(124,219,2,.18); color: #3d6b00; }

/* 404 */
.page-hero--404 .page-hero__in { padding-block: clamp(72px, 12vw, 160px); }
.e404__code { font-family: var(--f-titulo); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--menta) !important; font-size: 15px !important; }
.e404__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
