/* ============ TOKENS ============ */
:root {
    --bg: #ffffff;
    --bg-panel: #f4f4f5;
    --bg-panel-alt: #ececee;
    --border: #e2e2e4;
    --text: #141414;
    --text-muted: #6b6b6b;
    --accent: #141414;
    --accent-dark: #000000;
    --accent-rust: #5a5a5a;
    --success: #141414;
    --closed: #b3b3b3;
    --radius: 10px;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    position: relative;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.container {
    width: 1100px;
    max-width: 100%;
    margin: auto;
    padding: 0 24px;
}

/* faixa lateral */
.listra {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 100vh;
    background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
    z-index: 60;
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    color: var(--text-muted);
}

.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-badge.open .status-dot { background: var(--success); box-shadow: 0 0 0 3px rgba(20,20,20,0.12); }
.status-badge.closed .status-dot { background: var(--closed); box-shadow: 0 0 0 3px rgba(179,179,179,0.25); }
.status-badge.open { color: var(--success); }
.status-badge.closed { color: var(--text-muted); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
    transition: transform .25s ease, opacity .25s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 24px 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.mobile-nav a:last-child { border-bottom: none; margin-top: 10px; }

.site-header.menu-open .mobile-nav { display: flex; }

/* focus visibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============ HERO ============ */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 64px 0 56px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 17px;
    letter-spacing: 1px;
    color: var(--accent-rust);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.hero-text span { color: var(--accent); }

.hero-sub {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.hero-visual { flex-shrink: 0; }

.bike-schema {
    width: 320px;
    height: 220px;
}

.bike-schema .wheel {
    fill: none;
    stroke: var(--border);
    stroke-width: 2;
    stroke-dasharray: 4 3;
}

.bike-schema .frame {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bike-schema .joint {
    fill: var(--bg);
    stroke: var(--accent-rust);
    stroke-width: 2;
}

.bike-schema .measure {
    stroke: var(--text-muted);
    stroke-width: 1;
    stroke-dasharray: 2 2;
}

.bike-schema .measure-label {
    fill: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp { background: #25D366; color: #08240f; }
.btn-whatsapp:hover { background: #1fb959; }

.btn-small { padding: 9px 16px; font-size: 14px; }

/* ============ SECTION TITLES ============ */
.section-title {
    text-align: center;
    margin: 56px 0 32px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-rust);
    margin-bottom: 8px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* ============ SERVIÇOS ============ */
.servicos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.btn-servico {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 26px 16px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 500;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn-servico i {
    font-size: 30px;
    color: var(--accent);
}

.btn-servico:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: var(--bg-panel-alt);
}

/* ============ TICKET (tabela de preços) ============ */
.ticket {
    background: var(--bg-panel);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.ticket::before, .ticket::after {
    content: "";
    position: absolute;
    top: 46px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg);
}

.ticket::before { left: -10px; }
.ticket::after { right: -10px; }

.ticket-head {
    display: flex;
    justify-content: space-between;
    padding: 18px 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border);
}

.ticket-body { padding: 6px 30px 10px; }

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15.5px;
}

.table-row:last-child { border-bottom: none; }

.price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
}

/* ============ VENDAS ============ */
.sales-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 56px;
}

.box {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
}

.box-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    margin-bottom: 14px;
}

.box-tag-alt {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

.box h2 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}

.box p { color: var(--text-muted); margin-bottom: 8px; }

.box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.box-list i { color: var(--success); margin-right: 6px; }

.box .btn { margin-top: 10px; }

/* ============ CONTATO ============ */
.contact {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0 40px;
}

.contact-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-item i {
    font-size: 18px;
    color: var(--accent);
    margin-top: 4px;
    width: 20px;
}

.info-item h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.info-item p { font-size: 15.5px; }

.contact-info .btn-whatsapp { margin-top: 8px; align-self: flex-start; }

.map {
    width: 50%;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map iframe { width: 100%; height: 100%; border: 0;  }

/* ============ FOTOS DA LOJA (CARROSSEL) ============ */
.loja-fotos {
    margin: 0 0 50px;
    text-align: center;
}

.loja-fotos .box-tag {
    margin-bottom: 14px;
}

#carouselLoja {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

#carouselLoja .carousel-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

#carouselLoja .carousel-control-prev,
#carouselLoja .carousel-control-next {
    width: 10%;
}

@media (max-width: 900px) {
    #carouselLoja .carousel-item img {
        height: 260px;
    }
}

/* ============ FOOTER ============ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-muted);
}

.footer-inner a:hover { color: var(--accent); }

/* ============ FLOATING BUTTONS ============ */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
    z-index: 55;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 80px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #08240f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    z-index: 55;
    transition: transform .2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}

[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
    .nav-links, .header-actions .status-badge { display: none; }
    .menu-toggle { display: flex; }

    .hero { flex-direction: column-reverse; text-align: center; padding-top: 40px; }
    .hero-actions { justify-content: center; }
    .hero-sub { max-width: none; }
    .bike-schema { width: 240px; height: 165px; }

    .servicos { grid-template-columns: repeat(2, 1fr); }

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

    .contact { flex-direction: column; }
    .contact-info, .map { width: 100%; }

    .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .servicos { grid-template-columns: 1fr 1fr; }
    .hero-text h1 { font-size: 34px; }
}
.hero-logo{
    width: 450px;
    height: auto;
    display: block;
}
.aviso{
    display: inline-block;
    padding: 10px 18px;
    background: #ffe5e5;
    border-left: 5px solid #d40000;
    color: #8b0000;
    font-weight: 900;
    border-radius: 8px;
    margin-top: 15px;
}

/* ============ CATÁLOGO DE PRODUTOS (bicicletas-usadas.html) ============ */
.catalogo-header {
    text-align: center;
    padding: 48px 0 8px;
    position: relative;
}

.voltar-link {
    position: absolute;
    left: 24px;
    top: 52px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s ease;
}

.voltar-link:hover { color: var(--accent); }

.catalogo-header h1 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    margin-top: 6px;
}

.catalogo-sub {
    color: var(--text-muted);
    font-size: 15.5px;
    max-width: 520px;
    margin: 14px auto 0;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0 70px;
}

.produto-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.produto-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.produto-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-panel-alt);
    overflow: hidden;
    cursor: zoom-in;
}

.produto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.produto-img-wrap:hover .produto-img {
    transform: scale(1.04);
}

.produto-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--text);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
}

.produto-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.produto-info h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}

.produto-detalhes {
    color: var(--text-muted);
    font-size: 12px;
}

.produto-preco {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
    margin: 4px 0 8px;
}

.produto-info .btn { width: 100%; }
.produto-info .btn-small { padding: 8px 12px; font-size: 12.5px; }

@media (max-width: 900px) {
    .catalogo-grid { grid-template-columns: repeat(3, 1fr); }
    .voltar-link { position: static; display: inline-flex; margin-bottom: 10px; }
}

@media (max-width: 560px) {
    .catalogo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ============ LIGHTBOX (foto em tela cheia) ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 40px;
    line-height: 1;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 300;
    opacity: 0.85;
    transition: opacity .2s ease;
}

.lightbox-close:hover { opacity: 1; }

@media (max-width: 560px) {
    .lightbox-close { top: 14px; right: 16px; font-size: 32px; }
}