/* ==========================================================================
   DJ Freios — site institucional
   Paleta da logo: preto, vermelho, branco e cinza
   ========================================================================== */

:root {
  --red: #de2628;
  --red-dark: #b81c1f;
  --red-soft: rgba(222, 38, 40, 0.12);
  --black: #0b0b0c;
  --ink: #131315;
  --panel: #1a1a1d;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: #e4e4e6;
  --white: #ffffff;
  --paper: #f4f4f5;
  --gray: #c4c4c6;
  --muted: #8d8d93;
  --text: #1c1c1f;
  --text-soft: #55555c;

  --font-head: "Oswald", "Arial Narrow", "Liberation Sans Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--red); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; line-height: 1; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(222, 38, 40, 0.8); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #26262a; }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { background: var(--paper); }
.btn--whats { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(222, 38, 40, 0.8); }
.btn--whats:hover { background: var(--red-dark); }
.btn--outline-dark { border-color: var(--text); color: var(--text); }
.btn--outline-dark:hover { background: var(--text); color: #fff; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.9rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section--dark { background: var(--black); color: #fff; }
.section--paper { background: var(--paper); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.section__head p { margin-top: 1rem; color: var(--text-soft); font-size: 1.08rem; }
.section--dark .section__head p { color: var(--gray); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.accent { color: var(--red); }

/* ---------- barra superior ---------- */
.topbar { background: var(--black); color: var(--gray); font-size: 0.84rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar li { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .icon { width: 1.05em; height: 1.05em; color: var(--red); }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---------- cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 56px; height: 56px; }
.brand span { white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.brand small { display: block; white-space: nowrap; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.18em; color: var(--muted); margin-top: 0.3rem; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a:not(.btn) { color: var(--gray); text-decoration: none; font-weight: 500; font-size: 0.88rem; position: relative; padding: 0.3rem 0; white-space: nowrap; }
.nav .btn { white-space: nowrap; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width 0.2s; }
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.header--nav .brand small { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 0.5rem; margin-right: -0.5rem; }
.nav-toggle .icon { width: 30px; height: 30px; stroke-width: 2; }

/* ---------- hero ---------- */
.hero { background: var(--black); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero__rings { position: absolute; right: -14%; top: 50%; width: min(980px, 95vw); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; opacity: 0.42; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.3rem); line-height: 1.02; font-weight: 700; }
.hero h1 .accent { display: block; }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: var(--gray); max-width: 34ch; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__note { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.8rem; padding: 0.95rem 1.1rem; border: 1.5px dashed rgba(255, 255, 255, 0.28); border-radius: var(--radius-sm); max-width: 520px; font-size: 0.93rem; color: var(--gray); }
.hero__note .icon { color: var(--red); margin-top: 0.15rem; width: 1.35em; height: 1.35em; }
.hero__note strong { color: #fff; font-weight: 600; }
.hero__status { margin-top: 1rem; font-size: 0.95rem; line-height: 1.5; color: var(--gray); }
.hero__status a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__status a:hover { color: var(--red); }
.hero__media { position: relative; justify-self: end; width: min(100%, 460px); }
.hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--red); border-radius: calc(var(--radius) + 4px); z-index: 0; }
.hero__photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); background: #000; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, rgba(11,11,12,0.25), rgba(11,11,12,0) 30%, rgba(11,11,12,0) 55%, rgba(11,11,12,0.7)); pointer-events: none; }
.hero__badge { position: absolute; z-index: 2; left: -22px; bottom: 34px; display: flex; align-items: center; gap: 0.8rem; background: #fff; color: var(--text); padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); max-width: 250px; }
.hero__badge .chip { width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.hero__badge .chip .icon { width: 22px; height: 22px; }
.hero__badge b { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; line-height: 1.1; }
.hero__badge small { color: var(--text-soft); font-size: 0.78rem; line-height: 1.3; display: block; margin-top: 0.15rem; }
.status { position: absolute; z-index: 2; top: 16px; left: 16px; max-width: 168px; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(11, 11, 12, 0.82); backdrop-filter: blur(6px); border: 1px solid var(--line); color: #fff; padding: 0.45rem 0.85rem; border-radius: 16px; font-size: 0.78rem; line-height: 1.3; font-weight: 600; }
.status i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--muted); }
.status[data-open="true"] i { background: #34d27a; box-shadow: 0 0 0 4px rgba(52, 210, 122, 0.22); }
.status[data-open="false"] i { background: var(--red); }

/* ---------- faixa de confiança ---------- */
.trust { background: var(--red); color: #fff; position: relative; z-index: 2; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 0.95rem; padding: 1.5rem 1.4rem; border-left: 1px dashed rgba(255, 255, 255, 0.45); }
.trust li:first-child { border-left: 0; }
.trust .icon { width: 2.1rem; height: 2.1rem; stroke-width: 1.5; }
.trust b { display: block; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
.trust span { display: block; font-size: 0.84rem; line-height: 1.3; margin-top: 0.3rem; opacity: 0.92; }

/* ---------- serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; position: relative; overflow: hidden; }
.service:hover { transform: translateY(-4px); box-shadow: 0 22px 36px -22px rgba(0, 0, 0, 0.35); border-color: var(--red); }
.service__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.28rem; letter-spacing: 0.03em; }
.service p { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.service__link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; font-weight: 600; color: var(--red); text-decoration: none; margin-top: 0.3rem; }
.service__link .icon { width: 1em; height: 1em; transition: transform 0.2s; }
.service__link:hover .icon { transform: translateX(4px); }
.service--feature { grid-column: span 2; background: var(--black); color: #fff; border-color: var(--black); flex-direction: column; justify-content: flex-end; padding: 2rem; background-image: radial-gradient(circle at 100% 0, rgba(222, 38, 40, 0.38), transparent 55%); }
.service--feature .service__icon { background: var(--red); color: #fff; }
.service--feature h3 { font-size: 1.7rem; }
.service--feature p { color: var(--gray); font-size: 1rem; max-width: 46ch; flex: 0; }
.service--feature .tag { position: absolute; top: 1.2rem; right: 1.2rem; background: #fff; color: var(--black); font-family: var(--font-head); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 600; }
.service--feature:hover { border-color: var(--red); }
.service--feature::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; border: 26px solid rgba(222, 38, 40, 0.28); box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.05), inset 0 0 0 26px rgba(255, 255, 255, 0.04); pointer-events: none; }
.service--feature .service__link { color: #ff6b6d; position: relative; z-index: 1; }
.services__more { margin-top: 2.2rem; display: flex; justify-content: center; }

/* ---------- diagrama do sistema de freios ---------- */
.dg-intro { max-width: 820px; }
.dg-intro p + p { margin-top: 0.8rem; }
.dg-swipe { display: none; }
.dg-hint { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-top: 1.2rem; }
.dg-hint .icon { color: var(--red); }

.dg-stage { position: relative; background: #111113; border-radius: calc(var(--radius) + 6px); border: 1px solid #2a2a2e; padding: clamp(0.6rem, 1.6vw, 1.2rem); box-shadow: var(--shadow); }
.dg-svg { width: 100%; height: auto; overflow: visible; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.dg-svg text { font-family: var(--font-head); }
.dg-label { fill: #9a9aa1; font-size: 16px; font-weight: 500; letter-spacing: 0.08em; text-anchor: middle; text-transform: uppercase; }
.dg-label--start { text-anchor: start; }
.dg-label--end { text-anchor: end; }
.dg-label--sm { font-size: 14px; fill: #6f6f76; }
.dg-svg .part { cursor: pointer; transition: opacity 0.25s; }
.dg-svg .sel { fill: none; stroke: var(--red); stroke-width: 3.5; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.dg-svg .glow { fill: none; stroke: var(--red); stroke-width: 15; opacity: 0; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.2s; pointer-events: none; }
.dg-svg .part:hover .sel { opacity: 0.6; }
.dg-svg .part.is-active .sel { opacity: 1; }
.dg-svg .part:hover .glow { opacity: 0.18; }
.dg-svg .part.is-active .glow { opacity: 0.35; }
.dg-svg.has-active .part:not(.is-active) { opacity: 0.5; }
.dg-svg.has-active .part:not(.is-active):hover { opacity: 0.85; }
.dg-svg .tube { fill: none; stroke: #2b2b2f; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.dg-svg .flow { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 13; animation: flow 1.1s linear infinite; }
.dg-svg .hit { fill: none; stroke: transparent; stroke-width: 28; pointer-events: stroke; }
@keyframes flow { to { stroke-dashoffset: -28; } }

.dg-svg .hs { cursor: pointer; outline: none; }
.dg-svg .hs .pulse { fill: var(--red); opacity: 0.35; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
.dg-svg .hs .dot { fill: var(--red); stroke: #fff; stroke-width: 2.5; transition: fill 0.2s; r: 17px; }
.dg-svg .hs text { fill: #fff; font-size: 19px; font-weight: 700; text-anchor: middle; dominant-baseline: central; letter-spacing: 0; pointer-events: none; }
.dg-svg .hs:hover .dot, .dg-svg .hs:focus-visible .dot { fill: #fff; }
.dg-svg .hs:hover text, .dg-svg .hs:focus-visible text { fill: var(--red); }
.dg-svg .hs.is-active .dot { fill: #fff; stroke: var(--red); stroke-width: 4; }
.dg-svg .hs.is-active text { fill: var(--red); }
.dg-svg .hs.is-active .pulse { animation: none; opacity: 0; }
.dg-svg .hs:focus-visible .dot { stroke: #ffd24a; stroke-width: 4; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(2.3); opacity: 0; } }

.dg-body { display: grid; grid-template-columns: 300px 1fr; gap: 1.25rem; margin-top: 1.25rem; align-items: start; }
.dg-tabs { display: grid; gap: 0.5rem; }
.dg-tab { display: flex; align-items: center; gap: 0.8rem; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line-dark); border-radius: 12px; padding: 0.7rem 0.9rem; color: var(--text); transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s; }
.dg-tab:hover { border-color: var(--red); transform: translateX(3px); }
.dg-tab .n { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--text); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; flex: none; transition: background 0.2s, color 0.2s; }
.dg-tab .icon { color: var(--red); width: 1.35em; height: 1.35em; transition: color 0.2s; }
.dg-tab b { font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; }
.dg-tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.dg-tab[aria-selected="true"] .n { background: var(--red); color: #fff; }
.dg-tab[aria-selected="true"] .icon { color: #fff; }

.dg-panel { background: #fff; border: 1px solid var(--line-dark); border-top: 5px solid var(--red); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.1rem); min-height: 100%; animation: panelIn 0.35s ease; }
.dg-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dg-panel__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.dg-panel__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.dg-panel__icon .icon { width: 30px; height: 30px; }
.dg-panel h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.dg-panel small { display: block; color: var(--red); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.25rem; }
.dg-panel > p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.7; }
.dg-panel__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.dg-panel__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
.dg-panel__nav button { background: none; border: 0; padding: 0.3rem 0; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.dg-panel__nav button:hover { color: var(--red); }
.dg-panel__nav .icon { width: 1.1em; height: 1.1em; }

.dg-diag { margin-top: 1.25rem; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 3vw, 2.2rem); align-items: center; background: var(--black); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); position: relative; overflow: hidden; isolation: isolate; }
.dg-diag::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 26px solid rgba(222, 38, 40, 0.22); z-index: -1; }
.dg-diag__icon { width: 72px; height: 72px; border-radius: 18px; background: var(--red); display: grid; place-items: center; }
.dg-diag__icon .icon { width: 40px; height: 40px; }
.dg-diag h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.dg-diag p { color: var(--gray); margin-top: 0.7rem; max-width: 68ch; }
.dg-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.dg-chips li { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.8rem; font-weight: 500; color: #e9e9ea; }

/* ---------- ABS ---------- */
.abs { overflow: hidden; isolation: isolate; }
.abs__rings { position: absolute; right: -30%; top: 50%; width: 1000px; aspect-ratio: 1; transform: translateY(-50%); opacity: 0.22; z-index: -1; pointer-events: none; }
.abs__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.abs h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.abs__lead { margin-top: 1.2rem; font-size: 1.12rem; color: var(--gray); max-width: 52ch; }
.abs__signs { margin-top: 1.8rem; display: grid; gap: 0.75rem; }
.abs__signs li { display: flex; gap: 0.8rem; align-items: flex-start; color: #e9e9ea; }
.abs__signs .icon { color: var(--red); margin-top: 0.2rem; width: 1.3em; height: 1.3em; }
.abs__cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.abs__side { display: grid; gap: 1.2rem; }
.abs__photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.abs__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 28%; }
.abs__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem 0.8rem; font-size: 0.82rem; color: var(--gray); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85)); }
.steps { counter-reset: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; display: grid; gap: 1.15rem; }
.steps h3 { font-size: 1.15rem; letter-spacing: 0.08em; color: var(--gray); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 0.9rem; align-items: start; }
.steps li::before { content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.steps b { display: block; font-weight: 600; color: #fff; }
.steps span { display: block; color: var(--gray); font-size: 0.9rem; line-height: 1.5; margin-top: 0.1rem; }

/* ---------- história ---------- */
.story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story__text h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.story__text p { margin-top: 1.15rem; color: var(--text-soft); font-size: 1.05rem; }
.story__quote { margin: 2rem 0 0; padding: 1.4rem 1.5rem; background: var(--black); color: #fff; border-radius: var(--radius); border-left: 6px solid var(--red); font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.03em; }
.values { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.values li { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--paper); border: 1px solid var(--line-dark); padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500; }
.values .icon { color: var(--red); width: 1.1em; height: 1.1em; }
.timeline { position: relative; display: grid; gap: 1.6rem; padding-left: 2.6rem; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; border-left: 3px dashed var(--red); }
.timeline li { position: relative; background: var(--paper); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: -2.6rem; top: 1.5rem; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 7px solid var(--red); box-shadow: 0 0 0 4px #fff; }
.timeline h3 { font-size: 1.2rem; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.timeline p { color: var(--text-soft); font-size: 0.97rem; margin: 0; }
.timeline li:last-child { background: var(--black); color: #fff; border-color: var(--black); }
.timeline li:last-child p { color: var(--gray); }

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); aspect-ratio: 3 / 4; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; position: relative; color: inherit; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s; filter: saturate(0.92) contrast(1.03); }
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1.05) contrast(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem 0.85rem; text-align: left; font-size: 0.86rem; font-weight: 500; color: #fff; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82)); pointer-events: none; }
.gallery figcaption::before { content: ""; display: block; width: 26px; height: 3px; background: var(--red); margin-bottom: 0.5rem; border-radius: 2px; }
.gallery__cta { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.9rem; padding: 1.5rem; text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: background 0.2s, transform 0.2s; }
.gallery__cta:hover { background: var(--red-dark); transform: translateY(-3px); }
.gallery__cta::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, 0.14); z-index: -1; }
.gallery__cta .icon { width: 3rem; height: 3rem; stroke-width: 1.4; }
.gallery__cta b { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; letter-spacing: 0.03em; font-weight: 600; }
.gallery__cta span { font-size: 0.9rem; opacity: 0.95; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: var(--radius-sm); margin: auto; }
.lightbox p { color: #fff; text-align: center; margin-top: 0.8rem; font-size: 0.95rem; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; }

/* ---------- avaliações ---------- */
.reviews__bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.reviews__bar .section__head { margin-bottom: 0; }
.reviews__nav { display: flex; gap: 0.6rem; }
.reviews__nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--text); background: #fff; color: var(--text); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.reviews__nav button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.reviews__track { display: flex; align-items: flex-start; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.4rem 0.2rem 1.4rem; scrollbar-width: thin; scrollbar-color: var(--red) transparent; -webkit-overflow-scrolling: touch; }
.review { flex: 0 0 min(380px, 86%); scroll-snap-align: start; background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; position: relative; align-self: stretch; }
.review::before { content: "\201C"; position: absolute; top: 0.2rem; right: 1.2rem; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--red-soft); pointer-events: none; }
.review__stars { display: flex; gap: 2px; color: #f5b301; }
.review__stars .icon { width: 1.15rem; height: 1.15rem; }
.review blockquote { margin: 0; color: var(--text); font-size: 0.97rem; line-height: 1.6; }
.review blockquote.is-clamped { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; margin-top: -0.4rem; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; flex: none; }
.review footer b { display: block; font-size: 0.94rem; line-height: 1.2; }
.review footer small { color: var(--muted); font-size: 0.78rem; display: flex; align-items: center; gap: 0.3rem; }
.reviews__more { margin-top: 1.2rem; display: flex; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq details { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--red); box-shadow: 0 16px 30px -22px rgba(222, 38, 40, 0.6); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--red); transition: transform 0.25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--text-soft); }
.faq .answer p + p { margin-top: 0.7rem; }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact__list { display: grid; gap: 0.9rem; align-content: start; }
.contact__item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
a.contact__item:hover { border-color: var(--red); transform: translateX(4px); }
.contact__item .chip { width: 48px; height: 48px; border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.contact__item .chip .icon { width: 24px; height: 24px; color: #fff; }
.contact__item small { display: block; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.contact__item b { font-weight: 500; font-size: 1.02rem; line-height: 1.35; display: block; margin-top: 0.1rem; }
.contact__item span { color: var(--gray); font-size: 0.88rem; display: block; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--panel); position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.35) contrast(1.05); }

/* ---------- CTA final ---------- */
.cta { background: var(--red); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta__rings { position: absolute; right: -8%; top: 50%; width: 520px; aspect-ratio: 1; transform: translateY(-50%); opacity: 0.22; z-index: -1; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.6rem, 5vw, 3.6rem) 0; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 24ch; }
.cta p { margin-top: 0.6rem; max-width: 52ch; opacity: 0.95; }
.cta__btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ---------- rodapé ---------- */
.footer { background: var(--black); color: var(--gray); padding: 4rem 0 0; font-size: 0.93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer li + li { margin-top: 0.55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__brand img { width: 84px; height: 84px; margin-bottom: 1rem; }
.footer__brand p { max-width: 34ch; margin-bottom: 0.6rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: #fff; transition: background 0.2s, border-color 0.2s; }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__bottom { border-top: 1px solid var(--line); padding: 1.3rem 0 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem; color: var(--muted); }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bottom li + li { margin-top: 0; }

/* ---------- flutuantes ---------- */
.fab { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 62px; height: 62px; border-radius: 50%; background: var(--red); color: #fff; border: 3px solid #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -8px rgba(222, 38, 40, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.12); transition: transform 0.2s, background 0.2s; text-decoration: none; }
.fab:hover { transform: scale(1.08); background: var(--red-dark); }
.fab .icon { width: 34px; height: 34px; }
.fab::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.mobilebar { display: none; }

/* ---------- animações ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab::before, .dg-svg .flow, .dg-svg .hs .pulse { animation: none; }
  .dg-panel { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- consulta de status do veículo ---------- */
.cs-section { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.cs-section::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 34px solid rgba(222, 38, 40, 0.22); box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.04); z-index: -1; pointer-events: none; }
.cs-wrap { width: min(100% - 2.5rem, 860px); margin-inline: auto; }
.cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-head { margin-bottom: 1.6rem; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.cs-eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.cs-head h1, .cs-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); color: #fff; }
.cs-head p { margin-top: 0.9rem; color: var(--gray); font-size: 1.08rem; max-width: 52ch; }
.cs-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cs-input { flex: 1 1 220px; min-width: 0; min-height: 60px; padding: 0.6rem 1.1rem; border-radius: var(--radius); border: 2px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.16em; text-transform: uppercase; outline: none; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.cs-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.cs-input:focus { border-color: var(--red); background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 4px rgba(222, 38, 40, 0.25); }
.cs-input[aria-invalid="true"] { border-color: #ff6b6d; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 60px; padding: 0.8rem 1.8rem; border-radius: 999px; border: 2px solid transparent; background: var(--red); color: #fff; cursor: pointer; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; box-shadow: 0 12px 24px -12px rgba(222, 38, 40, 0.85); transition: transform 0.15s, background 0.15s; }
.cs-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.cs-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.cs-btn--sm { min-height: 52px; padding: 0.7rem 1.4rem; }
.cs-btn--ghost { background: transparent; border-color: var(--text); color: var(--text); box-shadow: none; }
.cs-btn--ghost:hover { background: var(--text); color: #fff; }
.cs-err { min-height: 1.4rem; margin: 0.7rem 0 0; color: #ff9a9c; font-weight: 600; font-size: 0.95rem; }
.cs-privacy { margin-top: 1.2rem; font-size: 0.82rem; color: var(--muted); }
.cs-out { margin-top: 0.6rem; }
.cs-card { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7); animation: cs-in 0.3s ease; }
@keyframes cs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cs-loading { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; }
.cs-spin { width: 22px; height: 22px; border: 3px solid var(--line-dark); border-top-color: var(--red); border-radius: 50%; animation: cs-spin 0.7s linear infinite; }
@keyframes cs-spin { to { transform: rotate(360deg); } }
.cs-top { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.cs-plate { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.14em; background: var(--black); color: #ffd54a; padding: 0.2rem 0.8rem; border-radius: var(--radius-sm); }
.cs-model { font-weight: 700; font-size: 1.15rem; }
.cs-now { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: 0.1rem; }
.cs-now__lbl { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cs-now strong { font-family: var(--font-head); text-transform: uppercase; font-size: 1.8rem; line-height: 1.1; color: var(--red); }
.cs-now--rej strong { color: var(--red-dark); }
.cs-track { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.2rem; position: relative; }
.cs-track li { display: flex; align-items: center; gap: 0.8rem; padding: 0.35rem 0; color: var(--muted); font-weight: 500; position: relative; }
.cs-track li::after { content: ""; position: absolute; left: 15px; top: calc(50% + 16px); width: 2px; height: calc(100% - 16px); background: var(--line-dark); }
.cs-track li:last-child::after { display: none; }
.cs-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #dcdce0; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; position: relative; z-index: 1; }
.cs-track li.is-done { color: var(--text-soft); }
.cs-track li.is-done .cs-dot { border-color: var(--red); color: var(--red); }
.cs-track li.is-done::after { background: var(--red); }
.cs-track li.is-current { color: var(--text); font-weight: 700; }
.cs-track li.is-current .cs-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(222, 38, 40, 0.18); }
.cs-msg { margin: 0 0 0.6rem; font-size: 1.05rem; color: #2a2a2e; }
.cs-meta { margin: 0 0 1.2rem; font-size: 0.85rem; color: var(--muted); }
.cs-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cs-empty strong { display: block; font-size: 1.1rem; margin-bottom: 0.4rem; }
.cs-empty p { margin: 0 0 1.1rem; color: var(--text-soft); }
@media (min-width: 760px) {
  .cs-track { grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 1.4rem; }
  .cs-track li { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; padding: 0; font-size: 0.85rem; line-height: 1.25; }
  .cs-track li::after { left: calc(50% + 20px); top: 15px; width: calc(100% - 40px); height: 2px; }
  .cs-track li:last-child::after { display: none; }
}
@media (max-width: 620px) {
  .cs-wrap { width: min(100% - 2rem, 860px); }
  .cs-form { flex-direction: column; }
  .cs-input { flex: none; width: 100%; font-size: 1.5rem; }
  .cs-form .cs-btn { width: 100%; }
  .cs-actions .cs-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cs-card, .cs-spin { animation: none; } .cs-btn { transition: none; } }

/* ---------- páginas internas (política de privacidade) ---------- */
.doc { max-width: 820px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.8rem; }
.doc h2 { font-size: 1.45rem; margin: 2.2rem 0 0.7rem; }
.doc p, .doc li { color: var(--text-soft); }
.doc p + p { margin-top: 0.8rem; }
.doc ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.35rem; margin-top: 0.6rem; }
.doc .meta { color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1219px) {
  .nav { gap: 1.1rem; }
  .nav a:not(.btn) { font-size: 0.85rem; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h)) 0 auto 0; background: #0b0b0c; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0.2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.1rem; }
}

@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .dg-body { grid-template-columns: 250px 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .topbar ul:last-child { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(100%, 420px); margin-top: 1rem; margin-right: 18px; }
  .hero__rings { right: -45%; opacity: 0.4; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px dashed rgba(255, 255, 255, 0.45); }
  .services { grid-template-columns: 1fr 1fr; }
  .service--feature { grid-column: span 2; }
  .abs__grid, .story, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .dg-body { grid-template-columns: 1fr; }
  .dg-tabs { display: flex; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.4rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
  .dg-tab { width: auto; flex: none; scroll-snap-align: start; white-space: nowrap; }
  .dg-tab:hover { transform: none; }
  .dg-diag { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 1.15rem; }
  .brand small { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar ul { justify-content: center; gap: 1rem; }
  .topbar li:nth-child(2) { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__badge { left: 10px; bottom: 20px; max-width: 220px; padding: 0.7rem 0.9rem; }
  .services { grid-template-columns: 1fr; }
  .service--feature { grid-column: auto; }
  .trust li { padding: 1.1rem 0.9rem; gap: 0.6rem; }
  .trust .icon { width: 1.7rem; height: 1.7rem; }
  .trust b { font-size: 1.15rem; }
  .trust span { font-size: 0.76rem; }
  .gallery { gap: 0.6rem; }
  .gallery figcaption { font-size: 0.75rem; padding: 1.4rem 0.6rem 0.6rem; }
  .reviews__nav { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .fab { display: none; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(11, 11, 12, 0.96); backdrop-filter: blur(10px); padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .mobilebar .btn { padding: 0.85rem 0.6rem; font-size: 0.92rem; }
  .map, .map iframe { min-height: 320px; }
  .contact__actions .btn { flex: 1 1 100%; }
  /* diagrama no celular: o desenho rola para os lados e centraliza a peça escolhida */
  .dg-stage { padding: 0.4rem; border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
  .dg-svg { min-width: 780px; }
  .dg-svg .hs .dot { r: 21px; }
  .dg-svg .hs .pulse { r: 21px; }
  .dg-svg .hs text { font-size: 23px; }
  .dg-svg .tube { stroke-width: 11px; }
  .dg-swipe { display: block; text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 0.5rem; }
  .dg-panel__cta .btn { flex: 1 1 100%; }
  .dg-diag__icon { width: 60px; height: 60px; }
}
