/* ====================================================
   PL PERFORMANCE CENTER
   Automotivo · Sorocaba · Dark Edition
   frontend-design + ui-ux-pro-max
   ==================================================== */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ─── TOKENS ─── */
:root {
  /* Brand */
  --amber:        #D4920A;
  --amber-lt:     #F0AA20;
  --amber-dim:    rgba(212,146,10,0.12);
  --amber-border: rgba(212,146,10,0.3);
  --red:          #C8301A;

  /* Surface */
  --bg:           #08080A;
  --surface:      #0E0E12;
  --card:         #151519;
  --card-hov:     #1B1B20;

  /* Text — all pass 4.5:1 on --bg */
  --tx-1:         #F5F2EC;   /* ~19:1 */
  --tx-2:         #A8A49E;   /* ~8.7:1 */
  --tx-3:         #746F6A;   /* ~4.6:1 */

  /* Borders */
  --line:         rgba(255,255,255,0.07);
  --line-hov:     rgba(212,146,10,0.4);

  /* Typography */
  --ff-display: 'Chakra Petch', monospace;
  --ff-cond:    'Barlow Condensed', sans-serif;
  --ff-body:    'Outfit', sans-serif;

  /* Layout */
  --max-w:      1320px;
  --pad-x:      clamp(20px, 5vw, 80px);
  --sec-gap:    clamp(56px, 7vw, 96px);

  /* Easing (ui-ux-pro-max: ease-out for entering) */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-std:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Durations (ui-ux-pro-max: 150-300ms micro, ≤400ms complex) */
  --dur-xs:  150ms;
  --dur-sm:  200ms;
  --dur-md:  300ms;
  --dur-lg:  500ms; /* only for entrance, not interactive */
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--tx-2);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── REDUCED MOTION (ui-ux-pro-max) ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── FOCUS RINGS (ui-ux-pro-max: visible focus, 2-4px) ─── */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── SKIP LINK (ui-ux-pro-max: keyboard nav) ─── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--amber); color: #080808;
  padding: 10px 20px; font-weight: 700;
  font-size: 14px; text-decoration: none; border-radius: 2px;
  z-index: 200000; transition: top var(--dur-sm);
}
.skip-link:focus { top: 16px; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 2px; }

/* ─── CONTAINER ─── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--pad-x);
}

/* ─── BACKGROUND TEXTURE ─── */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}


/* ─── HEADER ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
  transition:
    padding var(--dur-md) var(--ease-std),
    background var(--dur-md),
    border-color var(--dur-md);
}
.header.stuck {
  padding: 12px 0;
  background: rgba(8,8,10,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--line);
}
.header-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}

/* LOGO */
.logo {
  display: flex; align-items: center;
  text-decoration: none; color: var(--tx-1); flex-shrink: 0;
}
.logo-img {
  height: 120px; width: auto;
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter var(--dur-sm);
}
.logo:hover .logo-img { filter: brightness(1.3); }

/* NAV */
.nav ul { display: flex; list-style: none; gap: 36px; align-items: center; }
.nav a {
  color: var(--tx-2); text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color var(--dur-sm);
}
.nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-md) var(--ease-out);
}
.nav a:hover, .nav a.active { color: var(--tx-1); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: none; border-radius: 2px;
  cursor: pointer; white-space: nowrap;
  transition:
    background var(--dur-sm),
    border-color var(--dur-sm),
    color var(--dur-sm),
    transform var(--dur-sm),
    box-shadow var(--dur-sm);
  position: relative; overflow: hidden;
  /* ui-ux-pro-max: min touch target 44x44 */
  min-height: 44px; padding: 0 24px;
}
.btn-primary {
  background: var(--amber); color: #08080A;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.18); opacity: 0;
  transition: opacity var(--dur-sm);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,146,10,0.35); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-outline {
  background: transparent; color: var(--tx-1);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline:active { transform: scale(0.97); }

.btn-amber {
  background: transparent; color: var(--amber);
  border: 1.5px solid var(--amber);
}
.btn-amber:hover { background: var(--amber); color: #08080A; box-shadow: 0 0 32px rgba(212,146,10,0.38); }
.btn-amber:active { transform: scale(0.97); }

.btn-sm  { font-size: 10px; min-height: 38px; padding: 0 18px; flex-shrink: 0; }
.btn-lg  { min-height: 52px; padding: 0 32px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

.btn svg { flex-shrink: 0; position: relative; z-index: 1; transition: transform var(--dur-sm) var(--ease-out); }
.btn i { flex-shrink: 0; position: relative; z-index: 1; font-size: 18px; line-height: 1; }
.btn-sm i { font-size: 14px; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 8px;
  /* 44x44 touch target */
  min-width: 44px; min-height: 44px;
  align-items: flex-end; justify-content: center;
}
.hamburger span {
  display: block; height: 1.5px; background: var(--tx-1); border-radius: 2px;
  transition: all var(--dur-md) var(--ease-std);
}
.hamburger span:first-child { width: 22px; }
.hamburger span:last-child  { width: 14px; }
.hamburger[aria-expanded="true"] span:first-child { width: 22px; transform: rotate(45deg) translate(3px, 5px); }
.hamburger[aria-expanded="true"] span:last-child  { width: 22px; transform: rotate(-45deg) translate(3px, -5px); }

/* ─── MOBILE MENU ─── */
.mobile-overlay {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 8000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 48px;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  padding: var(--pad-x);
}
.mobile-overlay.open { transform: none; }
.mobile-close {
  position: absolute; top: 24px; right: var(--pad-x);
  background: none; border: none; color: var(--tx-1); cursor: pointer;
  min-width: 44px; min-height: 44px;
  display: grid; place-items: center;
}
.mobile-nav-list { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  font-family: var(--ff-cond); font-size: clamp(26px, 7vw, 44px);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--tx-1); text-decoration: none; display: block;
  padding: 4px 0; transition: color var(--dur-sm);
}
.mobile-link:hover { color: var(--amber); }
.mobile-cta {
  display: inline-flex !important; align-items: center; justify-content: center;
  font-size: 13px !important; padding: 0 28px !important;
  min-height: 48px; align-self: center;
}

/* ─── SECTION COMMONS ─── */
.section { padding: var(--sec-gap) 0; position: relative; }
.sec-hd  { margin-bottom: 64px; }

.sec-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--tx-3);
}
.sec-num { font-family: var(--ff-display); color: var(--amber); }
.sec-slash { color: var(--tx-3); }

.sec-title {
  font-family: var(--ff-cond);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800; line-height: 1.0;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--tx-1);
}
.sec-title em { font-style: italic; color: var(--amber); font-weight: 700; }
.sec-lead { font-size: 16px; color: var(--tx-2); margin-top: 16px; max-width: 560px; }

/* REVEALS */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* Media layers */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('assets/bg-plauto.webp');
  background-size: cover; background-position: center 40%;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.0)  translate(-1%, 0.5%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    /* Scrim vertical: protege o topo onde o h1 aparece */
    linear-gradient(to bottom,
      rgba(8,8,10,0.72) 0%,
      rgba(8,8,10,0.38) 35%,
      transparent       60%
    ),
    /* Scrim horizontal: bloco escuro no lado esquerdo onde fica o texto */
    linear-gradient(100deg,
      rgba(8,8,10,0.98) 0%,
      rgba(8,8,10,0.93) 28%,
      rgba(8,8,10,0.74) 46%,
      rgba(8,8,10,0.32) 62%,
      rgba(8,8,10,0.06) 100%
    );
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 55%, transparent 35%, rgba(8,8,10,0.65) 100%);
}

/* Decorative */
.hero-deco-left {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 1;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--amber) 30%, var(--amber) 70%, transparent);
  opacity: 0.5;
}
.hero-deco-lines {
  position: absolute; left: 20px; top: 0; bottom: 0; z-index: 1;
  display: flex; gap: 8px; pointer-events: none;
}
.hero-deco-lines span {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(212,146,10,0.08) 30%, rgba(212,146,10,0.08) 70%, transparent);
}
.hero-ghost-text {
  position: absolute; bottom: 80px; right: -40px; z-index: 1;
  font-family: var(--ff-display); font-size: clamp(120px, 18vw, 240px);
  font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.025);
  pointer-events: none; user-select: none; line-height: 1;
  white-space: nowrap;
}

/* Content */
.hero-content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(140px, 14vw, 200px);
  padding-bottom: clamp(100px, 14vw, 180px);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  font-family: var(--ff-display); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(212,146,10,0.8);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px 0 rgba(212,146,10,0.6); }
  50%       { box-shadow: 0 0 16px 4px rgba(212,146,10,0.9); }
}
.eyebrow-line {
  flex: 1; max-width: 72px; height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent);
}

.hero-title {
  display: flex; flex-direction: column;
  gap: 0; margin-bottom: 28px;
}
.ht {
  font-family: var(--ff-cond);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900; line-height: 0.92;
  text-transform: uppercase; letter-spacing: 0.01em; color: var(--tx-1);
  /* Halo behind each title line — protects against busy backgrounds */
  text-shadow:
    0 2px 28px rgba(0,0,0,0.92),
    0 0  72px rgba(0,0,0,0.65),
    0 0 140px rgba(0,0,0,0.4);
  /* Entrance state */
  opacity: 0; transform: translateX(-24px) skewX(-1.5deg);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.ht.in { opacity: 1; transform: none; }
.ht-sm { font-size: clamp(24px, 3.8vw, 35px); font-weight: 700; letter-spacing: 0.06em; }
.ht-accent { color: var(--amber); }
.ht-stroke {
  -webkit-text-stroke: 1.5px rgba(245,242,236,0.4);
  color: transparent;
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 17px); color: var(--tx-2);
  max-width: 520px; margin-bottom: 40px; line-height: 1.75;
  text-shadow: 0 1px 16px rgba(0,0,0,0.9);
  opacity: 0; transition: opacity 0.8s var(--ease-out) 0.5s;
}
.hero-lead.in { opacity: 1; }

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transition: opacity 0.8s var(--ease-out) 0.68s;
}
.hero-ctas.in { opacity: 1; }

/* Stats bar */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.025);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.8s var(--ease-out) 0.85s;
}
.hero-stats.in { opacity: 1; }
.stats-row {
  display: flex; align-items: stretch; padding: 28px 0;
}
.stat {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }
.stat-val {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700; color: var(--tx-1); line-height: 1;
}
.stat-unit { color: var(--amber); }
.stat-lbl {
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--tx-3);
}
.stat-sep { width: 1px; background: var(--line); flex-shrink: 0; margin: 6px 0; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; right: var(--pad-x); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: opacity var(--dur-md);
}
.scroll-indicator.hide { opacity: 0; pointer-events: none; }
.scroll-track {
  width: 1px; height: 56px;
  background: rgba(255,255,255,0.12); position: relative;
}
.scroll-thumb {
  position: absolute; top: 0; left: 0; right: 0;
  height: 40%; background: var(--amber); border-radius: 1px;
  animation: scrollMove 2s ease-in-out infinite;
}
@keyframes scrollMove {
  0%   { top: 0%; opacity: 1; }
  80%  { top: 60%; opacity: 1; }
  100% { top: 60%; opacity: 0; }
}
.scroll-indicator span {
  font-family: var(--ff-display); font-size: 9px;
  letter-spacing: 0.44em; color: var(--tx-3);
  writing-mode: vertical-rl;
}

/* ─── MARQUEE ─── */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track span {
  font-family: var(--ff-display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--tx-3);
  padding: 0 24px;
}
.marquee-track .mx { color: var(--amber); padding: 0 8px; }

/* ─── SERVICES ─── */
.services { background: var(--bg); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  outline: 1px solid var(--line);
  list-style: none;
}
.svc-card {
  background: var(--card); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: background var(--dur-md);
}
.svc-card:hover { background: var(--card-hov); }
.svc-card:focus-within { background: var(--card-hov); }

/* Service card image */
.svc-img {
  width: 100%; height: 200px; overflow: hidden; flex-shrink: 0;
  background: #111114; position: relative;
}
.svc-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(25%) contrast(1.05);
  transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}
.svc-card:hover .svc-img img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.05);
}
.svc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(21,21,25,0.6) 100%);
  pointer-events: none;
}
/* Placeholder icon shown when no image is loaded */
.svc-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-3); opacity: 0.3;
}

/* Animated top-edge trace */
.svc-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.svc-card:hover .svc-accent,
.svc-card:focus-within .svc-accent { transform: scaleX(1); }

/* Bottom-right corner mark */
.svc-card::after {
  content: ''; position: absolute;
  bottom: 0; right: 0; width: 20px; height: 20px;
  border-right: 1.5px solid var(--amber-border);
  border-bottom: 1.5px solid var(--amber-border);
  transition: border-color var(--dur-sm);
}
.svc-card:hover::after { border-color: var(--amber); }

.svc-inner { padding: 28px 32px 36px; flex: 1; display: flex; flex-direction: column; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.svc-num {
  font-family: var(--ff-display); font-size: 12px;
  color: var(--amber); letter-spacing: 0.1em; opacity: 0.75;
}
.svc-icon {
  width: 44px; height: 44px; color: var(--amber);
  transition: transform var(--dur-md) var(--ease-back);
  flex-shrink: 0;
}
.svc-card:hover .svc-icon { transform: scale(1.2) rotate(-5deg); }
.svc-icon svg { width: 100%; height: 100%; }

.svc-card h3 {
  font-family: var(--ff-cond); font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--tx-1);
  margin-bottom: 10px; line-height: 1.2;
}
.svc-card p { font-size: 16px; color: var(--tx-3); line-height: 1.65; flex: 1; }
.svc-list {
  list-style: none; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-list li {
  font-size: 15px; color: var(--tx-3); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.svc-list li::before {
  content: '—'; position: absolute; left: 0; top: 1px;
  color: var(--amber); font-size: 11px;
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); text-decoration: none;
  transition: gap var(--dur-sm), color var(--dur-sm);
  /* 44px touch target */
  min-height: 44px;
}
.svc-link:hover { gap: 13px; }
.svc-link svg { flex-shrink: 0; transition: transform var(--dur-sm); }
.svc-link:hover svg { transform: translateX(3px); }

/* ─── PNEUS ─── */
.tires { background: var(--bg); }
.tire-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; margin-top: 48px;
}
.tire-card {
  background: var(--card); padding: 32px 20px 28px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  position: relative; overflow: hidden;
  transition: background var(--dur-md);
}
.tire-card:hover { background: var(--card-hov); }
.tire-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-lt));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.tire-card:hover::after { transform: scaleX(1); }
.tire-icon {
  width: 52px; height: 52px; color: var(--amber);
  transition: transform var(--dur-md) var(--ease-back);
}
.tire-card:hover .tire-icon { transform: rotate(15deg) scale(1.1); }
.tire-icon svg { width: 100%; height: 100%; }
.tire-aro {
  font-family: var(--ff-display); font-size: 20px; font-weight: 700;
  color: var(--tx-1); letter-spacing: 0.06em; line-height: 1;
}
.tire-desc {
  font-size: 15px; color: var(--tx-3); line-height: 1.55; flex: 1;
}
.tire-cta-wrap {
  display: flex; justify-content: center;
  margin-top: clamp(36px, 5vw, 56px);
}

/* ─── ABOUT ─── */
.about { background: var(--surface); overflow: hidden; }
.about-bg-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Ghost watermark number — premium depth detail */
.about::after {
  content: '03';
  position: absolute; top: clamp(40px, 6vw, 80px); right: -10px;
  font-family: var(--ff-cond); font-size: clamp(180px, 22vw, 300px);
  font-weight: 900; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.022);
  line-height: 1; pointer-events: none; user-select: none;
}

/* Two-column editorial grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  position: relative; z-index: 1;
}

/* ── LEFT: Image panel ── */
.about-visual { display: flex; flex-direction: column; gap: 0; }

/* Label above image */
.about-pre-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--tx-3);
  margin-bottom: 20px;
}
.about-pre-label .lbl-num { color: var(--amber); }
.about-pre-label .lbl-slash { color: var(--line); margin: 0 2px; }

/* Wrapper de múltiplas imagens empilhadas */
.about-frames {
  display: flex; flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}

/* Frame wrapper: positions corner accents accurately around image */
.about-frame-wrap { position: relative; }

/* Corner accents on frame-wrap (no overflow:hidden here) */
.about-frame-wrap .corner { position: absolute; width: 20px; height: 20px; }
.about-frame-wrap .corner.tl { top: -8px;  left: -8px;  border-top: 2px solid var(--amber); border-left: 2px solid var(--amber); }
.about-frame-wrap .corner.tr { top: -8px;  right: -8px; border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); }
.about-frame-wrap .corner.bl { bottom: -8px; left: -8px; border-bottom: 2px solid var(--amber); border-left: 2px solid var(--amber); }
.about-frame-wrap .corner.br { bottom: -8px; right: -8px; border-bottom: 2px solid var(--amber); border-right: 2px solid var(--amber); }

/* Inner frame: clips hover scale */
.about-frame {
  position: relative;
  overflow: hidden;
  line-height: 0; /* remove inline-block gap below img */
}
/* Amber left spine */
.about-frame::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--amber); z-index: 2;
}

/* The image — full, no crop */
.about-img {
  width: 100%; height: auto; display: block;
  filter: grayscale(12%) contrast(1.04);
  transition: filter 0.65s var(--ease-std), transform 0.7s var(--ease-out);
}
.about-frame:hover .about-img {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.025);
}

/* Stat strip — amber horizontal bar below image */
.about-stat {
  display: flex; align-items: center; gap: 20px;
  background: var(--amber);
  padding: 16px 24px;
}
.about-stat-num {
  font-family: var(--ff-display); font-size: 38px; font-weight: 700;
  color: #08080A; line-height: 1; flex-shrink: 0;
}
.about-stat-num sup { font-size: 18px; vertical-align: super; }
.about-stat-sep {
  width: 1px; height: 32px; background: rgba(0,0,0,0.25); flex-shrink: 0;
}
.about-stat-lbl {
  font-family: var(--ff-cond); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.7); line-height: 1.3;
}

/* ── RIGHT: Content ── */
.about-content { display: flex; flex-direction: column; }
.about-content .sec-title { margin-bottom: 0; }

/* Amber divider rule */
.about-divider {
  width: 48px; height: 2px; background: var(--amber);
  margin: clamp(24px, 3vw, 36px) 0;
}

.about-text {
  font-size: clamp(16px, 1.5vw, 17px); color: var(--tx-2);
  line-height: 1.8; margin: 0 0 clamp(28px, 3.5vw, 44px);
}

.pillars { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  transition: background var(--dur-sm), border-color var(--dur-sm);
}
.pillar:hover .pillar-icon { background: var(--amber-dim); border-color: var(--amber); }
.pillar-icon svg { width: 20px; height: 20px; }
.pillar h3 {
  font-family: var(--ff-cond); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--tx-1); margin-bottom: 4px;
}
.pillar p { font-size: 15px; color: var(--tx-3); line-height: 1.6; }

/* ─── CTA STRIP ─── */
.cta-strip { position: relative; padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.cta-strip-bg {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, #181000 0%, #0C0900 60%, #141000 100%);
}
.cta-strip-bg::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -52deg, transparent, transparent 28px,
    rgba(212,146,10,0.025) 28px, rgba(212,146,10,0.025) 29px
  );
}
.cta-strip-bg::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.cta-strip-row {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 260px; }
.cta-pill {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--amber-border); padding: 5px 14px;
  border-radius: 2px; margin-bottom: 20px;
}
.cta-text h2 {
  font-family: var(--ff-cond);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.0;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--tx-1); margin-bottom: 12px;
}
.cta-text p { font-size: 16px; color: var(--tx-2); }
.cta-text strong { color: var(--amber); }

/* ─── GALLERY ─── */
.gallery { background: var(--bg); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 6px;
  margin-top: clamp(32px, 4vw, 56px);
}

/* Layout: [1] [2↕] [3] [4] / [5] [2↕] [6↔↔] */
.gal-item:nth-child(2) { grid-row: span 2; }
.gal-item:nth-child(6) { grid-column: span 2; }

.gal-item {
  position: relative; overflow: hidden; cursor: pointer;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.55s var(--ease-out);
  filter: grayscale(20%) contrast(1.05);
}
.gal-item:hover img { transform: scale(1.05); filter: grayscale(0%) contrast(1.05); }
.gal-overlay {
  position: absolute; inset: 0;
  background: rgba(8,8,10,0.5);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.gal-zoom {
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255,255,255,0.75); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.7); transition: transform 0.3s var(--ease-back);
}
.gal-zoom svg { width: 18px; height: 18px; color: #fff; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-item:hover .gal-zoom { transform: scale(1); }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
}
.lb-img {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  animation: lb-in 0.25s var(--ease-out);
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.18); }
.lb-close {
  top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 22px; line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 28px;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ─── CONTACT ─── */
.contact { background: var(--bg); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
}
.contact-lead { font-size: 16px; color: var(--tx-2); line-height: 1.8; margin: 0 0 48px; max-width: 400px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  transition: background var(--dur-sm), border-color var(--dur-sm);
}
.contact-item:hover .ci-icon { background: var(--amber-dim); border-color: var(--amber); }
.ci-icon svg { width: 18px; height: 18px; }
.contact-item h3 {
  font-family: var(--ff-cond); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--tx-1); margin-bottom: 5px;
}
.contact-item p, .contact-item address {
  font-size: 16px; color: var(--tx-3); line-height: 1.65; font-style: normal;
}
.contact-item a { color: var(--tx-2); text-decoration: none; transition: color var(--dur-sm); }
.contact-item a:hover { color: var(--amber); }

/* FORM */
.contact-form-wrap {
  background: var(--card); padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--tx-3);
}
.req { color: var(--amber); }

/* ui-ux-pro-max: ≥44px height, visible labels */
.form-group input,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--line);
  color: var(--tx-1); font-family: var(--ff-body); font-size: 16px;
  padding: 14px 16px; outline: none; border-radius: 2px;
  min-height: 44px; resize: none;
  transition: border-color var(--dur-sm), background var(--dur-sm);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  background: rgba(212,146,10,0.03);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible { outline: none; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--tx-3); }
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: var(--red); }

.field-err { font-size: 12px; color: var(--red); min-height: 18px; }
.form-note { font-size: 13px; color: var(--tx-3); }

/* Spinner */
.spin { animation: spinAnim 0.8s linear infinite; }
@keyframes spinAnim { to { transform: rotate(360deg); } }

/* ─── FOOTER ─── */
.footer {
  background: #060609; border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
  align-items: start;
}
.footer-logo {
  display: flex; align-items: center;
  text-decoration: none; margin-bottom: 16px;
}
.footer-logo .logo-img { height: 96px; }
.footer-brand > p { font-size: 15px; color: var(--tx-3); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 38px; height: 38px; min-width: 44px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-3); text-decoration: none; font-size: 14px;
  transition: background var(--dur-sm), border-color var(--dur-sm), color var(--dur-sm);
}
.social-link:hover { background: var(--amber); border-color: var(--amber); color: #08080A; }

.footer-col h2 {
  font-family: var(--ff-cond); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--tx-1); margin-bottom: 18px; padding-top: 4px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--tx-3); text-decoration: none; transition: color var(--dur-sm); }
.footer-col a:hover { color: var(--amber); }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.footer-col address p, .footer-col address a { font-size: 15px; color: var(--tx-3); line-height: 1.65; text-decoration: none; }
.footer-col address a:hover { color: var(--amber); }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap;
}
.footer-bottom-row p { font-size: 14px; color: var(--tx-3); line-height: 1.5; }
.footer-bottom-row a { color: var(--tx-3); text-decoration: none; transition: color var(--dur-sm); }
.footer-bottom-row a:hover { color: var(--amber); }
.indexa-credit {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--tx-3);
}
.indexa-credit a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--tx-1); font-weight: 600;
}
.indexa-credit a:hover { color: var(--amber); }
.indexa-credit img { display: block; }

/* ─── JOINCHAT WIDGET ─── */
.jc-widget {
  position: fixed; bottom: 72px; left: 20px; z-index: 8500;
  transition: opacity var(--dur-md);
}
.jc-widget.jc-hidden { opacity: 0; pointer-events: none; }

/* Trigger button */
.jc-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
  position: relative;
  animation: jcPulse 2.8s ease-in-out infinite;
  transition: transform var(--dur-sm) var(--ease-back);
}
.jc-btn:hover { transform: scale(1.1); }
.jc-btn:active { transform: scale(0.94); }
@keyframes jcPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}
@media (prefers-reduced-motion: reduce) { .jc-btn { animation: none; } }

/* Notification badge */
.jc-badge {
  position: absolute; top: 1px; right: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ff3b30; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #08080A;
  transition: opacity var(--dur-sm), transform var(--dur-sm);
}
.jc-widget.open .jc-badge { opacity: 0; transform: scale(0); }

/* Chat bubble card — positioned absolutely above the button */
.jc-bubble {
  position: absolute; bottom: calc(100% + 12px); left: 0;
  background: #fff; border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
  width: 288px; overflow: hidden;
  transform: translateY(8px) scale(0.96);
  opacity: 0; pointer-events: none;
  transition: transform 0.28s var(--ease-out), opacity 0.28s;
  transform-origin: bottom left;
}
.jc-widget.open .jc-bubble {
  transform: translateY(0) scale(1);
  opacity: 1; pointer-events: auto;
}

/* Header */
.jc-bubble-header {
  background: #25D366; padding: 14px;
  display: flex; align-items: center; gap: 10px;
}
.jc-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: #111114; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.jc-avatar img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.jc-info { flex: 1; min-width: 0; }
.jc-name {
  display: block; color: #fff;
  font-family: var(--ff-body); font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jc-status {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.8); font-size: 11px;
  font-family: var(--ff-body);
}
.jc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4cfe75; flex-shrink: 0;
}
.jc-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; padding: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--dur-xs);
}
.jc-close:hover { color: #fff; }

/* Message body */
.jc-body { padding: 16px; background: #f0f0f0; }
.jc-msg {
  background: #fff; padding: 10px 14px;
  border-radius: 0 8px 8px 8px;
  font-family: var(--ff-body); font-size: 14px;
  color: #1a1a1a; line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin: 0;
}

/* CTA button / submit button */
.jc-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 14px 20px; border: none;
  font-family: var(--ff-body); font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background var(--dur-sm); cursor: pointer;
  width: 100%;
}
.jc-cta:hover { background: #20ba58; text-decoration: none; }
.jc-cta i { font-size: 20px; }

/* Form inside bubble */
.jc-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.jc-input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #ddd; border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--ff-body); font-size: 14px; color: #333;
  background: #fff; outline: none;
  transition: border-color var(--dur-xs);
}
.jc-input:focus { border-color: #25D366; }
.jc-input[aria-invalid="true"] { border-color: #e53935; }
.jc-form-err {
  color: #e53935; font-size: 11px;
  font-family: var(--ff-body); min-height: 14px;
  margin-top: -4px;
}

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
  width: 44px; height: 44px; border-radius: 2px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--tx-2); display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-md), background var(--dur-sm), transform var(--dur-sm);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--amber); border-color: var(--amber); color: #08080A; }
.back-top:active { transform: scale(0.95); }

/* ─── NOTIFICATION TOAST ─── */
.toast {
  position: fixed; bottom: 32px; left: 50%; z-index: 99998;
  transform: translateX(-50%) translateY(16px);
  background: var(--card); border: 1px solid var(--line);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--tx-1); border-radius: 2px;
  max-width: 400px; width: calc(100% - 40px);
  animation: toastIn 0.35s var(--ease-out) forwards;
  /* ui-ux-pro-max: aria-live polite, don't steal focus */
}
.toast.success { border-left: 3px solid var(--amber); }
.toast.error   { border-left: 3px solid var(--red); }
@keyframes toastIn {
  to { transform: translateX(-50%) translateY(0); }
}
.toast i { font-size: 16px; flex-shrink: 0; }
.toast.success i { color: var(--amber); }
.toast.error   i { color: var(--red); }

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1a1a1a; border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; z-index: 10000;
  transform: translateY(0); transition: transform 0.35s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-text { font-size: 15px; color: #bbb; flex: 1; min-width: 200px; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-text a:hover { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-more {
  font-size: 14px; font-weight: 600; color: #bbb;
  background: none; border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px;
  cursor: pointer; border-radius: 2px; letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all 0.2s;
}
.cookie-btn-more:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.cookie-btn-accept {
  font-size: 14px; font-weight: 700; color: #08080A;
  background: var(--amber); border: none; padding: 8px 20px;
  cursor: pointer; border-radius: 2px; letter-spacing: 0.5px;
  transition: background 0.2s;
}
.cookie-btn-accept:hover { background: var(--amber-lt); }

/* ─── UTILITY ─── */
.d-none-sm { display: none; }
@media (min-width: 768px) { .d-none-sm { display: initial; } }

/* ══════════════════════════════════════════════
   PREMIUM SECTION ATMOSPHERE
   Cada seção tem identidade visual própria
   ══════════════════════════════════════════════ */

/* Contexto de posicionamento em todas as seções */
.section { position: relative; overflow: hidden; }

/* Linha âmbar de topo — separador premium entre seções */
.tires::before,
.gallery::before,
.contact::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,146,10,0.55) 50%, transparent 100%);
  z-index: 1; pointer-events: none;
}

/* ── SERVIÇOS 01 — glow âmbar vindo de cima (luz de garagem) ── */
.services::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: clamp(500px, 80vw, 1100px); height: 520px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,146,10,0.08) 0%, rgba(212,146,10,0.02) 40%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.services::after {
  content: '01';
  position: absolute; top: clamp(24px, 3vw, 44px); right: -6px;
  font-family: var(--ff-cond); font-size: clamp(120px, 16vw, 220px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.022); pointer-events: none; user-select: none;
}

/* ── PNEUS 02 — fundo surface + numeração lado oposto ── */
.tires { background: var(--surface); }
.tires::after {
  content: '02';
  position: absolute; top: clamp(24px, 3vw, 44px); left: -6px;
  font-family: var(--ff-cond); font-size: clamp(120px, 16vw, 220px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.022); pointer-events: none; user-select: none;
}
/* Glow sutil embaixo dos cards de pneu */
.tire-grid::after {
  content: '';
  position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%);
  width: clamp(400px, 70vw, 900px); height: 300px;
  background: radial-gradient(ellipse at 50% 100%, rgba(212,146,10,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.tire-grid { position: relative; }

/* ── GALERIA 04 — fundo surface + numeração topo-direita ── */
.gallery { background: var(--surface); }
.gallery::after {
  content: '04';
  position: absolute; top: clamp(24px, 3vw, 44px); right: -6px;
  font-family: var(--ff-cond); font-size: clamp(120px, 16vw, 220px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.022); pointer-events: none; user-select: none;
}

/* ── CONTATO 05 — glow âmbar esquerda + numeração ── */
.contact::after {
  content: '05';
  position: absolute; top: clamp(24px, 3vw, 44px); right: -6px;
  font-family: var(--ff-cond); font-size: clamp(120px, 16vw, 220px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: rgba(255,255,255,0.018); pointer-events: none; user-select: none;
}
/* Glow atrás da coluna de info de contato */
.contact-layout { position: relative; }
.contact-layout::before {
  content: '';
  position: absolute; top: 50%; left: -120px; transform: translateY(-50%);
  width: 480px; height: 700px;
  background: radial-gradient(ellipse at 0% 50%, rgba(212,146,10,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.contact-info, .contact-form-wrap { position: relative; z-index: 1; }

/* Formulário: borda âmbar no topo do card */
.contact-form-wrap {
  border-top: 2px solid var(--amber);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ── FOOTER — linha âmbar premium no topo + watermark ── */
.footer { position: relative; overflow: hidden; border-top: none; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 25%, var(--amber-lt) 50%, var(--amber) 75%, transparent 100%);
  z-index: 2;
}
.footer::after {
  content: 'PL';
  position: absolute; bottom: 32px; right: var(--pad-x);
  font-family: var(--ff-cond); font-size: clamp(100px, 13vw, 180px);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1;
  color: rgba(255,255,255,0.016); pointer-events: none; user-select: none;
}

/* Título das colunas do footer com sublinhado âmbar */
.footer-col h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,146,10,0.2);
  margin-bottom: 22px;
}

/* CTA Strip — linha âmbar em baixo (fecha o bloco) */
.cta-strip { position: relative; }
.cta-strip::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,146,10,0.4) 50%, transparent 100%);
}

/* ─── RESPONSIVE ─── */

/* 1280px — large tablet / small laptop */
@media (max-width: 1280px) {
  .tire-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1100px — medium tablet landscape */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-strip-row { gap: 32px; }
  .tire-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Hero image — responsive focal point adjustments */
@media (max-width: 1100px) {
  .hero-photo { background-position: 60% 40%; }
}
@media (max-width: 900px) {
  .hero-photo { background-position: 55% 35%; }
}
@media (max-width: 640px) {
  .hero-photo { background-position: 50% 30%; }
}
@media (max-width: 480px) {
  .hero-photo { background-position: 45% 28%; }
}

/* 900px — tablet portrait / mobile nav threshold */
@media (max-width: 900px) {
  .nav, .btn-sm { display: none; }
  .hamburger { display: flex; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .gal-item:nth-child(6) { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 64px); }
  .about::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat { min-width: calc(50% - 8px); padding: 8px 16px; }
  .stat:first-child { padding-left: 16px; }
  .stat-sep { display: none; }
  .hero-content { padding-top: 130px; padding-bottom: clamp(120px, 18vw, 180px); }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
  .tire-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gal-item:nth-child(2) { grid-row: span 1; }
  .gal-item:nth-child(6) { grid-column: span 1; }
  .hero-ghost-text { font-size: clamp(80px, 18vw, 160px); right: -20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .svc-inner { padding: 28px 24px 32px; }
  .about-text { font-size: 16px; }
}

/* 640px — large mobile */
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .cta-strip-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-title .ht { font-size: clamp(30px, 10vw, 58px); }
  .jc-widget { bottom: 64px; left: 16px; }
  .back-top { bottom: 88px; right: 20px; }
  .stat { width: 50%; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .sec-hd { margin-bottom: 44px; }
  .contact-form-wrap { padding: 24px 20px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 28px; }
  .svc-img { height: 180px; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gal-item:nth-child(2) { grid-row: span 1; }
}

/* 480px — small mobile */
@media (max-width: 480px) {
  .tire-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title .ht { font-size: clamp(28px, 9vw, 44px); line-height: 0.95; }
  .hero-title { gap: 2px; margin-bottom: 20px; }
  .hero-ctas .btn-lg { min-height: 48px; font-size: 12px; padding: 0 24px; }
  .stat { width: 100%; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .stats-row { padding: 16px 0; }
  .cta-text h2 { font-size: clamp(28px, 8vw, 40px); }
  .sec-title { font-size: clamp(32px, 8vw, 52px); }
  .contact-lead { font-size: 15px; margin-bottom: 32px; }
  .pillars { gap: 20px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom-row nav { flex-wrap: wrap; gap: 14px; }
  .header-row { gap: 16px; }
  .logo-img { height: 52px; }
  .about-badge { padding: 16px 20px; }
  .badge-num { font-size: 36px; }
  .svc-inner { padding: 24px 20px 28px; }
  .contact-form-wrap { padding: 20px 16px; }
  .cookie-banner { padding: 14px 16px; }
  .jc-widget { left: 12px; }
  .back-top { right: 16px; }
}

/* 375px — compact mobile (iPhone SE, small Android) */
@media (max-width: 375px) {
  .hero-title .ht { font-size: clamp(26px, 8.5vw, 38px); }
  .sec-title { font-size: clamp(28px, 8.5vw, 40px); }
  .tire-grid { grid-template-columns: 1fr; }
  .jc-bubble { width: 260px; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept { flex: 1; text-align: center; }
  .hero-ghost-text { display: none; }
  .stats-row .stat-val { font-size: clamp(20px, 6vw, 28px); }
}
