/* Fontes locais; nenhuma chamada externa na renderização. */
@font-face { font-family: Manrope; src: url('../assets/fonts/manrope-variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* Tokens de componentes/theme.md adaptados para CSS nativo. */
:root {
  color-scheme: light;
  --background: #ffffff; --foreground: #262626; --card: #ffffff;
  --muted: #f9fafb; --secondary: #f3f4f6; --border: #e5e7eb;
  --muted-foreground: #606773; --primary: #f59e0b; --primary-foreground: #000000;
  --accent-foreground: #92400e; --ring: #f59e0b; --radius: 0.375rem;
  --header-background: #ffffffe8;
  --font-sans: Manrope, Arial, sans-serif;
  --font-display: 'Barlow Condensed', Impact, sans-serif; --content-width: 1200px;
}
.dark {
  color-scheme: dark;
  --background: #171717; --foreground: #e5e5e5; --card: #262626;
  --muted: #1f1f1f; --secondary: #262626; --border: #404040;
  --muted-foreground: #a3a3a3; --accent-foreground: #f59e0b;
  --header-background: #171717e8;
}

/* Base mobile: coluna única e controles confortáveis para toque. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
body, button, a { -webkit-tap-highlight-color: transparent; }
main { min-height: 60vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input { border-radius: var(--radius); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 0.98; text-transform: uppercase; }
h1 { font-size: clamp(3.5rem, 7.5vw, 6.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.025em; }
p { max-width: 65ch; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
a, button, summary, [tabindex] { scroll-margin-block: 8rem 12rem; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #171717; }
.skip-link:focus { scroll-margin: 0; }
main:focus { outline-offset: -3px; }
::selection { background: var(--primary); color: #000; }
.container { width: min(calc(100% - 2.5rem), var(--content-width)); margin-inline: auto; }
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; color: var(--accent-foreground); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase; margin-bottom: 1.25rem; }
.eyebrow::before { content: ''; display: block; width: 1.5rem; height: 2px; background: currentColor; }
.muted { color: var(--muted-foreground); }
.lead { font-size: 1.0625rem; color: var(--muted-foreground); line-height: 1.8; }
.text-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 700; }
.text-link:hover { color: var(--accent-foreground); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 48px; padding: 0.875rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--primary); color: #171717; font-weight: 800; font-size: 0.8125rem; line-height: 1.5; transition: background 160ms, transform 160ms; }
.button:hover { background: #fbbf24; transform: translateY(-2px); }
.button-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.button-outline:hover { background: var(--secondary); }
.button-dark { background: #171717; color: #fff; }
.button-dark:hover { background: #333; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.actions .button { flex: 1 1 auto; }
.section { padding-block: 4.5rem; }
.section.contact-location-section { padding-top: clamp(3rem, 4vw, 4rem); }
.section-muted { background: var(--muted); }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-heading .lead { max-width: 42ch; margin-top: 1.25rem; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.75rem 1rem; background: var(--primary); color: #000; z-index: 100; }
.skip-link:focus { transform: translateY(0); }

/* Cabeçalho compartilhado: fixo na rolagem e sem informações de contato no topo. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-background); border-bottom: 1px solid var(--border); transition: background 180ms, border-color 180ms; }
.header-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: 136px; height: auto; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); }
.icon-button:hover { background: var(--secondary); }
.icon-sun { display: none; }
.dark .icon-sun { display: block; }
.dark .icon-moon { display: none; }
.menu-toggle[aria-expanded='true'] .menu-lines { display: none; }
.menu-toggle[aria-expanded='false'] .menu-close { display: none; }
.menu-toggle { order: 1; }
.header-call { display: none; order: 3; }
.theme-toggle { order: 3; margin-left: auto; }
.nav-links { order: 2; display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 0.25rem; padding-top: 0.75rem; }
.menu-ready:not(.menu-open) .theme-toggle { position: absolute; top: 1rem; right: 3.25rem; margin-left: 0; }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0.5rem 0.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted-foreground); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--foreground); }
.nav-links a[aria-current]::before { content: ''; width: 5px; height: 5px; margin-right: 0.5rem; border-radius: 50%; background: var(--primary); }
.menu-ready .nav-links { display: flex; flex-direction: column; max-height: 0; padding-top: 0; margin-top: 0; overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(-0.5rem); border-top: 1px solid transparent; pointer-events: none; transition: max-height 240ms ease, padding 240ms ease, margin 240ms ease, opacity 180ms ease, transform 240ms ease, border-color 240ms ease, visibility 0s linear 240ms; }
.menu-ready .nav-links a { opacity: 0; transform: translateY(-0.25rem); transition: opacity 160ms ease, transform 200ms ease; }
.menu-ready .nav-links.is-open { max-height: 20rem; padding-top: 0.75rem; margin-top: 0.5rem; visibility: visible; opacity: 1; transform: translateY(0); border-top-color: var(--border); pointer-events: auto; transition-delay: 0s; }
.menu-ready .nav-links.is-open a { opacity: 1; transform: translateY(0); }
.menu-ready .nav-links.is-open a:nth-child(2) { transition-delay: 35ms; }
.menu-ready .nav-links.is-open a:nth-child(3) { transition-delay: 70ms; }
.menu-ready .nav-links.is-open a:nth-child(4) { transition-delay: 105ms; }

@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: blur(12px); }
}

/* Ações flutuantes: WhatsApp sempre disponível; topo surge em páginas longas. */
.floating-actions { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1.75rem, calc(env(safe-area-inset-bottom) + 0.75rem)); z-index: 25; display: grid; gap: 0.875rem; justify-items: end; }
.whatsapp-float, .back-to-top { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 52px; border: 1px solid transparent; border-radius: 999px; box-shadow: 0 8px 24px #00000038; transition: transform 160ms, opacity 160ms, background 160ms; }
.whatsapp-float { gap: 0.75rem; min-width: 154px; min-height: 64px; padding: 0.55rem 1.25rem; background: #25d366; color: #071c0e; font-weight: 800; font-size: 0.75rem; box-shadow: 0 10px 28px #0000004d, 0 0 0 0 #25d36666; }
.whatsapp-float:hover { background: #40e17b; transform: translateY(-2px); }
.whatsapp-float .icon { width: 1.6rem; height: 1.6rem; }
.whatsapp-float-copy { display: grid; line-height: 1.1; text-align: left; }
.whatsapp-float-copy small { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.04em; }
.whatsapp-float-copy strong { margin-top: 0.125rem; font-size: 0.875rem; }
@keyframes whatsapp-attention { 0%, 72%, 100% { box-shadow: 0 10px 28px #0000004d, 0 0 0 0 #25d36666; } 82% { box-shadow: 0 10px 28px #0000004d, 0 0 0 9px #25d36600; } }
@media (prefers-reduced-motion: no-preference) { .whatsapp-float { animation: whatsapp-attention 3.6s ease-out 1; } }
.back-to-top { background: var(--card); color: var(--foreground); border-color: var(--border); }
.back-to-top:hover { background: var(--secondary); transform: translateY(-2px); }
.back-to-top .icon { transform: rotate(-90deg); }

/* Home: o modo claro usa superfícies claras; o escuro mantém a foto dramática. */
.hero { position: relative; isolation: isolate; color: var(--foreground); background: var(--secondary); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: hidden; opacity: 0.42; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.hero-photo-facade img { object-position: center center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fffffff5 0%, #ffffffe6 45%, #ffffff9c 72%, #ffffff26 100%), linear-gradient(0deg, #ffffffbd, #ffffff33 60%); }
.hero-inner { position: relative; z-index: 2; padding-block: 4rem 5rem; }
.hero .eyebrow { color: var(--accent-foreground); }
.hero h1 { max-width: 10ch; }
.hero h1 span { color: var(--accent-foreground); }
.hero .lead { color: var(--muted-foreground); max-width: 43ch; margin-block: 1.75rem 2rem; }
.hero .button-outline { color: var(--foreground); border-color: var(--border); }
.hero .button-outline:hover { background: #ffffff90; }
.hero-bottom { display: flex; gap: 0.5rem; align-items: center; margin-top: 2.5rem; color: var(--muted-foreground); font-size: 0.6875rem; letter-spacing: 0.02em; }
.hero-bottom .icon { color: var(--primary); width: 1rem; height: 1rem; }
.hero-stamp { display: none; }
.photo-label { position: absolute; z-index: 2; right: 1.25rem; bottom: 1rem; color: var(--muted-foreground); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; }
.dark .hero { color: #fff; background: #141414; }
.dark .hero-photo { opacity: 0.65; }
.dark .hero::before { background: linear-gradient(90deg, #141414 0%, #141414ed 25%, #141414b8 46%, #14141470 68%, #1414141f 100%), linear-gradient(0deg, #1414148f, transparent 68%); }
.dark .hero .lead { color: #c1c1c1; }
.dark .hero .button-outline { color: #fff; border-color: #ffffff55; }
.dark .hero .button-outline:hover { background: #ffffff15; }
.dark .hero-bottom, .dark .photo-label { color: #bdbdbd; }
.benefits { border-bottom: 1px solid var(--border); background: var(--muted); }
.benefits-grid { display: grid; }
.benefit { display: flex; align-items: center; gap: 1rem; padding-block: 1.5rem; }
.benefit + .benefit { border-top: 1px solid var(--border); }
.benefit > .icon { color: var(--accent-foreground); width: 1.75rem; height: 1.75rem; }
.benefit strong { display: block; font-size: 0.8125rem; }
.benefit span { display: block; color: var(--muted-foreground); font-size: 0.6875rem; margin-top: 0.125rem; }
.service-grid { display: grid; gap: 1.5rem; }
.service-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 13rem; background: var(--secondary); overflow: hidden; border-bottom: 1px solid var(--border); }
.card-visual > picture { width: 100%; height: 100%; }
.card-visual > picture > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.3); }
.card-visual > .icon { width: 5rem; height: 5rem; color: var(--accent-foreground); stroke-width: 0.8; }
.card-visual.technical { background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 32px 32px; }
.card-visual.technical > .icon { padding: 1rem; box-sizing: content-box; border-radius: 50%; background: var(--secondary); }
.visual-number { position: absolute; top: 1rem; left: 1.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-foreground); }
.card-visual:has(picture) .visual-number { color: #fff; background: #171717e6; padding: 0.375rem 0.625rem; border-radius: 0.25rem; }
.card-visual .photo-label { color: #fff; background: #171717e6; padding: 0.125rem 0.375rem; }
.card-body { padding: 1.5rem; }
.card-category { color: var(--accent-foreground); text-transform: uppercase; font-size: 0.625rem; letter-spacing: 0.16em; font-weight: 800; margin-bottom: 0.75rem; }
.card-body p { font-size: 0.875rem; color: var(--muted-foreground); margin-block: 0.875rem 1rem; }
.card-body .text-link { border-top: 1px solid var(--border); padding-top: 1rem; width: 100%; justify-content: space-between; }
.brand-section { position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-block: 1.25rem; }
.brand-heading { display: flex; justify-content: center; margin-bottom: 0.25rem; }
.brand-info { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 0.5rem; }
.brand-heading-title { margin: 0; color: var(--foreground); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-info-trigger { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 0.375rem; min-width: 2.75rem; min-height: 2.75rem; margin-block: -0.5rem; padding: 0.375rem; border: 0; border-radius: var(--radius); color: var(--accent-foreground); background: transparent; font: inherit; font-size: 0.6875rem; line-height: 1.4; cursor: pointer; transition: color 160ms ease, background 160ms ease; }
.brand-info-trigger .icon { width: 1.5rem; height: 1.5rem; }
.brand-info-trigger span { text-decoration: underline dotted; text-underline-offset: 0.25rem; }
.brand-info-trigger:hover, .brand-info-trigger[aria-expanded="true"] { color: var(--foreground); background: var(--secondary); }
.brand-info-trigger:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.brand-info-tooltip { position: absolute; top: calc(100% + 0.75rem); left: 50%; width: min(32rem, calc(100vw - 2rem)); padding: 1rem 1.125rem; border: 1px solid var(--border); border-radius: 0.5rem; color: var(--foreground); background: var(--card); box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 22%); font-size: 0.75rem; font-weight: 400; letter-spacing: normal; line-height: 1.65; text-align: left; text-transform: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -0.375rem); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
.brand-info-tooltip::before { position: absolute; top: -0.375rem; left: 50%; width: 0.625rem; height: 0.625rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); background: var(--card); content: ""; transform: translateX(-50%) rotate(45deg); }
.brand-info-tooltip::after { position: absolute; inset: -0.75rem 0 auto; height: 0.75rem; content: ""; }
.brand-info-title { display: block; margin-bottom: 0.625rem; font-size: 0.8125rem; }
.brand-info-tooltip p + p { margin-top: 0.625rem; }
.brand-info:not(.is-dismissed):hover .brand-info-tooltip,
.brand-info:not(.is-dismissed):focus-within .brand-info-tooltip,
.brand-info.is-open .brand-info-tooltip { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: center; }
.brand-grid figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; }
.brand-grid img { width: 3.25rem; height: 3.25rem; object-fit: contain; filter: grayscale(1) brightness(0.25); }
.dark .brand-grid img { filter: grayscale(1) brightness(0) invert(1); }
.brand-grid figcaption { font-size: 0.6875rem; color: var(--muted-foreground); }
.js .brand-marquee { position: relative; overflow: hidden; padding-block: 0.75rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.js .brand-track { display: flex; width: max-content; animation: brand-scroll var(--brand-duration, 26s) linear infinite; }
/* Larguras explícitas entram no cálculo intrínseco também no Firefox,
   mantendo cada cópia da faixa com o espaço completo de suas marcas. */
.js .brand-track .brand-grid { display: flex; flex: 0 0 auto; width: max-content; gap: 0; }
.js .brand-track .brand-grid figure { flex: 0 0 auto; width: clamp(5.5rem, 10vw, 8rem); transform: scale(0.88); transition: transform 260ms ease; }
.js .brand-track .brand-grid img { opacity: 0.55; transition: opacity 260ms ease; }
.js .brand-grid figure.is-featured { transform: scale(1.15); }
.js .brand-grid figure.is-featured img { opacity: 1; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }
.brand-motion-toggle { position: absolute; top: 50%; right: 0; z-index: 1; margin: 0; transform: translateY(-50%); border-radius: var(--radius) 0 0 var(--radius); color: var(--muted-foreground); }
.brand-motion-toggle:hover { color: var(--foreground); }
.motion-play { display: none; }
.brand-motion-toggle.is-paused .motion-pause { display: none; }
.brand-motion-toggle.is-paused .motion-play { display: block; }
.js .brand-marquee.is-paused { mask-image: none; overflow: visible; }
.js .brand-marquee.is-paused .brand-track { display: block; width: auto; animation: none; }
.js .brand-marquee.is-paused .brand-grid { display: grid; width: auto; gap: 1.5rem; }
.js .brand-marquee.is-paused [aria-hidden='true'] { display: none; }
.js .brand-marquee.is-paused .brand-grid figure { width: auto; transform: none; opacity: 1; }
.js .brand-marquee.is-paused .brand-grid img { opacity: 1; }
.split-layout { display: grid; gap: 2.5rem; align-items: center; }
.split-copy h2 { margin-bottom: 1.5rem; }
.split-copy .lead + p { margin-top: 1rem; color: var(--muted-foreground); font-size: 0.9375rem; }
.company-story p + p { margin-top: 1rem; }
.company-story p:not(.eyebrow):not(.statement) { color: var(--muted-foreground); font-size: 0.9375rem; }
.split-copy .text-link { margin-top: 1.75rem; }
.editorial-photo { position: relative; aspect-ratio: 1.1; border-radius: var(--radius); overflow: hidden; background: var(--secondary); }
.editorial-photo picture { width: 100%; height: 100%; }
.editorial-photo picture img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.03); }
.editorial-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; background: #ffffffdf; color: #262626; font-size: 0.625rem; padding: 0.25rem 0.625rem; }
.dark .editorial-photo { background: #262626; }
.dark .editorial-photo figcaption { background: #171717e6; color: #eee; }
.editorial-tag { position: absolute; top: 1.5rem; left: 1.5rem; padding: 0.75rem 1rem; background: var(--primary); color: #171717; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.07em; }
:is(.company-slideshow, .card-slideshow, .gallery-slideshow) picture img { transition: opacity 220ms ease, transform 700ms ease; }
:is(.company-slideshow, .card-slideshow, .gallery-slideshow).is-changing picture img { opacity: 0; transform: scale(1.015); }
.company-slideshow figcaption { right: 8.75rem; bottom: 1rem; left: 1rem; width: max-content; max-width: calc(100% - 10.75rem); }
.slideshow-controls { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: 0.375rem; padding: 0.25rem; border-radius: var(--radius); background: #171717e6; }
.slideshow-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #ffffff38; border-radius: calc(var(--radius) - 0.125rem); background: transparent; color: #fff; }
.slideshow-button:hover { background: #ffffff20; }
.slideshow-button .icon { width: 1rem; height: 1rem; }
.slideshow-play { display: none; }
:is(.company-slideshow, .card-slideshow, .gallery-slideshow).is-paused .slideshow-pause { display: none; }
:is(.company-slideshow, .card-slideshow, .gallery-slideshow).is-paused .slideshow-play { display: block; }
.card-slideshow .slideshow-controls { left: 0.5rem; right: auto; bottom: 0.5rem; padding: 0; background: transparent; }
:is(.card-slideshow, .gallery-slideshow) .slideshow-button { position: relative; isolation: isolate; border: 0; background: transparent; }
:is(.card-slideshow, .gallery-slideshow) .slideshow-button::before { content: ''; position: absolute; inset: 0.5rem; z-index: -1; border-radius: 50%; background: #171717d9; }
:is(.card-slideshow, .gallery-slideshow) .slideshow-button:hover::before { background: #171717; }
.card-slideshow .slideshow-button .icon { width: 0.75rem; height: 0.75rem; }
.card-slideshow .photo-label { right: 0.75rem; bottom: 1rem; }
.contact-band { padding-block: 3rem; background: var(--primary); color: #171717; }
.contact-band-inner { display: flex; flex-direction: column; gap: 2rem; }
.contact-band .eyebrow { color: #171717; }
.contact-band h2 { font-size: clamp(2.75rem, 4.5vw, 4rem); }
.contact-band p:not(.eyebrow) { margin-top: 1rem; font-size: 0.875rem; }
.contact-band .button-outline { color: #171717; border-color: #17171788; }
.contact-band .button-outline:hover { background: #ffffff30; }

/* Páginas internas. */
.page-intro { position: relative; padding-block: 3rem 3.5rem; overflow: hidden; background: var(--muted); border-bottom: 1px solid var(--border); }
.intro-inner { position: static; display: grid; gap: 1.5rem; }
.intro-inner > :not(.intro-visual) { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; color: var(--muted-foreground); font-size: 0.6875rem; margin-bottom: 2.5rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.breadcrumb .icon { width: 0.75rem; height: 0.75rem; }
.page-intro h1 { font-size: clamp(3.5rem, 6vw, 5.5rem); max-width: 15ch; }
.page-intro h1 span, .page-intro .eyebrow { color: #f59e0b; }
.page-intro .lead { margin-top: 1.5rem; max-width: 54ch; }
.page-intro h1, .page-intro .lead, .page-intro .breadcrumb, .page-intro .breadcrumb a { color: #fff; }
.intro-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; margin: 0; background: var(--secondary); }
.intro-visual picture, .intro-visual img { display: block; width: 100%; height: 100%; }
.intro-visual img { object-fit: cover; }
.intro-visual-mirrored img { transform: scaleX(-1); }
.intro-visual img[src*='intro-produtos-suspensao'] { object-position: center 32%; }
.intro-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #111111f2 0%, #111111d9 42%, #11111185 66%, #11111142 100%), linear-gradient(0deg, #11111199, transparent 60%); pointer-events: none; }
.intro-visual figcaption { position: absolute; left: max(1rem, calc((100% - var(--content-width)) / 2)); bottom: 0.75rem; z-index: 1; margin: 0; color: #fff; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; }
.intro-index { position: absolute; right: max(1rem, calc((100% - var(--content-width)) / 2)); bottom: 1rem; z-index: 1; padding: 0; color: transparent; background: transparent; border: 0; font-family: var(--font-display); font-size: clamp(5rem, 12vw, 10rem); line-height: 0.8; letter-spacing: 0.035em; -webkit-text-stroke: 1px #ffffff4d; user-select: none; }
:root:not(.dark) .intro-visual::after { background: linear-gradient(90deg, #fffffff5 0%, #ffffffe3 42%, #ffffff82 66%, #ffffff24 100%), linear-gradient(0deg, #ffffff8c, transparent 60%); }
:root:not(.dark) .page-intro h1, :root:not(.dark) .page-intro .breadcrumb, :root:not(.dark) .page-intro .breadcrumb a { color: #171717; }
:root:not(.dark) .page-intro h1 span, :root:not(.dark) .page-intro .eyebrow { color: var(--accent-foreground); }
:root:not(.dark) .page-intro .lead { color: #3f4650; }
:root:not(.dark) .intro-visual figcaption { color: #171717; text-shadow: 0 1px 2px #ffffffcc; }
:root:not(.dark) .intro-index { -webkit-text-stroke-color: #17171766; }
.technical-section { background: var(--muted); border-block: 1px solid var(--border); }
.technical-heading > .lead { max-width: 48ch; margin: 0; }
.technical-grid { display: grid; gap: 1rem; }
.technical-card { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); background: var(--card); }
.technical-card::after { content: ''; position: absolute; right: -3rem; bottom: -3rem; width: 9rem; aspect-ratio: 1; border: 1.25rem solid color-mix(in srgb, var(--primary) 9%, transparent); border-radius: 50%; pointer-events: none; }
.technical-number { display: block; margin-bottom: 2rem; color: var(--accent-foreground); font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.technical-card h3 { font-size: 1.25rem; }
.technical-card > p { margin-top: 1rem; color: var(--muted-foreground); font-size: 0.8125rem; }
.technical-card ul { position: relative; z-index: 1; display: grid; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.technical-card li { display: flex; gap: 0.75rem; color: var(--muted-foreground); font-size: 0.75rem; }
.technical-card li::before { content: ''; flex: 0 0 auto; width: 0.4rem; height: 0.4rem; margin-top: 0.45rem; border-radius: 50%; background: var(--primary); }
.technical-card-alert { border-top-color: var(--foreground); }
.technical-card-alert .technical-number { color: var(--foreground); }
.technical-decision { display: grid; gap: 1rem; margin-top: 1rem; }
.technical-criteria, .technical-cta { padding: 2rem; border-radius: var(--radius); }
.technical-criteria { border: 1px solid var(--border); background: var(--card); }
.technical-criteria h3, .technical-cta h3 { max-width: 22ch; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.technical-criteria > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted-foreground); font-size: 0.8125rem; }
.technical-cta { background: var(--primary); color: #171717; }
.technical-cta > .icon { width: 2.5rem; height: 2.5rem; margin-bottom: 2rem; stroke-width: 1.25; }
.technical-cta .eyebrow { color: #171717; }
.technical-cta > p:not(.eyebrow) { margin-top: 1rem; font-size: 0.8125rem; }
.technical-cta .actions { margin-top: 1.75rem; }
.technical-cta .button-outline { border-color: #17171780; color: #171717; }
.technical-cta .button-outline:hover { background: #ffffff38; }
.symptoms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.symptom-card { padding: 1.75rem; background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); }
.symptom-card p { margin-top: 0.875rem; color: var(--muted-foreground); font-size: 0.875rem; }
.symptoms-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-top: 1.5rem; padding: 1.75rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.symptoms-cta p { margin-top: 0.5rem; color: var(--muted-foreground); font-size: 0.875rem; }
.values-grid { display: grid; gap: 1.5rem; }
.value-card { padding: 2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.value-card .icon { color: var(--accent-foreground); width: 2rem; height: 2rem; margin-bottom: 1.5rem; }
.value-card p { color: var(--muted-foreground); font-size: 0.875rem; margin-top: 1rem; }
.statement { border-left: 3px solid var(--primary); padding-left: 1.5rem; margin-top: 2rem; font-weight: 700; }
.company-gallery { display: grid; gap: 1rem; }
.company-gallery figure { position: relative; min-height: 18rem; overflow: hidden; border-radius: var(--radius); background: var(--secondary); }
.company-gallery picture { display: block; width: 100%; height: 100%; }
.company-gallery img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; filter: saturate(0.75) contrast(1.04); transition: transform 300ms ease, filter 300ms ease; }
.company-gallery figure:hover img { transform: scale(1.025); filter: saturate(1) contrast(1.04); }
.company-gallery figcaption { position: absolute; right: 0.75rem; bottom: 0.75rem; left: 0.75rem; padding: 0.625rem 0.75rem; background: #171717d9; color: #fff; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.company-gallery .slideshow-controls { top: 2px; right: 2px; bottom: auto; gap: 0; padding: 0; background: transparent; }
.company-gallery .slideshow-button { width: 44px; height: 44px; }
.company-gallery .slideshow-button::before { inset: 10px; }
.company-gallery .slideshow-button .icon { width: 12px; height: 12px; }
.product-showcase { border-top: 1px solid var(--border); overflow: hidden; }
.product-fan { margin-top: 2.5rem; }
.product-fan-stage { display: grid; gap: 1rem; }
.js .product-fan-stage { touch-action: pan-y pinch-zoom; }
.product-fan-card { position: relative; min-width: 0; }
.product-fan-card article { display: flex; flex-direction: column; height: 100%; min-height: 29rem; overflow: hidden; border: 1px solid var(--border); border-radius: calc(var(--radius) + 0.125rem); background: var(--card); box-shadow: 0 1rem 2.5rem #0000001f; transition: border-color 250ms ease, box-shadow 250ms ease; }
.product-card-link { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.product-card-link:focus-visible { outline-offset: -5px; }
.product-fan-copy > .text-link { justify-content: space-between; margin-top: auto; padding-top: 0.75rem; }
.product-fan-visual { position: relative; display: grid; place-items: center; flex: 0 0 17.5rem; height: 17.5rem; min-height: 0; overflow: hidden; padding: 2rem 1.5rem 1.25rem; isolation: isolate; background: radial-gradient(ellipse at 50% 68%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%), var(--secondary); border-bottom: 1px solid var(--border); }
.product-fan-visual picture { display: grid; width: 100%; height: 100%; place-items: center; }
.product-fan-visual img { position: absolute; inset: 5rem 1.5rem 0.5rem; margin: auto; width: calc(100% - 3rem); height: calc(100% - 5.25rem); min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 0.75rem 0.75rem #00000040); transition: filter 350ms ease; }
/* Estas composições horizontais têm margem transparente em arquivos quadrados. */
.product-fan-visual img[src*='produto-caixa-direcao'] { width: min(calc(100% - 3rem), 34rem); object-fit: cover; }
.product-fan-visual img[src*='produto-rolamento-cubo-roda-v2'] { width: min(calc(100% - 3rem), 20rem); object-fit: cover; }
.product-fan-visual img[src*='produto-pivo-suspensao'] { height: calc(100% - 5rem); }
.product-fan-visual img[src*='produto-trizeta-v2'] { height: calc(100% - 4.875rem); }
.product-fan-visual img[src*='produto-disco-pastilhas-freio'] { height: calc(100% - 4.25rem); }
.product-index { position: absolute; top: 0.875rem; left: 0.875rem; z-index: 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--primary); color: #171717; font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.04em; }
.product-condition { position: absolute; top: 0.625rem; right: 0.75rem; z-index: 3; display: grid; align-content: center; justify-items: center; gap: 0.125rem; width: 12rem; height: 4.25rem; padding: 0.4rem 0.75rem; background: url('../assets/images/selo-retangular-ondulado.svg') center / 100% 100% no-repeat; color: #fff; text-align: center; }
.product-condition strong { font-size: 1rem; font-weight: 800; line-height: 1.18; }
.product-fan-copy { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.product-category { color: var(--accent-foreground); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.product-fan-copy h3 { margin-top: 0.375rem; font-size: 1.25rem; line-height: 1.35; }
.product-fan-copy p { margin-top: 1rem; color: color-mix(in srgb, var(--foreground) 85%, var(--card)); font-size: 0.875rem; line-height: 1.65; }
.product-fan-copy p strong { color: var(--foreground); }
.js .product-fan-stage { position: relative; display: block; height: 35rem; overflow: hidden; perspective: 1000px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.js .product-fan-card { --fan-x: 0px; --fan-y: 0px; --fan-rotate: 0deg; --fan-scale: 0.72; position: absolute; top: 48%; left: 50%; width: min(76vw, 16.5rem); height: 31.5rem; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) translate3d(var(--fan-x), var(--fan-y), 0) rotate(var(--fan-rotate)) scale(var(--fan-scale)); transform-origin: 50% 100%; transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease; will-change: transform, opacity; }
.js .product-fan-card.is-visible { opacity: var(--fan-opacity, 1); pointer-events: auto; cursor: pointer; }
.js .product-fan-card.is-visible:not(.is-current) { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%); }
.js .product-fan-card.is-visible:not(.is-current) .product-fan-copy { opacity: 0.55; }
.js .product-fan-card:not(.is-current) .product-condition { visibility: hidden; }
.js .product-fan-card.is-current { cursor: default; }
.js .product-fan-card.is-current article { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); box-shadow: 0 1.25rem 2.5rem #00000040; }
.js .product-fan-card.is-current .product-fan-visual img { filter: drop-shadow(0 1.25rem 1.25rem #0000005c); }
.product-fan-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.75rem; }
.product-fan-button { display: grid; flex: 0 0 auto; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--foreground); box-shadow: 0 0.5rem 1.25rem #0000001f; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.product-fan-button:hover { border-color: var(--primary); background: var(--secondary); transform: translateY(-2px); }
.product-fan-motion.is-paused .motion-pause { display: none; }
.product-fan-motion.is-paused .motion-play { display: block; }
.product-fan-status { min-width: 11rem; color: var(--muted-foreground); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-align: center; }
.product-disclaimer { max-width: 70ch; margin-top: 1.5rem; color: var(--muted-foreground); font-size: 0.75rem; }
/* Detalhes usam o mesmo layout, imagens e componentes do catálogo. */
.service-options { margin-top: 2.5rem; }
.service-detail-index { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.service-detail-visual picture img { object-fit: contain; padding: 2.5rem; filter: drop-shadow(0 0.75rem 0.75rem #00000040); }
.service-detail-visual figcaption { right: 1rem; }
/* Semi-eixo: imagem ao lado do texto, sem a camada de escurecimento. */
.semi-eixo-intro .intro-visual { position: relative; inset: auto; background: transparent; width: 100%; aspect-ratio: 1; }
.semi-eixo-intro .intro-visual::after { display: none; }
.semi-eixo-intro .intro-visual img { object-fit: contain; padding: 0; opacity: 1; filter: none; }
@media (min-width: 1024px) {
  .semi-eixo-intro .intro-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; }
  .semi-eixo-intro .breadcrumb { grid-column: 1 / -1; }
  .semi-eixo-intro .intro-inner > :not(.breadcrumb):not(.intro-visual) { grid-column: 1; }
  .semi-eixo-intro .intro-visual { grid-column: 2; grid-row: 2 / 6; align-self: center; }
}
.location-layout { display: grid; gap: 2rem; }
.contact-list { display: grid; gap: 1.5rem; }
.contact-item { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.contact-item > .icon { color: var(--accent-foreground); margin-bottom: 1.25rem; }
.contact-item h2 { font-family: var(--font-sans); font-size: 0.8125rem; text-transform: none; letter-spacing: 0; margin-bottom: 0.875rem; }
.contact-number { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: clamp(1.25rem, 4vw, 1.75rem); }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--foreground); font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 800; overflow-wrap: anywhere; }
.contact-item p, .contact-item address { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-item .text-link { margin-top: 0.75rem; }
.contact-item-action { padding: 1.75rem; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.contact-item-hover { transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.contact-item-action:hover { border-color: var(--primary); box-shadow: 0 12px 28px #0000001f; transform: translateY(-2px); }
.contact-item-hover:hover { border-color: var(--primary); box-shadow: 0 12px 28px #0000001f; transform: translateY(-2px); }
.contact-item:focus-within { border-color: var(--primary); }
.contact-map-button, .contact-call-button { width: 100%; justify-content: space-between; margin-top: 1.25rem; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: auto; padding-top: 1.25rem; }
.contact-actions .button { width: 100%; min-width: 0; padding-inline: 0.75rem; }
.contact-whatsapp-button, .footer-whatsapp-button { background: #25d366; color: #071c0e; }
.contact-whatsapp-button:hover, .footer-whatsapp-button:hover { background: #40e17b; }
.location-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2.5rem; padding: 2rem; background: var(--primary); color: #171717; border-radius: var(--radius); min-height: 28rem; }
.location-panel > .icon { width: 3rem; height: 3rem; stroke-width: 1; }
.location-panel .eyebrow { color: #171717; }
.location-panel h2 { font-size: clamp(3.5rem, 6vw, 5.5rem); }
.location-panel address { font-size: 0.9375rem; margin-top: 1.5rem; }
.location-map-wrap { position: relative; width: 100%; min-height: 12rem; overflow: hidden; border: 1px solid #1717173d; border-radius: calc(var(--radius) + 0.125rem); background: #e7a000; box-shadow: 0 10px 24px #17171726; }
.location-map-wrap:focus-within { overflow: visible; }
.location-map { display: block; width: 100%; min-height: 12rem; border: 0; pointer-events: none; }
.location-map-controls { position: absolute; top: 0.625rem; right: 0.625rem; z-index: 2; display: grid; gap: 0.375rem; }
.map-zoom-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #17171755; border-radius: 0.25rem; background: #fffffff2; color: #171717; font-size: 1.25rem; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px #0000002b; }
.map-zoom-button:hover { background: #fff; transform: translateY(-1px); }
.location-panel small { font-size: 0.6875rem; letter-spacing: 0.1em; }
.faq-layout { display: grid; gap: 2rem; align-items: center; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 0.9375rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .faq-indicator::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--accent-foreground); }
.faq-list details[open] .faq-indicator::after { content: '−'; }
.faq-list details p { color: var(--muted-foreground); font-size: 0.875rem; padding-bottom: 1.5rem; }

/* Rodapé: acompanha o tema selecionado e preserva o contraste dos links. */
.site-footer { position: relative; overflow: hidden; background: radial-gradient(35% 128px at 50% 0%, #ffffff1f, transparent), var(--secondary); color: var(--foreground); border-top: 1px solid var(--border); padding-top: 3.5rem; }
.site-footer::before { content: ''; position: absolute; top: -1px; left: 50%; width: min(33.333%, 24rem); height: 1px; transform: translateX(-50%); background: var(--foreground); opacity: 0.28; box-shadow: 0 0 10px 2px var(--foreground); }
@keyframes footer-reveal { from { opacity: 0; filter: blur(4px); transform: translateY(-8px); } to { opacity: 1; filter: none; transform: none; } }
.js .site-footer.is-visible .footer-grid, .js .site-footer.is-visible .footer-bottom { animation: footer-reveal 800ms ease; }
.site-footer:focus-within .footer-grid, .site-footer:focus-within .footer-bottom { animation: none !important; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 180px; }
.footer-brand p { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted-foreground); max-width: 32ch; }
.footer-heading { font-family: var(--font-sans); font-size: 0.6875rem; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1rem; color: var(--accent-foreground); font-weight: 800; }
.footer-links a { display: flex; align-items: center; min-height: 44px; font-size: 0.8125rem; color: var(--muted-foreground); }
.footer-links a:hover { color: var(--foreground); }
.footer-contact { font-size: 0.8125rem; color: var(--muted-foreground); }
.footer-contact .text-link { color: var(--foreground); font-size: 0.8125rem; }
.footer-contact .text-link { display: flex; width: max-content; max-width: 100%; }
.footer-contact-choice { display: inline-flex; align-items: center; gap: 0.625rem; width: max-content; max-width: 100%; min-height: 44px; margin-top: 0.875rem; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--foreground); font-weight: 800; }
.footer-landline-choice { margin-top: 0; }
.footer-email-choice { overflow-wrap: anywhere; }
.footer-contact-choice:hover { border-color: var(--primary); background: var(--secondary); }
.footer-contact-choice-icons { display: inline-flex; gap: 0.375rem; color: var(--accent-foreground); }
.footer-contact-choice .icon { width: 1rem; height: 1rem; }
.footer-contact-choice > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-choice-dialog { width: min(calc(100% - 2rem), 31rem); margin: auto; padding: 0; border: 1px solid var(--border); border-radius: calc(var(--radius) + 0.25rem); background: var(--card); color: var(--foreground); box-shadow: 0 1.5rem 4rem #00000070; }
.contact-choice-dialog::backdrop { background: #0000009c; backdrop-filter: blur(3px); }
.contact-choice-dialog-inner { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; text-align: center; }
.contact-choice-dialog-header { position: relative; display: block; width: 100%; padding-top: 0.25rem; }
.contact-choice-dialog-header > div { display: flex; flex-direction: column; align-items: center; }
.contact-choice-dialog-header .icon-button { position: absolute; top: 0; right: 0; }
.contact-choice-dialog .eyebrow { justify-content: center; margin-bottom: 0.75rem; }
.contact-choice-dialog h2 { max-width: 23rem; font-family: var(--font-sans); font-size: clamp(1.35rem, 5vw, 1.75rem); line-height: 1.25; text-align: center; text-transform: none; }
.contact-choice-number { margin-top: 1.25rem; color: var(--foreground); font-size: 1.25rem; font-weight: 800; }
.contact-choice-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 0.75rem; margin-top: 1.25rem; }
.contact-choice-actions .button { width: 100%; min-width: 0; padding-inline: 0.75rem; }
.contact-choice-actions .contact-whatsapp-button .icon { display: none; }
.contact-choice-actions .contact-whatsapp-button::after { content: ''; width: 1.25rem; height: 1.25rem; flex: 0 0 1.25rem; background: url('../assets/icons/whatsapp.svg') center / contain no-repeat; }
.footer-email { margin-top: 0.25rem; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; padding-block: 1.5rem; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 0.625rem; text-align: center; align-items: center; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.footer-bottom .icon { width: 0.875rem; height: 0.875rem; }
.dark .site-footer { background: #101010; color: #ececec; border-top-color: #2e2e2e; }
.dark .footer-brand p { color: #a3a3a3; }
.dark .footer-links a, .dark .footer-contact { color: #b5b5b5; }
.dark .footer-links a:hover, .dark .footer-contact .text-link { color: #eee; }
.dark .footer-bottom { border-top-color: #2e2e2e; color: #999; }
@media (prefers-reduced-motion: reduce) { .js .site-footer .footer-grid, .js .site-footer .footer-bottom { opacity: 1; filter: none; transform: none; transition: none; } }

/* Tablet: duas colunas e imagens ao lado do texto. */
@media (min-width: 768px) {
  .container { width: min(calc(100% - 4rem), var(--content-width)); }
  .brand img { width: 156px; }
  .section { padding-block: 5.5rem; }
  .hero-inner { padding-block: 4.5rem 5rem; }
  .hero .actions { width: max-content; }
  .actions .button { flex: 0 1 auto; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit { gap: 0.875rem; padding: 1.5rem 1rem; }
  .benefit + .benefit { border-top: 0; border-left: 1px solid var(--border); }
  .benefit:first-child { padding-left: 0; }
  .benefit > .icon { width: 1.5rem; height: 1.5rem; }
  .benefit span { font-size: 0.625rem; }
  .service-grid, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .technical-card-alert { grid-column: 1 / -1; }
  .technical-decision { grid-template-columns: 1fr 1fr; }
  .technical-criteria, .technical-cta { padding: 2.5rem; }
  .symptoms-cta { flex-direction: row; justify-content: space-between; align-items: center; }
  .symptoms-cta .button { flex-shrink: 0; }
  .product-fan-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .product-fan-stage { height: 44rem; }
  .js .product-fan-card { width: 20rem; height: 37rem; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .section-heading > .text-link { flex-shrink: 0; }
  .split-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .contact-band-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .contact-band .actions { flex-direction: column; min-width: 200px; }
  .page-intro { padding-block: 2rem 4.5rem; }
  .location-layout { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 1.5rem; }
  .contact-list { grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .contact-item, .contact-item-action { display: flex; flex-direction: column; padding: 1.25rem 1.375rem; }
  .contact-item > .icon { margin-bottom: 0.75rem; }
  .contact-item h2 { margin-bottom: 0.5rem; }
  .contact-map-button, .contact-call-button { margin-top: auto; }
  .location-panel { min-height: 0; gap: 1.25rem; padding: 1.75rem; }
  .location-panel > .icon { width: 2.5rem; height: 2.5rem; }
  .location-panel h2 { font-size: clamp(3rem, 5vw, 4.5rem); }
  .location-panel address { margin-top: 0.875rem; }
  .location-map, .location-map-wrap { min-height: 10.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; justify-content: center; align-items: center; }
}

/* Desktop: menu completo e grids de três colunas. */
@media (min-width: 1024px) {
  .intro-visual-products { background: #111; }
  .intro-visual-products img { position: absolute; top: 50%; right: 0; width: 88%; height: auto; object-fit: contain; transform: translateY(-50%); }
  .header-inner { flex-wrap: nowrap; gap: 2rem; padding-block: 1.25rem; }
  .header-call { display: inline-flex; order: 3; }
  .menu-toggle { display: none; }
  .theme-toggle, .menu-ready:not(.menu-open) .theme-toggle { position: static; order: 4; margin-left: 0; }
  .nav-links, .menu-ready .nav-links, .menu-ready .nav-links.is-open { display: flex; flex-direction: row; flex-basis: auto; flex-wrap: nowrap; max-height: none; padding: 0; margin: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; border: 0; pointer-events: auto; transition: none; }
  .nav-links a, .menu-ready .nav-links a { padding-inline: 0.5rem; opacity: 1; transform: none; }
  .hero-inner { padding-block: 5rem 4.5rem; min-height: 600px; }
  .hero-photo { left: 27%; width: 73%; opacity: 0.48; }
  .hero-photo-facade { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #00000059 16%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #00000059 16%, #000 42%); }
  .hero::before { background: linear-gradient(90deg, #fffffff7 0%, #ffffffe8 42%, #ffffffa3 68%, #ffffff1c 100%), linear-gradient(0deg, #ffffffbd, #ffffff26 60%); }
  .dark .hero-photo { opacity: 0.9; }
  .dark .hero::before { background: linear-gradient(90deg, #141414 0%, #141414f0 24%, #141414c2 41%, #14141478 59%, #1414142b 79%, transparent 100%), linear-gradient(0deg, #1414148f, transparent 60%); }
  .hero-stamp { display: block; position: absolute; right: 0; bottom: 3rem; text-align: right; border-right: 2px solid var(--primary); padding-right: 1rem; }
  .hero-stamp strong { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; text-transform: uppercase; }
  .hero-stamp span { display: block; color: #bdbdbd; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.5rem; }
  .benefit { padding: 1.75rem 2rem; }
  .benefit strong { font-size: 0.875rem; }
  .benefit span { font-size: 0.6875rem; }
  .service-grid, .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .technical-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .technical-card-alert { grid-column: auto; }
  .symptoms-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.625rem, 1vw, 1rem); }
  .symptom-card { padding: clamp(1rem, 1.5vw, 1.5rem); }
  .symptom-card h3 { font-size: clamp(0.9rem, 1.35vw, 1.0625rem); }
  .symptom-card p { font-size: clamp(0.75rem, 1vw, 0.8125rem); line-height: 1.65; }
  .product-fan-visual { z-index: 1; overflow: visible; }
  .product-fan-visual::before { position: absolute; inset: 1rem; z-index: -1; border: 1px solid color-mix(in srgb, var(--border) 75%, transparent); border-radius: var(--radius); content: ''; }
  .product-fan-visual::after { position: absolute; right: -2rem; bottom: -3.25rem; z-index: -1; width: 9rem; aspect-ratio: 1; border: 1.25rem solid color-mix(in srgb, var(--primary) 12%, transparent); border-radius: 50%; content: ''; }
  .product-fan-visual img { position: relative; inset: auto; z-index: 1; width: 105%; height: 110%; max-width: none; object-fit: contain; transform: translateY(2.25rem) scale(1.04); transform-origin: 50% 100%; filter: drop-shadow(0 1.25rem 1.15rem #00000070); }
  .js .product-fan-card.is-current .product-fan-visual img { filter: drop-shadow(0 1.5rem 1.35rem #00000080); }
  .product-fan-visual img[src*='produto-pivo-suspensao'],
  .product-fan-visual img[src*='produto-trizeta-v2'],
  .product-fan-visual img[src*='produto-disco-pastilhas-freio'] { height: 95%; transform: translateY(1.25rem) scale(1.04); }
  .product-fan-visual img[src*='produto-pivo-suspensao'] { transform: translateY(1.875rem) scale(1.04); }
  .product-fan-visual img[src*='produto-caixa-direcao'] { width: 115%; height: 110%; transform: translateY(3.5rem) scale(1.06); }
  .product-fan-visual img[src*='produto-junta-homocinetica-ponta'],
  .product-fan-visual img[src*='produto-coifa-homocinetica'],
  .product-fan-visual img[src*='produto-embreagem'] { width: 100%; height: 90%; transform: translateY(1rem) scale(0.96); }
  .product-fan-visual img[src*='produto-rolamento-cubo-roda-v2'] { width: 105%; height: 90%; transform: translateY(1.25rem) scale(0.98); }
  .product-condition { top: 0.25rem; right: 0.625rem; width: 11rem; height: 3.75rem; }
  .product-condition strong { font-size: 0.875rem; }
  .product-fan-stage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .js .product-fan-card { width: 20rem; height: 37rem; }
  .company-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split-layout { gap: 5rem; }
  .contact-band { padding-block: 3.5rem; }
  .contact-band .actions { flex-direction: row; }
  .intro-index { bottom: 2rem; }
  .location-panel { padding: 2.25rem; }
  .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 6rem; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 3rem; }
}

/* Ultra-wide: conteúdo limitado a 1200px. */
@media (min-width: 1280px) {
  .section { padding-block: 6rem; }
  .hero-inner { min-height: 620px; }
  .header-inner { gap: 2.5rem; }
  .nav-links { gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .brand-marquee { overflow-x: auto; mask-image: none; }
}

/* Ajustes para ampliação do texto e layouts estreitos. */
.header-inner, .split-layout > *, .location-layout > *, .faq-layout > * { min-width: 0; }
h1, h2, h3, .button, .contact-number { overflow-wrap: anywhere; }
/* Celular e tablet: controles estáveis e menu com rolagem quando o texto cresce. */
@media (max-width: 1023px) {
  .menu-ready .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; column-gap: 0.5rem; row-gap: 0; padding-block: 0.875rem; }
  .menu-ready .brand { grid-column: 1; grid-row: 1; }
  .menu-ready .menu-toggle { grid-column: 3; grid-row: 1; }
  .menu-ready .theme-toggle, .menu-ready:not(.menu-open) .theme-toggle { position: static; grid-column: 2; grid-row: 1; margin: 0; }
  .menu-ready .nav-links { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
  .menu-ready .nav-links.is-open { max-height: min(65dvh, 30rem); overflow-y: auto; overscroll-behavior-y: contain; }
  .nav-links a { font-size: 1rem; }
  .section-heading > .text-link { flex-shrink: 1; }
  .company-slideshow { aspect-ratio: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
  .company-slideshow picture { display: block; flex: 0 0 100%; height: auto; aspect-ratio: 4 / 3; }
  .company-slideshow figcaption { position: static; width: auto; max-width: none; flex: 1 1 100%; margin: 0 1rem; padding: 0; background: transparent; font-size: 0.875rem; }
  .company-slideshow .slideshow-controls { position: static; margin: 0 1rem 1rem auto; max-width: calc(100% - 2rem); }
  .company-slideshow .slideshow-button { flex: 0 1 2.75rem; min-width: 44px; }
}

/* Celular: leitura em largura total, cards fluidos e barra dedicada de ações. */
@media (max-width: 767px) {
  .container { width: calc(100% - 2rem); }
  .section { padding-block: 3.5rem; }
  .hero-inner { padding-block: 3rem; }
  .page-intro { padding-block: 1.5rem 5rem; }
  .breadcrumb { margin-bottom: 0.75rem; font-size: 0.8125rem; }
  .intro-inner { gap: 1.25rem; }
  .page-intro h1 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .page-intro .lead { margin-top: 0.5rem; }
  .intro-index { font-size: 4.5rem; bottom: 1rem; }
  .intro-visual figcaption { max-width: calc(100% - 7rem); font-size: 0.625rem; }
  .intro-visual img[src*='intro-produtos-suspensao'] { object-position: 72% 32%; }
  .intro-visual::after { background: linear-gradient(90deg, #111111ed, #111111b8), linear-gradient(0deg, #11111180, transparent 65%); }
  :root:not(.dark) .intro-visual::after { background: linear-gradient(90deg, #fffffff0, #ffffffc7), linear-gradient(0deg, #ffffff80, transparent 65%); }
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; }
  .eyebrow::before { flex-shrink: 0; }
  .card-body p, .company-story p:not(.eyebrow):not(.statement), .value-card p,
  .technical-card > p, .technical-card li, .technical-criteria > p:not(.eyebrow), .technical-cta > p:not(.eyebrow),
  .symptom-card p, .symptoms-cta p, .contact-item p, .contact-item address, .faq-list details p { font-size: 1rem; }
  .text-link, .button, .footer-links a, .footer-contact, .footer-contact .text-link, .footer-brand p { font-size: 0.9375rem; }
  .technical-card, .technical-criteria, .technical-cta, .symptom-card, .symptoms-cta, .value-card, .location-panel { padding: 1.5rem; }
  .technical-number { margin-bottom: 1.25rem; }
  .actions { flex-direction: column; }
  .actions .button, .symptoms-cta .button, .location-panel > .button { width: 100%; }
  .location-panel { gap: 1.75rem; }
  .location-panel h2 { font-size: clamp(2.75rem, 12vw, 3.5rem); }
  .location-map, .location-map-wrap { min-height: 15rem; }
  .contact-item h2, .faq-list summary { font-size: 1rem; line-height: 1.5; }
  .contact-number { flex-wrap: wrap; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Uma peça por vez; a altura reserva espaço para a descrição mais longa. */
  .product-fan { margin-top: 1.5rem; }
  /* No celular há apenas um card visível; sem o efeito lateral do desktop,
     o conteúdo pode ocupar toda a largura sem ser recortado pelo showcase. */
  .product-showcase { overflow: visible; }
  .product-showcase .section-heading,
  .product-fan,
  .product-fan-stage,
  .product-fan-card,
  .product-fan-card article { width: 100%; max-width: 100%; min-width: 0; }
  .js .product-fan-stage { display: grid; height: auto; gap: 0; overflow: visible; perspective: none; -webkit-mask-image: none; mask-image: none; }
  .js .product-fan-card { position: relative; grid-area: 1 / 1; top: auto; left: auto; width: 100%; height: auto; transform: none; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 180ms ease; will-change: auto; }
  .js .product-fan-card.is-visible:not(.is-current) { visibility: hidden; opacity: 0; pointer-events: none; -webkit-mask-image: none; mask-image: none; }
  .js .product-fan-card.is-current { visibility: visible; opacity: 1; pointer-events: auto; }
  .product-fan-card article { min-height: 0; }
  /* Altura definida: a imagem não participa do cálculo da linha do grid. */
  .product-fan-visual { flex: 0 0 17.5rem; height: 17.5rem; min-height: 0; padding: 0; }
  .product-fan-visual img { inset: 5rem 1.5rem 0.5rem; height: calc(100% - 5.25rem); }
  .product-condition { width: min(12rem, calc(100% - 4.25rem)); height: 4.25rem; top: 0.625rem; right: 0.75rem; }
  .product-fan-copy { padding: 1.25rem; }
  .product-fan-copy h3 { font-size: 1.25rem; }
  .product-fan-copy p { font-size: 1rem; line-height: 1.7; }
  .product-category { font-size: 0.75rem; }
  .product-fan-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1rem; margin-top: 1.25rem; }
  .product-fan-status { order: -1; flex-basis: 100%; min-width: 0; font-size: 0.8125rem; overflow-wrap: anywhere; }
  .product-fan-button { flex: 0 1 3rem; min-width: 44px; }
  .product-disclaimer { font-size: 0.875rem; }
  /* Barra inferior: reúne as ações e libera a lateral dos controles do carrossel. */
  .floating-actions { left: 0; right: 0; bottom: 0; display: flex; flex-direction: row-reverse; align-items: center; gap: 0.75rem; padding: 0.625rem max(1rem, env(safe-area-inset-right)) max(0.625rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--header-background); border-top: 1px solid var(--border); }
  .whatsapp-float { flex: 1; min-width: 0; min-height: 52px; }
  .whatsapp-float-copy small { font-size: 0.75rem; }
  .whatsapp-float-copy strong { font-size: 1rem; }
  .back-to-top { flex: 0 0 52px; }
  .footer-bottom { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); font-size: 0.75rem; }
  .site-footer { padding-top: 2rem; }
  .footer-grid { gap: 1.5rem; padding-bottom: 1.5rem; }
  /* Logo e navegação já estão no cabeçalho; no celular, o rodapé prioriza contato e endereço. */
  .footer-brand, .footer-grid > nav { display: none; }
  .footer-contact-choice { display: flex; width: 100%; margin-top: 0.625rem; }
  .footer-landline-choice { margin-top: 0; }
  .footer-contact > p { display: none; }
}
@media (max-height: 500px) {
  .site-header { position: relative; }
  .floating-actions { position: static; padding: 1rem; }
  .footer-bottom { padding-bottom: 1.5rem; }
}
@media (forced-colors: active) {
  .button, .icon-button, .whatsapp-float, .back-to-top, .map-zoom-button { border: 1px solid ButtonText; }
  :focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid Highlight; box-shadow: none; }
}
