/* ═══════════════════════════════════════════════════════════
   MEGA LOCAÇÕES — components.css
   Hero, trust bar, cards de produto, passos, FAQ, mapa, CTA, breadcrumb
═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero { background: linear-gradient(160deg, var(--blue) 0%, #021c52 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(253,208,3,.14) 0%, transparent 68%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 44px 0 52px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.hero h1 { color: #fff; margin: 16px 0; }
.hero .hero-sub { font-size: clamp(16px, 2.4vw, 19px); color: rgba(255,255,255,.82); line-height: 1.55; max-width: 560px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.4); font-size: 14px; }

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar { background: var(--blue-light); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gray-line); border-radius: var(--radius); overflow: hidden; }
.trust-pill { background: var(--blue-light); display: flex; align-items: center; gap: 12px; padding: 18px 16px; }
.trust-pill-icon { flex-shrink: 0; width: 38px; height: 38px; background: var(--blue); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.trust-pill-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--blue); line-height: 1.1; }
.trust-pill-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* ── Grid de produtos ─────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card-media { aspect-ratio: 1/1; background: var(--off-white); position: relative; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-media .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #bbb; font-size: 12px; }
.product-card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-transform: uppercase; color: var(--blue); line-height: 1.05; }
.product-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; flex: 1; }
.product-card-cta { margin-top: 4px; }

/* ── Passos (como funciona) ───────────────────────────────── */
.steps { background: var(--yellow); border-radius: var(--radius-lg); padding: 32px 24px; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; background: var(--blue); color: var(--yellow); font-family: var(--font-display); font-weight: 900; font-size: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--blue); line-height: 1.1; }
.step-desc { font-size: 14px; color: var(--yellow-text); margin-top: 3px; }
.steps-foot { text-align: center; margin-top: 24px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--blue); font-size: 16px; }

/* ── Confiança local / mapa ───────────────────────────────── */
.local-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-line); aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: var(--off-white); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-frame .ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #aaa; font-size: 14px; text-align: center; padding: 20px; }
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-line); }
.info-row:last-child { border-bottom: none; }
.info-icon { flex-shrink: 0; width: 36px; height: 36px; background: var(--blue-light); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.info-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 13px; color: var(--text-light); letter-spacing: .03em; }
.info-value { font-weight: 600; color: var(--text); font-size: 15px; }
.info-sub { font-size: 13px; color: var(--text-muted); }

/* ── Depoimentos ──────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--yellow); font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: var(--text); line-height: 1.55; }
.review-author { margin-top: 12px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--blue); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--gray-line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 18px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--blue); text-transform: uppercase; line-height: 1.2; }
.faq-chevron { flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 18px 18px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.faq-item.open .faq-a { max-height: 420px; }

/* ── CTA final ────────────────────────────────────────────── */
.cta-final { background: linear-gradient(160deg, var(--blue) 0%, #021c52 100%); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 44px 24px; }
.cta-final h2 { color: #fff; margin-bottom: 10px; }
.cta-final p { color: rgba(255,255,255,.8); margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-final-btns { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto; }
.cta-micro { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { opacity: .5; }

/* ── Page hero (subpáginas) ───────────────────────────────── */
.page-hero { background: linear-gradient(160deg, var(--blue) 0%, #021c52 100%); color: #fff; padding: 32px 0 36px; }
.page-hero h1 { color: #fff; margin: 14px 0 10px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; font-size: 16px; line-height: 1.55; }

/* ── Filtro de catálogo ───────────────────────────────────── */
.filter-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-pill { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; padding: 9px 18px; border-radius: 100px; border: 2px solid var(--gray-line); background: #fff; color: var(--text-muted); cursor: pointer; transition: all .15s; min-height: 40px; }
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── Bloco "não encontrou" ────────────────────────────────── */
.inline-cta { grid-column: 1 / -1; background: var(--blue-light2); border: 1px dashed var(--blue-mid); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.inline-cta p { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--blue); font-size: 18px; margin-bottom: 14px; }

/* ── Detalhe de produto ───────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 28px; }
.product-detail-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-line); aspect-ratio: 4/3; background: var(--off-white); }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-media .ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #bbb; }
.product-features { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.product-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.check { flex-shrink: 0; width: 22px; height: 22px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ── Cards de área ────────────────────────────────────────── */
.area-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.area-card { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.area-card h3 { color: var(--blue); font-size: 24px; margin-bottom: 8px; }
.area-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tag { font-size: 12px; background: var(--off-white); border: 1px solid var(--gray-line); color: var(--text-muted); padding: 4px 10px; border-radius: 100px; }

/* ── Blog ─────────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-media { aspect-ratio: 16/9; background: var(--off-white); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px; }
.post-card-date { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }
.post-card-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--blue); text-transform: uppercase; line-height: 1.1; margin: 6px 0 8px; }
.post-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.post-body { max-width: 740px; margin: 0 auto; }
.post-body p { margin-bottom: 16px; line-height: 1.7; font-size: 17px; }
.post-body h2 { color: var(--blue); margin: 28px 0 12px; font-size: 28px; }
.post-body h3 { color: var(--blue); margin: 22px 0 10px; font-size: 22px; }
.post-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.post-body li { margin-bottom: 8px; line-height: 1.6; }
.post-body img { border-radius: var(--radius); margin: 16px 0; }
.post-body a { color: var(--blue-mid); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   DESKTOP / TABLET
═══════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; }
  .cta-final-btns { flex-direction: row; max-width: none; justify-content: center; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .wa-float-label { display: flex; }
}

@media (min-width: 940px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 64px 0 72px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { padding: 44px 40px; }
  .local-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .product-grid--catalog { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
}
