/* =========================================================
   RENOSTTER — HOME "ETIQUETA"
   A pagina e a papelaria da Renostter: a etiqueta colada em
   todo aparelho instalado, a tabela de precos, o laudo, a
   ficha de agendamento e o verso do cartao.
   Carrega depois de styles.css e sobrescreve o que a home usa.
   ========================================================= */

:root {
    --ground: #0E1216;
    --ground-2: #1C232B;
    --paper: #F2F4F5;
    --paper-2: #E2E7EA;
    --ink: #0E1216;
    --ink-soft: #46525C;
    --light: #F2F4F5;
    --light-soft: #B9C3CB;
    --cold: #00AEEF;
    --accent: #FF6B00;

    --f-display: 'Besley', Georgia, serif;
    --f-text: 'Libre Franklin', system-ui, sans-serif;

    --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --step-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
    --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
    --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
    --step-display: clamp(5.5rem, 2rem + 10vw, 10.5rem);

    --gutter: clamp(16px, 3vw, 32px);
    --gap-section: clamp(88px, 6vw + 48px, 176px);
    --nav-h: 72px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
html { scroll-padding-top: var(--nav-h); }

body {
    font-family: var(--f-text);
    font-size: var(--step-body);
    line-height: 1.5;
    color: var(--light);
    background: var(--ground);
}

body :where(button, input, select, textarea) { font: inherit; }

[class^="chat-"], [class*=" chat-"], .cwp-text, .pwa-install-banner, .calcom-modal, .calcom-thankyou {
    font-family: var(--f-text);
}

/* os atributos width/height das fotos viram altura fixa; aqui so a proporcao vale */
:where(.os-section, .os-footer) img { height: auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.os-wrap {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.os-section { padding-block: calc(var(--gap-section) / 2); }

.os-h2 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-head);
    line-height: 0.98;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.os-h2, .os-h3, .os-sheet__name, .os-folder__tab, .os-back__sign { color: inherit; }
.os-sheet__name { color: var(--ink); }

.os-h3 {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-lead);
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.os-note { color: var(--light-soft); max-width: 46ch; }

:focus-visible { outline: 3px solid var(--cold); outline-offset: 3px; }

/* ---------- botoes e links ---------- */
.os-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    font-family: var(--f-text);
    font-weight: 600;
    font-size: var(--step-body);
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s var(--ease-out), background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.os-btn:active { transform: translateY(1px) scale(0.98); }
.os-btn--accent { background: var(--accent); color: var(--ink); }
.os-btn--accent:hover { background: #FF8126; }
.os-btn--ink { background: var(--ink); color: var(--paper); }
.os-btn--ink:hover { background: #26303A; }
.os-btn--ghost { background: transparent; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.os-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.os-btn--block { width: 100%; }
.os-btn:disabled { opacity: 0.55; cursor: progress; }

.os-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.18s, color 0.18s;
}
.os-link:hover { text-decoration-color: var(--accent); }
.os-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }

/* ---------- navegacao ---------- */
.navbar.os-nav {
    position: sticky;
    top: 0;
    padding: 0;
    background: var(--ground);
    border: 0;
    box-shadow: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    backdrop-filter: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    -webkit-backdrop-filter: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.navbar.os-nav.scrolled { padding: 0; background: var(--ground); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-nav .nav-inner { min-height: var(--nav-h); gap: 24px; }
/* logo.png tem muita margem transparente: a moldura mostra so a marca */
.os-logo { display: block; width: 210px; height: 40px; overflow: hidden; flex: none; }
.os-logo img { width: 250px; max-width: none; height: auto; margin: -47px 0 0 -18px; }
.os-nav .nav-links { gap: 4px; }
.os-nav .nav-links a {
    color: var(--light);
    font-size: var(--step-small);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 0;
}
.os-nav .nav-links a:not(.btn-nav):hover { background: var(--ground-2); color: var(--light); }
.os-nav .nav-links a.active-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.os-nav .nav-links a.btn-nav {
    background: var(--accent);
    color: var(--ink) !important;
    font-weight: 600;
    font-size: var(--step-small);
    min-height: 44px;
    padding: 0 18px;
    margin-left: 8px;
    box-shadow: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-nav .nav-links a.btn-nav:hover { background: #FF8126; color: var(--ink); transform: none; }

@media (max-width: 1080px) {
    .os-nav .nav-links {
        display: none;
        position: fixed;
        inset: var(--nav-h) 0 0 0;
        background: var(--ground);
        backdrop-filter: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        padding: 24px var(--gutter);
        z-index: 999;
    }
    .os-nav .nav-links.active { display: flex; }
    .os-nav .nav-links a { font-size: var(--step-lead); padding: 12px 0; }
    .os-nav .nav-links a.btn-nav { margin: 16px 0 0; padding: 0 20px; font-size: var(--step-body); }
    .os-nav .hamburger { display: flex; padding: 10px; }
}

/* ---------- 1. hero: a etiqueta sobre o ambiente ---------- */
.os-hero {
    position: relative;
    min-height: calc(100svh - var(--nav-h));
    display: grid;
    align-items: center;
    padding-block: 48px;
    overflow: hidden;
    isolation: isolate;
}
.os-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    z-index: -1;
}
.os-hero__stage { display: grid; justify-items: center; }

.os-label {
    width: min(820px, 100%);
    background: var(--paper);
    color: var(--ink);
    padding: clamp(24px, 3vw, 40px);
}
.os-label__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: var(--step-small);
    padding-bottom: 20px;
}
.os-label__head img { height: 30px; width: auto; filter: brightness(0.12); }
.os-label__title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-head);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.os-label__lead {
    margin-top: 20px;
    max-width: 52ch;
    font-size: var(--step-body);
}
.os-label__plate {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
    font-size: var(--step-small);
}
.os-label__plate th,
.os-label__plate td {
    text-align: left;
    vertical-align: baseline;
    padding: 9px 0;
    border-bottom: 3px dotted rgba(14, 18, 22, 0.28);
}
.os-label__plate th { width: 28%; padding-right: 16px; font-weight: 600; }
.os-label__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 28px;
}

/* ---------- 2. numeros: o total e a ficha ---------- */
.os-stats { background: var(--cold); color: var(--ink); }
.os-stats__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: stretch;
}
.os-stats__left { display: flex; flex-direction: column; }
.os-stats .os-note { color: var(--ink); margin-top: 16px; }
.os-total {
    margin-top: auto;
    padding-top: 48px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-display);
    line-height: 0.82;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}
.os-total__cap { margin-top: 14px; font-weight: 600; }

.os-slip {
    background: var(--paper);
    color: var(--ink);
    padding: 28px 28px 52px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px));
}
.os-slip__table { width: 100%; border-collapse: collapse; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.os-slip__table th, .os-slip__table td { padding: 8px 0; text-align: left; font-weight: 400; vertical-align: baseline; }
.os-slip__table td { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.os-slip__table tr:not(.os-slip__group):not(.os-slip__total) th { border-bottom: 3px dotted rgba(14, 18, 22, 0.25); }
.os-slip__table tr:not(.os-slip__group):not(.os-slip__total) td { border-bottom: 3px dotted rgba(14, 18, 22, 0.25); }
.os-slip__group th { padding-top: 20px; font-weight: 600; font-size: var(--step-body); }
.os-slip__group:first-child th { padding-top: 0; }
.os-slip__total th, .os-slip__total td { background: var(--ink); color: var(--paper); padding: 12px; font-weight: 600; }

/* ---------- 3. servicos: a tabela de precos ---------- */
.os-menu__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}
.os-sheet {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(40px, 4vw, 64px) clamp(20px, 4vw, 56px);
    -webkit-mask: radial-gradient(circle 10px at 50% 0, transparent 9px, #000 10px) top / 28px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  radial-gradient(circle 10px at 50% 100%, transparent 9px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
            mask: radial-gradient(circle 10px at 50% 0, transparent 9px, #000 10px) top / 28px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  radial-gradient(circle 10px at 50% 100%, transparent 9px, #000 10px) bottom / 28px 51% repeat-x; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-sheet__title { text-align: center; margin-bottom: 36px; }
.os-sheet__group + .os-sheet__group { margin-top: 40px; }
.os-sheet__name {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-lead);
    margin-bottom: 12px;
}
.os-items { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.os-item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    column-gap: 14px;
    align-items: baseline;
}
.os-item::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
    width: 10px;
    height: 10px;
    background: var(--cold);
    transform: translateY(-1px);
}
.os-item strong { grid-column: 2; font-weight: 600; }
.os-item p { grid-column: 2; color: var(--ink-soft); font-size: var(--step-small); max-width: 52ch; margin-top: 2px; }
.os-item--mark::before { background: var(--accent); }
.os-sheet__brands { margin-top: 40px; font-size: var(--step-small); color: var(--ink-soft); text-align: center; }

.os-menu__photo { position: sticky; top: calc(var(--nav-h) + 24px); }
.os-menu__photo img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
.os-menu__photo figcaption { margin-top: 12px; color: var(--light-soft); font-size: var(--step-small); }

.os-paint {
    margin-top: clamp(48px, 6vw, 96px);
    background: var(--cold);
    color: var(--ink);
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(28px, 4vw, 56px);
    align-items: center;
}
.os-paint__text p { margin: 14px 0 24px; max-width: 52ch; }
.os-paint__chips { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.os-paint__chips li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--paper);
    padding: 10px 12px;
    font-weight: 600;
    font-size: var(--step-small);
}
.os-paint__chips li::before { content: ""; width: 36px; height: 36px; flex: none; background: var(--c); }

/* ---------- 4. laudo: as tiras ao pe da foto ---------- */
.os-output {
    position: relative;
    min-height: 96svh;
    padding-block: 0;
    margin-block: calc(var(--gap-section) / 2);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
}
.os-output__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.62);
    z-index: -1;
}
.os-output__text {
    margin: clamp(48px, 8vh, 96px) 0 0 max(var(--gutter), 12%);
    width: min(640px, calc(100% - 2 * var(--gutter)));
    background: rgba(8, 10, 12, 0.72);
    padding: clamp(20px, 3vw, 36px);
    color: var(--light);
}
.os-output__text p { font-size: var(--step-lead); line-height: 1.32; margin-top: 16px; }
.os-output__slips {
    list-style: none;
    margin-top: auto;
    padding: 64px var(--gutter) 0;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.os-slip-out {
    flex: 1 1 0;
    min-width: 0;
    background: var(--paper);
    color: var(--ink);
    padding: 20px 18px 28px;
    font-size: var(--step-small);
    line-height: 1.6;
    transform-origin: bottom center;
}
.os-slip-out strong { display: block; font-size: var(--step-body); }
.os-slip-out span { display: block; color: var(--ink-soft); letter-spacing: 0.1em; overflow: hidden; white-space: nowrap; }
.os-slip-out:nth-child(1) { min-height: 38svh; }
.os-slip-out:nth-child(2) { min-height: 30svh; transform: rotate(-1.5deg); }
.os-slip-out:nth-child(3) { min-height: 42svh; }
.os-slip-out:nth-child(4) { min-height: 28svh; transform: rotate(1.2deg); }
.os-slip-out:nth-child(5) { min-height: 36svh; }
.os-slip-out:nth-child(6) { min-height: 32svh; transform: rotate(-1deg); }

/* ---------- 5. trabalhos: pastas empilhadas ---------- */
.os-work__title { margin-bottom: 16px; }
/* vídeo das equipes em campo, atrás do título de "Trabalhos feitos" */
.os-work__reel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(360px, 66svh, 640px);
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
    background: var(--ground-2) url("assets/video/trabalhos-renostter-poster.jpg") center / cover no-repeat;
}
.os-work__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: -2;
}
.os-work__reel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(14, 18, 22, 0.92) 0%, rgba(14, 18, 22, 0.55) 45%, rgba(14, 18, 22, 0.15) 100%);
}
.os-work__head { padding-block: 40px; }
.os-work__head .os-work__title { color: var(--light); }
.os-work__lead { color: var(--light); max-width: 52ch; font-size: var(--step-lead); line-height: 1.35; }

.os-folders { position: relative; }
.os-folder {
    --fg: var(--ink);
    --i: 0;
    position: relative;
    background: var(--band);
    color: var(--fg);
}
.os-folder:nth-child(2) { --i: 1; }
.os-folder:nth-child(3) { --i: 2; }
.os-folder:nth-child(4) { --i: 3; --fg: var(--light); }
@media (min-width: 961px) and (min-height: 700px) {
    /* Cada pasta para 64px abaixo da anterior e mede o que falta da tela:
       assim todas encostam no fim do bloco juntas e a pilha sai inteira,
       sem a ultima pasta subir por cima das abas das outras. */
    .os-folder {
        position: sticky;
        top: calc(var(--nav-h) + var(--i) * 64px);
        height: calc(100svh - var(--nav-h) - var(--i) * 64px);
        overflow: hidden;
    }
    .os-folder__body img { max-height: calc(100svh - var(--nav-h) - var(--i) * 64px - 150px); }
}
.os-folder__strip {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}
.os-folder__tab {
    align-self: stretch;
    display: flex;
    align-items: center;
    background: var(--tab);
    color: var(--ink);
    padding: 8px 40px 0 20px;
    margin-top: -1px;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-lead);
    clip-path: polygon(0 100%, 0 14px, 14px 0, calc(100% - 30px) 0, 100% 100%);
}
.os-folder__cat { font-size: var(--step-small); font-weight: 600; padding-bottom: 18px; }
.os-folder__body {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(24px, 4vw, 64px);
    padding-top: 16px;
    padding-bottom: 56px;
    align-items: start;
}
.os-folder__body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }
.os-folder:nth-child(4) .os-folder__body img { object-position: center 12%; }
.os-folder__text p { margin-bottom: 20px; max-width: 46ch; }

.os-videos { padding-top: calc(var(--gap-section) / 1.5); }
.os-videos .os-note { margin: 12px 0 32px; }
.os-videos .yc3-swiper .yc3-prev,
.os-videos .yc3-swiper .yc3-next {
    border-radius: 0;
    backdrop-filter: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    -webkit-backdrop-filter: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    border: 0;
    background: var(--paper);
    color: var(--ink);
}
.os-videos [class*="yc3-"] { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; } /* taste-skill-ignore: neutraliza cartoes legados */
.os-videos .yc3-info { background: var(--ground-2); padding: 16px; }
.os-videos .yc3-title { font-family: var(--f-text); font-size: var(--step-body); color: var(--light); }
.os-videos .yc3-date, .os-videos .yc3-yt-link { font-size: var(--step-small); color: var(--light-soft); }
.os-videos .yc3-swiper .yc3-prev::after,
.os-videos .yc3-swiper .yc3-next::after { color: var(--ink); }

/* ---------- 6. compromisso: a carta ---------- */
.os-letter-sec .os-wrap { display: grid; justify-items: center; }
.os-letter {
    width: min(680px, 100%);
    background: var(--paper);
    color: var(--ink);
    padding: clamp(28px, 5vw, 60px) clamp(24px, 5vw, 60px) clamp(40px, 5vw, 72px);
    -webkit-mask: radial-gradient(circle 9px at 50% 100%, transparent 8px, #000 9px) bottom / 24px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  linear-gradient(#000, #000) top / 100% 50% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
            mask: radial-gradient(circle 9px at 50% 100%, transparent 8px, #000 9px) bottom / 24px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  linear-gradient(#000, #000) top / 100% 50% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-letter__mark { margin-bottom: 28px; }
.os-letter__mark img { filter: brightness(0.12); }
.os-letter .os-h2 { margin-bottom: 24px; }
.os-letter p + p { margin-top: 1.1em; }
.os-letter mark { background: var(--cold); color: var(--ink); padding: 0 4px; }
.os-letter__sign { margin-top: 32px !important; font-style: italic; font-size: var(--step-lead); }
.os-letter__sign span { display: block; font-style: normal; font-size: var(--step-small); color: var(--ink-soft); margin-top: 4px; }
.os-letter__stub {
    width: min(680px, 100%);
    margin-top: 10px;
    background: var(--paper);
    color: var(--ink);
    padding: 18px clamp(24px, 5vw, 60px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    font-weight: 600;
}

/* ---------- 7. cobertura: o cupom ---------- */
.os-coupon {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    background: var(--cold);
    color: var(--ink);
    -webkit-mask: radial-gradient(circle 16px at 46% 0, transparent 15px, #000 16px) top / 100% 51% no-repeat, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  radial-gradient(circle 16px at 46% 100%, transparent 15px, #000 16px) bottom / 100% 51% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
            mask: radial-gradient(circle 16px at 46% 0, transparent 15px, #000 16px) top / 100% 51% no-repeat, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  radial-gradient(circle 16px at 46% 100%, transparent 15px, #000 16px) bottom / 100% 51% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-coupon__left {
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.os-coupon__left p { max-width: 40ch; }
.os-coupon__right {
    padding: clamp(28px, 4vw, 48px);
    border-left: 6px dotted var(--ground);
    display: grid;
    gap: 10px;
    align-content: center;
}
.os-field {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    padding: 0 16px;
    font-size: var(--step-body);
}
.os-field::placeholder { color: #24414F; }
.os-cover .cep-result { min-height: 1.5em; font-weight: 600; }
.os-cover .cep-result a { color: inherit; text-decoration: underline; }
.os-cover .cep-result.ok, .os-cover .cep-result.fail { background: var(--paper); color: var(--ink); padding: 12px 14px; border: 0; border-radius: 0; }

.os-cover__map {
    margin-top: 32px;
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
#mapa-leaflet { height: 440px; width: 100%; border-radius: 0; background: var(--ground-2); z-index: 0; }
.os-cover__base { display: grid; gap: 10px; justify-items: start; }
.os-cover__base address { font-style: normal; font-size: var(--step-lead); line-height: 1.3; }
.os-cover__base p { color: var(--light-soft); }
.os-pin {
    background: var(--accent);
    color: var(--ink);
    font: 600 13px/1 var(--f-text);
    padding: 7px 10px;
    white-space: nowrap;
    display: inline-block;
}
.os-pin--ok { background: #4ADE80; }
.os-pin--no { background: #F8A3A3; }

/* ---------- 8. agendamento: a ficha ---------- */
.os-book__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}
.os-book__intro p { margin: 16px 0 28px; max-width: 42ch; }
.os-book__intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.os-form { background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 48px); }

.os-form .steps-bar {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 32px;
    padding: 0;
}
.os-form .step { display: block; flex: none; text-align: left; opacity: 1; }
.os-form .step span { display: none; }
.os-form .step p {
    display: block;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding-top: 10px;
    font-size: var(--step-small);
    font-weight: 600;
    color: var(--ink-soft);
}
.os-form .step p::before { content: ""; display: block; height: 6px; margin: -10px 0 10px; background: var(--paper-2); }
.os-form .step.done p { color: var(--ink); }
.os-form .step.done p::before { background: var(--ink); }
.os-form .step.active p { color: var(--ink); }
.os-form .step.active p::before { background: var(--accent); }
.os-form .step-line { display: none; }

.os-form .step-title {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: var(--step-lead);
    color: var(--ink);
    text-align: left;
    margin-bottom: 20px;
}
.os-form .servico-select-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.os-form .servico-opt-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--paper-2);
    color: var(--ink);
    border: 0;
    border-radius: 0;
    padding: 14px 16px;
    text-align: left;
    box-shadow: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    transition: background-color 0.18s, color 0.18s, transform 0.18s var(--ease-out);
}
.os-form .servico-opt-card:hover { background: #D3DADF; transform: none; box-shadow: none; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-form .servico-opt-card span:not(.soc-icon) { color: inherit; font-weight: 600; font-size: var(--step-body); }
.os-form .servico-opt-card small { color: inherit; opacity: 0.75; font-size: var(--step-small); }
.os-form .servico-opt-card.selected,
.os-form .servico-option input:checked + .servico-opt-card { background: var(--ink); color: var(--paper); box-shadow: none; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-form .servico-option input:focus-visible + .servico-opt-card { outline: 3px solid var(--cold); outline-offset: 2px; }

.os-form .datetime-grid,
.os-form .dados-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.os-form .field-group label { color: var(--ink); font-weight: 600; font-size: var(--step-small); margin-bottom: 6px; display: block; }
.os-form .field-input {
    background: var(--paper-2);
    color: var(--ink);
    border: 0;
    border-radius: 0;
    min-height: 52px;
    padding: 12px 14px;
    font-size: var(--step-body);
    box-shadow: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-form .field-input:focus { outline: 3px solid var(--cold); outline-offset: 0; box-shadow: none; background: #fff; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-form .step-nav,
.os-form .confirm-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 28px; }
.os-form .btn-next,
.os-form .btn-calendar,
.os-form .btn-back,
.os-form .btn-whatsapp-confirm {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 0;
    border: 0;
    font-weight: 600;
    font-size: var(--step-body);
    box-shadow: none; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    cursor: pointer;
    transition: background-color 0.18s, transform 0.18s var(--ease-out);
}
.os-form .btn-next, .os-form .btn-calendar { background: var(--ink); color: var(--paper); }
.os-form .btn-next:hover:not(:disabled), .os-form .btn-calendar:hover { background: #26303A; transform: none; box-shadow: none; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-form .btn-next:disabled { background: var(--paper-2); color: var(--ink-soft); cursor: not-allowed; }
.os-form .btn-back { background: transparent; color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.os-form .btn-back:hover { background: var(--paper-2); }
.os-form .btn-whatsapp-confirm { background: var(--accent); color: var(--ink); }
.os-form .btn-whatsapp-confirm:hover { background: #FF8126; transform: none; box-shadow: none; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
.os-form .resumo-card { background: var(--paper-2); border: 0; border-radius: 0; padding: 8px 18px; }
.os-form .resumo-row { border-bottom: 3px dotted rgba(14, 18, 22, 0.2); padding: 10px 0; }
.os-form .resumo-key { color: var(--ink-soft); }
.os-form .resumo-val { color: var(--ink); }
.os-form .confirm-note { color: var(--ink-soft); font-size: var(--step-small); margin-top: 16px; }
.os-form .success-content { display: grid; gap: 16px; justify-items: start; text-align: left; }
.os-form .success-content h3 { font-family: var(--f-display); font-size: var(--step-lead); color: var(--ink); }
.os-form .success-content p { color: var(--ink); }

/* ---------- 9. contato: o cartao de resposta ---------- */
.os-reply {
    background: var(--ground-2);
    margin-top: calc(var(--gap-section) / 2);
    padding-bottom: 0;
    overflow: hidden;
}
.os-reply__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: end;
    min-height: 72svh;
}
.os-reply__aside { padding-bottom: 72px; display: grid; gap: 16px; }
.os-reply__aside > p:first-child { font-size: var(--step-lead); line-height: 1.32; }
.os-reply__social { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.os-reply__card {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(28px, 4vw, 56px);
    padding-bottom: calc(clamp(28px, 4vw, 56px) + 60px);
    margin-bottom: -60px;
    text-align: center;
    transform: rotate(2deg);
    transform-origin: bottom left;
}
.os-reply__card p { margin: 18px auto 28px; max-width: 40ch; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--light);
    font-weight: 600;
    font-size: var(--step-body);
    animation: none;
}
.status-badge::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #4ADE80; }
.status-badge.closed::before { background: #F87171; }

/* ---------- 10. rodape: o verso do cartao ---------- */
.os-footer { padding: calc(var(--gap-section) / 2) 0 calc(var(--gap-section) / 3); background: var(--ground); }
.os-back {
    position: relative;
    background: var(--paper);
    color: var(--ink);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px clamp(32px, 5vw, 80px);
    padding: clamp(48px, 5vw, 72px) clamp(24px, 5vw, 64px) 28px;
    -webkit-mask: radial-gradient(circle 50px at 50% 0, transparent 49px, #000 50px) top / 100px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  linear-gradient(#000, #000) bottom / 100% 50% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
            mask: radial-gradient(circle 50px at 50% 0, transparent 49px, #000 50px) top / 100px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                  linear-gradient(#000, #000) bottom / 100% 50% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
}
.os-back__sign { font-family: var(--f-display); font-weight: 800; font-size: var(--step-head); line-height: 1; margin-bottom: 16px; }
.os-back__msg > p + p { margin-top: 10px; max-width: 44ch; }
.os-back__actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px !important; }
.os-back__addr { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.os-back__addr ul { list-style: none; display: grid; gap: 12px; font-size: var(--step-body); }
.os-back__addr a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.os-back__addr a:hover { text-decoration-color: var(--accent); }
.os-back__stamp { width: 88px; height: 117px; object-fit: cover; outline: 6px solid var(--paper); outline-offset: -6px; grid-column: 2; grid-row: 1; transform: rotate(3deg); }
.os-back__addr ul { grid-column: 1; grid-row: 1; }
.os-back__imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--ink-soft); padding-top: 16px; }

/* ---------- flutuantes existentes ---------- */
.floating-whatsapp { border-radius: 50%; }
.chat-widget *, .chat-welcome-popup * { font-family: var(--f-text) !important; }
.pwa-install-banner { background: var(--ground-2); border: 0; border-radius: 0; }
#mapa-leaflet { box-shadow: none; } /* taste-skill-ignore: neutraliza sombra legada */
/* telas claras do OpenStreetMap escurecidas para o tema do site; marcadores e círculos ficam fora do filtro */
.os-cover__map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9) saturate(0.35); }
.os-cover__map .leaflet-container { background: #1C232B; }
.os-cover .cep-btn { box-shadow: none; transform: none; }
.leaflet-control-zoom a { font-family: var(--f-text) !important; border-radius: 0 !important; }
.os-form .steps-bar { background: none; border: 0; border-radius: 0; } /* taste-skill-ignore: neutraliza sombra legada */

@media (prefers-reduced-motion: no-preference) {
    .os-hero__media { animation: os-drift 24s ease-in-out infinite alternate; }
    @keyframes os-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
}

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal [data-reveal] > * {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .js-reveal [data-reveal].is-in > * { opacity: 1; transform: none; }
    .js-reveal [data-reveal].is-in > :nth-child(2) { transition-delay: 0.08s; }
    .js-reveal [data-reveal].is-in > :nth-child(3) { transition-delay: 0.16s; }
    .js-reveal [data-reveal].is-in > :nth-child(4) { transition-delay: 0.24s; }
    .js-reveal [data-reveal].is-in > :nth-child(n+5) { transition-delay: 0.32s; }

    .js-reveal .os-slip-out { transition: translate 0.8s var(--ease-out); translate: 0 110%; }
    .js-reveal .os-output.is-in .os-slip-out { translate: 0 0; }
    .js-reveal .os-output.is-in .os-slip-out:nth-child(2) { transition-delay: 0.06s; }
    .js-reveal .os-output.is-in .os-slip-out:nth-child(3) { transition-delay: 0.12s; }
    .js-reveal .os-output.is-in .os-slip-out:nth-child(4) { transition-delay: 0.18s; }
    .js-reveal .os-output.is-in .os-slip-out:nth-child(5) { transition-delay: 0.24s; }
    .js-reveal .os-output.is-in .os-slip-out:nth-child(6) { transition-delay: 0.3s; }

    .os-label { animation: os-label-in 0.9s var(--ease-out) both; }
    @keyframes os-label-in { from { opacity: 0; transform: translateY(32px) rotate(-1deg); } }

    .os-folder__body img, .os-menu__photo img { transition: transform 0.6s var(--ease-out); }
    .os-folder__body img:hover, .os-menu__photo img:hover { transform: scale(1.02); }
    .os-paint__chips li { transition: transform 0.18s var(--ease-out); }
    .os-paint__chips li:hover { transform: translateY(-3px); }
}

/* ---------- tablet ---------- */
@media (max-width: 960px) {
    .os-stats__grid,
    .os-menu__grid,
    .os-paint,
    .os-cover__map,
    .os-book__grid,
    .os-reply__grid { grid-template-columns: minmax(0, 1fr); }
    .os-menu__photo { position: static; }
    .os-menu__photo img { aspect-ratio: 4 / 3; object-position: center 20%; }
    .os-total { padding-top: 32px; }
    .os-folder__body { grid-template-columns: minmax(0, 1fr); }
    .os-output__slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; padding-top: 48px; }
    .os-slip-out:nth-child(n) { min-height: 0; }
    .os-reply__grid { min-height: 0; }
    .os-reply__card { justify-self: center; width: min(560px, 92%); transform: rotate(1deg); order: 1; margin-bottom: 0; padding-bottom: clamp(28px, 4vw, 56px); }
    .os-reply__aside { order: 2; padding-bottom: 64px; }
    .os-reply { padding-bottom: 0; }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
    :root { --nav-h: 64px; }
    .os-hero { align-items: start; padding-block: 16px 32px; }
    .os-label__head { flex-wrap: wrap; row-gap: 4px; }
    .os-label__head span:last-child { width: 100%; }
    .os-label__plate th { width: 34%; }
    .os-label__foot .os-btn { width: 100%; }
    .os-total { font-size: clamp(4.5rem, 22vw, 6rem); }
    .os-sheet { padding-inline: 20px; }
    .os-paint__chips { grid-template-columns: minmax(0, 1fr); }
    .os-output__text { margin: 24px var(--gutter) 0; width: auto; }
    .os-output__text p { font-size: var(--step-body); }
    .os-output__slips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .os-folder { position: relative; top: auto !important; min-height: 0; }
    .os-folder__strip { height: auto; flex-wrap: wrap; padding-top: 20px; align-items: center; }
    .os-folder__tab { transform: none; padding: 8px 28px 8px 14px; align-self: auto; }
    .os-folder__cat { padding-bottom: 0; }
    .os-coupon {
        grid-template-columns: minmax(0, 1fr);
        -webkit-mask: radial-gradient(circle 16px at 0 50%, transparent 15px, #000 16px) left / 51% 100% no-repeat, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                      radial-gradient(circle 16px at 100% 50%, transparent 15px, #000 16px) right / 51% 100% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                mask: radial-gradient(circle 16px at 0 50%, transparent 15px, #000 16px) left / 51% 100% no-repeat, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                      radial-gradient(circle 16px at 100% 50%, transparent 15px, #000 16px) right / 51% 100% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    }
    .os-coupon__right { border-left: 0; border-top: 6px dotted var(--ground); }
    #mapa-leaflet { height: 320px; }
    .os-form .servico-select-grid,
    .os-form .datetime-grid,
    .os-form .dados-grid { grid-template-columns: minmax(0, 1fr); }
    .os-form .steps-bar { gap: 4px; }
    .os-form .step p { font-size: 13px; }
    .os-form .step-nav > *, .os-form .confirm-actions > * { flex: 1 1 100%; }
    .os-back { grid-template-columns: minmax(0, 1fr);
        -webkit-mask: radial-gradient(circle 30px at 50% 0, transparent 29px, #000 30px) top / 60px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                      linear-gradient(#000, #000) bottom / 100% 50% no-repeat; /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                mask: radial-gradient(circle 30px at 50% 0, transparent 29px, #000 30px) top / 60px 51% repeat-x, /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
                      linear-gradient(#000, #000) bottom / 100% 50% no-repeat; } /* taste-skill-ignore: recorte de papel / neutraliza estilo legado */
    .os-back__stamp { width: 64px; height: 85px; }
}

/* banner de instalacao do app (aparece so quando o navegador oferece) */
.pwa-install-banner .pwa-btn-install { background: var(--accent); color: var(--ink); border: 0; border-radius: 0; box-shadow: none; } /* taste-skill-ignore: neutraliza sombra legada */
.pwa-install-banner .pwa-btn-dismiss { background: transparent; color: var(--light); border: 0; border-radius: 0; }
