/* ============================================================
   Vidravisual Lero — site institucional (raiz do domínio)
   Direção: "prancheta de obra" — carvão, dourado, branco;
   grade de blueprint, numeração técnica, faixa de sinalização.
   ============================================================ */

:root {
    --ink: #0c0d0f;
    --coal: #14161a;
    --coal-2: #1a1d22;
    --paper: #f5f2ea;
    --paper-dim: #cfcabd;
    --gold: #c9a227;
    --gold-bright: #e8c766;
    --wa: #25d366;
    --line: rgba(201, 162, 39, .28);
    --line-soft: rgba(245, 242, 234, .12);
    --grid: rgba(201, 162, 39, .055);
    --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", "Courier New", monospace;
    --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Grade de blueprint sobre o carvão */
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 44px 44px;
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, iframe { max-width: 100%; display: block; }

/* ---------- utilitários ---------- */

.eyebrow {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

/* ---------- topbar ---------- */

.topbar {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .45rem 1.4rem;
    background: #000;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--paper-dim);
    flex-wrap: wrap;
}

.topbar-cta {
    margin-left: auto;
    color: var(--gold-bright);
    white-space: nowrap;
}
.topbar-cta:hover { text-decoration: underline; }

/* ---------- nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: .85rem 1.4rem;
    background: rgba(12, 13, 15, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: .7rem; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .04em;
    position: relative;
}
/* marcas de registro de prancheta nos cantos */
.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold);
}
.brand-mark::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.brand-mark::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

.brand-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.brand-text em { color: var(--gold-bright); font-style: normal; }

.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a {
    font-size: .92rem;
    color: var(--paper-dim);
    padding: .3rem 0;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--paper); border-color: var(--gold); }

.nav-cta {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .06em;
    padding: .6rem 1rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 500;
    transition: background .2s;
}
.nav-cta:hover { background: var(--gold-bright); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.nav-burger span {
    width: 22px;
    height: 2px;
    background: var(--paper);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7.5rem) 1.4rem 5.5rem;
}

.hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    line-height: .96;
    text-transform: uppercase;
    letter-spacing: .01em;
    margin: 1.2rem 0 1.6rem;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
    display: block;
    transform: translateY(110%);
    animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title strong { color: var(--gold-bright); font-weight: 800; }

@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
    max-width: 34rem;
    color: var(--paper-dim);
    font-size: 1.08rem;
}
.hero-sub strong { color: var(--paper); }

.hero-ctas { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: .05em;
    padding: .95rem 1.5rem;
    transition: transform .18s, background .18s, border-color .18s;
}
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 500; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

/* carta de especificações */

.spec-card {
    position: relative;
    background: var(--coal);
    border: 1px solid var(--line);
    box-shadow: 14px 14px 0 rgba(0, 0, 0, .35);
    font-family: var(--font-mono);
    animation: draw .7s .35s cubic-bezier(.2, .7, .2, 1) backwards;
}
@keyframes draw { from { opacity: 0; transform: translateY(16px); } }

.spec-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px dashed var(--line);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.spec-code { color: var(--gold-bright); }
.spec-title { color: var(--paper-dim); }

.spec-list { list-style: none; }
.spec-list li {
    display: flex;
    align-items: baseline;
    gap: .9rem;
    padding: .58rem 1.1rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: .92rem;
    color: var(--paper);
    transition: background .15s;
}
.spec-list li:hover { background: rgba(201, 162, 39, .07); }
.spec-list i {
    font-style: normal;
    color: var(--gold-bright);
    font-size: .78rem;
}

.spec-foot {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    padding: .75rem 1.1rem;
    font-size: .7rem;
    letter-spacing: .08em;
    color: var(--gold-bright);
    text-transform: uppercase;
}

/* faixa de sinalização (usada UMA vez, sob o hero) */
.hazard-band {
    height: 12px;
    background: repeating-linear-gradient(
        -45deg,
        var(--gold) 0 14px,
        var(--ink) 14px 28px
    );
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    opacity: .9;
}

/* ---------- seções ---------- */

.section {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 6.5rem) 1.4rem;
}

.section-coal {
    max-width: none;
    background:
        linear-gradient(rgba(201, 162, 39, .04), rgba(201, 162, 39, .04)),
        var(--coal);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.section-coal > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head { max-width: 46rem; margin-bottom: 3rem; }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.04;
    text-transform: uppercase;
    margin-top: .8rem;
}
.section-title span { color: var(--gold-bright); }

.section-sub { color: var(--paper-dim); margin-top: 1rem; max-width: 40rem; }

/* ---------- serviços ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
}

.service {
    position: relative;
    background: var(--ink);
    padding: 1.8rem 1.5rem 1.9rem;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    transition: background .2s;
}
.service:hover { background: var(--coal); }

.service-num {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--gold);
    letter-spacing: .12em;
    margin-bottom: 1.1rem;
}
.service::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .3s;
}
.service:hover::after { width: 100%; }

.service h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .6rem;
}

.service p { color: var(--paper-dim); font-size: .93rem; flex: 1; }

.service-link {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    letter-spacing: .06em;
    color: var(--gold-bright);
}
.service-link:hover { text-decoration: underline; }

.service-cta {
    background: var(--gold);
    color: var(--ink);
    justify-content: center;
}
.service-cta h3, .service-cta::after { color: var(--ink); background: var(--ink); }
.service-cta p { color: rgba(12, 13, 15, .8); font-weight: 500; }
.service-cta .btn-gold { background: var(--ink); color: var(--gold-bright); margin-top: 1.2rem; }
.service-cta .btn-gold:hover { background: #000; }
.service-cta:hover { background: var(--gold-bright); }

/* ---------- método ---------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    counter-reset: etapa;
}

.step {
    border-top: 2px solid var(--line);
    padding-top: 1.2rem;
    position: relative;
}

.step-num {
    font-family: var(--font-mono);
    font-size: .74rem;
    letter-spacing: .14em;
    color: var(--gold-bright);
}

.step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    text-transform: uppercase;
    margin: .5rem 0 .5rem;
}

.step p { color: var(--paper-dim); font-size: .93rem; }

.promise {
    margin-top: 3.2rem;
    padding: 1.6rem 1.8rem;
    border: 1px dashed var(--line);
    color: var(--paper);
    font-size: 1.05rem;
    max-width: 52rem;
}
.promise strong {
    font-family: var(--font-mono);
    color: var(--gold-bright);
    font-weight: 500;
    letter-spacing: .04em;
}

/* ---------- atendimento ---------- */

.atendimento-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: start;
}

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }

.chips span {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .04em;
    padding: .5rem .85rem;
    border: 1px solid var(--line);
    color: var(--paper);
    transition: background .2s, border-color .2s;
}
.chips span:hover { background: rgba(201, 162, 39, .1); border-color: var(--gold); }
.chips span:last-child { border-style: dashed; color: var(--paper-dim); }

.map-frame {
    border: 1px solid var(--line);
    padding: 8px;
    background: var(--coal);
}
.map-frame iframe {
    width: 100%;
    height: 380px;
    filter: grayscale(1) invert(.92) contrast(.9) sepia(.25);
}

/* ---------- contato ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    border: 1px solid var(--line-soft);
    padding: 1.7rem 1.5rem;
    background: var(--coal);
    transition: border-color .2s, transform .18s;
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.contact-label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-bright);
}
.contact-card strong {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.contact-hint { color: var(--paper-dim); font-size: .88rem; }
.contact-hint-link { color: var(--gold-bright); }
.contact-hint-link:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.footer {
    border-top: 1px solid var(--line-soft);
    background: #000;
}

.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 3rem 1.4rem 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-brand { display: flex; gap: 1rem; max-width: 34rem; align-items: flex-start; }
.footer-brand p { color: var(--paper-dim); font-size: .9rem; }

.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
    color: var(--paper-dim);
    font-size: .9rem;
    transition: color .2s;
}
.footer-links a:hover { color: var(--gold-bright); }

.footer-base {
    border-top: 1px solid var(--line-soft);
    text-align: center;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--paper-dim);
    letter-spacing: .08em;
}

/* ---------- whatsapp flutuante ---------- */

.float-wa {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 60;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--wa);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
    transition: transform .18s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */

@media (max-width: 1020px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .spec-card { max-width: 30rem; }
}

@media (max-width: 720px) {
    .nav-links, .nav-cta { display: none; }
    .nav.open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--coal);
        border-bottom: 1px solid var(--line);
        padding: 1.2rem 1.4rem;
        gap: 1rem;
    }
    .nav.open .nav-cta { display: block; margin: 0 0 .6rem; text-align: center; }
    .nav-burger { display: flex; margin-left: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .atendimento-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .topbar { justify-content: center; }
    .topbar-cta { margin-left: 0; }
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-title .line > span { animation: none; transform: none; }
    .spec-card { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition: none !important; }
}
