/*
Theme Name: Jaguar Industrial
Theme URI: https://jaguarindustrial.com.br
Description: Child theme da Jaguar Industrial baseado no Hello Elementor. Identidade visual industrial premium com amarelo Jaguar #F4BE0C.
Author: Jaguar Industrial
Author URI: https://jaguarindustrial.com.br
Template: hello-elementor
Version: 1.0.0
Text Domain: jaguar-hello-child
License: GNU General Public License v2 or later
*/

/* ═══════════════════════════════════════════
   JAGUAR INDUSTRIAL — Premium Visual Identity
   Industrial Luxury: raw power meets precision engineering
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Barlow+Condensed:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --aw-font-sans: 'DM Sans', system-ui, sans-serif;
  --aw-font-serif: 'DM Sans', Georgia, serif;
  --aw-font-heading: 'Barlow', 'Century Gothic', system-ui, sans-serif;

  --aw-color-primary: rgb(244 190 12);
  --aw-color-secondary: rgb(55 52 53);
  --aw-color-accent: rgb(244 190 12);

  --aw-color-text-heading: rgb(80 80 80);
  --aw-color-text-default: rgb(80 80 80);
  --aw-color-text-muted: rgb(120 120 120);
  --aw-color-bg-page: rgb(255 255 255);
  --aw-color-bg-page-dark: rgb(26 26 26);

  /* Custom Jaguar tokens */
  --jaguar-yellow: #F4BE0C;
  --jaguar-yellow-light: #FDF6E3;
  --jaguar-black: #1A1A1A;
  --jaguar-brand: #373435;
  --jaguar-gray-dark: #333333;
  --jaguar-gray-mid: #666666;
  --jaguar-gray-light: #E8E8E8;
  --jaguar-gray-bg: #F5F5F5;
}

::selection {
  background-color: #F4BE0C;
  color: #1A1A1A;
}

/* ═══ BASE TYPOGRAPHY ═══ */
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: rgb(80, 80, 80);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.text-heading {
  font-family: 'Barlow', 'Century Gothic', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h2 { font-weight: 600; font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

/* ═══ JAGUAR CUSTOM CLASSES ═══ */

/* Taglines */
.jaguar-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--jaguar-yellow);
}

/* Industrial accent bar */
.jaguar-accent-bar {
  display: inline-block;
  width: 48px;
  height: 4px;
  background: var(--jaguar-yellow);
  margin-bottom: 1rem;
}

/* Yellow square bullets */
.jaguar-list {
  list-style: none;
  padding-left: 0;
}
.jaguar-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}
.jaguar-list li::before {
  content: "■";
  color: var(--jaguar-yellow);
  font-size: 0.6em;
  position: absolute;
  left: 0;
  top: 0.5em;
}

/* ═══ VIDEO EMBED ═══ */
.jaguar-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.jaguar-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.jaguar-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ═══ IMAGE GALLERY ═══ */
.jaguar-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.jaguar-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  border-radius: 4px;
}
.jaguar-gallery img:hover {
  transform: scale(1.03);
}

/* ═══ LIGHTBOX ═══ */
#jaguar-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#jaguar-lightbox.active {
  display: flex;
}
#jaguar-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
#jaguar-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
#jaguar-lightbox-close:hover {
  background: rgba(244,190,12,0.3);
  border-color: #F4BE0C;
}

/* ═══ HERO OVERLAY ═══ */
.jaguar-hero-overlay {
  position: relative;
}
.jaguar-hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 30%;
  background: linear-gradient(to top, rgba(26,26,26,0.6), transparent);
  pointer-events: none;
}

/* ═══ CARD HOVER ═══ */
.jaguar-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jaguar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ═══ NOISE TEXTURE ═══ */
.jaguar-noise {
  position: relative;
}
.jaguar-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ═══ PROSE/CONTENT OVERRIDES ═══ */
.jaguar-prose th {
  background: var(--jaguar-black) !important;
  color: white !important;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
}
.jaguar-prose blockquote {
  border-left-color: var(--jaguar-yellow) !important;
  background: var(--jaguar-yellow-light) !important;
  font-style: normal !important;
  padding: 1rem 1.5rem;
}
.jaguar-prose table {
  border: 1px solid var(--jaguar-gray-light);
  border-collapse: collapse;
  width: 100%;
}
.jaguar-prose td,
.jaguar-prose th {
  border: 1px solid var(--jaguar-gray-light);
  padding: 0.5rem 1rem;
}
.jaguar-prose tr:nth-child(even) {
  background: var(--jaguar-gray-bg);
}

/* ═══ ELEMENTOR OVERRIDES ═══ */

/* Sticky header shadow */
.elementor-sticky--effects {
  box-shadow: 0 0.375rem 1.5rem 0 rgb(140 152 164 / 13%) !important;
}

/* Elementor buttons — primary */
.elementor-button.elementor-button-primary,
.elementor-widget-button .elementor-button {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mega menu spacing */
.elementor-nav-menu--dropdown li {
  padding: 0.25rem 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
  .jaguar-gallery { grid-template-columns: repeat(2, 1fr); }
  .jaguar-video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .jaguar-gallery { grid-template-columns: 1fr; }
}
