/* =========================
   1. RESET / BASE
========================= */

/* =========================
   2. LAYOUT GLOBAL
========================= */

/* =========================
   3. COMPONENTES
========================= */

/* =========================
   4. PORTAL
========================= */

/* =========================
   5. ADMIN
========================= */

/* =========================
   6. UTILITÁRIOS
========================= */



:root{
  --bg:#0b0c0f; --panel:#111319;
  --txt:#e9eef6; --muted:#a9b3c2; --line:#1e2230;
  --accent:#ff7a00;
  --r:16px;
}
*{box-sizing:border-box}
body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
    background: #0f172a;
    color: #e5e7eb;
}
a{color:inherit; text-decoration:none}
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(10px);
  background:rgba(10,14,24,.78);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.bar{
  max-width:1200px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  color:#fff;
  text-decoration:none;
  font-size:1.1rem;
  letter-spacing:.2px;
  white-space:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav a{
  color:rgba(255,255,255,.82);
  text-decoration:none;
  font-size:.96rem;
  transition:.2s ease;
}

.nav a:hover,
.nav a.is-active{
  color:#fff;
}
@media (max-width: 640px){
  .bar{
    padding:12px 14px;
  }

  .brand{
    font-size:1rem;
  }

  .nav{
    gap:14px;
  }

  .nav a{
    font-size:.92rem;
  }
}
.wrap{max-width:1050px; margin:0 auto; padding:18px 16px 40px}
.hero{padding:18px 0 10px}
.hero h1{margin:0; font-size:28px; line-height:1.15}
.hero p{margin:10px 0 0; color:var(--muted); max-width:68ch}
.card{
  background:linear-gradient(180deg, rgba(17,19,25,.92), rgba(15,17,22,.92));
  border:1px solid rgba(30,34,48,.85);
  border-radius:var(--r);
  padding:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.28);
}
.row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.between{justify-content:space-between}
.mt12{margin-top:12px}
.mt14{margin-top:14px}
.sub{color:var(--muted); font-size:13px}
.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: #e5e7eb;
    transition: all .2s ease;
}
.btn:hover {
    background: rgba(255,255,255,.12);
}
.btn.primary{background:rgba(255,122,0,.9); border-color:rgba(255,122,0,.55); color:#101114}
.filters{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  cursor:pointer; user-select:none;
  padding:7px 10px; border-radius:999px;
  border:1px solid rgba(30,34,48,.85);
  background:rgba(17,19,25,.45);
  font-size:12px; color:var(--muted);
}
.chip[data-on="1"]{border-color:rgba(255,122,0,.55); color:var(--txt); background:rgba(255,122,0,.12)}
.grid2{display:grid; gap:14px; grid-template-columns:1fr 1fr}
@media (max-width:880px){ .grid2{grid-template-columns:1fr} }
.event{
  display:grid; grid-template-columns:110px 1fr; gap:12px;
  padding:12px; border-radius:14px; border:1px solid rgba(30,34,48,.75);
  background:rgba(11,12,15,.35);
  margin-top:10px;
}
.datebox{
  border-radius:14px; padding:10px;
  background:rgba(255,122,0,.10);
  border:1px solid rgba(255,122,0,.22);
  display:flex; flex-direction:column; gap:6px; justify-content:center;
  min-height:76px;
}
.datebox .d{font-size:22px; font-weight:800}
.tag{display:inline-flex; align-items:center; gap:8px; font-size:12px; color:var(--muted)}
.dot{width:9px; height:9px; border-radius:50%}
.dot.mtb{background:#22c55e}
.dot.speed{background:#3b82f6}
.dot.gravel{background:#f59e0b}
.dot.passeio{background:#a78bfa}
.event h3{margin:0; font-size:14px}
.meta{margin-top:6px; color:var(--muted); font-size:12.5px; display:flex; gap:10px; flex-wrap:wrap}
.mini{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.link{
  font-size:12.5px; font-weight:800;
  padding:8px 10px; border-radius:12px;
  border:1px solid rgba(30,34,48,.85);
  background:rgba(17,19,25,.4);
}
.link:hover{border-color:rgba(255,122,0,.35)}
.fav{margin-left:auto; cursor:pointer}
.mutebox{
  padding:12px; border-radius:14px;
  border:1px dashed rgba(30,34,48,.95);
  color:var(--muted); background:rgba(17,19,25,.25);
  margin-top:10px;
}
.footer{
  margin-top:20px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.06);

  color:var(--muted);
  font-size:12.5px;
  text-align:center;
}
.tiny{opacity:.9}

.shop-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.shop-content h2 {
  margin: 0;
}

@media (min-width: 768px) {
  .shop-highlight {
    flex-direction: row;
    align-items: center;
  }

  .shop-image {
    flex: 1;
  }

  .shop-content {
    flex: 1;
  }
}

.shop-image{
  overflow: hidden;
  border-radius: 18px;
}

.shop-image img{
  width: 100%;
  height: 320px;      /* controla no desktop */
  object-fit: cover;
  display: block;
  border-radius: 0;   /* porque quem arredonda é o container */
}

@media (max-width: 767px){
  .shop-image img{
    height: auto;     /* no celular deixa natural */
  }
}

.hero-desafio {
    padding: 24px 16px 32px 16px;
}

.hero-desafio h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
	margin-top: 0;
}

.hero-desafio .subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.hero-desafio .info {
    margin-bottom: 16px;
}

.hero-desafio .info span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.btn-hero {
    display: inline-block;
    padding: 10px 20px;
    background: #e10600;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
	width:100%;
    max-width:240px;  
}

.hero-desafio .inscricao {
    margin-top: 12px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {

  .hero-desafio {
      padding: 40px 16px;
  }

  .hero-desafio h1 {
      font-size: 1.8rem;
  }

  .hero-desafio .subtitle {
      font-size: 1rem;
  }

  .hero-desafio .info span {
      display: block;
      margin-bottom: 6px;
  }

  .btn-hero {
      padding: 10px 20px;
      font-size: 0.95rem;
  }

}

.page-title{
  margin: 0 0 8px 0;
  font-size: 1.8rem;
}

.lead{
  opacity: .85;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.grid-steps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.step{
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}

.step h3{
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.step p{
  margin: 0;
  opacity: .8;
  font-size: .95rem;
  line-height: 1.45;
}

.callout{
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(225,6,0,.25);
  background: rgba(225,6,0,.06);
}

.callout h3{
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.muted{ opacity: .7; margin-top: 6px; }

@media (max-width: 768px){
  .grid-steps{ grid-template-columns: 1fr; }
}
/* ROTAS: cards separados e legíveis */
#routes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

#routes .event-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}

#routes .event-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
/* Card clicável de rota */
#routes a.event-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* feedback de clique no mobile */
#routes a.event-card:active {
  transform: scale(0.99);
}

.hero-portal {
  background: #0f172a;
  padding: 10px 20px 40px;
  text-align: center;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero-portal h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 22px;
}

.hero-description {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ef4444;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #dc2626;
}

.btn-outline{
  display:block;
  width:100%;
  margin-top:6px;

  padding:8px 12px;          /* menor */
  font-size:0.9rem;          /* menor */
  border-radius:10px;

  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color:rgba(255,255,255,.85);

  text-decoration:none;
  text-align:center;
}

.btn-outline:hover {
  background: #1e293b;
}

@media (max-width: 768px) {
  .hero-portal h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

/* =========================
   EVENT CARD
========================= */
.event-card{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  background:rgba(0,0,0,.18);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}

.event-card__body{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  padding:14px;
}

/* =========================
   POSTER
========================= */
.event-card__poster{
  width:72px;
  height:100px;
  border-radius:12px;
  overflow:hidden;
  background:#111827;

  display:flex;
  align-items:center;
  justify-content:center;

  flex-shrink:0;
}

/* imagem dentro do poster */
.event-card__poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* =========================
   CONTENT
========================= */
.event-card__content{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.event-card__top{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:14px;
}

/* =========================
   DATE BLOCK
========================= */
.event-card__left{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(0,0,0,.22);
}

.event-card__date{
  font-size:28px;
  font-weight:800;
  line-height:1;
  letter-spacing:.2px;
}

.event-card__type{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  opacity:.92;
}

.event-card__title{
  margin:0 0 12px;
  font-size:20px;
  line-height:1.25;
}

/* =========================
   MAIN INFO
========================= */
.event-card__main{
  min-width:0;
}

.event-card__title{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.2;
}

.event-card__meta{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:14px;
}

.event-card__metaRow{
  font-size:14px;
  opacity:.9;
}

/* =========================
   ACTIONS
========================= */
.event-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.btn-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:inherit;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}

.btn-mini:hover{
  background:rgba(255,255,255,.10);
}

.btn-mini.ghost{
  background:transparent;
}

/* =========================
   TYPE DOTS
========================= */
.dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:999px;
}

.dot-mtb{ background:#ff4d4d; }
.dot-speed{ background:#4da3ff; }
.dot-prova{ background:#ffd54d; }
.dot-passeio{ background:#77ff7a; }

/* =========================
   RESPONSIVO
========================= */
@media (max-width:700px){
  .event-card__body{
    grid-template-columns:84px 1fr;
    gap:12px;
    padding:14px;
  }

  .event-card__poster{
    width:84px;
  }

  .event-card__top{
    grid-template-columns:1fr;
    gap:12px;
  }

  .event-card__left{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:12px;
  }

  .event-card__date{
    font-size:22px;
  }

  .event-card__title{
    font-size:18px;
  }
}

/* =========================
   HOME • HERO PORTAL
========================= */
.hero-portal{
  position:relative;
  min-height:420px;

  overflow:hidden;
  border-radius:22px;

  background:#0b1220;

  box-shadow:0 25px 60px rgba(0,0,0,.55);
}

.hero-portal--store{
  background-image:url("../img/loja/loja.jpeg?v=2");
  background-size:cover;
  background-position:center 60%;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,10,18,.20) 0%, rgba(5,10,18,.10) 40%, rgba(5,10,18,.35) 100%),
    linear-gradient(90deg, rgba(5,10,18,.15) 0%, rgba(5,10,18,.05) 60%);
}

.hero-portal::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:120px;
  background:linear-gradient(to bottom, rgba(11,18,32,0), rgba(11,18,32,.82));
}

.hero-container h1{
  font-size:clamp(2rem,4vw,3rem);
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}

.hero-container{
  position:relative;
  z-index:2;
  max-width:520px;
  margin:0;
  padding:42px 28px 20px 28px;
  text-align:left;
}

.hero-kicker{
  display:inline-block;
  margin-bottom:12px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.92);
}

.hero-portal h1{
  margin:0 0 10px;
  font-size:40px;
  line-height:1.08;
  color:#fff;
  text-shadow:0 3px 18px rgba(0,0,0,.45);
}

.hero-subtitle{
  max-width:420px;
  margin:0;
  font-size:17px;
  line-height:1.45;
  color:rgba(255,255,255,.92);
  text-shadow:0 2px 12px rgba(0,0,0,.38);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

@media (max-width:768px){
  .hero-portal{
    min-height:340px;
  }

  .hero-container{
    max-width:300px;
    padding:26px 20px 14px 20px;
  }

  .hero-portal h1{
    font-size:28px;
  }

  .hero-subtitle{
    font-size:15px;
  }
}

/* =========================
   BOTÕES DO HERO
========================= */
.btn-primary,
.btn-outline,
.btn-hero{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  transition:.18s ease;
}

.btn-primary,
.btn-hero{
  border:1px solid rgba(255,255,255,.08);
  background:#e53935;
  color:#fff;
}

.btn-primary:hover,
.btn-hero:hover{
  transform:translateY(-1px);
  background:#f04440;
}

.btn-outline{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:#fff;
  backdrop-filter:blur(4px);
}

.btn-outline:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.12);
}

/* =========================
   HOME • BLOCOS
========================= */
.home-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(0,0,0,.18);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.home-card h2{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
}

.section-label{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:rgba(255,255,255,.82);
}

.mutebox{
  margin-top:12px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.5;
}

/* =========================
   HERO DESAFIO
========================= */
.hero-desafio{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  overflow:hidden;

  background:linear-gradient(180deg, rgba(17,24,39,.95), rgba(10,16,28,.98));

  box-shadow:0 18px 40px rgba(0,0,0,.28);
}

.hero-desafio .container{
  padding:28px 22px;
}

.hero-desafio h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.1;
}

.hero-desafio .subtitle{
  margin:0 0 14px;
  font-size:16px;
  color:rgba(255,255,255,.88);
}

.hero-desafio .meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.hero-desafio .meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:rgba(255,255,255,.05);
  font-size:13px;
  color:rgba(255,255,255,.92);
}

.hero-desafio .inscricao{
  margin-top:14px;
  font-size:14px;
  color:rgba(255,255,255,.78);
}

/* =========================
   GRID AUXILIAR
========================= */
.grid2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.mt14{
  margin-top:14px;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width:900px){
  .hero-portal h1{
    font-size:34px;
  }
}

@media (max-width:700px){
  .hero-portal{
    min-height:360px;
    border-radius:20px;
  }

  .hero-container{
    padding:36px 18px;
  }

  .hero-portal h1{
    font-size:28px;
  }

  .hero-subtitle{
    font-size:15px;
    margin-bottom:18px;
  }

  .hero-actions{
    gap:10px;
  }

  .btn-primary,
  .btn-outline,
  .btn-hero{
    width:100%;
  }

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

  .hero-desafio h1{
    font-size:28px;
  }

  .hero-desafio .container{
    padding:22px 16px;
  }

  .home-card h2{
    font-size:20px;
  }
}

.hero-desafio{
  position:relative;
  border-radius:18px;
  overflow:hidden;

  background-size:cover;
  background-position:center;

  min-height:340px;

  display:flex;
  align-items:center;
}

.hero-desafio .container{
  position:relative;
  z-index:2;
}

/* overlay escuro para leitura */

.hero-desafio::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 100%);
  z-index:1;
}

.admin-input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(30,34,48,.85);
  background:rgba(17,19,25,.85);
  color:#e8edf7;
}

.admin-input:focus{
  outline:none;
  border-color:#ff7a00;
  background:rgba(20,22,30,.95);
}
.bike-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
  margin-top:20px;
}

.bike-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:18px;
  text-align:center;
}

.bike-image{
  aspect-ratio: 4 / 3; /* melhor pra foto horizontal */
  overflow:hidden;
}

.bike-image img{
  width:100%;
  height:100%;
  object-fit:cover;   /* preenche tudo */
  border-radius:10px;
  display:block;
}

.bike-price{
  font-size:20px;
  font-weight:700;
  color:#7ddc84;
  margin:10px 0 14px;
}

.btn-whatsapp{
  background:#25D366;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:8px;
  font-weight:600;
  display:inline-block;
  margin-right:10px;
}

.btn-whatsapp:hover{
  background:#1ebe5a;
}

.btn-whatsapp,
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:calc(50% - 5px); /* metade com espaço */
}

.admin-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.admin-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.table-wrap{
  width:100%;
  overflow:auto;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width:820px;
  background:rgba(255,255,255,.02);
}

.admin-table th,
.admin-table td{
  padding:14px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  text-align:left;
  vertical-align:middle;
}

.admin-table th{
  font-size:.92rem;
  color:rgba(255,255,255,.74);
  background:rgba(255,255,255,.03);
}

.thumb-admin{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:10px;
  display:block;
  background:#fff;
}

.row-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:600;
  border:1px solid rgba(255,255,255,.08);
}

.badge-featured{
  background:rgba(255,185,0,.12);
  color:#ffd76a;
}

.badge-published{
  background:rgba(0,200,120,.12);
  color:#7ee2a8;
}

.badge-draft{
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.76);
}

.muted{
  color:rgba(255,255,255,.5);
}

.btn-danger{
  background:rgba(255,80,80,.12);
  color:#ff9a9a;
  border:1px solid rgba(255,80,80,.18);
}

.btn-danger:hover{
  background:rgba(255,80,80,.18);
}

@media (max-width: 700px){
  .admin-head{
    flex-direction:column;
    align-items:flex-start;
  }
}

.admin-filters{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:end;
  margin:18px 0 16px;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}

.filter-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:180px;
}

.filter-grow{
  flex:1 1 260px;
}

.filter-group label{
  font-size:.88rem;
  color:rgba(255,255,255,.72);
}

.filter-group input,
.filter-group select{
  height:42px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  padding:0 12px;
  outline:none;
}

.filter-group input::placeholder{
  color:rgba(255,255,255,.42);
}

.filter-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

@media (max-width: 700px){
  .admin-filters{
    padding:12px;
  }

  .filter-group,
  .filter-grow{
    width:100%;
    min-width:unset;
    flex:unset;
  }

  .filter-actions{
    width:100%;
  }
}

.admin-form{
  margin-top:18px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field-span-2{
  grid-column:span 2;
}

.field label{
  font-size:.92rem;
  color:rgba(255,255,255,.78);
}

.field input,
.field select,
.field textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  border-radius:12px;
  padding:12px 14px;
  outline:none;
}

.field textarea{
  resize:vertical;
  min-height:120px;
}

.preview-admin{
  max-width:260px;
  width:100%;
  height:auto;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:#fff;
  display:block;
}

.form-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

@media (max-width: 700px){
  .form-grid{
    grid-template-columns:1fr;
  }

  .field-span-2{
    grid-column:auto;
  }
}

.field select,
.filter-group select{
  color:#fff;
  background:rgba(255,255,255,.04);
}

.field select option,
.filter-group select option{
  color:#111;
  background:#fff;
}

@media (max-width: 768px){
  .admin-bar{
    gap:12px;
    align-items:center;
  }

  .admin-topbar .brand{
    flex:0 0 auto;
  }

  .admin-nav{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .admin-nav::-webkit-scrollbar{
    display:none;
  }

  .admin-nav a{
    flex:0 0 auto;
  }
}

.bike-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 20px;
}

.bike-filters a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  font-size:.9rem;
  border-radius:999px;
  text-decoration:none;
  color:rgba(255,255,255,.82);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:.2s ease;
}

.bike-filters a:hover,
.bike-filters a.is-active{
  color:#fff;
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.18);
}

.bike-search{
  display:flex;
  gap:8px;
  margin:14px 0 12px;
}

.bike-search input{
  flex:1;
  height:40px;
  border-radius:10px;
}

.bike-search button{
  height:40px;
  padding:0 14px;
}

.bike-installments{
  font-size:.85rem;
  color:rgba(255,255,255,.65);
  margin-left:6px;
}

.home-bike-highlight{
  overflow:hidden;
}

.bike-highlight{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
  align-items:center;
}

.bike-highlight__image{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.bike-highlight__image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bike-highlight__content h2{
  margin-bottom:12px;
}

@media (max-width: 768px){
  .bike-highlight{
    grid-template-columns:1fr;
  }
}


.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:.18s ease;
}

.btn-outline:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.24);
}

.bike-card__actions,
.bike-highlight__actions,
.bike-page__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.bike-card__actions > a,
.bike-highlight__actions > a,
.bike-page__actions > a{
  flex:1 1 180px;
}

.bike-page{
  display:grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap:28px;
  align-items:start;
}

.bike-page__media img{
  width:100%;
  display:block;
  border-radius:18px;
  object-fit:cover;
  background: rgba(255,255,255,.03);
}

.bike-page__title{
  margin:8px 0 10px;
  font-size:clamp(1.8rem, 3vw, 2.4rem);
  line-height:1.1;
}

.bike-page__price{
  font-size:clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight:800;
  color:#7CFC98;
  margin-bottom:10px;
}

.bike-page__price span{
  display:block;
  margin-top:6px;
  font-size:.98rem;
  font-weight:500;
  color:rgba(255,255,255,.72);
}

.bike-page__description{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

.bike-page__description h2{
  margin:0 0 10px;
  font-size:1.1rem;
}

.bike-page__description p{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.7;
}

@media (max-width: 860px){
  .bike-page{
    grid-template-columns: 1fr;
    gap:18px;
  }

  .bike-card__actions,
  .bike-highlight__actions{
    flex-direction:column;
  }

  .bike-card__actions > a,
  .bike-highlight__actions > a{
    flex:1 1 auto;
    width:100%;
  }

  .bike-page__actions{
    display:flex;
    flex-direction:row;
    gap:10px;
  }

  .bike-page__actions > a{
    flex:1;
    width:auto;
    min-width:0;
  }
}

.bike-card__actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.bike-card__actions .btn-whatsapp,
.bike-card__actions .btn-outline{
  margin:0;
  width:auto;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  box-sizing:border-box;
}

.bike-card__actions .btn-whatsapp{
  flex:1.2;
}

.bike-card__actions .btn-outline{
  flex:1;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  color:#fff;
}

@media (max-width: 480px){
  .bike-card__actions{
    gap:8px;
  }

  .bike-card__actions .btn-whatsapp,
  .bike-card__actions .btn-outline{
    min-height:42px;
    font-size:.95rem;
  }
}
.btn-mini.whatsapp{
  background:#25D366;
  color:#fff;
  border:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.weather-home{
  margin:18px 0 22px;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.04);
}

.weather-home__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.weather-home__title{
  font-size:1rem;
  font-weight:700;
}

.weather-home__city{
  opacity:.8;
  font-size:.92rem;
}

.weather-home__main{
  display:flex;
  align-items:center;
  gap:18px;
}

.weather-home__temp{
  font-size:2.2rem;
  font-weight:800;
  line-height:1;
  min-width:90px;
}

.weather-home__meta{
  display:grid;
  gap:6px;
  font-size:.96rem;
}

.weather-home__status{
  margin-top:14px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  font-weight:600;
}

@media (max-width: 700px){
  .weather-home__head,
  .weather-home__main{
    display:block;
  }

  .weather-home__city{
    display:block;
    margin-top:4px;
  }

  .weather-home__temp{
    margin-bottom:12px;
  }
}
.weather-home--compact .weather-home__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.weather-home__info{
  font-size:.9rem;
  opacity:.85;
}

.modal-weather{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.modal-weather.active{
  display:flex;
}

.modal-weather__content{
  background:#111827;
  padding:20px;
  border-radius:16px;
  width:90%;
  max-width:420px;
}

.modal-weather__header{
  display:flex;
  justify-content:space-between;
  margin-bottom:14px;
}

.modal-weather__days{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.weather-day .ok{ color:#22c55e; }
.weather-day .warn{ color:#facc15; }
.weather-day .bad{ color:#ef4444; }

.weather-day{
  padding:12px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
}

.weather-day__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.weather-day__top strong{
  font-size:1rem;
}

.weather-day__top .temp{
  font-weight:700;
  font-size:1.1rem;
}

.weather-day__meta{
  display:flex;
  justify-content:space-between;
  font-size:.9rem;
  opacity:.85;
  margin-bottom:6px;
}

.weather-day__status{
  font-weight:600;
}

.weather-day__status.ok{ color:#22c55e; }
.weather-day__status.warn{ color:#facc15; }
.weather-day__status.bad{ color:#ef4444; }

.weather-home{
  position:relative;
  overflow:hidden;
}

.weather-home::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.9;
  pointer-events:none;
}

.weather-home > *{
  position:relative;
  z-index:1;
}

/* NUBLADO */
.weather--cloud::before{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(135deg, #111827 0%, #172554 45%, #1e293b 100%);
}

/* CHUVA */
.weather--rain::before{
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172033 45%, #1d4ed8 100%);
}

/* SOL */
.weather--sun::before{
  background:
    radial-gradient(circle at top right, rgba(251,191,36,.18), transparent 28%),
    linear-gradient(135deg, #1f2937 0%, #1e3a8a 45%, #92400e 100%);
}