/* ===========================================================
   BIKE SHOP VILA MARIANA — Design tokens (v2 — identidade street/spray)
   Paleta: preto (#0D0D0D), laranja spray (#FF6A00), branco (#FFFFFF),
           cinza-chumbo (#1C1C1C), cinza claro de seção (#F4F4F2)
   Tipografia: Anton (display impactante, estilo cartaz) + Archivo (corpo)
   =========================================================== */

:root {
  --black: #0D0D0D;
  --charcoal: #1C1C1C;
  --charcoal-light: #2A2A2A;
  --orange: #FF6A00;
  --orange-deep: #D95700;
  --white: #FFFFFF;
  --paper: #F4F4F2;
  --paper-dim: #E8E7E2;
  --ink: #161616;
  --grey-text: #4A4A48;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 10px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); text-transform: none; }

p { margin: 0 0 16px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--orange); }

.section-lead {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 640px;
}
.section-dark .section-lead { color: #C9C9C7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 0 var(--orange-deep);
}
.btn-primary:hover { box-shadow: 0 6px 0 var(--orange-deep); }

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

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-large { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-header {
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid #262626;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; }

.header-nav {
  display: none;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #C9C9C7;
}
.header-nav a:hover { color: var(--orange); }

@media (min-width: 860px) {
  .header-nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: #f4f4f2;
  color: var(--white);
  padding: 56px 0 64px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,106,0,0.14), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 { color: #000000; }
.hero-sub {
  color: #000000;
  font-size: 1.05rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 28px;
}
.hero .btn-outline {
  border-color: #000000;
  color: #000000;
}
.hero .btn-outline:hover { background: var(--white); color: var(--ink); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #000000;
}
.stars { color: var(--orange); letter-spacing: 2px; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ffffff;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; background: var(--white); }
.section-alt { background: var(--paper); }
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }

.two-col {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.reverse .col-text { order: 2; }
  .two-col.reverse .col-media { order: 1; }
}
.col-media img { border-radius: var(--radius); width: 100%; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}

.micro-note {
  font-size: 0.85rem;
  color: #6b6b69;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-bottom: 24px;
}

/* ---------- Product grid (e-bike) ---------- */
.product-grid {
  display: grid;
  gap: 24px;
  margin: 36px 0 28px;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
.product-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-img { aspect-ratio: 1/1; overflow: hidden; background: #0a0a0a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px; }
.product-body h3 { color: var(--white); margin-bottom: 8px; }
.product-desc { color: #C9C9C7; font-size: 0.92rem; margin-bottom: 16px; }
.product-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 18px;
}
.price-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #9a9a98;
  font-weight: 400;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.js-price-placeholder {
  background: rgba(255,106,0,0.15);
  border: 1px dashed var(--orange);
  padding: 0 6px;
  border-radius: 4px;
}

.product-note {
  font-size: 0.92rem;
  color: #6b6b69;
  margin-bottom: 36px;
}
.section-dark .product-note { color: #9a9a98; }

.advantages {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .advantages { grid-template-columns: 1fr 1fr; }
}
.advantages li {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #C9C9C7;
  border-left: 3px solid var(--orange);
}
.advantages strong { display: block; color: var(--white); margin-bottom: 4px; font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.02em; }

.cta-block { text-align: center; margin-top: 8px; }

/* ---------- Info grid (loja) ---------- */
.info-grid {
  display: grid;
  gap: 20px;
  margin: 36px 0 36px;
}
@media (min-width: 700px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  background: var(--white);
  border: 1px solid #ddd9d0;
  border-radius: var(--radius);
  padding: 22px;
}
.info-card h3 { color: var(--orange-deep); margin-bottom: 8px; font-size: 1rem; }
.info-card p { margin: 0; font-size: 0.92rem; color: var(--grey-text); }

.price-grid { margin-bottom: 20px; }
.price-card { text-align: center; border-color: var(--orange); border-width: 2px; }
.price-card h3 { color: var(--ink); text-transform: none; }
.price-card .product-price { color: var(--orange-deep); margin-bottom: 4px; }
.price-card .price-label { color: #9a9a98; }
.price-note { font-size: 0.8rem; color: var(--grey-text); margin: 0; }

/* ---------- Social proof ---------- */
.section-social { text-align: center; }
.social-proof { max-width: 640px; margin: 0 auto; }
.social-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}
.social-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4rem;
  color: var(--orange);
  line-height: 1;
}
.social-label { color: #C9C9C7; font-size: 0.92rem; }
.social-quote {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 28px;
}

/* ---------- Hours list ---------- */
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  max-width: 320px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd9d0;
  font-size: 0.95rem;
}
.hours-list li span:first-child { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 36px; }
.faq-group-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.faq-item {
  background: var(--paper);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--orange);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; color: var(--grey-text); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #9a9a98;
  padding: 40px 0 90px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.9rem;
}
.footer-logo-img { height: 60px; width: auto; margin-bottom: 12px; }
.footer-inner p { margin: 0 0 4px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--orange);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.mobile-bar-btn {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--white);
  font-size: 0.98rem;
}
@media (min-width: 860px) {
  .mobile-bar { display: none; }
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--charcoal);
  border-bottom: 1px solid #2a2a2a;
  padding: 13px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: #C9C9C7;
  white-space: nowrap;
}
.trust-item strong { color: var(--white); }

/* ---------- Price installment ---------- */
.price-installment {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #9a9a98;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}

/* ---------- Map responsive wrapper ---------- */
.map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Testimonials ---------- */
.social-proof { margin-bottom: 40px; }
.testimonials-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 700px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 22px;
  border-top: 3px solid var(--orange);
  text-align: left;
}
.testimonial-text {
  color: #C9C9C7;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 16px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  margin: 0 0 2px;
}
.testimonial-location {
  color: var(--orange);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- Bike photo (e-bike grid) — clicável ---------- */
.bike-photo {
  cursor: zoom-in;
  transition: box-shadow 0.2s ease;
}
.bike-photo:hover,
.bike-photo:focus-visible {
  box-shadow: inset 0 0 0 3px var(--orange);
  outline: none;
}

/* ---------- Gallery tabs ---------- */
.gallery-tabs { margin-top: 32px; }
.tab-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 9px 18px;
  border: 2px solid #ddd9d0;
  background: transparent;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--grey-text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
.tab-btn:hover { border-color: var(--orange); color: var(--orange); }
.tab-btn.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Mechanical bikes photo grid ---------- */
.mec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 700px) {
  .mec-grid { grid-template-columns: repeat(4, 1fr); }
}
.mec-grid-2 {
  max-width: 480px;
  grid-template-columns: repeat(2, 1fr);
}
.mec-photo {
  display: block;
  width: 100%;
  padding: 0;
  background: #eee;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mec-photo:hover,
.mec-photo:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px var(--orange), 0 6px 20px rgba(0,0,0,0.15);
  outline: none;
}
.mec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.3s ease;
}
.mec-photo:hover img { transform: scale(1.06); }

.section-dark .mec-photo { background: var(--charcoal-light); }
#ebike-galeria .mec-photo { aspect-ratio: 1 / 1; }
#ebike-galeria .mec-photo img { object-fit: contain; }

.gallery-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--grey-text);
}
.gallery-expand-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-weight: 700;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}
.gallery-expand-btn:hover { color: var(--orange-deep); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  cursor: zoom-out;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 920px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: var(--orange); }
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-nav:hover { background: var(--orange); }
.lightbox-nav:disabled { opacity: 0.2; cursor: default; pointer-events: none; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.6);
  color: #ccc;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- Bikes mecânicas grid ---------- */
.bikes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 32px 0 40px;
}
.bike-photo {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal-light);
}
.bike-photo:nth-child(4),
.bike-photo:nth-child(5) {
  grid-column: span 3;
}
.bike-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.bike-photo:hover img {
  transform: scale(1.04);
}

@media (max-width: 699px) {
  .bikes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bike-photo,
  .bike-photo:nth-child(4),
  .bike-photo:nth-child(5) {
    grid-column: span 1;
  }
  .bike-photo:nth-child(5) {
    grid-column: span 2;
  }
}

/* ---------- Floating WhatsApp button (desktop only) ---------- */
.whatsapp-float {
  display: none;
}
@media (min-width: 860px) {
  .whatsapp-float {
    display: block;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  .whatsapp-float img {
    width: 60px;
    height: 60px;
    display: block;
    border-radius: 50%;
  }
}
