/* Borracharia do José — folha de estilos principal
   Visual industrial/automotivo: azul-aço + laranja-segurança, Oswald + Barlow */

:root {
  --steel: #1E3A4C;
  --steel-900: #142833;
  --steel-700: #2C5063;
  --steel-050: #E7EEF2;
  --orange: #E8622C;
  --orange-600: #C9501F;
  --orange-050: #FCE9DF;
  --ink: #1A1D1F;
  --body: #31373B;
  --muted: #6A747A;
  --bg: #F4F5F6;
  --surface: #FFFFFF;
  --line: #DDE2E5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--body);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-600); text-underline-offset: 3px; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.55em;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }

.brc-wrap { width: min(1150px, 92%); margin: 0 auto; }
.brc-narrow { width: min(790px, 92%); margin: 0 auto; }

.brc-skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.brc-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Barra de identificação / disclaimer ---------- */
.brc-topbar {
  background: var(--steel-900); color: #C5D2DA;
  font-size: 0.82rem; line-height: 1.5; padding: 0.55rem 0;
}
.brc-topbar strong { color: #fff; font-weight: 600; }
.brc-topbar .brc-wrap { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; justify-content: space-between; }

/* ---------- Cabeçalho ---------- */
.brc-header { background: var(--steel); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--orange); }
.brc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; }
.brc-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brc-brand-mark {
  width: 46px; height: 46px; border-radius: 8px; background: var(--orange);
  display: grid; place-items: center; color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.5rem;
}
.brc-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brc-brand-name { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.2rem; color: #fff; letter-spacing: 0.03em; }
.brc-brand-kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9FB4C0; }

.brc-nav-toggle { display: none; background: none; border: 1px solid #40616F; border-radius: 6px; padding: 0.45rem 0.7rem; font: inherit; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 0.05em; }
.brc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.brc-nav a { text-decoration: none; color: #DCE6EB; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.04em; }
.brc-nav a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.brc-hero { background: var(--steel); color: #E7EEF2; padding: 3.6rem 0 3.2rem; position: relative; overflow: hidden; }
.brc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--steel-900) 0%, var(--steel) 55%, var(--steel-700) 100%); z-index: 0; }
.brc-hero .brc-wrap { position: relative; z-index: 1; }
.brc-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3rem; align-items: center; }
.brc-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: var(--orange); margin-bottom: 1rem; }
.brc-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); display: inline-block; }
.brc-hero h1 { color: #fff; }
.brc-hero h1 mark { background: none; color: var(--orange); }
.brc-lead { font-size: 1.18rem; color: #C9D6DE; max-width: 54ch; }
.brc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.brc-btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 6px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.98rem; font-weight: 500; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.brc-btn-solid { background: var(--orange); color: #fff; }
.brc-btn-solid:hover { background: var(--orange-600); color: #fff; }
.brc-btn-line { border-color: #6E8794; color: #fff; background: transparent; }
.brc-btn-line:hover { border-color: var(--orange); color: var(--orange); }
.brc-hero-figure { margin: 0; }
.brc-hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 4px solid var(--steel-700); }

.brc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid #335060; }
.brc-fact strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.15rem; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.brc-fact span { color: #9FB4C0; font-size: 0.9rem; }

/* ---------- Seções ---------- */
.brc-section { padding: 4rem 0; }
.brc-section-dark { background: var(--steel); color: #E7EEF2; }
.brc-section-dark h2, .brc-section-dark h3 { color: #fff; }
.brc-section-head { max-width: 64ch; margin-bottom: 2.4rem; }
.brc-section-head .brc-eyebrow { color: var(--orange-600); }
.brc-section-dark .brc-section-head .brc-eyebrow { color: var(--orange); }
.brc-section-head p { color: var(--muted); font-size: 1.06rem; }
.brc-section-dark .brc-section-head p { color: #AEC0C9; }

/* Serviços */
.brc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.brc-service { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 8px; padding: 1.6rem; transition: transform .15s, box-shadow .15s; }
.brc-service:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(30,58,76,.1); }
.brc-service-ico { width: 46px; height: 46px; border-radius: 8px; background: var(--steel-050); color: var(--steel); display: grid; place-items: center; margin-bottom: 0.9rem; }
.brc-service-ico svg { width: 26px; height: 26px; }
.brc-service h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.brc-service p { font-size: 0.97rem; margin-bottom: 0; }

/* Passos */
.brc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.brc-step { position: relative; padding-top: 0.5rem; }
.brc-step-num { font-family: 'Oswald', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--orange); line-height: 1; }
.brc-section-dark .brc-step-num { color: var(--orange); }
.brc-step h3 { font-size: 1.1rem; margin: 0.4rem 0 0.35rem; }
.brc-step p { font-size: 0.94rem; margin: 0; }
.brc-section-dark .brc-step p { color: #AEC0C9; }

/* Tabela */
.brc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.brc-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 0.96rem; }
.brc-table th, .brc-table td { padding: 0.9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.brc-table thead th { background: var(--steel); color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 500; font-size: 0.9rem; }
.brc-table tbody th { font-weight: 600; color: var(--ink); background: var(--bg); width: 30%; }
.brc-table tbody tr:last-child td, .brc-table tbody tr:last-child th { border-bottom: 0; }
.brc-table-foot { font-size: 0.87rem; color: var(--muted); margin-top: 0.9rem; }

/* Guia */
.brc-guide-intro { max-width: 70ch; margin-bottom: 1.8rem; }
.brc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2.4rem; padding: 0; list-style: none; }
.brc-chips a { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); color: var(--body); font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.03em; text-decoration: none; }
.brc-chips a:hover { border-color: var(--orange); color: var(--orange-600); }
.brc-guide-body { max-width: 75ch; }
.brc-guide-body h3 { margin-top: 2.5rem; padding-top: 1.1rem; border-top: 2px solid var(--line); scroll-margin-top: 90px; display: flex; align-items: baseline; gap: 0.7rem; }
.brc-guide-body h3 i { font-style: normal; font-family: 'Oswald', sans-serif; color: var(--orange); font-size: 1.1rem; }
.brc-guide-body h3:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.brc-guide-body ul, .brc-guide-body ol { padding-left: 1.3rem; }
.brc-guide-body li { margin-bottom: 0.45rem; }
.brc-note { background: var(--orange-050); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 1.2rem 1.5rem; margin: 1.6rem 0; }
.brc-note p:last-child { margin-bottom: 0; }

/* Sobre */
.brc-about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.brc-about-figure { margin: 0; }
.brc-about-figure img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--surface); box-shadow: 0 10px 26px rgba(30,58,76,.14); }
.brc-datagrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.brc-data { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.1rem; font-size: 0.93rem; }
.brc-data strong { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; color: var(--steel); margin-bottom: 0.25rem; }

/* Blog */
.brc-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.brc-post { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.brc-post img { aspect-ratio: 16 / 10; object-fit: cover; }
.brc-post-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.brc-post-meta { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; color: var(--orange-600); margin-bottom: 0.5rem; }
.brc-post h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.brc-post h3 a { color: var(--ink); text-decoration: none; }
.brc-post h3 a:hover { color: var(--orange-600); }
.brc-post p { font-size: 0.95rem; flex: 1; color: var(--body); }
.brc-post-more { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; }

/* FAQ */
.brc-faq { max-width: 820px; }
.brc-faq details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 0.8rem; background: var(--surface); }
.brc-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.02rem; color: var(--ink); }
.brc-faq summary::-webkit-details-marker { display: none; }
.brc-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 4px; background: var(--steel-050); color: var(--steel); display: grid; place-items: center; font-family: 'Barlow', sans-serif; font-size: 1.2rem; }
.brc-faq details[open] summary::after { content: "\2013"; background: var(--orange); color: #fff; }
.brc-faq details p { padding: 0 1.3rem 1.2rem; margin: 0; max-width: 72ch; }

/* Contato */
.brc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.brc-contact-info dt { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--orange); margin-top: 1.1rem; }
.brc-contact-info dd { margin: 0.2rem 0 0; color: #E7EEF2; }
.brc-contact-info dd a { color: #FFFFFF; text-decoration: underline; }
.brc-contact-info address { font-style: normal; line-height: 1.75; }
.brc-form { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; }
.brc-form label { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.82rem; color: var(--steel); margin: 1rem 0 0.35rem; }
.brc-form label:first-of-type { margin-top: 0; }
.brc-form input, .brc-form select, .brc-form textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; color: var(--ink); background: var(--bg); }
.brc-form input:focus, .brc-form select:focus, .brc-form textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.brc-form textarea { min-height: 130px; resize: vertical; }
.brc-form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin-top: 1.1rem; }
.brc-form-consent input { width: auto; margin-top: 0.3rem; }
.brc-form button { margin-top: 1.3rem; width: 100%; }
.brc-form-note { font-size: 0.83rem; color: var(--muted); margin: 0.9rem 0 0; }

/* Rodapé */
.brc-footer { background: var(--steel-900); color: #A9BCC6; padding: 3.4rem 0 2rem; }
.brc-footer a { color: #fff; }
.brc-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.brc-footer h4 { color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.98rem; margin-bottom: 0.9rem; }
.brc-footer ul { list-style: none; padding: 0; margin: 0; }
.brc-footer li { margin-bottom: 0.5rem; font-size: 0.94rem; }
.brc-footer p { font-size: 0.93rem; }
.brc-footer-legal { margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid #27414F; font-size: 0.83rem; color: #8399A5; line-height: 1.7; }
.brc-footer-legal strong { color: #C5D2DA; font-weight: 600; }

/* Cookies */
.brc-cookie { position: fixed; left: 1.2rem; bottom: 1.2rem; width: min(400px, calc(100% - 2.4rem)); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 10px; box-shadow: 0 12px 34px rgba(20,40,51,.22); padding: 1.1rem 1.2rem; z-index: 150; font-size: 0.9rem; }
.brc-cookie p { margin: 0 0 0.8rem; }
.brc-cookie button { cursor: pointer; }
.brc-cookie[hidden] { display: none; }

/* Páginas internas */
.brc-page-head { background: var(--steel); color: #E7EEF2; padding: 3rem 0 2.4rem; border-bottom: 3px solid var(--orange); }
.brc-page-head h1 { color: #fff; }
.brc-page-head p { color: #C9D6DE; font-size: 1.1rem; max-width: 64ch; }
.brc-breadcrumb { font-size: 0.85rem; color: #9FB4C0; margin-bottom: 1rem; }
.brc-breadcrumb a { color: #C9D6DE; }
.brc-article { padding: 2.6rem 0 4rem; }
.brc-article-meta { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1.6rem; }
.brc-article-meta strong { color: var(--ink); }
.brc-article-figure { margin: 0 0 2rem; }
.brc-article-figure img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.brc-article-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }
.brc-article h2 { font-size: 1.6rem; margin-top: 2.3rem; }
.brc-article h3 { font-size: 1.25rem; margin-top: 1.7rem; }
.brc-article ul, .brc-article ol { padding-left: 1.3rem; }
.brc-article li { margin-bottom: 0.45rem; }
.brc-author-box { margin-top: 3rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; background: var(--surface); display: flex; gap: 1.2rem; align-items: flex-start; }
.brc-author-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 8px; background: var(--steel); color: #fff; display: grid; place-items: center; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.15rem; }
.brc-author-box strong { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
.brc-author-box p { margin: 0.25rem 0 0; font-size: 0.93rem; }
.brc-related { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.brc-related h2 { font-size: 1.35rem; margin-top: 0; }
.brc-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.brc-legal h2 { font-size: 1.4rem; margin-top: 2.1rem; }
.brc-legal p, .brc-legal li { font-size: 1rem; }

/* Responsivo */
@media (max-width: 960px) {
  .brc-hero-grid, .brc-about-grid, .brc-contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .brc-hero-figure { max-width: 520px; }
  .brc-services, .brc-posts { grid-template-columns: 1fr 1fr; }
  .brc-steps { grid-template-columns: 1fr 1fr; }
  .brc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brc-nav-toggle { display: inline-block; }
  .brc-nav { display: none; width: 100%; }
  .brc-nav.is-open { display: block; }
  .brc-nav ul { flex-direction: column; gap: 0; padding: 0.4rem 0 0.8rem; }
  .brc-nav li { border-top: 1px solid #335060; }
  .brc-nav a { display: block; padding: 0.75rem 0.2rem; }
  .brc-header-inner { flex-wrap: wrap; }
  .brc-services, .brc-posts, .brc-steps, .brc-datagrid, .brc-footer-grid { grid-template-columns: 1fr; }
  .brc-facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .brc-section { padding: 2.8rem 0; }
  .brc-form { padding: 1.4rem; }
  .brc-cookie { left: 0.7rem; right: 0.7rem; width: auto; }
  .brc-table { min-width: 0; font-size: 0.86rem; }
  .brc-table th, .brc-table td { padding: 0.65rem 0.6rem; }
  .brc-table thead th { font-size: 0.78rem; }
  .brc-table tbody th { width: 34%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .brc-service, .brc-btn { transition: none; } }
