/* ============ BASE ============ */
@font-face {
  font-family: Inter;
  src: url("/portfolio/traco-automotivo/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url("/portfolio/traco-automotivo/fonts/sora.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg0: #0a0c0f;
  --bg1: #0e1116;
  --panel: #13171d;
  --panel2: #171c23;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(226, 176, 74, 0.28);
  --txt: #f2f4f7;
  --muted: #a8b1bb;
  --muted2: #75808b;
  --gold: #e2b04a;
  --gold2: #f5d78a;
  --gold3: #c8902f;
  --grad-gold: linear-gradient(135deg, #f7dd97 0%, #e2b04a 52%, #c8902f 100%);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --r: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html.no-js-scroll { scroll-behavior: auto; }
body {
  background: var(--bg0);
  color: var(--txt);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  font-weight: 700;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
select,
textarea {
  font: inherit;
}
::selection { background: rgba(226, 176, 74, 0.35); color: #fff; }
.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ============ PRELOADER ============ */

/* ============ NAV ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(10, 12, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nav {
  max-width: 1196px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  font-family: "Sora";
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  color: #151007;
  box-shadow: 0 6px 18px rgba(226, 176, 74, 0.35);
}
.logo .mark svg { width: 20px; height: 20px; stroke-width: 2.4; }
.logo small {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--muted);
  display: block;
  font-weight: 600;
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  border-radius: 9px;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta { margin-left: 8px; }
#menuBtn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
@media (max-width: 1020px) {
  #menuBtn { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: rgba(14, 17, 22, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    gap: 2px;
    margin: 0;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; }
  #header .nav-cta { display: none; }
}
@media (max-width: 1020px) {
  html:not(.js) #menuBtn { display: none; }
  html:not(.js) header { position: relative; background: var(--bg0); }
  html:not(.js) .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 8px;
    background: transparent;
  }
  html:not(.js) header .nav { height: auto; min-height: 76px; flex-wrap: wrap; }
}
@media (max-width: 1020px) and (scripting: enabled) {
  html:not(.js) header { position: fixed; background: transparent; }
  html:not(.js) .nav-links { display: none; }
  html:not(.js) header .nav { height: 76px; flex-wrap: nowrap; }
}

/* ============ BOTÕES ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn .ic { transition: transform 0.3s; }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--grad-gold); color: #171105; box-shadow: 0 10px 28px rgba(226, 176, 74, 0.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(226, 176, 74, 0.42); }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 135%; }
.btn-ghost { border: 1px solid var(--line2); color: var(--gold2); background: rgba(226, 176, 74, 0.05); }
.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(226, 176, 74, 0.14);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rip 0.65s ease-out forwards;
  pointer-events: none;
}
@keyframes rip {
  to { transform: scale(3.4); opacity: 0; }
}

/* ============ ESTRUTURA DE SEÇÃO ============ */
section { padding: 112px 0; position: relative; }
.wrap {
  max-width: 1196px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}
.sec-head { max-width: 680px; margin-bottom: 58px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 1.04rem; }
.gold-txt {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ REVELAÇÃO ============ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.65, 0.25, 1),
    transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
}
html.js [data-reveal="left"] { transform: translateX(-44px); }
html.js [data-reveal="right"] { transform: translateX(44px); }
html.js [data-reveal="scale"] { transform: scale(0.9); }
html.js .revealed { opacity: 1; transform: none; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/portfolio/traco-automotivo/images/cabine-pintura.webp") center/cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@media (width < 700px) {
  .hero-bg { background-image: url("/portfolio/traco-automotivo/images/cabine-pintura-1200.webp"); }
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.14); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 10, 13, 0.93) 0%, rgba(8, 10, 13, 0.78) 45%, rgba(8, 10, 13, 0.55) 100%);
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(720px 340px at 18% 78%, rgba(226, 176, 74, 0.14), transparent 70%);
}
.hero .wrap { z-index: 2; }
.hero .kicker { opacity: 0; animation: fadeup 0.9s 0.35s cubic-bezier(0.2, 0.65, 0.25, 1) forwards; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  max-width: 820px;
  margin: 22px 0 20px;
  opacity: 0;
  animation: fadeup 0.9s 0.5s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero p.lead {
  max-width: 600px;
  color: #cfd6dd;
  font-size: 1.1rem;
  margin-bottom: 38px;
  opacity: 0;
  animation: fadeup 0.9s 0.65s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeup 0.9s 0.8s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 64px;
  opacity: 0;
  animation: fadeup 0.9s 1s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero-stats .st { border-left: 2px solid var(--line2); padding-left: 16px; }
.hero-stats .st b { font-family: "Sora"; font-size: 1.35rem; display: block; }
.hero-stats .st span { color: var(--muted); font-size: 0.86rem; }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted2);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--muted2);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  70% { transform: translateY(12px); opacity: 0; }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg1);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: mq 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: flex;
  align-items: center;
  gap: 54px;
  font-family: "Sora";
  font-weight: 600;
  letter-spacing: 0.28em;
  font-size: 0.86rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee span i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
@keyframes mq {
  to { transform: translateX(-50%); }
}
/* ============ 02 · A OFICINA ============ */
#oficina { background: var(--bg0); }
.oficina-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 74px;
  align-items: center;
}
.oficina-imgs { position: relative; padding-bottom: 70px; }
.oficina-imgs .img-a {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.oficina-imgs .img-a img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 1s ease;
}
.oficina-imgs:hover .img-a img { transform: scale(1.05); }
.oficina-imgs .img-b {
  position: absolute;
  z-index: 1;
  right: -6%;
  bottom: 0;
  width: 52%;
  border-radius: var(--r);
  overflow: hidden;
  border: 6px solid var(--bg0);
  box-shadow: var(--shadow);
}
.oficina-imgs .img-b img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 1s ease;
}
.oficina-imgs:hover .img-b img { transform: scale(1.06); }
.oficina-imgs .badge {
  position: absolute;
  z-index: 2;
  top: -24px;
  left: -20px;
  background: var(--grad-gold);
  color: #171105;
  border-radius: 16px;
  padding: 16px 22px;
  font-family: "Sora";
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(226, 176, 74, 0.35);
  animation: floaty 5s ease-in-out infinite;
}
.oficina-imgs .badge b { font-size: 1.6rem; display: block; line-height: 1; }
.oficina-imgs .badge span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% { transform: translateY(-10px); }
}
.checks { margin: 26px 0 34px; display: grid; gap: 14px; }
.checks li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: #ccd3da;
  font-size: 0.98rem;
}
.checks .ic { color: var(--gold); margin-top: 3px; }
.checks b { color: #fff; }
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 96px;
}
.counter {
  background: var(--panel);
  padding: 36px 20px;
  text-align: center;
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
}
.counter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.counter:hover { background: var(--panel2); }
.counter:hover::after { transform: scaleX(1); }
.counter .num {
  font-family: "Sora";
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.counter .lbl {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 8px;
  display: block;
}

/* ============ 03 · SERVIÇOS ============ */
#servicos { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.65, 0.25, 1),
    box-shadow 0.4s,
    border-color 0.4s;
  display: flex;
  flex-direction: column;
}
.svc:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--line2); }
.svc .thumb { position: relative; height: 210px; overflow: hidden; }
.svc .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.svc:hover .thumb img { transform: scale(1.1); }
.svc .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 15, 0.88));
}
.svc .chip {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 16px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(12, 14, 17, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.35s;
}
.svc:hover .chip { background: var(--grad-gold); color: #171105; transform: rotate(-6deg) scale(1.08); }
.svc .body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.svc h3 { font-size: 1.14rem; }
.svc p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.svc .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold2);
  font-weight: 600;
  font-size: 0.88rem;
}
.svc .more .ic { transition: transform 0.3s; }
.svc:hover .more .ic { transform: translateX(5px); }

/* ============ 04 · PROCESSO ============ */
#processo { background: var(--bg0); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2) 12%, var(--line2) 88%, transparent);
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  transition:
    transform 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
}
.step:hover { transform: translateY(-8px); border-color: var(--line2); box-shadow: var(--shadow); }
.step .n {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg1);
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  font-family: "Sora";
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 20px;
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.35s;
}
.step:hover .n { background: var(--grad-gold); color: #171105; transform: rotate(-6deg); }
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.9rem; }
.step .s-ic {
  position: absolute;
  top: 26px;
  right: 24px;
  color: var(--muted2);
  opacity: 0.65;
  transition:
    color 0.35s,
    opacity 0.35s;
}
.step:hover .s-ic { color: var(--gold); opacity: 1; }

/* ============ 05 · GALERIA ============ */
#galeria { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 225px;
  gap: 16px;
}
.gitem {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
}
.gitem.tall { grid-row: span 2; }
.gitem.wide { grid-column: span 2; }
.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1),
    filter 0.5s;
}
.gitem:hover img { transform: scale(1.09); filter: brightness(1.06); }
.gitem .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 13, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateY(12px);
  opacity: 0;
  transition: 0.4s;
}
.gitem:hover .cap { transform: none; opacity: 1; }
.gitem .cap span { font-weight: 600; font-size: 0.92rem; }
.gitem .cap em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gitem .zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(12, 14, 17, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line2);
  color: var(--gold);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7);
  transition: 0.35s;
}
.gitem:hover .zoom { opacity: 1; transform: none; }
/* ============ 06 · DIFERENCIAIS ============ */
#diferenciais { background: var(--bg0); }
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dif {
  background: linear-gradient(160deg, var(--panel), var(--bg1));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.dif::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 176, 74, 0.16), transparent 70%);
  transition: transform 0.5s;
}
.dif:hover { transform: translateY(-8px); border-color: var(--line2); }
.dif:hover::before { transform: scale(1.7); }
.dif .ic-box {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(226, 176, 74, 0.1);
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 20px;
  transition: 0.35s;
}
.dif:hover .ic-box { background: var(--grad-gold); color: #171105; transform: rotate(-6deg) scale(1.06); }
.dif h3 { font-size: 1.02rem; margin-bottom: 10px; }
.dif p { color: var(--muted); font-size: 0.9rem; }
.dif .n {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-family: "Sora";
  font-weight: 800;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

/* ============ 07 · DEPOIMENTOS ============ */
#depoimentos {
  background:
    linear-gradient(rgba(9, 11, 14, 0.88), rgba(9, 11, 14, 0.94)),
    url("/portfolio/traco-automotivo/images/carro-vermelho.webp") center/cover fixed no-repeat;
}
.tslider { position: relative; max-width: 840px; margin: 0 auto; }
.tviewport { overflow: hidden; border-radius: var(--r); }
.ttrack { display: flex; transition: transform 0.65s cubic-bezier(0.25, 0.7, 0.25, 1); }
.tslide { min-width: 100%; padding: 6px; }
.tcard {
  background: rgba(19, 23, 29, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 44px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.tcard .q-ic {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 13px;
  background: rgba(226, 176, 74, 0.12);
  border: 1px solid var(--line2);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.tcard .stars {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}
.tcard .stars .ic { fill: var(--gold); stroke: var(--gold); }
.tcard p {
  font-size: 1.06rem;
  color: #dfe5eb;
  font-style: italic;
  margin-bottom: 26px;
}
.tcard .who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.tcard .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.tcard .who b { display: block; font-size: 0.95rem; }
.tcard .who span { color: var(--muted2); font-size: 0.82rem; }
.tnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.tbtn {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line2);
  color: var(--gold);
  display: grid;
  place-items: center;
  transition: 0.3s;
  background: rgba(12, 14, 17, 0.5);
}
.tbtn:hover { background: var(--grad-gold); color: #171105; transform: translateY(-3px); }
.dots { display: flex; gap: 9px; }
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  padding: 0;
}
.dots button.on { background: var(--gold); transform: scale(1.35); }

/* ============ 08 · CONTATO ============ */
#contato { background: var(--bg1); border-top: 1px solid var(--line); }
.ct-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: start;
}
.ct-grid > *,
.field {
  min-width: 0;
}
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px 22px;
  transition:
    transform 0.35s,
    border-color 0.35s;
}
.info-card + .info-card { margin-top: 14px; }
.info-card:hover { transform: translateX(6px); border-color: var(--line2); }
.info-card .ic-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(226, 176, 74, 0.1);
  border: 1px solid var(--line2);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: none;
}
.info-card > div:not(.ic-box) { min-width: 0; overflow-wrap: anywhere; }
.info-card b { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.info-card span { color: var(--muted); font-size: 0.9rem; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials span {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.demo-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.gitem:focus-visible .cap,
.gitem:focus-visible .zoom {
  opacity: 1;
  transform: none;
}
html.js [data-reveal]:focus-within { opacity: 1; transform: none; transition-delay: 0s !important; }
#quoteForm {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg1);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--txt);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 176, 74, 0.16);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted2);
}
#quoteForm .btn {
  width: 100%;
  padding-inline: 12px;
  white-space: nowrap;
  margin-top: 8px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 90px);
  background: var(--panel2);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 1500;
  box-shadow: var(--shadow);
  transition:
    transform 0.5s cubic-bezier(0.2, 0.65, 0.25, 1),
    opacity 0.5s;
  opacity: 0;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }
#toast .ic { color: var(--gold); }
#toast b { font-size: 0.93rem; }
#toast span { display: block; color: var(--muted); font-size: 0.82rem; }

/* ============ RODAPÉ ============ */
footer { background: #070809; border-top: 1px solid var(--line); padding: 70px 0 34px; }
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.6fr;
  gap: 52px;
  margin-bottom: 46px;
}
.f-grid h2 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.f-grid p { color: var(--muted); font-size: 0.9rem; }
.f-links li { margin-bottom: 10px; }
.f-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition:
    color 0.25s,
    padding-left 0.25s;
}
.f-links a:hover { color: var(--gold); padding-left: 6px; }
.credits { border-top: 1px solid var(--line); padding-top: 28px; }
.credits summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.credits summary::-webkit-details-marker { display: none; }
.credits summary .ic { transition: transform 0.3s; }
.credits[open] summary .ic { transform: rotate(180deg); }
.credits ul { margin-top: 18px; columns: 2; column-gap: 44px; }
.credits li {
  font-size: 0.8rem;
  color: var(--muted2);
  margin-bottom: 9px;
  break-inside: avoid;
}
.credits li b { color: var(--muted); font-weight: 600; }
.credits a { color: var(--gold2); border-bottom: 1px dotted rgba(226, 176, 74, 0.4); transition: color 0.2s; }
.credits a:hover { color: #fff; }
.copy {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 0.8rem;
}

/* ============ LIGHTBOX ============ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: rgba(6, 7, 9, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0s;
  padding: 30px;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox figure {
  max-width: min(980px, 94vw);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.35s;
}
#lightbox.open figure { transform: none; }
#lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
}
#lightbox figcaption { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
#lightbox figcaption em {
  font-style: normal;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
#lbClose {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #fff;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
#lightbox.open #lbClose { visibility: visible; }
#lbClose:hover { background: var(--grad-gold); color: #171105; transform: rotate(90deg); }

/* ============ VOLTAR AO TOPO ============ */
#top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--grad-gold);
  color: #171105;
  display: grid;
  place-items: center;
  z-index: 800;
  box-shadow: 0 14px 34px rgba(226, 176, 74, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: 0.35s;
}
#top.show { opacity: 1; visibility: visible; transform: none; }
#top:hover { transform: translateY(-4px); }

/* ============ RESPONSIVO ============ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .oficina-grid { grid-template-columns: 1fr; gap: 56px; }
  .ct-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 680px) {
  section { padding: 84px 0; }
  .svc-grid,
  .gal,
  .dif-grid,
  .steps,
  .f-row {
    grid-template-columns: 1fr;
  }
  .gal { grid-auto-rows: 230px; }
  .gitem.wide { grid-column: span 1; }
  .counters { grid-template-columns: 1fr 1fr; }
  .oficina-imgs .img-a img { height: 330px; }
  .oficina-imgs .img-b img { height: 150px; }
  .oficina-imgs .badge { top: -18px; left: -6px; padding: 12px 16px; }
  .tcard { padding: 34px 24px; }
  #quoteForm { padding: 26px 20px; }
  .f-grid { grid-template-columns: 1fr; gap: 36px; }
  .credits ul { columns: 1; }
  .hero-stats { gap: 24px; }
  #top { right: 16px; bottom: 16px; }
}
@media (max-width: 360px) {
  .counters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
