/* ================================================================
   BRUTO PNEUS E SUSPENSAO — PREMIUM AUTOMOTIVE DESIGN SYSTEM
   Premium dark theme with red accents, geometric cuts, and
   automotive-grade micro-animations.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------------------------------------------------------------
   I. DESIGN TOKENS
   --------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --red: #C8102E;
  --red-bright: #E8132F;
  --red-dark: #9B0D23;
  --red-glow: rgba(200, 16, 46, 0.35);
  --red-glow-soft: rgba(200, 16, 46, 0.12);

  /* Neutrals */
  --black: #080808;
  --dark: #111111;
  --dark-card: #181818;
  --dark-card2: #202020;
  --dark-border: #2a2a2a;
  --white: #FFFFFF;
  --gray: #666666;
  --gray-light: #aaaaaa;

  /* Accents */
  --gold: #F5C842;
  --green-wa: #25D366;
  --green-wa-dark: #128C7E;
  --green-ev: #22c55e;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.3s var(--ease-out);
  --transition-slow: all 0.6s var(--ease-out);

  /* Elevation */
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-red: 0 8px 32px rgba(200,16,46,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lift: 0 16px 48px rgba(0,0,0,0.6);

  /* Radii */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Layout */
  --max-w: 1280px;
  --header-h: 96px;
}

/* ---------------------------------------------------------------
   II. RESET & FOUNDATIONS
   --------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------------------------------------------------------------
   III. CUSTOM SCROLLBAR
   --------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red-dark), var(--red-bright));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red-bright); }

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--dark);
}

/* ---------------------------------------------------------------
   IV. LOADING SCREEN
   --------------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 45%, rgba(200,16,46,0.06) 0%, transparent 100%);
  pointer-events: none;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.loader-title {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--red);
  letter-spacing: 6px;
  animation: pulse-logo 1.5s ease infinite;
}

.loader-sub {
  font-family: var(--font-cond);
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--gray);
  text-transform: uppercase;
}

.loader-bar-track {
  width: 200px;
  height: 3px;
  background: var(--dark-card2);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright), var(--red));
  border-radius: 99px;
  animation: loader-progress 1.5s ease forwards;
  box-shadow: 0 0 12px rgba(200,16,46,0.5);
}

@keyframes loader-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); text-shadow: 0 0 0 transparent; }
  50%      { opacity: 0.75; transform: scale(0.97); text-shadow: 0 0 30px rgba(200,16,46,0.3); }
}

/* ---------------------------------------------------------------
   V. HEADER / NAVIGATION
   --------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

#header nav {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-dummy-left {
  width: 125px; /* Compensa o tamanho inicial do contact-widget */
  flex-shrink: 0;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#header.scrolled .nav-dummy-left {
  width: 0;
}

.nav-logo-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

#header.scrolled .nav-logo-wrapper {
  width: 180px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 180px; /* Explicit width prevents squishing */
}

#header.scrolled .nav-logo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  letter-spacing: 3px;
}

.nav-logo-sub {
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gray-light);
  text-transform: uppercase;
}

.nav-spacer {
  transition: flex-grow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), flex-basis 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spacer-left {
  flex: 1 1 0px;
}

.spacer-right {
  flex: 1 1 0px;
}
#header.scrolled .spacer-right {
  flex: 0 1 24px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 100%; height: 2px;
  background: var(--red);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Contact Widget Expandable */
.contact-widget {
  position: relative;
  display: flex;
  align-items: center;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), margin-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, border-color 0.3s;
  width: 125px; /* Tamanho inicial apenas para "CONTATO" */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 0;
}

/* Compensa o aumento de largura com margem negativa quando no topo, anulando o efeito no flexbox */
#header:not(.scrolled) .contact-widget:hover,
#header:not(.scrolled) .contact-widget:focus-within {
  margin-left: -125px;
}

.contact-widget:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-widget:hover,
.contact-widget:focus-within {
  width: 250px; /* Expansão para mostrar os dois botões */
  background: rgba(10, 10, 10, 0.8);
  border-color: rgba(200, 16, 46, 0.4);
}

.btn-cw-main {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 99px;
  cursor: pointer;
  border: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  z-index: 2;
}

.btn-cw-main:hover {
  background: var(--red-bright);
}

.contact-widget:hover .btn-cw-main,
.contact-widget:focus-within .btn-cw-main {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.cw-options {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0 16px;
  justify-content: space-between;
}

.contact-widget:hover .cw-options,
.contact-widget:focus-within .cw-options {
  opacity: 1;
  transform: translateX(0);
}

.cw-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.cw-opt:hover {
  transform: scale(1.05);
}

.cw-phone:hover { color: #3b82f6; } /* Azul sutil para ligação */
.cw-wa:hover { color: var(--green-wa); }

.cw-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--dark-border);
  padding: 24px 40px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}

.mobile-menu.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); padding-left: 12px; }

/* ---------------------------------------------------------------
   VI. HERO
   --------------------------------------------------------------- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video / image background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.3) saturate(0.7) contrast(1.1);
  opacity: 0;
  animation: fadeCarousel 20s infinite ease-in-out;
}

.hero-slide:nth-child(1) { animation-delay: 0s; object-position: center 35%; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }

@keyframes fadeCarousel {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}

/* Overlays */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(8,8,8,0.92) 0%,
      rgba(8,8,8,0.55) 45%,
      rgba(200,16,46,0.08) 100%);
  z-index: 1;
}

/* Red gradient line at bottom instead of plain fade */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background:
    linear-gradient(to top,
      var(--black) 0%,
      rgba(8,8,8,0.95) 20%,
      rgba(200,16,46,0.08) 50%,
      transparent 100%);
  z-index: 1;
}

/* Tire tread decoration */
.hero-tread {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  opacity: 0.03;
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 40px;
  padding-top: 72px;
  text-align: center;
}

.hero-main-logo {
  height: 260px; /* logo grande inicial aumentada */
  max-width: 100%;
  width: auto;
  margin: 0 auto 16px auto;
  display: block;
  animation: fadeInDown 0.8s ease both;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px); /* Diminuído para agir como frase de efeito */
  line-height: 1.2;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-h1 span { color: var(--red); }

.hero-subtitle {
  font-family: var(--font-cond);
  font-size: clamp(14px, 1.8vw, 18px); /* Reduzido proporcionalmente */
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 99px;
  border: 2px solid var(--red);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 99px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}



/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: bounce 2s ease infinite;
}

.scroll-indicator span {
  font-family: var(--font-cond);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-light);
}

.scroll-indicator svg { width: 18px; height: 18px; color: var(--red); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------------------------------------------------------------
   VII. SECTION COMMONS
   --------------------------------------------------------------- */
section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* Section labels and titles */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-desc {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.7;
}

/* Red divider bar */
.red-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  border-radius: 2px;
  margin-bottom: 40px;
}

/* ---------------------------------------------------------------
   VIII. DIAGONAL STRIPE ACCENTS (Section Transitions)
   --------------------------------------------------------------- */
.section-stripe {
  position: relative;
  overflow: hidden;
}

.section-stripe::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -5%;
  width: 110%;
  height: 60px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-dark));
  transform: skewY(-1.5deg);
  z-index: 3;
  opacity: 0.9;
}

.section-stripe::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -5%;
  width: 110%;
  height: 3px;
  background: var(--red);
  transform: skewY(-1.5deg);
  z-index: 4;
  box-shadow: 0 0 20px rgba(200,16,46,0.4);
}

/* Subtle grid pattern overlay */
.grid-pattern {
  position: relative;
}

.grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
  z-index: 0;
}

/* Geometric clip-path transitions */
.clip-top {
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
  margin-top: -30px;
  padding-top: 130px;
}

.clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}

/* ---------------------------------------------------------------
   IX. REVEAL ANIMATIONS
   --------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------
   X. SERVICES
   --------------------------------------------------------------- */
#servicos {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Grid pattern on services */
#servicos::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    );
  pointer-events: none;
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

/* Inner glow effect */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(200,16,46,0) 0%, transparent 70%);
  transition: var(--transition-slow);
  pointer-events: none;
}

/* Red top line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,16,46,0.2);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(200,16,46,0.15);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover::after {
  background: radial-gradient(ellipse at 50% 0%, rgba(200,16,46,0.06) 0%, transparent 70%);
}

/* Service icon with glow */
.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 24px rgba(200,16,46,0.5), 0 0 48px rgba(200,16,46,0.2);
}

.service-card:hover .service-icon svg {
  color: var(--white);
}

.service-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   XI. CATALOG
   --------------------------------------------------------------- */
#catalogo {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Red glow decoration */
#catalogo::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,16,46,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

/* Pill-style tab switcher */
.catalog-tabs {
  display: flex;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 99px;
  padding: 5px;
  gap: 4px;
  margin-top: 40px;
}

.catalog-tab {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 12px 28px;
  border-radius: 99px;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.catalog-tab.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,16,46,0.3);
}

.catalog-tab:not(.active):hover {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.catalog-panel { display: none; }
.catalog-panel.active { display: block; }

/* Select dropdowns */
.selectors-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.selectors-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selector-label {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.selector-select {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.selector-select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow-soft);
}

.selector-select:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.selector-select option { background: var(--dark-card); }

/* Search button */
.btn-buscar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.btn-buscar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn-buscar:hover:not(:disabled) {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-buscar:hover:not(:disabled)::before { opacity: 1; }

.btn-buscar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Result card */
.result-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: none;
  align-items: center;
  gap: 48px;
  animation: slideInUp 0.5s ease both;
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow on result */
.result-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.3), transparent);
}

.result-card.visible { display: flex; }

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-tire-visual { flex-shrink: 0; }
.result-info { flex: 1; }

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.25);
  color: var(--red-bright);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.result-title {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.result-size {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.result-brands {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

.result-brands strong { color: var(--gray-light); }

.btn-wa-result {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wa-result:hover {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn-wa-result svg { width: 22px; height: 22px; }

.result-not-found {
  display: none;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  animation: slideInUp 0.5s ease both;
}

.result-not-found.visible { display: block; }

.result-not-found h3 {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.result-not-found p {
  color: var(--gray);
  margin-bottom: 24px;
}

.tire-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------------------------------------
   XII. BRANDS CAROUSEL
   --------------------------------------------------------------- */
#marcas {
  background: var(--dark);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.brands-title {
  text-align: center;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 48px;
}

.brands-scroll-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.brands-scroll {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scroll-brands 25s linear infinite;
  width: max-content;
}

.brands-scroll:hover { animation-play-state: paused; }

@keyframes scroll-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 60px;
  background: transparent;
  padding: 12px 20px;
  transition: var(--transition);
  cursor: default;
  flex-shrink: 0;
}

.brand-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.6);
  transition: var(--transition);
}

.brand-logo-item:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

/* ---------------------------------------------------------------
   XIII. GALLERY (ESTRUTURA)
   --------------------------------------------------------------- */
#estrutura {
  background: var(--black);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 60px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

/* Hover overlay */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0) 0%, rgba(200,16,46,0) 100%);
  transition: var(--transition-slow);
  z-index: 1;
}

.gallery-item:hover::after {
  background: linear-gradient(135deg, rgba(200,16,46,0.15) 0%, rgba(0,0,0,0.2) 100%);
}

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; height: 480px; }
.gallery-item:nth-child(2) { grid-column: span 5; height: 232px; }
.gallery-item:nth-child(3) { grid-column: span 5; height: 232px; }
.gallery-item:nth-child(4) { grid-column: span 4; height: 280px; }
.gallery-item:nth-child(5) { grid-column: span 4; height: 280px; }
.gallery-item:nth-child(6) { grid-column: span 4; height: 280px; }

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.06);
}

/* ---------------------------------------------------------------
   XIV. ELECTRIC VEHICLES
   --------------------------------------------------------------- */
#eletricos {
  background: linear-gradient(160deg, var(--dark) 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

#eletricos::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.ev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ev-content { }

.ev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-ev);
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.ev-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.ev-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ev-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.ev-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.ev-feature:hover .ev-feature-icon {
  background: rgba(200,16,46,0.15);
  border-color: rgba(200,16,46,0.3);
}

.ev-feature-title {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 4px;
}

.ev-feature-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.ev-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ev-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.ev-image-wrap:hover img { transform: scale(1.03); }

.ev-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   XV. DIFFERENTIALS
   --------------------------------------------------------------- */
#diferenciais {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Grid pattern */
#diferenciais::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    );
  pointer-events: none;
  z-index: 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.diff-card {
  background: var(--dark-card2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Inner glow on diff cards */
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 100%, rgba(200,16,46,0) 0%, transparent 70%);
  transition: var(--transition-slow);
  pointer-events: none;
}

.diff-card:hover {
  border-color: rgba(200,16,46,0.2);
  transform: translateY(-8px);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.4),
    inset 0 -1px 0 rgba(200,16,46,0.1);
}

.diff-card:hover::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(200,16,46,0.06) 0%, transparent 70%);
}

.diff-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(200,16,46,0.1);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.diff-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.diff-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 12px;
}

.diff-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   XVI. CONTACT
   --------------------------------------------------------------- */
#contato {
  background: var(--black);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease-out);
}

.contact-item:hover { border-color: rgba(200,16,46,0.2); }
.contact-item:hover::before { transform: scaleY(1); }

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.contact-item-title {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.contact-item-value {
  font-size: 15px;
  color: var(--white);
  line-height: 1.6;
}

.contact-item-value a {
  color: var(--red);
  transition: var(--transition);
}

.contact-item-value a:hover { color: var(--red-bright); }

.btn-wa-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-wa-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.btn-wa-contact:hover {
  background: var(--green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn-wa-contact:hover::before { opacity: 1; }
.btn-wa-contact svg { width: 24px; height: 24px; }

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) invert(90%) hue-rotate(180deg) brightness(0.85) saturate(0.7);
}

/* ---------------------------------------------------------------
   XVII. FOOTER
   --------------------------------------------------------------- */
footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 48px 0 32px;
  position: relative;
}

/* Subtle red line at top of footer */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.3), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand { }

.footer-logo-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--red);
  letter-spacing: 3px;
  line-height: 1;
}

.footer-logo-sub {
  font-family: var(--font-cond);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--red); padding-left: 4px; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray);
}

.footer-copy span { color: var(--red); }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-social-btn:hover {
  border-color: var(--red);
  background: rgba(200,16,46,0.08);
  color: var(--red);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------
   XVIII. FLOATING WHATSAPP
   --------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 24px 14px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: float-wa 3s ease infinite;
}

.wa-float:hover {
  background: var(--green-wa-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
  animation-play-state: paused;
}

.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }

@keyframes float-wa {
  0%, 100% { transform: translateY(0);    box-shadow: 0 8px 32px rgba(37,211,102,0.4); }
  50%      { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(37,211,102,0.5); }
}

/* ---------------------------------------------------------------
   XIX. INSTAGRAM CTA (kept for compatibility)
   --------------------------------------------------------------- */
#instagram {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#instagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.03) 40px,
      rgba(255,255,255,0.03) 41px
    );
  pointer-events: none;
}

.ig-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.ig-sub {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  position: relative;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 99px;
  transition: var(--transition);
  position: relative;
}

.btn-ig:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ---------------------------------------------------------------
   XX. KEYFRAME ANIMATIONS
   --------------------------------------------------------------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------------------------------------------------------------
   XXI. RESPONSIVE - 1024px
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gallery-item:nth-child(1) { grid-column: span 12; height: 300px; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) { grid-column: span 6; }
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: span 4; }

  .ev-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > *:first-child { grid-column: span 2; }

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

/* ---------------------------------------------------------------
   XXII. RESPONSIVE - 768px
   --------------------------------------------------------------- */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 24px; }

  /* Header */
  #header { padding: 0 24px; }
  .nav-links, .contact-widget { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 0 24px; padding-top: 72px; }
  .hero-badge { font-size: 12px; letter-spacing: 2px; padding: 6px 16px; margin-bottom: 20px; }
  .hero-subtitle { margin-bottom: 24px; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
    margin-top: 28px;
  }

  .hero-stat {
    border-left: none !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .hero-stat:first-child { border-top: none; padding-top: 0; }

  .hero-stat-num { font-size: 36px; }

  /* Catalog */
  .selectors-row { grid-template-columns: 1fr; }

  .result-card {
    flex-direction: column;
    padding: 28px;
    gap: 24px;
    text-align: center;
  }

  .result-size { font-size: 52px; }

  .catalog-tabs {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .catalog-tab { border-radius: 8px; }

  /* Gallery */
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 12;
    height: 220px;
  }

  .gallery-item:nth-child(1) { height: 260px; }

  /* Grids */
  .diff-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > *:first-child { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* WhatsApp float */
  .wa-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px 12px 14px;
    font-size: 13px;
  }

  /* Section stripes - reduce on mobile */
  .section-stripe::before { height: 40px; top: -20px; }
}

/* ---------------------------------------------------------------
   XXIII. RESPONSIVE - 480px
   --------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(36px, 12vw, 48px); }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .btn-primary { padding: 14px 28px; font-size: 15px; }
  .btn-secondary { padding: 12px 24px; font-size: 15px; }

  .hero-stats { margin-top: 24px; }
  .hero-stat-num { font-size: 32px; }
  .hero-stat-label { font-size: 11px; }

  .section-title { font-size: clamp(28px, 8vw, 40px); }

  .loader-title { font-size: 40px; letter-spacing: 4px; }
  .loader-sub { font-size: 12px; letter-spacing: 5px; }

  .wa-float span:not(.wa-float svg) { display: none; }
}

/* ---------------------------------------------------------------
   XXIV. UTILITY CLASSES
   --------------------------------------------------------------- */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* No-scroll (when mobile menu or loader is open) */
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------
   XXV. PRINT STYLES
   --------------------------------------------------------------- */
@media print {
  #loader,
  #header,
  .wa-float,
  .scroll-indicator,
  .mobile-menu { display: none !important; }

  body { background: white; color: black; }
  section { padding: 24px 0; }
}
