/* ============================================================================
   MOTO TRIAL IBIÚNA — FOLHA DE ESTILO
   Direção: "Garagem noturna / pintura de corrida"
   Grafite profundo + amarelo do logo + faixas amarela/vermelha como assinatura.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --bg: #0b0b0c;
    --bg-2: #111113;
    --surface: #161618;
    --surface-2: #1e1e21;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --text: #f2efe9;
    --text-2: #c9c5bd;
    --muted: #8f8b84;
    --accent: #fcd12a;
    --accent-hover: #ffe066;
    --accent-ink: #15130d;
    --accent-soft: rgba(252, 209, 42, 0.12);
    --red: #d4464b;
    --wa: #25d366;          /* verde oficial do WhatsApp */
    --wa-hover: #3be27e;
    --wa-ink: #06200f;

    --font-display: 'Saira', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

    --radius-xs: 4px;
    --radius-s: 8px;
    --radius: 14px;
    --radius-l: 22px;

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(80px, 10vw, 144px);
    --header-h: 84px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --z-header: 60;
    --z-menu: 55;
    --z-float: 40;
    --z-grain: 70;

    interpolate-size: allow-keywords;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-x: clip;
}

html {
    overflow-x: clip;
}

/* textura de grão — quebra a "chapa" digital do fundo */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: var(--z-grain);
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

strong {
    font-weight: 700;
    color: var(--text);
}

::selection {
    background: var(--accent);
    color: var(--accent-ink);
}

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

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    border-radius: var(--radius-s);
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

/* ---------- 3. Layout ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: var(--section-y) calc(var(--section-y) * 1.06);
}

.section--alt {
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}


.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head .lead {
    max-width: 52ch;
}

/* ---------- 4. Tipografia ---------- */
.h1,
.h2,
.h3,
.page-hero__title,
.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.08;
    text-wrap: balance;
}

.h2 {
    font-size: clamp(1.85rem, 3.1vw, 2.75rem);
}

.h3 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.h2 em,
.h3 em,
.page-hero__title em,
.hero__title em {
    font-style: normal;
    color: var(--accent);
}

.lead {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-2);
    text-wrap: pretty;
}

.prose p {
    color: var(--text-2);
    max-width: 66ch;
    text-wrap: pretty;
}

.prose p + p {
    margin-top: 1.1em;
}

.muted {
    color: var(--muted);
}

/* sobretítulo com as faixas do logo */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-2);
}

.livery {
    display: inline-flex;
    gap: 3px;
    flex-shrink: 0;
}

.livery::before,
.livery::after {
    content: "";
    width: 5px;
    height: 16px;
    transform: skewX(-22deg);
}

.livery::before {
    background: var(--accent);
}

.livery::after {
    background: var(--red);
}

/* ---------- 5. Botões e links ---------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-bd: var(--line-2);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid var(--btn-bd);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    letter-spacing: 0.005em;
    cursor: pointer;
    isolation: isolate;
    overflow: hidden;
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn .icon {
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.3s var(--ease);
}

.btn:hover .icon:last-child:not(:first-child) {
    transform: translateX(3px);
}

.btn:active {
    transform: translateY(1px) scale(0.985);
}

.btn--accent {
    --btn-bg: var(--accent);
    --btn-fg: var(--accent-ink);
    --btn-bd: var(--accent);
    box-shadow: 0 10px 30px -12px rgba(252, 209, 42, 0.55);
}

.btn--accent:hover {
    --btn-bg: var(--accent-hover);
    --btn-bd: var(--accent-hover);
    box-shadow: 0 14px 36px -12px rgba(252, 209, 42, 0.7);
}

.btn--wa {
    --btn-bg: var(--wa);
    --btn-fg: var(--wa-ink);
    --btn-bd: var(--wa);
    box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.55);
}

.btn--wa:hover {
    --btn-bg: var(--wa-hover);
    --btn-bd: var(--wa-hover);
    box-shadow: 0 14px 36px -12px rgba(37, 211, 102, 0.7);
}


/* brilho que atravessa o botão principal */
.btn--accent::after,
.btn--wa::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease);
}

.btn--accent:hover::after,
.btn--wa:hover::after {
    transform: translateX(120%);
}

.btn--ghost {
    --btn-bg: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    --btn-bg: rgba(255, 255, 255, 0.1);
    --btn-bd: rgba(255, 255, 255, 0.4);
}

.btn--dark {
    --btn-bg: var(--accent-ink);
    --btn-fg: var(--text);
    --btn-bd: var(--accent-ink);
}

.btn--dark:hover {
    --btn-bg: #000;
    --btn-bd: #000;
}

.btn--sm {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.92rem;
}

.btn--lg {
    min-height: 60px;
    padding: 0 32px;
    font-size: 1.05rem;
}

.btn--block {
    width: 100%;
}

.btn[data-submitting="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 1px solid currentColor;
    padding-bottom: 3px;
    transition: gap 0.25s var(--ease), color 0.25s;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--accent-hover);
}

.link-arrow--wa {
    color: var(--wa);
}

.link-arrow--wa:hover {
    color: var(--wa-hover);
}

/* chips (cidades, peças) */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

a.chip:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--accent-soft);
}

.chip--home {
    border-color: var(--accent);
    color: var(--accent);
}

/* status aberto / fechado */
.status {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 8px 14px 8px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(11, 11, 12, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
}

.status [data-status-label] {
    color: var(--text);
    font-weight: 700;
}

.status__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.status.is-open .status__dot {
    background: var(--wa);
}

.status.is-open .status__dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--wa);
    animation: ping 2s var(--ease) infinite;
}

.status__sep {
    color: var(--muted);
}

@keyframes ping {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- 6. Cabeçalho ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: var(--z-header);
    padding-top: 14px;
    transition: transform 0.45s var(--ease), padding 0.35s var(--ease);
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
    position: relative;
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0 calc(var(--gutter) - 14px);
    z-index: -1;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-scrolled .site-header__bar::before,
.site-header.is-solid .site-header__bar::before {
    background: rgba(14, 14, 15, 0.78);
    border-color: var(--line);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

.site-header.is-hidden {
    transform: translateY(-120%);
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
}

.brand img {
    width: auto;
    height: 62px;
    transition: transform 0.3s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img {
    height: 52px;
}

.brand:hover img {
    transform: rotate(-2deg) scale(1.03);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav__item {
    position: relative;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color 0.2s, background-color 0.2s;
}

.nav__link .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__item:focus-within > .nav__link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav__link.is-active {
    color: var(--text);
}

.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 14px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
    transform: translateX(-50%) skewX(-20deg);
}

.nav__panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 330px;
    padding: 10px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: rgba(20, 20, 22, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

/* ponte invisível para o mouse não "cair" entre o link e o painel */
.nav__panel::before {
    content: "";
    position: absolute;
    inset: -18px 0 auto;
    height: 18px;
}

.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
}

.nav__item:hover > .nav__link .icon,
.nav__item:focus-within > .nav__link .icon {
    transform: rotate(180deg);
}

.nav__panel--wide {
    width: min(720px, 90vw);
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 10px;
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.panel-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.panel-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.panel-link__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--accent);
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.panel-link:hover .panel-link__icon {
    background: var(--accent);
    color: var(--accent-ink);
}

.panel-link strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
}

.panel-link small {
    display: block;
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--muted);
}

.panel-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    padding: 16px;
    border-radius: 10px;
    overflow: hidden;
    isolation: isolate;
}

.panel-feature img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.panel-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 20%, rgba(11, 11, 12, 0.92));
}

.panel-feature:hover img {
    transform: scale(1.06);
}

.panel-feature strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.1;
}

.panel-feature span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.burger {
    display: none;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 18px 0 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(17, 17, 19, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.25s, background-color 0.25s;
}

.burger:hover,
.burger[aria-expanded="true"] {
    border-color: var(--accent);
}

.burger__lines {
    position: relative;
    width: 18px;
    height: 12px;
}

.burger__lines span {
    position: absolute;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.35s var(--ease), top 0.35s var(--ease), width 0.35s var(--ease), background-color 0.35s;
}

.burger__lines span:first-child {
    top: 0;
    width: 18px;
}

/* segunda linha em amarelo, como as faixas do logo */
.burger__lines span:last-child {
    top: 10px;
    width: 12px;
    background: var(--accent);
}

.burger[aria-expanded="true"] .burger__lines span:first-child {
    top: 5px;
    transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines span:last-child {
    top: 5px;
    width: 18px;
    background: currentColor;
    transform: rotate(-45deg);
}

/* menu de celular em tela cheia */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-menu);
    display: flex;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(252, 209, 42, 0.14), transparent 60%),
        var(--bg);
    padding-top: calc(var(--header-h) + 30px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease), visibility 0s;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 32px;
}

.mobile-menu__list li {
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
    transition-delay: calc(0.05s * var(--i, 0));
}

.mobile-menu.is-open .mobile-menu__list li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.08s + 0.05s * var(--i, 0));
}

.mobile-menu__list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 5.2vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.mobile-menu__list a[aria-current="page"] {
    color: var(--accent);
}

.mobile-menu__num {
    min-width: 22px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.mobile-menu__text {
    flex: 1;
}

.mobile-menu__arrow {
    width: 20px;
    height: 20px;
    color: var(--muted);
    transition: transform 0.3s var(--ease), color 0.2s;
}

.mobile-menu__list a:hover .mobile-menu__arrow,
.mobile-menu__list a[aria-current="page"] .mobile-menu__arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.mobile-menu__foot {
    display: grid;
    gap: 12px;
}

.mobile-menu__foot .status {
    justify-self: start;
}

.mobile-menu__ctas {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
}

.mobile-menu__addr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line-2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-2);
}

.mobile-menu__addr .icon {
    margin-top: 2px;
    color: var(--accent);
}

.mobile-menu__addr small {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--muted);
}

/* ---------- 7. Hero da página inicial ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 60px);
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media img,
.hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
}

.hero__media img {
    animation: hero-zoom 14s var(--ease) both;
}

/* o vídeo entra por cima da capa só quando realmente começa a tocar */
.hero__video {
    opacity: 0;
    transition: opacity 1.4s var(--ease);
}

.hero__video.is-playing {
    opacity: 1;
}

.hero__toggle {
    position: absolute;
    right: var(--gutter);
    top: 8px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: rgba(11, 11, 12, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s, background-color 0.2s, border-color 0.2s;
}

.hero__toggle.is-ready {
    opacity: 1;
}

.hero__toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero__toggle .icon {
    width: 16px;
    height: 16px;
}

.hero__toggle .icon--play,
.hero__toggle.is-paused .icon--pause {
    display: none;
}

.hero__toggle.is-paused .icon--play {
    display: block;
}

@keyframes hero-zoom {
    from { transform: scale(1.12); }
    to { transform: scale(1); }
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, 0.94) 0%, rgba(11, 11, 12, 0.78) 38%, rgba(11, 11, 12, 0.18) 72%, rgba(11, 11, 12, 0.35) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 38%),
        linear-gradient(180deg, rgba(11, 11, 12, 0.7) 0%, transparent 22%);
}


.hero__inner {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero__content {
    max-width: 760px;
    padding-block: 32px 48px;
}

.hero__content > .status {
    margin-bottom: 28px;
    animation: fade-up 0.8s var(--ease) 0.15s both;
}

.hero__title {
    font-size: clamp(2.3rem, 4.4vw, 4.1rem);
    line-height: 1.04;
    margin-bottom: 26px;
}

.hero__kicker {
    display: block;
    margin-bottom: 22px;
    font-size: clamp(0.78rem, 1vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-2);
    animation: fade-up 0.8s var(--ease) 0.2s both;
}

.hero__line {
    display: block;
    overflow: clip;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.hero__line > span {
    display: inline-block;
    animation: line-up 1s var(--ease) both;
    animation-delay: calc(0.3s + var(--i, 0) * 0.11s);
}

@keyframes line-up {
    from { transform: translateY(105%); }
    to { transform: translateY(0); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.hero__lead {
    max-width: 58ch;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    color: var(--text-2);
    margin-bottom: 36px;
    animation: fade-up 0.9s var(--ease) 0.7s both;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fade-up 0.9s var(--ease) 0.85s both;
}

/* painel de instrumentos */
.cluster {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
    margin-bottom: clamp(24px, 4vw, 48px);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, rgba(30, 30, 33, 0.72), rgba(15, 15, 17, 0.82));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    animation: fade-up 0.9s var(--ease) 0.5s both;
}

.cluster > * + * {
    border-left: 1px solid var(--line);
}

.gauge {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 18px 12px 18px;
}

.gauge__svg {
    width: min(118px, 100%);
    overflow: visible;
}

.gauge__track,
.gauge__fill,
.gauge__red {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.gauge__track {
    stroke: rgba(255, 255, 255, 0.08);
}

.gauge__fill {
    stroke: var(--accent);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.gauge__red {
    stroke: var(--red);
    opacity: 0.55;
}

.gauge__tick {
    stroke: rgba(242, 239, 233, 0.55);
    stroke-width: 1.4;
}

.gauge__tick--minor {
    stroke: rgba(242, 239, 233, 0.25);
    stroke-width: 1;
}

.gauge__tick--red {
    stroke: var(--red);
}

.gauge__needle {
    transform-box: view-box;
    transform-origin: 60px 60px;
    transform: rotate(-135deg);
}

.gauge__needle line {
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.gauge__needle circle {
    fill: var(--bg);
    stroke: var(--accent);
    stroke-width: 2;
}

/* partida: teste de ignição (vai ao fim e volta), acelera passando do ponto e assenta */
.gauge.is-live .gauge__needle {
    animation:
        rev 3.6s var(--ease-in-out) 0.9s both,
        blip 7s var(--ease-in-out) var(--blip, 6s) infinite;
}

.gauge.is-live .gauge__fill {
    animation: rev-fill 3.6s var(--ease-in-out) 0.9s both;
}

.gauge.is-live .gauge__red {
    animation: redline 3.6s linear 0.9s both;
}

.gauge:nth-child(2) {
    --blip: 7.2s;
}

.gauge:nth-child(3) {
    --blip: 8.6s;
}

@keyframes rev {
    0% { transform: rotate(-135deg); }
    22% { transform: rotate(135deg); }
    44% { transform: rotate(-135deg); }
    66% { transform: rotate(calc(var(--to) + 16deg)); }
    76% { transform: rotate(calc(var(--to) - 7deg)); }
    86% { transform: rotate(calc(var(--to) + 3deg)); }
    100% { transform: rotate(var(--to)); }
}

@keyframes rev-fill {
    0% { stroke-dashoffset: 100; }
    22% { stroke-dashoffset: 0; }
    44% { stroke-dashoffset: 100; }
    66% { stroke-dashoffset: calc(94 - var(--f) * 100); }
    100% { stroke-dashoffset: calc(100 - var(--f) * 100); }
}

@keyframes redline {
    0%, 14% { opacity: 0.55; filter: none; }
    20%, 27% { opacity: 1; filter: drop-shadow(0 0 4px rgba(212, 70, 75, 0.9)); }
    40%, 100% { opacity: 0.55; filter: none; }
}

/* "acelerada" curta de tempos em tempos, um mostrador de cada vez */
@keyframes blip {
    0% { transform: rotate(var(--to)); }
    6% { transform: rotate(calc(var(--to) + 30deg)); }
    13% { transform: rotate(calc(var(--to) - 4deg)); }
    19%, 100% { transform: rotate(var(--to)); }
}

/* número no vão inferior do arco, abaixo do eixo da agulha */
.gauge__value {
    position: absolute;
    left: 50%;
    top: calc(18px + min(118px, 100%) * 0.84);
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.gauge__caption {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--muted);
    text-align: center;
}

.gauge__caption strong {
    color: var(--text);
    font-weight: 700;
}

/* visor digital (status) */
.lcd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 22px 26px;
}

.lcd__screen {
    position: relative;
    padding: 14px 16px;
    border-radius: 10px;
    background:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0 1px, transparent 1px 3px),
        linear-gradient(180deg, #17150b, #0f0e09);
    border: 1px solid rgba(252, 209, 42, 0.25);
    box-shadow: inset 0 0 24px rgba(252, 209, 42, 0.08);
}

.lcd__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(252, 209, 42, 0.6);
}

.lcd__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 14px rgba(252, 209, 42, 0.45);
}

.cluster .lcd__value {
    animation: lcd-boot 1.1s steps(1, end) 1s both;
}

@keyframes lcd-boot {
    0% { opacity: 0; }
    15% { opacity: 1; }
    25% { opacity: 0.15; }
    40% { opacity: 1; }
    52% { opacity: 0.3; }
    64%, 100% { opacity: 1; }
}

.lcd__value.is-closed {
    color: #ff8a8d;
    text-shadow: 0 0 14px rgba(212, 70, 75, 0.45);
}

.lcd__meta {
    font-size: 0.85rem;
    color: var(--text-2);
}

/* ---------- 8. Marcas ---------- */
.brands {
    padding-block: clamp(40px, 5vw, 56px);
    border-bottom: 1px solid var(--line);
}

.brands__inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.brands__label {
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--muted);
}

.brands__label strong {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text);
}

.marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: clamp(40px, 5vw, 68px);
    padding-right: clamp(40px, 5vw, 68px);
    flex-shrink: 0;
    animation: marquee 44s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

/* logo branco por padrão; a versão colorida aparece por cima no hover */
.marquee__item {
    --logo-scale: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    height: 100px;
}

.marquee__logo {
    grid-area: 1 / 1;
    width: calc(var(--w) * var(--logo-scale) * 1px);
    max-width: none;
    height: auto;
    opacity: 0.86;
    transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}

.marquee__logo--color {
    opacity: 0;
}

.marquee__item:hover .marquee__logo {
    opacity: 0;
    transform: scale(1.08);
}

.marquee__item:hover .marquee__logo--color {
    opacity: 1;
}

@keyframes marquee {
    to { transform: translateX(-100%); }
}

/* ---------- 9. Sobre (página inicial) ---------- */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
}



.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--line);
}

.fact {
    padding: 20px 18px;
    background: var(--bg);
}

.section--alt .fact {
    background: var(--bg-2);
}

.fact strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.15;
    margin-bottom: 6px;
}

.fact span {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--muted);
}

.about__media {
    position: relative;
    padding: 0 0 48px 48px;
}

.about__photo {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.about__photo:hover img {
    transform: scale(1.04);
}

.about__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 11, 12, 0.75));
}

.about__caption {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    max-width: 62%;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(11, 11, 12, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-2);
}

.about__inset {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 6px solid var(--bg);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
}

.section--alt .about__inset {
    border-color: var(--bg-2);
}

.about__inset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rotor {
    position: absolute;
    top: -38px;
    right: -26px;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden; /* o SVG gira: recorta no círculo para não vazar da tela */
}

.rotor__text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spin 22s linear infinite;
}

.rotor__text text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.14em;
    fill: var(--text);
}

.rotor img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg), 0 16px 30px -10px rgba(0, 0, 0, 0.8);
}

.rotor::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--line-2);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- 10. Grade de serviços (bento) ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(250px, auto);
    gap: 16px;
}

.card-svc {
    --mx: 50%;
    --my: 50%;
    position: relative;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
    isolation: isolate;
    background: var(--surface);
    transition: border-color 0.35s var(--ease), transform 0.5s var(--ease);
}

.card-svc--feature {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 560px;
    padding: clamp(28px, 3vw, 40px);
}


.card-svc__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.card-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
    transition: transform 0.9s var(--ease), filter 0.5s;
}

.card-svc::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.62) 38%, rgba(11, 11, 12, 0.93) 66%, rgba(11, 11, 12, 0.98) 100%);
    transition: opacity 0.5s;
}

/* reflexo que acompanha o cursor */
.card-svc::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(252, 209, 42, 0.13), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card-svc:hover {
    border-color: rgba(252, 209, 42, 0.45);
}

.card-svc:hover::after {
    opacity: 1;
}

.card-svc:hover .card-svc__media img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.card-svc__num {
    position: absolute;
    top: 22px;
    left: 26px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    color: var(--text);
}

.card-svc__num::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-left: 10px;
    vertical-align: middle;
    background: var(--accent);
}

.card-svc__icon {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(11, 11, 12, 0.6);
    border: 1px solid var(--line-2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--accent);
    transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease);
}

.card-svc:hover .card-svc__icon {
    background: var(--accent);
    color: var(--accent-ink);
    transform: rotate(-12deg);
}

.card-svc__tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.card-svc__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
}

.card-svc--feature .card-svc__title {
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    max-width: 18ch;
}

.card-svc__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-2);
    max-width: 52ch;
}

.card-svc__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.card-svc__go .icon {
    color: var(--accent);
    transition: transform 0.35s var(--ease);
}

.card-svc:hover .card-svc__go .icon {
    transform: translate(3px, -3px);
}

.card-svc__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ---------- 11. Alinhamento de chassi ---------- */
.chassis {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.blueprint {
    position: relative;
    padding: clamp(14px, 2vw, 22px);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background:
        radial-gradient(80% 60% at 70% 30%, rgba(252, 209, 42, 0.06), transparent 70%),
        #0e0f11;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.blueprint__svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.blueprint__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.blueprint__head span:last-child {
    color: var(--accent);
}

.bp-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.035);
    stroke-width: 1;
}

.bp-grid--major {
    stroke: rgba(255, 255, 255, 0.07);
}

.bp-line,
.bp-ghost,
.bp-dim,
.bp-ground {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-line {
    stroke: var(--text);
    stroke-width: 2.4;
}

.bp-line--thin {
    stroke-width: 1.2;
    stroke: rgba(242, 239, 233, 0.45);
}

.bp-line--heavy {
    stroke-width: 4;
}

.bp-line--dash {
    stroke-dasharray: 6 5;
    stroke-width: 3;
}

.bp-ghost {
    stroke: rgba(242, 239, 233, 0.22);
    stroke-width: 1.4;
    stroke-dasharray: 4 6;
}

.bp-ground {
    stroke: rgba(242, 239, 233, 0.3);
    stroke-width: 1.4;
}

.bp-dim {
    stroke: var(--accent);
    stroke-width: 1.5;
}

.bp-dim--dash {
    stroke-dasharray: 5 6;
    opacity: 0.75;
}

.bp-labels text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.16em;
    fill: var(--accent);
    paint-order: stroke;
    stroke: #0e0f11;
    stroke-width: 5px;
    stroke-linejoin: round;
}

.bp-points circle {
    fill: var(--accent);
    stroke: #0e0f11;
    stroke-width: 3;
}

.bp-points text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    fill: var(--accent-ink);
}

/* desenho das linhas quando a figura entra na tela (só com JS ativo) */
.js .bp-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.js .bp-line--dash.bp-draw,
.js .bp-ghost.bp-draw,
.js .bp-dim--dash.bp-draw {
    stroke-dasharray: 1;
}

.js .blueprint.is-visible .bp-draw {
    animation: draw 1.4s var(--ease) both;
    animation-delay: var(--d, 0s);
}

.js .blueprint.is-visible .bp-ghost.bp-draw,
.js .blueprint.is-visible .bp-line--dash.bp-draw,
.js .blueprint.is-visible .bp-dim--dash.bp-draw {
    animation-name: draw-dashed;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

@keyframes draw-dashed {
    0% { stroke-dasharray: 1; stroke-dashoffset: 1; }
    99% { stroke-dasharray: 1; stroke-dashoffset: 0; }
    100% { stroke-dasharray: 0.012 0.014; stroke-dashoffset: 0; }
}

.js .bp-points g {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.3);
}

.js .blueprint.is-visible .bp-points g {
    animation: pop 0.6s var(--ease) both;
    animation-delay: var(--d, 0s);
}

@keyframes pop {
    to { opacity: 1; transform: scale(1); }
}

.blueprint__legend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.blueprint__legend li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-2);
}

.blueprint__legend b {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-size: 0.75rem;
}

.steps {
    display: grid;
    gap: 0;
    margin-block: 32px;
    counter-reset: step;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 4px 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.step:last-child {
    border-bottom: 1px solid var(--line);
}

.step__num {
    grid-row: span 2;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--accent);
}

.step__title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

.step__text {
    font-size: 0.95rem;
    color: var(--muted);
}

.axis-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.axis-link {
    position: relative;
    display: block;
    padding: 20px 52px 20px 20px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}

.axis-link:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    transform: translateY(-3px);
}

.axis-link strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.08rem;
    line-height: 1.15;
    margin-bottom: 6px;
}

.axis-link span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--muted);
}

.axis-link .icon {
    position: absolute;
    top: 20px;
    right: 18px;
    color: var(--accent);
    transition: transform 0.35s var(--ease);
}

.axis-link:hover .icon {
    transform: translate(3px, -3px);
}

/* ---------- 12. Tornearia (página inicial e interna) ---------- */
.shop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.mosaic {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: clamp(460px, 52vw, 680px);
}

.shot {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    background: var(--surface);
}

.shot--tall {
    grid-row: span 2;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.shot:hover img {
    transform: scale(1.05);
}

.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 12, 0.85));
    pointer-events: none;
}

.shot figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-2);
}

.shot figcaption b {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

/* plaquetas de máquina */
.plates {
    display: grid;
    gap: 12px;
    margin-block: 32px;
}

.plate {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 18px;
    align-items: center;
    padding: 18px 22px 18px 18px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 4px),
        var(--surface);
}

.plate__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-ink);
}

.plate__icon .icon {
    width: 24px;
    height: 24px;
}

.plate__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.15;
}

.plate__spec {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.part-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.part-list li {
    padding: 7px 13px;
    border-radius: 6px;
    background: var(--surface-2);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-2);
}

/* ---------- 13. Como funciona ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: proc;
}

.process__step {
    position: relative;
    padding: 28px 24px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--surface);
    transition: border-color 0.3s, transform 0.5s var(--ease);
}

.process__step:hover {
    border-color: var(--line-2);
    transform: translateY(-4px);
}

.process__step::after {
    content: "";
    position: absolute;
    top: 52px;
    right: -17px;
    width: 18px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px);
}

.process__step:last-child::after {
    display: none;
}

.process__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid rgba(252, 209, 42, 0.3);
    color: var(--accent);
}

.process__icon .icon {
    width: 24px;
    height: 24px;
}

.process__num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    color: var(--muted);
}

.process__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.18rem;
    line-height: 1.15;
    margin-bottom: 8px;
}

.process__text {
    font-size: 0.93rem;
    color: var(--muted);
}

/* ---------- 14. Mapa de atendimento ---------- */
.map {
    position: relative;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background:
        radial-gradient(50% 80% at 40% 60%, rgba(252, 209, 42, 0.07), transparent 70%),
        #0e0f11;
    overflow: hidden;
}

.map__scroller {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.map__svg {
    width: 100%;
    min-width: 760px;
    height: auto;
}

.map__grid-dot {
    fill: rgba(255, 255, 255, 0.08);
}

.map__ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1.2;
    stroke-dasharray: 3 7;
}

.map__ring-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    fill: var(--muted);
}

.map__route {
    fill: none;
    stroke: rgba(252, 209, 42, 0.55);
    stroke-width: 1.6;
}

.js .map__route {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.js .map.is-visible .map__route {
    animation: draw 1.4s var(--ease) both;
    animation-delay: var(--d, 0s);
}

.map__dot {
    fill: var(--bg);
    stroke: var(--accent);
    stroke-width: 2.5;
    transition: r 0.25s var(--ease), fill 0.25s;
}

.map__city text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    fill: var(--text);
    paint-order: stroke;
    stroke: #0e0f11;
    stroke-width: 5px;
    stroke-linejoin: round;
    transition: fill 0.25s;
}

.map__city:hover .map__dot,
.map__city:focus-visible .map__dot {
    fill: var(--accent);
}

.map__city:hover text,
.map__city:focus-visible text {
    fill: var(--accent);
}

.map__city:focus-visible {
    outline: none;
}

.map__city--home .map__dot {
    fill: var(--accent);
    stroke: var(--accent-ink);
    stroke-width: 3;
}

.map__city--home text {
    fill: var(--accent);
    font-size: 16px;
}

.map__pulse {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    animation: map-pulse 2.4s var(--ease) infinite;
}

@keyframes map-pulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(3.2); opacity: 0; }
}

.map__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

.map__foot span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map__foot .icon {
    color: var(--accent);
}

.map__foot .map__hint {
    display: none;
    color: var(--text-2);
}

.regions__chips {
    margin-top: 28px;
}

/* ---------- 15. Perguntas frequentes ---------- */
.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.faq__aside {
    position: sticky;
    top: calc(var(--header-h) + 40px);
}

.faq__aside .h2 {
    margin-bottom: 20px;
}

.faq__aside .lead {
    margin-bottom: 26px;
}

.faq-item {
    border-top: 1px solid var(--line-2);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line-2);
}

.faq-item summary {
    display: grid;
    grid-template-columns: 36px 1fr 28px;
    gap: 14px;
    align-items: start;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item__num {
    padding-top: 3px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    transition: color 0.25s;
}

.faq-item__q {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.3;
    transition: color 0.25s;
}

.faq-item__icon {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    border-radius: 1px;
    background: var(--text);
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease), background-color 0.3s;
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item summary:hover .faq-item__q,
.faq-item[open] .faq-item__q {
    color: var(--accent);
}

.faq-item[open] .faq-item__num {
    color: var(--accent);
}

.faq-item[open] .faq-item__icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
    background: var(--accent-ink);
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-item__a {
    padding: 0 42px 26px 50px;
    color: var(--text-2);
}

/* ---------- 16. Faixa de chamada + rodapé ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--accent);
    color: var(--accent-ink);
}

.cta-band__stripes {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.12;
    background: repeating-linear-gradient(-62deg, var(--accent-ink) 0 2px, transparent 2px 22px);
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
    mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}

.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px 48px;
    padding-block: clamp(56px, 7vw, 96px);
}

.cta-band__kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cta-band__kicker .livery::before {
    background: var(--accent-ink);
}

.cta-band__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    max-width: 20ch;
    text-wrap: balance;
}

.cta-band__title span {
}

/* cartão escuro: o verde do WhatsApp fica bonito sobre o grafite, não sobre o amarelo */
.cta-band__card {
    display: grid;
    gap: 14px;
    width: min(100%, 360px);
    padding: 22px;
    border-radius: var(--radius-l);
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 30px 60px -28px rgba(21, 19, 13, 0.75), 0 0 0 1px rgba(21, 19, 13, 0.25);
}

.cta-band__card .status {
    justify-self: center;
    background: transparent;
}

.cta-band__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-2);
    transition: color 0.2s;
}

.cta-band__phone .icon {
    color: var(--accent);
}

.cta-band__phone:hover {
    color: var(--text);
}

.site-footer {
    position: relative;
    padding-top: clamp(64px, 8vw, 104px);
    background: var(--bg);
    overflow: hidden;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.15fr 1.3fr;
    gap: 48px;
}

.footer__brand img {
    width: 150px;
    height: auto;
    margin-bottom: 22px;
}

.footer__brand p {
    max-width: 38ch;
    margin-bottom: 22px;
    font-size: 0.95rem;
    color: var(--muted);
}

.footer__title {
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-2);
}

.footer__links li + li {
    margin-top: 10px;
}

.footer__links a {
    font-size: 0.95rem;
    color: var(--muted);
    transition: color 0.2s, padding 0.3s var(--ease);
}

.footer__links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer__contact {
    display: grid;
    gap: 14px;
}

.footer__contact li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--muted);
}

.footer__contact .icon {
    margin-top: 3px;
    color: var(--accent);
}

.footer__contact a {
    color: var(--text);
    font-weight: 600;
}

.footer__contact a:hover {
    color: var(--accent);
}

.footer__cities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 56px;
    padding-block: 28px;
    border-block: 1px solid var(--line);
}

.footer__cities .footer__title {
    margin: 0;
}

.footer__cities .chip {
    padding: 6px 12px;
    font-size: 0.82rem;
}


.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 26px 30px;
    font-size: 0.85rem;
    color: var(--muted);
}


.footer__bottom-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 32px;
}

/* abre espaço para o botão flutuante do WhatsApp não cobrir o "voltar ao topo" */
@media (min-width: 761px) and (max-width: 1600px) {
    .footer__bottom-end {
        margin-right: 80px;
    }
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text-2);
    transition: color 0.2s;
}

.to-top:hover {
    color: var(--accent);
}

.to-top__icon {
    transform: rotate(-45deg);
    transition: transform 0.3s var(--ease);
}

.to-top:hover .to-top__icon {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* crédito de quem fez o site: discreto, acende no hover */
.credit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.7;
    transition: opacity 0.25s;
}

.credit img {
    width: auto;
    height: 18px;
}

.credit:hover,
.credit:focus-visible {
    opacity: 1;
}

/* WhatsApp flutuante (desktop): botão + balão de conversa */
.wa-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: var(--z-float);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: none;
}

.wa-widget > * {
    pointer-events: auto;
}

.wa-fab {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 32% 26%, #5af59a 0%, #25d366 46%, #128c7e 100%);
    box-shadow:
        0 18px 36px -10px rgba(18, 140, 126, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.45s var(--ease), box-shadow 0.3s;
}

.wa-fab:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 24px 44px -12px rgba(18, 140, 126, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 10px rgba(0, 0, 0, 0.18);
}

.wa-fab:active {
    transform: translateY(-1px) scale(0.98);
}

.wa-fab__icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
    transition: transform 0.5s var(--ease);
}

.wa-fab:hover .wa-fab__icon {
    transform: rotate(-10deg);
}

/* dois anéis que se expandem de tempos em tempos (não o tempo todo) */
.wa-fab__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    opacity: 0;
    pointer-events: none;
    animation: wa-ring 4s var(--ease) infinite;
}

.wa-fab__ring--late {
    animation-delay: 0.45s;
}

@keyframes wa-ring {
    0% { transform: scale(1); opacity: 0.75; }
    40% { transform: scale(1.75); opacity: 0; }
    100% { transform: scale(1.75); opacity: 0; }
}

.wa-fab__tip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    padding: 9px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: rgba(20, 20, 22, 0.96);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translate(8px, -50%);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.35s var(--ease);
}

.wa-fab:hover .wa-fab__tip,
.wa-fab:focus-visible .wa-fab__tip {
    opacity: 1;
    transform: translate(0, -50%);
}

.wa-widget.has-bubble .wa-fab__tip {
    display: none;
}

.wa-bubble {
    position: relative;
    width: 310px;
    padding: 16px;
    border: 1px solid var(--line-2);
    border-radius: 20px 20px 6px 20px;
    background: rgba(22, 22, 24, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.94);
    transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}

.wa-bubble.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s;
}

.wa-bubble__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.wa-bubble__close:hover {
    color: var(--text);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, 0.06);
}

.wa-bubble__close .icon {
    width: 14px;
    height: 14px;
}

.wa-bubble__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 30px;
}

.wa-bubble__avatar {
    position: relative;
    flex-shrink: 0;
}

.wa-bubble__avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.wa-bubble__dot {
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #161618;
    background: var(--muted);
}

.wa-bubble:has(.wa-bubble__status.is-open) .wa-bubble__dot {
    background: var(--wa);
}

.wa-bubble__who strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.2;
}

.wa-bubble__status {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.wa-bubble__status.is-open [data-status-label] {
    color: var(--wa);
    font-weight: 700;
}

.wa-bubble__body {
    margin-bottom: 14px;
}

.wa-bubble__typing,
.wa-bubble__msg {
    border-radius: 4px 16px 16px 16px;
    background: var(--surface-2);
}

.wa-bubble__typing {
    display: inline-flex;
    gap: 5px;
    padding: 14px 16px;
}

.wa-bubble__typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
    animation: typing 1s ease-in-out infinite;
}

.wa-bubble__typing i:nth-child(2) {
    animation-delay: 0.15s;
}

.wa-bubble__typing i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.wa-bubble__msg {
    display: none;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-2);
}

.wa-bubble.is-typed .wa-bubble__typing {
    display: none;
}

.wa-bubble.is-typed .wa-bubble__msg {
    display: block;
    animation: fade-up 0.45s var(--ease) both;
}

.wa-bubble__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 12px;
    background: var(--wa);
    color: var(--wa-ink);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: filter 0.2s, transform 0.3s var(--ease);
}

.wa-bubble__cta:hover {
    background: var(--wa-hover);
}

.wa-bubble__cta .icon:last-child {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.wa-bubble__cta:hover .icon:last-child {
    transform: translateX(3px);
}

/* barra de ações fixa (celular) */
.action-bar {
    display: none;
}

/* ---------- 17. Abertura das páginas internas ---------- */
.page-hero {
    position: relative;
    min-height: clamp(520px, 72vh, 720px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 72px) 0 clamp(56px, 7vw, 96px);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    animation: hero-zoom 14s var(--ease) both;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 12, 0.88) 45%, rgba(11, 11, 12, 0.4) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 50%);
}


.page-hero__inner {
    position: relative;
}

.page-hero__title {
    max-width: 24ch;
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    margin-bottom: 24px;
    animation: fade-up 0.9s var(--ease) 0.15s both;
}

.page-hero__lead {
    max-width: 62ch;
    font-size: clamp(1.02rem, 1.3vw, 1.18rem);
    color: var(--text-2);
    margin-bottom: 34px;
    animation: fade-up 0.9s var(--ease) 0.3s both;
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fade-up 0.9s var(--ease) 0.45s both;
}

.page-hero .eyebrow {
    animation: fade-up 0.8s var(--ease) 0.05s both;
}

.crumbs {
    margin-bottom: 28px;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--muted);
}

.crumbs li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crumbs li + li::before {
    content: "/";
    color: rgba(255, 255, 255, 0.25);
}

.crumbs a:hover {
    color: var(--accent);
}

.crumbs [aria-current] {
    color: var(--text-2);
}

/* ---------- 18. Bloco-resumo ---------- */
.summary {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background: linear-gradient(120deg, rgba(252, 209, 42, 0.07), transparent 55%), var(--surface);
}

.summary__mark {
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent) 0 60%, var(--red) 60% 100%);
}

.summary p {
    font-size: clamp(1.02rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-2);
}

/* ---------- 19. Serviços (página) ---------- */
.svc-nav {
    position: sticky;
    top: calc(var(--header-h) + 22px);
    z-index: 5;
    display: flex;
    gap: 8px;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: rgba(17, 17, 19, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.svc-nav::-webkit-scrollbar {
    display: none;
}

.svc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-2);
    transition: background-color 0.2s, color 0.2s;
}

.svc-nav a .icon {
    color: var(--accent);
}

.svc-nav a:hover,
.svc-nav a.is-active {
    background: var(--accent);
    color: var(--accent-ink);
}

.svc-nav a:hover .icon,
.svc-nav a.is-active .icon {
    color: var(--accent-ink);
}

.svc-rows {
    display: grid;
    gap: clamp(72px, 9vw, 128px);
}

.svc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.svc-row:nth-child(even) .svc-row__media {
    order: 2;
}

.svc-row__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-l);
    overflow: hidden;
    isolation: isolate;
}

.svc-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.svc-row__media:hover img {
    transform: scale(1.04);
}

.svc-row__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 12, 0.5));
}

.svc-row__num {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
}

.svc-row__body .h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    margin-bottom: 18px;
}

.svc-row__body .lead {
    margin-bottom: 24px;
}

.spec-list {
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.spec-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    color: var(--text-2);
}

.spec-list .icon {
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    margin-top: 2px;
}

/* ---------- 20. História (A oficina) ---------- */
.story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 34px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--red) 70%, transparent);
}

.timeline__item {
    position: relative;
    padding-bottom: 36px;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--accent);
}

.timeline__year {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.timeline__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 8px;
}

.timeline__text {
    color: var(--muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.value {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--surface);
}

.value__word {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.2;
    color: var(--accent);
}

.value p {
    font-size: 0.95rem;
    color: var(--muted);
}

.gallery {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
    height: clamp(320px, 38vw, 520px);
}

.gallery--two {
    grid-template-columns: 1fr 1fr;
    height: clamp(260px, 30vw, 420px);
}

/* ---------- 21. Tabela ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background: var(--surface);
}

.table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.table th,
.table td {
    padding: 18px 22px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.table th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--surface-2);
}

.table td {
    color: var(--text-2);
}

.table td:first-child {
    color: var(--text);
    font-weight: 700;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

/* ---------- 22. Cartões de cidade ---------- */
.city-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.city-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--surface);
    transition: border-color 0.3s, transform 0.5s var(--ease);
}

.city-card:hover,
.city-card:target {
    border-color: rgba(252, 209, 42, 0.5);
    transform: translateY(-4px);
}

.city-card:target {
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.city-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.city-card__km {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent);
}

.city-card__km small {
    margin-left: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

.city-card__axis {
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--surface-2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-2);
}

.city-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.city-card__text {
    font-size: 0.93rem;
    color: var(--text-2);
    margin-bottom: 14px;
}

.city-card__route {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.84rem;
    color: var(--muted);
}

.city-card__route .icon {
    margin-top: 3px;
    color: var(--accent);
}

.city-card__go {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.city-card__go .icon {
    color: var(--wa);
}

.city-card__go:hover {
    color: var(--accent);
}

/* ---------- 23. Contato ---------- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

.form-card {
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    background: var(--surface);
}

.form-card .h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    margin-bottom: 10px;
}

.form-card > p {
    margin-bottom: 22px;
    font-size: 0.95rem;
    color: var(--muted);
}

/* formulário compacto: campos próximos, rótulo colado ao campo */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.field {
    display: grid;
    gap: 5px;
}

.field--full {
    grid-column: 1 / -1;
}

.form-card .btn--lg {
    min-height: 52px;
    margin-top: 4px;
}

.field__label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-2);
}

.field__label span {
    color: var(--accent);
}

.input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.97rem;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.input::placeholder {
    color: #6b6862;
}

.input:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

textarea.input {
    min-height: 112px;
    resize: vertical;
}

select.input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcd12a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

select.input option {
    background: var(--surface);
}


.hp-trap-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.alert {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid;
    font-size: 0.95rem;
}

.alert--success {
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.08);
    color: #c6f5d7;
}

.alert--error {
    border-color: rgba(212, 70, 75, 0.55);
    background: rgba(212, 70, 75, 0.1);
    color: #ffd2d3;
}

.alert ul {
    margin-top: 8px;
    padding-left: 18px;
    list-style: disc;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--muted);
}

.channels {
    display: grid;
    gap: 12px;
}

.channel {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.3s, transform 0.4s var(--ease);
}

a.channel:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.channel__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface-2);
    color: var(--accent);
}

.channel__icon .icon {
    width: 24px;
    height: 24px;
}

.channel--wa .channel__icon {
    background: var(--wa);
    color: #fff;
}

.channel small {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.channel strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.35;
}

.channel > .icon {
    color: var(--muted);
}

.map-embed {
    position: relative;
    margin-top: 12px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-l);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.88) brightness(0.95);
}

.map-embed__link {
    position: absolute;
    left: 14px;
    bottom: 14px;
}

/* ---------- 24. 404 ---------- */
.notfound {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
    isolation: isolate;
}

.notfound__code {
    position: absolute;
    right: -0.05em;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(8rem, 26vw, 22rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(252, 209, 42, 0.16);
}

.notfound .h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    margin-bottom: 20px;
    max-width: 14ch;
}

.notfound .lead {
    max-width: 52ch;
    margin-bottom: 32px;
}

.notfound__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- 25. Revelação na rolagem ---------- */
/* animação (e não transição) para não atrasar os efeitos de hover depois */
.js [data-reveal] {
    opacity: 0;
}

.js [data-reveal].is-visible {
    opacity: 1;
    animation: reveal 1s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
}

/* ---------- 26. Responsivo ---------- */
@media (max-width: 1180px) {
    .nav__link {
        padding: 10px 11px;
        font-size: 0.9rem;
    }

    .footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1060px) {
    :root {
        --header-h: 72px;
    }

    .nav,
    .header-cta {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .brand img,
    .site-header.is-scrolled .brand img {
        height: 54px;
    }

    .section-head,
    .about,
    .chassis,
    .shop,
    .story,
    .faq__grid,
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq__aside {
        position: static;
    }

    .cluster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cluster > .lcd {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid var(--line);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .bento {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .card-svc {
        grid-column: span 3;
    }

    .card-svc--feature {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 460px;
    }

    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process__step::after {
        display: none;
    }

    .values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about__media {
        max-width: 620px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-h) + 48px);
    }

    .hero__media img,
    .hero__media video {
        object-position: 72% 50%;
    }

    .hero__shade {
        background:
            linear-gradient(180deg, rgba(11, 11, 12, 0.6) 0%, rgba(11, 11, 12, 0.55) 35%, rgba(11, 11, 12, 0.92) 70%, var(--bg) 100%);
    }

    .hero__content {
        padding-block: 40px 32px;
    }

    .hero__actions .btn,
    .page-hero__actions .btn {
        flex: 1 1 100%;
    }

    .cluster {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: var(--radius);
    }

    .gauge {
        padding: 14px 4px 12px;
    }

    .gauge__value {
        top: calc(14px + min(118px, 100%) * 0.84);
        font-size: 1.3rem;
    }

    .gauge__caption {
        font-size: 0.74rem;
    }

    .lcd {
        padding: 16px;
    }

    .bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-svc,
    .card-svc--feature {
        grid-column: 1 / -1;
        min-height: 360px;
    }

    .facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .about__media {
        padding: 0 0 36px 24px;
    }

    .rotor {
        width: 116px;
        height: 116px;
        top: -24px;
        right: -8px;
    }

    .rotor img {
        width: 68px;
        height: 68px;
    }

    .rotor__text text {
        font-size: 16px;
    }

    .blueprint__legend {
        grid-template-columns: 1fr 1fr;
    }

    .brands__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .marquee__item {
        --logo-scale: 0.78;
        height: 80px;
    }

    .map__svg {
        min-width: 900px;
    }

    .map__foot .map__hint {
        display: inline-flex;
    }

    .about__caption {
        max-width: 55%;
    }

    .axis-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.4fr 1fr;
        height: 520px;
    }

    .shot--tall {
        grid-row: auto;
        grid-column: 1 / -1;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.3fr 1fr;
        height: 520px;
    }

    .gallery .shot:first-child {
        grid-column: 1 / -1;
    }

    .gallery--two {
        grid-template-rows: 1fr;
        height: 220px;
    }

    .gallery--two .shot:first-child {
        grid-column: auto;
    }

    .process,
    .values,
    .city-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-row:nth-child(even) .svc-row__media {
        order: 0;
    }

    .svc-nav {
        border-radius: 14px;
        margin-inline: calc(var(--gutter) * -1);
        border-radius: 0;
        border-inline: none;
    }

    .faq-item summary {
        grid-template-columns: 28px 1fr 28px;
        gap: 10px;
    }

    .faq-item__a {
        padding: 0 0 24px 38px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .channel {
        grid-template-columns: 46px 1fr;
    }

    .channel > .icon {
        display: none;
    }

    .channel__icon {
        width: 46px;
        height: 46px;
    }

    .footer__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .footer__bottom {
        padding-bottom: 100px;
    }

    .cta-band__card {
        width: 100%;
    }

    .page-hero {
        min-height: 0;
        padding-top: calc(var(--header-h) + 56px);
    }

    .summary {
        grid-template-columns: 1fr;
    }

    .summary__mark {
        width: 48px;
        height: 5px;
    }

    /* no celular, o WhatsApp vira uma barra fixa de 2 botões */
    .wa-widget {
        display: none;
    }

    .action-bar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: var(--z-float);
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid var(--line-2);
        border-radius: 18px;
        background: rgba(17, 17, 19, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9);
        transition: transform 0.45s var(--ease);
    }

    .action-bar.is-hidden {
        transform: translateY(140%);
    }

    .action-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 50px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.95rem;
        background: var(--surface-2);
    }

    .action-bar a.action-bar__wa {
        background: var(--wa);
        color: var(--wa-ink);
    }

    .action-bar .icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 420px) {
    .gauge__caption {
        font-size: 0.7rem;
    }
}

/* ---------- 27. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee__track {
        animation: none;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .gauge__needle {
        transform: rotate(var(--to));
    }

    .gauge__fill {
        stroke-dashoffset: calc(100 - var(--f) * 100);
    }
}
