/* ============================================================
   site.css — estilos compartilhados MotoSmart
   Menu (glass), rodapé, paleta e botões: editar AQUI = muda no site todo.
   ============================================================ */
:root {
  --green:   #00bcd4; --bg: #050e12;
  --green2:  #00a0b8;
  --dark: rgba(5,16,21,.58);
  --dark2: rgba(8,23,29,.66);
  --dark3: rgba(255,255,255,.055);
  --dark4: rgba(255,255,255,.09);
  --text:    #f0f0f0;
  --muted:   #888;
  --border:  rgba(0,188,212,.18);
}

/* ── BASE (fundo padrão do site) ── */
body {
  font-family: 'Inter', system-ui, Arial, sans-serif;
  background: transparent;
  color: var(--text);
}

/* ── BOTÕES / UTILS compartilhados ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #000; font-weight: 700; font-size: .9rem;
  padding: 14px 30px; border-radius: 8px; text-decoration: none; border: none;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green2); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--green); font-weight: 700; font-size: .9rem;
  padding: 13px 28px; border-radius: 8px; text-decoration: none;
  border: 2px solid var(--green); cursor: pointer; transition: all .2s;
}
.btn-outline:hover { background: var(--green); color: #000; transform: translateY(-2px); }

/* ── MENU SUPERIOR EM VIDRO (glassmorphism) — pílula flutuante ── */
header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: top .3s;
}
header.scrolled { top: 8px; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 9px 20px 9px 18px; border-radius: 20px;
  background: rgba(255,255,255,.055);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.logo img { height: 40px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem;
  font-weight: 500; letter-spacing: .02em; transition: color .2s;
}
nav a:hover, nav a.active { color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: rgba(20,20,20,.97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; transition: color .2s; }
.mobile-nav a:hover { color: var(--green); }
.mobile-nav-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ── RODAPÉ ── */
footer { background: #060606; border-top: 1px solid rgba(255,255,255,.06); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer-logo p { font-size: .83rem; color: var(--muted); line-height: 1.7; max-width: 240px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  text-decoration: none; font-size: .9rem; transition: all .2s;
}
.footer-social:hover { background: var(--green); color: #000; }
.footer-col h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer-bottom .green { color: var(--green); }

/* ── RESPONSIVO (menu/rodapé) ── */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  nav, .header-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Submenu de "Modelos" ─────────────────────────────────────────────
   O pai e um link de verdade: clicar leva para /modelos. O hover abre as
   duas opcoes. O padding-top do .nav-drop e a ponte do mouse — sem ele o
   menu fecha no vao entre o item e a caixa. */
.nav-drop-wrap { position: relative; display: inline-flex; align-items: center; }
.nav-drop-pai { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-pai i { font-size: .62rem; transition: transform .2s; opacity: .75; }
.nav-drop-wrap:hover .nav-drop-pai { color: var(--green); }
.nav-drop-wrap:hover .nav-drop-pai i { transform: rotate(180deg); }
.nav-drop { position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 16px; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; z-index: 1001; }
.nav-drop-wrap:hover .nav-drop { opacity: 1; visibility: visible; }
.nav-drop-in { min-width: 232px; background: rgba(26,26,26,.98); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 12px; padding: 8px;
  box-shadow: 0 22px 54px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 2px; }
.nav-drop-in a { display: block; padding: 11px 13px; border-radius: 8px; font-size: .84rem;
  font-weight: 600; color: var(--text); white-space: nowrap; }
.nav-drop-in a:hover { background: rgba(0,188,212,.12); color: var(--green); }
.mobile-nav .mn-sub { font-size: 1rem; font-weight: 500; color: var(--muted); }
.mobile-nav .mn-sub::before { content: "— "; opacity: .5; }

/* ── FUNDO (inspirado no Conserta Smart, em ciano) ───────────────────
   A base solida fica no <html> e o body e transparente de proposito: a
   camada .bg usa z-index:-1 e so aparece se nada opaco estiver na frente.
   Assim nenhuma secao precisou ganhar z-index na mao.
   O markup das orbes esta no menu.asp, que entra em todas as paginas. */
html { background: var(--bg); }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 560px at 86% -6%,  rgba(0,188,212,.28), transparent 58%),
    radial-gradient(460px 460px at 100% 78%, rgba(34,211,238,.13), transparent 60%),
    radial-gradient(760px 540px at 6% 14%,   rgba(0,160,184,.10), transparent 62%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: drift 18s ease-in-out infinite; }
.o1 { width: 460px; height: 460px; background: var(--green); top: -100px; right: -50px; }
.o3 { width: 340px; height: 340px; background: #067d8e; bottom: -120px; right: 16%;
  animation-delay: -9s; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,30px); } }
@media (max-width: 900px) {
  /* no celular a fumaca pesa e quase nao aparece: fica so o brilho do topo */
  .bg::before { background: radial-gradient(460px 340px at 92% -8%, rgba(0,188,212,.16), transparent 58%); }
  .o1 { width: 260px; height: 260px; opacity: .22; top: -130px; right: -110px; animation: none; }
  .o3 { display: none; }
}
