/* ==========================================================================
   JC IMPLEMENTOS RODOVIÁRIOS — Demonstração Willian Systems
   Design system: aço, sombra industrial, luz cortando poeira, precisão.
   Cores de marca reais extraídas do logo oficial da JC (azul #2e3192,
   vermelho #e41f25) — não são uma paleta genérica de agência.
   ========================================================================== */

:root {
  --ink-950: #0c0d10;
  --ink-900: #131418;
  --ink-800: #1b1d22;
  --ink-700: #24262d;
  --ink-600: #2f323a;
  --steel-500: #565b66;
  --steel-300: #9297a3;
  --white: #ffffff;

  --jc-blue: #2e3192;
  --jc-blue-500: #4348c4;
  --jc-blue-300: #7a7ee0;
  --jc-red: #e41f25;
  --jc-red-600: #c01319;
  --jc-red-400: #ff4b50;

  --text-hi: rgba(255, 255, 255, 0.97);
  --text-body: rgba(255, 255, 255, 0.76);
  --text-muted: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.11);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.09);

  --font-display: "Oswald", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.46);
  --shadow-xl: 0 32px 76px rgba(0, 0, 0, 0.55);

  --container: 1180px;
  --container-wide: 1400px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--ink-950);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px),
    radial-gradient(ellipse 900px 620px at 10% 4%, rgba(46, 49, 146, 0.22), transparent 60%),
    radial-gradient(ellipse 780px 600px at 92% 18%, rgba(46, 49, 146, 0.14), transparent 62%),
    radial-gradient(ellipse 820px 640px at 85% 70%, rgba(228, 31, 37, 0.08), transparent 62%),
    linear-gradient(180deg, #0c0d10 0%, #101216 30%, #0e0f12 55%, #0d0e11 78%, #0c0d10 100%);
}
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-hi);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 10vw, 132px); position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(72%, 760px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,49,146,0.4), rgba(228,31,37,0.3), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.section-alt { background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.02)); }
.eyebrow {
  display: inline-flex; align-items: center; width: fit-content; gap: 7px;
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--jc-blue-300);
  background: rgba(46, 49, 146, 0.16);
  border: 1px solid rgba(46, 49, 146, 0.34);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.eyebrow-light {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--text-body); font-size: 1.05rem; max-width: 46ch; }

.skip-link {
  position: absolute; top: -60px; left: 12px;
  background: var(--jc-red); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius-sm);
  z-index: 999; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--jc-red-400); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 27px; border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.02em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; min-height: 52px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--jc-red), var(--jc-red-600));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(228, 31, 37, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(228, 31, 37, 0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 19px 34px; min-height: 60px; font-size: 1.05rem; }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 2px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.btn-glass {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; min-height: 44px; font-size: 0.85rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 11, 14, 0.34);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(9, 10, 12, 0.92);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); text-transform: none; }
.brand-mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.01em; }
.brand-text em { font-style: normal; color: var(--jc-red-400); }
.brand-text small {
  font-family: var(--font-body); font-weight: 500; font-size: 0.66rem;
  color: var(--jc-blue-300); letter-spacing: 0.06em; text-transform: uppercase;
}

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(255,255,255,0.86); position: relative; padding-block: 4px; transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--jc-red); transition: right 0.25s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12); transition: background 0.3s var(--ease);
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--white); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #121317 0%, #0a0b0d 100%);
  z-index: 90; padding: 28px 20px 40px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block; padding: 16px 6px; font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .btn { margin-top: 24px; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ==========================================================================
   HERO — full-bleed cinematográfico
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-950);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: saturate(1.05) contrast(1.08) brightness(0.86);
  transform: scale(1.06);
  animation: heroSlowZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroSlowZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }

.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(6,7,9,0.96) 0%, rgba(6,7,9,0.62) 34%, rgba(6,7,9,0.2) 62%, rgba(6,7,9,0.5) 100%),
    linear-gradient(100deg, rgba(46,49,146,0.28), transparent 46%);
}
.hero-beam {
  position: absolute; inset: -10% -10%; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px,
    transparent 2px, transparent 90px
  );
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: beamDrift 40s linear infinite;
}
@keyframes beamDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-120px, 60px, 0); } }

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(72px, 12vw, 120px);
  color: var(--white);
}
.hero-inner h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 700; line-height: 1.02;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-inner h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--jc-red-400), var(--jc-red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  margin-top: 22px; font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.86); max-width: 52ch;
  text-transform: none; font-family: var(--font-body);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06); backdrop-filter: blur(6px);
}
.hero-scroll-cue svg { width: 16px; height: 16px; animation: cueBounce 2.2s ease-in-out infinite; }
@keyframes cueBounce { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(5px); opacity: 1; } }
@media (min-width: 720px) { .hero-scroll-cue { display: flex; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: scale(1.02); }
  .hero-beam { animation: none; }
  .hero-scroll-cue svg { animation: none; }
}

/* ==========================================================================
   SEQUÊNCIA CINEMATOGRÁFICA — entrando na oficina
   Desktop com movimento permitido: pinned, camadas cross-fade via JS.
   Mobile / reduced-motion: fallback estático (classe .cine--static via JS).
   ========================================================================== */
.cine { position: relative; height: 400vh; background: var(--ink-950); }
.cine-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.cine-layer {
  position: absolute; inset: 0; opacity: 0;
  will-change: opacity, transform;
}
.cine-layer img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.06) brightness(0.72); }
.cine-layer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,7,9,0.85) 0%, rgba(6,7,9,0.15) 45%, rgba(6,7,9,0.35) 100%);
}
.cine-caption {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  z-index: 2; width: min(90%, 640px); text-align: center;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  color: var(--white); text-transform: uppercase; letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Fallback estático (mobile / reduced motion): galeria empilhada normal */
.cine--static { height: auto; }
.cine--static .cine-sticky { position: static; height: auto; display: flex; flex-direction: column; gap: 3px; }
.cine--static .cine-layer {
  position: relative; opacity: 1 !important; transform: none !important;
  height: 62vh; min-height: 320px;
}

/* ==========================================================================
   QUICK ACCESS BAR
   ========================================================================== */
.quick-access { position: relative; z-index: 3; background: var(--ink-950); padding-block: 26px; }
.quick-access ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-access a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: var(--radius-md); background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12); color: var(--white);
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
  font-size: 0.82rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.quick-access a:hover { background: rgba(255,255,255,0.1); border-color: rgba(228,31,37,0.4); transform: translateY(-2px); }
.quick-access svg { width: 22px; height: 22px; color: var(--jc-red-400); flex-shrink: 0; }
@media (min-width: 720px) { .quick-access ul { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-img { opacity: 0; transform: translateY(18px) scale(0.98); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.reveal-img.is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-img { opacity: 1; transform: none; transition: none; } }
.reveal-group > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ==========================================================================
   SERVIÇOS — bento industrial
   ========================================================================== */
.services-bento { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .services-bento { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(160px, auto)); }
  .services-bento .service-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .services-bento .service-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .services-bento .service-card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .services-bento .service-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }
}
.service-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 168px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(220px 160px at 85% -10%, rgba(46,49,146,0.3), transparent 65%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.service-card:nth-child(even)::before { background: radial-gradient(220px 160px at 85% -10%, rgba(228,31,37,0.2), transparent 65%); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(0,0,0,0.5), 0 0 0 1px rgba(46,49,146,0.3); border-color: rgba(46,49,146,0.45); }
.service-card:hover::before { opacity: 1; }

.service-card--feature { min-height: 240px; }
.service-card--feature::before { display: none; }
.service-media { position: absolute; inset: 0; z-index: 0; }
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(0.5); transform: scale(1.1); transition: transform 0.7s var(--ease-soft), filter 0.5s var(--ease-soft); }
.service-card--feature:hover .service-media img { transform: scale(1.18); filter: saturate(1.1) brightness(0.55); }
.service-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(6,7,9,0.95) 0%, rgba(6,7,9,0.55) 42%, rgba(6,7,9,0.18) 68%, rgba(6,7,9,0.45) 100%);
}
.service-card--feature .service-icon, .service-card--feature h3, .service-card--feature p { position: relative; z-index: 2; }
.service-card--feature .service-icon { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.32); }
.service-card--feature h3 { color: var(--white); font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.service-card--feature p { color: rgba(255,255,255,0.85); text-transform: none; font-family: var(--font-body); }

.service-icon {
  width: 54px; height: 54px; border-radius: 12px 4px 12px 4px;
  background: linear-gradient(150deg, rgba(46,49,146,0.3), rgba(46,49,146,0.08));
  border: 1px solid rgba(46,49,146,0.36);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease), border-radius 0.35s var(--ease);
}
.service-card:nth-child(even) .service-icon { background: linear-gradient(150deg, rgba(228,31,37,0.24), rgba(228,31,37,0.06)); border-color: rgba(228,31,37,0.3); }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); border-radius: 4px 12px 4px 12px; }
.service-icon svg { width: 26px; height: 26px; color: var(--jc-blue-300); }
.service-card:nth-child(even) .service-icon svg { color: var(--jc-red-400); }
.service-card h3 { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-hi); }
.service-card p {
  font-size: 0.88rem; color: var(--text-muted); margin-top: 6px;
  text-transform: none; font-family: var(--font-body); font-weight: 400;
}

/* ==========================================================================
   PROBLEMA → SOLUÇÃO
   ========================================================================== */
.problem-section { position: relative; overflow: hidden; }
.problem-grid { display: grid; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.problem-media { position: relative; min-height: 42vh; overflow: hidden; }
@media (min-width: 960px) { .problem-media { min-height: clamp(420px, 42vw, 640px); } }
.problem-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) brightness(0.72); }
.problem-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,10,12,0) 50%, rgba(9,10,12,0.95) 100%);
}
@media (min-width: 960px) {
  .problem-media::after { background: linear-gradient(90deg, rgba(9,10,12,0) 55%, rgba(9,10,12,0.97) 100%); }
}
.problem-copy {
  position: relative;
  padding: clamp(40px, 8vw, 88px) clamp(24px, 6vw, 72px) clamp(56px, 9vw, 88px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-900);
  color: var(--white);
}
.problem-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 14px; max-width: 16ch; }
.problem-copy .lede { color: rgba(255,255,255,0.82); margin-top: 16px; max-width: 46ch; font-size: 1.05rem; text-transform: none; font-family: var(--font-body); }
.problem-copy p:not(.lede) { margin-top: 16px; color: var(--text-body); max-width: 46ch; }
.problem-copy .owner-cta-row { margin-top: 30px; }

/* ==========================================================================
   TRABALHOS REALIZADOS — galeria
   ========================================================================== */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: 4/5;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-soft); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 16px 14px 14px;
  background: linear-gradient(0deg, rgba(6,7,9,0.92), transparent);
  color: var(--white); font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about-section { position: relative; overflow: hidden; }
.about-grid { position: relative; display: grid; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.about-copy { position: relative; z-index: 2; padding: 0 20px clamp(28px, 5vw, 40px); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 960px) {
  .about-copy {
    padding-top: clamp(56px, 9vw, 108px); padding-bottom: clamp(56px, 9vw, 108px);
    padding-right: clamp(24px, 5vw, 56px);
    padding-left: max(20px, calc((100vw - var(--container)) / 2));
  }
}
.about-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 4.6vw, 2.9rem); max-width: 15ch; }
.about-copy p { margin-top: 16px; color: var(--text-body); font-size: 1.05rem; max-width: 44ch; text-transform: none; font-family: var(--font-body); }

.about-media { position: relative; aspect-ratio: 1300 / 822; overflow: hidden; box-shadow: var(--shadow-lg); border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 960px) {
  .about-media { aspect-ratio: auto; min-height: clamp(420px, 40vw, 620px); border-radius: var(--radius-xl) 0 0 var(--radius-xl); border: 1px solid rgba(255,255,255,0.1); border-right: none; }
}
.about-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) brightness(0.82); transform: scale(1.03); will-change: transform; }
.about-media-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9,10,12,0) 45%, rgba(9,10,12,0.88) 100%); }
@media (min-width: 960px) { .about-media-scrim { background: linear-gradient(270deg, rgba(9,10,12,0) 58%, rgba(9,10,12,0.9) 100%); } }

.about-trust { position: relative; z-index: 3; display: grid; gap: 14px; margin-top: clamp(28px, 5vw, 40px); }
@media (min-width: 960px) { .about-trust { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: clamp(-64px, -4.5vw, -36px); } }
.about-trust .trust-item { padding: 16px 18px; background: rgba(12,13,16,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-md); }
.trust-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px;
  border-radius: var(--radius-md); background: var(--glass); border: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.trust-item:hover { background: var(--glass-hover); border-color: rgba(46,49,146,0.4); transform: translateY(-3px); }
.trust-item .icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(46, 49, 146, 0.22); border: 1px solid rgba(46,49,146,0.36);
  color: var(--jc-blue-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item .icon-wrap svg { width: 20px; height: 20px; }
.trust-item h3 { font-size: 0.98rem; color: var(--text-hi); }
.trust-item p { font-size: 0.9rem; color: var(--text-body); margin-top: 3px; text-transform: none; font-family: var(--font-body); }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  position: relative;
  background: linear-gradient(120deg, var(--jc-blue), #1c1e5c 60%, var(--ink-900));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 7vw, 64px);
  text-align: center; overflow: hidden; color: var(--white);
  box-shadow: var(--shadow-lg);
}
.cta-strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.14), transparent 60%); }
.cta-strip > * { position: relative; }
.cta-strip h2 { color: var(--white); font-size: clamp(1.5rem, 4.2vw, 2.2rem); }
.cta-strip p { margin-top: 12px; color: rgba(255,255,255,0.85); font-size: 1.02rem; max-width: 52ch; margin-inline: auto; text-transform: none; font-family: var(--font-body); }
.cta-strip .btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   CTA FINAL — full-bleed noturno
   ========================================================================== */
.cta-final { position: relative; padding-block: clamp(90px, 16vw, 160px); overflow: hidden; isolation: isolate; }
.cta-final-bg { position: absolute; inset: 0; z-index: -2; }
.cta-final-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) brightness(0.5); }
.cta-final-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,10,12,0.7) 0%, rgba(9,10,12,0.86) 100%); }
.cta-final-inner { text-align: center; }
.cta-final-inner h2 { color: var(--white); font-size: clamp(1.8rem, 5vw, 3rem); max-width: 18ch; margin-inline: auto; }
.cta-final-inner .btn { margin-top: 34px; max-width: 100%; }
@media (max-width: 480px) {
  .cta-final-inner .btn-lg { white-space: normal; text-align: center; line-height: 1.3; }
}

/* ==========================================================================
   LOCATION
   ========================================================================== */
.location-layout { position: relative; display: grid; gap: 20px; }
@media (min-width: 960px) { .location-layout { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.location-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md);
}
.location-card h3 { color: var(--text-hi); }
.location-card .addr { display: flex; gap: 14px; margin-top: 18px; }
.location-card .addr .icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(46,49,146,0.22); border: 1px solid rgba(46,49,146,0.34);
  color: var(--jc-blue-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.location-card .addr .icon-wrap svg { width: 20px; height: 20px; }
.location-card address { font-style: normal; color: var(--text-body); line-height: 1.6; }
.location-card address small { color: var(--text-muted); }
.location-card .btn-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.map-frame-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-height: 420px; background: rgba(255,255,255,0.03);
}
.map-frame-wrap iframe {
  width: 100%; height: 100%; min-height: 420px; border: 0;
  filter: invert(0.92) contrast(0.88) brightness(0.9) hue-rotate(180deg) saturate(0.85);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { position: relative; overflow: hidden; }
.faq-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.faq-item:hover { border-color: rgba(46,49,146,0.3); box-shadow: var(--shadow-sm); }
.faq-item[open] { background: var(--glass-hover); border-color: rgba(46,49,146,0.4); box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; color: var(--text-hi); font-size: 0.98rem; transition: color 0.2s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--jc-blue-300); }
.faq-item .chev { flex-shrink: 0; width: 22px; height: 22px; color: var(--jc-red-400); transition: transform 0.3s var(--ease); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--text-body); font-size: 0.95rem; animation: faqReveal 0.35s var(--ease-soft); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.faq-more { position: relative; z-index: 1; margin-top: 24px; font-size: 0.95rem; color: var(--text-body); }
.faq-more-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--jc-blue-300);
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(46,49,146,0.18); border: 1px solid rgba(46,49,146,0.34);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-more-link:hover { background: rgba(46,49,146,0.28); border-color: rgba(46,49,146,0.5); transform: translateY(-1px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; background: linear-gradient(180deg, rgba(0,0,0,0.3), var(--ink-950) 30%); color: rgba(255,255,255,0.8); padding-block: 56px 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 40ch; color: rgba(255,255,255,0.58); text-transform: none; }
.footer-col h4 { color: var(--white); font-size: 0.86rem; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; text-transform: none; }
.footer-col a:hover { color: var(--jc-blue-300); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.48); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .dev-credit { color: rgba(255,255,255,0.58); }
.footer-bottom .footer-disclaimer { color: rgba(255,255,255,0.38); font-style: italic; max-width: 46ch; }

/* ==========================================================================
   FLOATING WHATSAPP + MOBILE ACTION BAR
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fb257); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: pulseWa 3.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 34px rgba(37,211,102,0.55); }
@keyframes pulseWa { 0%,88%,100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45); } 94% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 9px rgba(37,211,102,0.1); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

.mobile-actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 79;
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(9,10,12,0.94);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
}
.mobile-actionbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.82rem;
  transition: transform 0.2s var(--ease);
}
.mobile-actionbar a:active { transform: scale(0.97); }
.mobile-actionbar a svg { width: 18px; height: 18px; }
.mobile-actionbar .ma-wa { background: linear-gradient(135deg, #25d366, #1fb257); color: var(--white); box-shadow: 0 6px 16px rgba(37,211,102,0.35); }
.mobile-actionbar .ma-map { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); color: var(--white); }

@media (min-width: 900px) { .mobile-actionbar { display: none; } .wa-float { right: 28px; bottom: 28px; } }
@media (max-width: 899px) { body { padding-bottom: 78px; } .wa-float { bottom: 92px; } }

/* ---------- Tilt (pointer:fine only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .tilt-card { transition: transform 0.15s var(--ease-soft), box-shadow 0.35s var(--ease); }
}

/* ---------- Reduz textura/overlays em telas muito pequenas (perf) ---------- */
@media (max-width: 480px) {
  .hero-beam { opacity: 0.32; }
}
