/* ===========================================================
   Oficina Central — mecânica e manutenção · design system
   Asfalto grafite + amarelo de sinalização + chapa de matrícula
   Barlow Condensed / Barlow
   =========================================================== */

:root {
  --asfalto:   #1B1D21;
  --asfalto-2: #26292F;
  --asfalto-3: #33373F;
  --amarelo:   #F5B301;
  --amarelo-2: #D99E00;
  --branco:    #F5F5F2;
  --ink:       #1B1D21;
  --muted:     #565B64;
  --linha:     #DDDDD6;
  --linha-d:   rgba(255,255,255,.14);
  --azul-eu:   #003399;

  --maxw: 1160px;
  --r: 8px;
  --shadow-sm: 0 2px 10px rgba(27,29,33,.12);
  --shadow: 0 16px 40px rgba(27,29,33,.18);

  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p  { color: var(--muted); }
a  { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section    { padding: clamp(60px, 8.5vw, 104px) 0; }
.section-sm { padding: clamp(44px, 6vw, 72px) 0; }
.bg-branco  { background: var(--branco); }
.bg-cinza   { background: #EBEBE6; }
.bg-asfalto { background: var(--asfalto); }
.bg-asfalto h2, .bg-asfalto h3 { color: #fff; }
.bg-asfalto p { color: #A6ABB4; }

/* faixa diagonal de oficina (assinatura estrutural) */
.faixa { height: 12px; background: repeating-linear-gradient(-45deg, var(--amarelo) 0 16px, var(--asfalto) 16px 32px); }

.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--asfalto);
  background: var(--amarelo); padding: 5px 12px; margin-bottom: 16px;
}
.bg-asfalto .eyebrow { color: var(--asfalto); }

.section-head { max-width: 700px; margin: 0 0 clamp(30px,5vw,46px); }
.section-head p { margin-top: 12px; font-size: 1.06rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent; cursor: pointer; border-radius: var(--r);
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn svg { width: 19px; height: 19px; }
.btn-amarelo { background: var(--amarelo); color: var(--asfalto); }
.btn-amarelo:hover { background: var(--amarelo-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-asfalto { background: var(--asfalto); color: #fff; }
.btn-asfalto:hover { background: var(--asfalto-3); transform: translateY(-2px); }
.btn-ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-w:hover { background: rgba(255,255,255,.12); }

/* ===========================================================
   NAV
   =========================================================== */
.nav-overlay { position: fixed; inset: 0; background: rgba(27,29,33,.6); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.nav-overlay.show { opacity: 1; visibility: visible; }

.navbar { position: sticky; top: 0; z-index: 100; background: var(--asfalto); padding: 12px 0; transition: box-shadow .3s, padding .3s; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.4); padding: 7px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; text-transform: uppercase; line-height: .95; }
.nav-logo em { color: var(--amarelo); font-style: normal; }
.nav-logo .sub { display: block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: #A6ABB4; font-weight: 400; }
.nav-mark { flex: none; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 6px;
  color: #D9DBDE; font-weight: 600; font-size: .95rem; background: none; border: none;
  font-family: var(--font-body); cursor: pointer; transition: background .18s, color .18s;
}
.nav-link:hover { color: #fff; background: var(--asfalto-2); }
.nav-link.active, .has-drop.active > .nav-link { color: var(--amarelo); }
.nav-cta {
  display: inline-flex; padding: 10px 18px; border-radius: 6px; background: var(--amarelo);
  color: var(--asfalto); font-weight: 700; font-size: .95rem; transition: background .18s;
}
.nav-cta:hover { background: var(--amarelo-2); }
.caret { transition: transform .25s; }

.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 8px; min-width: 240px; background: #fff;
  border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .22s; z-index: 50;
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover .caret { transform: rotate(180deg); }
.drop-link { display: block; padding: 10px 14px; border-radius: 6px; color: var(--ink); font-size: .93rem; font-weight: 600; transition: background .18s; }
.drop-link:hover { background: #EBEBE6; }
.drop-link.active { color: var(--amarelo-2); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 110; }
.hamburger span { width: 25px; height: 3px; background: #fff; border-radius: 2px; transition: .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 920px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: var(--asfalto);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 82px 20px 30px;
    transform: translateX(100%); transition: transform .32s; z-index: 100; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link, .nav-cta { width: 100%; justify-content: space-between; font-size: 1.02rem; padding: 12px 14px; }
  .nav-cta { margin-top: 10px; justify-content: center; }
  .has-drop { display: flex; flex-direction: column; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 0 0 14px;
  }
  .dropdown .drop-link { color: #D9DBDE; }
  .dropdown .drop-link:hover { background: var(--asfalto-2); color: #fff; }
  .has-drop.open .dropdown { max-height: 420px; }
  .has-drop.open .caret { transform: rotate(180deg); }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero { background: var(--asfalto); color: #fff; padding: clamp(56px,8vw,100px) 0 clamp(48px,7vw,80px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; right: -6%; bottom: 0; width: 38%; background: repeating-linear-gradient(-45deg, rgba(245,179,1,.05) 0 22px, transparent 22px 44px); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--amarelo); }
.hero .lead { color: #A6ABB4; font-size: 1.15rem; max-width: 34em; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

.hero-fiadores { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--linha-d); list-style: none; }
.hero-fiadores li { display: flex; align-items: center; gap: 9px; font-size: .94rem; font-weight: 600; color: #D9DBDE; }
.hero-fiadores svg { width: 19px; height: 19px; color: var(--amarelo); flex: none; }

/* ===========================================================
   MATRÍCULA — assinatura do site
   =========================================================== */
.matricula-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.matricula {
  display: inline-flex; align-items: stretch; border-radius: 8px; overflow: hidden;
  border: 3px solid var(--asfalto); background: #fff; box-shadow: var(--shadow-sm); height: 64px;
}
.matricula .eu {
  width: 44px; background: var(--azul-eu); color: #FC0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; font-size: .6rem; font-weight: 700; letter-spacing: .05em;
}
.matricula .eu svg { width: 20px; height: 20px; }
.matricula input {
  border: none; outline: none; width: 232px; padding: 0 16px;
  font-family: var(--font-mono); font-size: 1.7rem; font-weight: 500; letter-spacing: .14em;
  color: var(--ink); text-transform: uppercase; background: #fff;
}
.matricula input::placeholder { color: #C0C2BC; }
.matricula-nota { font-size: .86rem; color: var(--muted); }
.bg-asfalto .matricula-nota { color: #A6ABB4; }

/* ===========================================================
   SERVIÇOS — cartões de bancada
   =========================================================== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.svc { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-top { height: 6px; background: var(--amarelo); }
.svc-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-body .ref { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.svc-body h3 { margin: 8px 0 8px; }
.svc-body p { font-size: .95rem; flex: 1; }
.svc-link { margin-top: 16px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.svc-link svg { width: 16px; height: 16px; transition: transform .2s; color: var(--amarelo-2); }
.svc:hover .svc-link svg { transform: translateX(4px); }

/* ===========================================================
   COMO TRABALHAMOS (sequência real)
   =========================================================== */
.etapas { list-style: none; counter-reset: et; max-width: 760px; }
.etapas li { counter-increment: et; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--linha); }
.etapas li::before { content: counter(et, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.5px var(--amarelo-2); line-height: 1; }
.etapas h3 { font-size: 1.3rem; margin-bottom: 4px; }
.etapas p { font-size: .97rem; }

/* ===========================================================
   VOZES
   =========================================================== */
.voz { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 24px 26px; height: 100%; display: flex; flex-direction: column; }
.voz p { font-size: 1.02rem; color: var(--ink); flex: 1; }
.voz .quem { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.voz .quem strong { color: var(--ink); display: block; font-size: .93rem; }
.voz .carro { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--amarelo-2); text-transform: uppercase; }

/* ===========================================================
   CTA BAND
   =========================================================== */
.cta-band { background: var(--asfalto); border-radius: var(--r); padding: clamp(34px,5vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 30%; background: repeating-linear-gradient(-45deg, rgba(245,179,1,.08) 0 18px, transparent 18px 36px); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #A6ABB4; margin-top: 8px; max-width: 36em; }

/* ===========================================================
   PAGE HERO interior
   =========================================================== */
.page-hero { background: var(--asfalto); color: #fff; padding: clamp(44px,6vw,68px) 0 clamp(36px,5vw,52px); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .lead { color: #A6ABB4; font-size: 1.1rem; max-width: 38em; margin-top: 14px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #7C818A; margin-bottom: 16px; }
.crumb a { color: #A6ABB4; }
.crumb a:hover { color: #fff; }
.crumb .sep { color: rgba(255,255,255,.28); }

/* ===========================================================
   FORM
   =========================================================== */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,5vw,56px); align-items: start; }
.campo { margin-bottom: 18px; }
.campo label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.campo label small { font-weight: 500; color: var(--muted); }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--linha); border-radius: var(--r);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--asfalto); box-shadow: 0 0 0 3px rgba(245,179,1,.3); }
.campo textarea { min-height: 120px; resize: vertical; }
.form-nota { font-size: .84rem; color: var(--muted); margin-top: 12px; }
.form-ok { display: none; background: #fff; border: 1.5px solid var(--linha); border-left: 5px solid var(--amarelo); border-radius: var(--r); padding: 18px 22px; margin-top: 16px; color: var(--muted); font-size: .95rem; }
.form-ok.show { display: block; }
.form-ok strong { color: var(--ink); }

.fotos-zona { border: 2px dashed var(--linha); border-radius: var(--r); background: #fff; padding: 24px 20px; text-align: center; cursor: pointer; transition: border-color .18s, background .18s; }
.fotos-zona:hover, .fotos-zona.drag { border-color: var(--amarelo-2); background: #FEFBF2; }
.fotos-zona svg { width: 32px; height: 32px; color: var(--amarelo-2); margin: 0 auto 10px; }
.fotos-zona strong { display: block; color: var(--ink); font-size: .96rem; }
.fotos-zona span { font-size: .85rem; color: var(--muted); }
.fotos-zona input { display: none; }
.fotos-lista { list-style: none; margin-top: 12px; text-align: left; }
.fotos-lista li { font-size: .88rem; color: var(--muted); padding: 7px 12px; background: #fff; border: 1px solid var(--linha); border-radius: 6px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.fotos-lista svg { width: 15px; height: 15px; color: var(--amarelo-2); flex: none; }

.lado-bloco { background: #fff; border: 1px solid var(--linha); border-radius: var(--r); padding: 26px; }
.lado-bloco h3 { margin-bottom: 14px; }
.lado-row { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: .95rem; color: var(--muted); }
.lado-row:last-child { border-bottom: none; }
.lado-row svg { width: 20px; height: 20px; color: var(--amarelo-2); flex: none; margin-top: 2px; }
.lado-row strong { color: var(--ink); display: block; }
.lado-row a { font-weight: 700; color: var(--amarelo-2); }

/* ===========================================================
   LISTAS / FAQ (páginas interiores)
   =========================================================== */
.check-lista { list-style: none; max-width: 680px; }
.check-lista li { padding: 12px 0 12px 36px; border-bottom: 1px solid var(--linha); position: relative; color: var(--muted); font-size: .99rem; }
.check-lista li strong { color: var(--ink); }
.check-lista li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 18px; height: 18px; background: var(--amarelo); opacity: .22; border-radius: 4px; }
.check-lista li::after { content: ''; position: absolute; left: 7px; top: 20px; width: 8px; height: 5px; border-left: 2.5px solid var(--amarelo-2); border-bottom: 2.5px solid var(--amarelo-2); transform: rotate(-45deg); }

.faq-lista { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--linha); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .mais { color: var(--amarelo-2); font-size: 1.2rem; font-weight: 800; flex: none; transition: transform .25s; }
details[open] .faq-q .mais { transform: rotate(45deg); }
.faq-a { padding: 0 4px 20px; color: var(--muted); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #121316; color: #A6ABB4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding: clamp(44px,6vw,64px) 0 36px; }
.footer-grid h4 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-logo { font-family: var(--font-head); font-size: 1.5rem; color: #fff; font-weight: 700; text-transform: uppercase; }
.footer-logo em { color: var(--amarelo); font-style: normal; }
.footer-logo .sub { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; color: #7C818A; margin-top: 4px; text-transform: uppercase; }
.footer-grid p { color: #7C818A; font-size: .9rem; margin-top: 12px; }
.footer-links { list-style: none; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #A6ABB4; font-size: .93rem; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8rem; color: #7C818A; }
.footer-base a { color: #A6ABB4; }

/* ===========================================================
   REVEAL + foco
   =========================================================== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.d1 { transition-delay: .1s; } .fade-in.d2 { transition-delay: .2s; } .fade-in.d3 { transition-delay: .3s; }
.fade-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

:focus-visible { outline: 2px solid var(--amarelo-2); outline-offset: 3px; border-radius: 3px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band { padding: 28px 22px; }
  .matricula { height: 58px; }
  .matricula input { width: min(200px, 52vw); font-size: 1.4rem; }
  .etapas li { grid-template-columns: 48px 1fr; gap: 12px; }
  .etapas li::before { font-size: 1.5rem; }
}
