/* ==========================================================================
   Cesinha Moto Peças v2 — Limpo, Editorial & Especializado em Motos
   ========================================================================== */

:root {
  --dark: #111317;
  --dark-2: #0A0B0E;
  --red: #D9232E;
  --red-bright: #FF5963;
  --red-bg: #FDF1F2;
  --canvas: #F8F7F4;
  --stone: #EFECE6;
  --surface: #FFFFFF;

  --wa: #199E4E;
  --wa-hover: #148240;
  --mint: #4ADE80;
  --gold: #D99626;

  --ink: #14161B;
  --muted: #585E6B;
  --light: #F3F4F6;
  --light-muted: #A1A7B3;
  --line: rgba(20, 22, 27, 0.09);
  --line-dark: rgba(255, 255, 255, 0.12);

  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --accent: "Barlow Condensed", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-md: 20px;
  --r-lg: 28px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px -14px rgba(17, 19, 23, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

.skip-link { position: absolute; top: -80px; left: 1rem; z-index: 999; background: var(--surface); color: var(--ink); padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  padding: .82rem 1.45rem; border-radius: var(--pill);
  border: 1px solid transparent;
  transition: transform .22s var(--ease), background-color .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .55rem 1.15rem; font-size: .84rem; }
.btn--lg { padding: 1rem 1.75rem; font-size: .98rem; }
.btn--xl { padding: 1.15rem 2.2rem; font-size: 1.05rem; }

.btn--wa { background: var(--wa); color: var(--surface); box-shadow: 0 14px 32px rgba(25, 158, 78, .32); }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 18px 38px rgba(25, 158, 78, .42); }
.btn--light { background: var(--surface); color: var(--dark); }
.btn--light:hover { background: var(--stone); }
.btn--ghost-light { color: var(--surface); border-color: rgba(255, 255, 255, .26); }
.btn--ghost-light:hover { border-color: var(--surface); background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--dark); color: var(--surface); }
.btn--dark:hover { background: var(--red); }
.ico { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Tipografia de Seção --- */
.kicker {
  display: inline-block; margin-bottom: .75rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
}
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); color: var(--ink); }
h2 em, h1 em {
  font-family: var(--accent); font-style: italic; font-weight: 700;
  letter-spacing: -0.01em; font-size: 1.08em;
}
h2 em { color: var(--red); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(17, 19, 23, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--surface); flex-shrink: 0; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--surface);
  padding: 4px; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text small { font-size: .68rem; color: var(--light-muted); font-weight: 500; letter-spacing: .04em; }
.brand__text strong { font-family: var(--display); font-size: .95rem; font-weight: 700; }

.nav { display: flex; gap: 2rem; margin-inline: auto; }
.nav a { color: var(--light-muted); font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--surface); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--surface);
  padding: 7.5rem 0 5.5rem;
}
.hero__aura {
  position: absolute; right: -12%; top: -24%;
  width: 760px; height: 760px; max-width: 90vw;
  background: radial-gradient(circle, rgba(217, 35, 46, .16) 0%, transparent 62%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .9rem; border-radius: var(--pill);
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark);
  font-size: .8rem; font-weight: 500; color: var(--light); margin-bottom: 1.5rem;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.status-dot.is-open { background: var(--mint); box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); }

.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); color: var(--surface); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--red-bright); }
.hero__lead { font-size: 1.06rem; color: var(--light-muted); max-width: 500px; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.5rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: .86rem; color: var(--light-muted);
}
.hero__meta strong { color: var(--surface); }
.hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .28); }

.hero__visual { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hero__frame {
  margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.8;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 36px 70px rgba(0, 0, 0, .48);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero__float {
  position: absolute; left: -24px; bottom: 22px;
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .95rem .65rem .65rem; border-radius: 16px;
  background: rgba(17, 19, 23, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}
.hero__float img { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: var(--surface); padding: 3px; }
.hero__float strong { display: block; font-size: .85rem; color: var(--surface); }
.hero__float span { display: block; font-size: .75rem; color: var(--light-muted); }

/* ==========================================================================
   Seções
   ========================================================================== */
.sec { padding: 6rem 0; }
.sec--canvas { background: var(--canvas); }
.sec--stone { background: var(--stone); border-block: 1px solid var(--line); }
.sec--dark { background: var(--dark); color: var(--surface); }

.sec__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  margin-bottom: 3rem;
}
.sec__desc { max-width: 340px; color: var(--muted); font-size: .95rem; }

/* --- Bento de Serviços --- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.85rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 35, 46, .36); box-shadow: 0 24px 54px -12px rgba(17, 19, 23, .14); }

.card__ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--red-bg); color: var(--red);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.card__ico svg { width: 22px; height: 22px; }
.card--accent .card__ico { background: var(--dark); color: var(--surface); }

.card h3 { font-size: 1.22rem; margin-bottom: .5rem; color: var(--ink); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 1.5rem; }
.card__go { margin-top: auto; font-family: var(--display); font-size: .86rem; font-weight: 700; color: var(--red); display: inline-flex; gap: .35rem; }
.card:hover .card__go span { transform: translateX(4px); }
.card__go span { transition: transform .2s; }

/* --- A Loja (Split + Galeria Limpa) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: .85rem; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery__main { aspect-ratio: 3 / 3.9; }
.gallery__side { display: grid; gap: .85rem; }
.gallery__side figure { aspect-ratio: 4 / 3.3; }

.split__copy h2 { margin-bottom: 2rem; }
.pillars { list-style: none; margin: 0 0 2.25rem; padding: 0; border-top: 1px solid var(--line); }
.pillars li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.pillars span { font-family: var(--accent); font-style: italic; font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--red); }
.pillars h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.pillars p { font-size: .92rem; color: var(--muted); }

/* --- Avaliações & Redes --- */
.link-out { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--red); }
.link-out:hover { text-decoration: underline; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rev {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.rev__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.rev__head small { font-size: .72rem; font-weight: 600; color: var(--red); background: var(--red-bg); padding: .24rem .65rem; border-radius: var(--pill); }
.rev blockquote { margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.52; color: var(--ink); font-weight: 500; }
.rev footer { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); }

.social-strip {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.social-strip p { font-size: .92rem; color: var(--muted); }
.social-strip__links { display: flex; flex-wrap: wrap; gap: .75rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.1rem; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--canvas);
  font-family: var(--display); font-size: .84rem; font-weight: 700; color: var(--ink);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.social-btn svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.social-btn:hover { border-color: var(--red); background: var(--red-bg); transform: translateY(-2px); }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.faq-grid h2 { margin-bottom: .75rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--display); font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.25rem 0; color: var(--muted); font-size: .95rem; }

/* --- Contato & Footer --- */
.cta-top { text-align: center; margin-bottom: 4rem; }
.cta-top h2 { color: var(--surface); margin-bottom: 1.75rem; }

.contact-box {
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 2rem; align-items: stretch;
  padding-top: 3rem; border-top: 1px solid var(--line-dark);
}
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-cols h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-bright); margin-bottom: .75rem; font-weight: 600; }
.contact-cols p { font-size: .92rem; color: var(--light); margin-bottom: .75rem; }
.link-accent { font-weight: 600; font-size: .88rem; color: var(--red-bright); }
.socials a { text-decoration: underline; text-underline-offset: 3px; }
.contact-cols a:hover { color: var(--red-bright); }

.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-dark); min-height: 230px; }
.map iframe { width: 100%; height: 100%; min-height: 230px; display: block; filter: grayscale(.15) contrast(1.04); }

.footer { background: var(--dark-2); color: var(--light-muted); padding: 1.75rem 0; font-size: .82rem; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer strong { color: var(--surface); }

.mobile-bar { display: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  .hero__grid, .split, .faq-grid, .contact-box { grid-template-columns: 1fr; gap: 3rem; }
  .bento, .reviews { grid-template-columns: repeat(2, 1fr); }
  .hero__float { left: 12px; bottom: 12px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 70px; }
  .nav { display: none; }
  .header__row { min-height: 68px; }
  .brand__text small { display: none; }
  .hero { padding: 6.2rem 0 4rem; }
  .hero__actions .btn { width: 100%; }
  .sec { padding: 4.25rem 0; }
  .bento, .reviews, .contact-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { aspect-ratio: 4 / 3.2; }
  .gallery__side { grid-template-columns: 1fr 1fr; }

  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: .5rem;
    position: fixed; inset: auto 0 0 0; z-index: 150;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(17, 19, 23, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a { display: flex; justify-content: center; align-items: center; padding: .85rem 1.1rem; border-radius: var(--pill); font-family: var(--display); font-weight: 700; font-size: .9rem; }
  .mobile-bar__call { color: var(--surface); border: 1px solid var(--line-dark); }
  .mobile-bar__wa { background: var(--wa); color: var(--surface); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

