/* ==========================================================================
   Allmaq Locações - Stylesheet
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. CSS Variables / Design Tokens
   ========================================================================== */
:root {
  /* Core Colors — Official ALLMAQ Brand (Identity Manual v1) */
  --background: #F5F7FA;
  --foreground: #0B2F51;
  --card: #FFFFFF;
  --card-foreground: #0B2F51;
  --primary: #0B2F51;            /* Azul Marinho */
  --primary-foreground: #FFFFFF;
  --secondary: #F57C00;          /* Laranja */
  --secondary-foreground: #FFFFFF;
  --muted: #EAECEF;
  --muted-foreground: #585858;   /* Cinza */
  --border: #DCDFE3;
  --radius: 0.5rem;

  /* Allmaq Brand Palette */
  --allmaq-blue: #0B2F51;        /* Azul Marinho */
  --allmaq-blue-light: #1A528A;  /* Azul Médio */
  --allmaq-blue-dark: #05142D;   /* Azul Profundo */
  --allmaq-orange: #F57C00;      /* Laranja */
  --allmaq-orange-light: #FFA740;/* Laranja Suave */
  --allmaq-orange-dark: #CB6400; /* Laranja Escuro */
  --allmaq-gray: #585858;        /* Cinza */
  --allmaq-gray-light: #AAAAAA;  /* Cinza Suporte */

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(5, 20, 45, 0.95), rgba(11, 47, 81, 0.85));
  --gradient-orange: linear-gradient(135deg, #F57C00, #CB6400);

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px rgba(11, 47, 81, 0.15);
  --shadow-strong: 0 10px 40px -8px rgba(11, 47, 81, 0.25);
  --shadow-orange: 0 8px 30px -6px rgba(245, 124, 0, 0.4);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
.section-container {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .section-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .section-container { padding-left: 2rem; padding-right: 2rem; }
}

.pt-header { padding-top: 7.25rem; }
.min-h-screen { min-height: 100vh; }

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1023px) {
  .lg\:grid-cols-2 { grid-template-columns: 1fr; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .md\:grid-cols-2 { grid-template-columns: 1fr; }
  .md\:grid-cols-3 { grid-template-columns: 1fr; }
  .sm\:grid-cols-2 { grid-template-columns: 1fr; }
  .grid-cols-2:not(.keep-cols) { grid-template-columns: 1fr; }
  .grid-cols-3 { grid-template-columns: 1fr; }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* ==========================================================================
   4. Spacing
   ========================================================================== */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

/* ==========================================================================
   5. Typography
   ========================================================================== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1.1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

@media (min-width: 640px) {
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
}

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.whitespace-pre-line { white-space: pre-line; }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.italic { font-style: italic; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==========================================================================
   6. Colors
   ========================================================================== */
.bg-background { background-color: var(--background); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }
.bg-card { background-color: var(--card); }
.bg-allmaq-blue { background-color: var(--allmaq-blue); }
.bg-allmaq-blue-dark { background-color: var(--allmaq-blue-dark); }

.text-foreground { color: var(--foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-white { color: #fff; }

.text-gradient {
  background-image: var(--gradient-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Opacity helpers */
.text-primary-foreground\/80 { color: hsla(0, 0%, 100%, 0.8); }
.text-primary-foreground\/70 { color: hsla(0, 0%, 100%, 0.7); }
.text-primary-foreground\/60 { color: hsla(0, 0%, 100%, 0.6); }
.text-primary-foreground\/50 { color: hsla(0, 0%, 100%, 0.5); }
.text-primary-foreground\/90 { color: hsla(0, 0%, 100%, 0.9); }
.text-white\/80 { color: rgba(255,255,255,0.8); }

/* ==========================================================================
   7. Borders & Rounded
   ========================================================================== */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-transparent { border-color: transparent; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ==========================================================================
   8. Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background-color: var(--allmaq-blue-light);
  transform: scale(1.05);
  box-shadow: var(--shadow-strong);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  background: var(--gradient-orange);
  color: var(--secondary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-orange);
}
.btn-accent:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  background-color: hsla(0, 0%, 100%, 0.1);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: hsla(0, 0%, 100%, 0.2);
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-orange:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-orange-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   9. Cards
   ========================================================================== */
.card-feature {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
.card-feature:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-strong);
}

.card-blog {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.card-blog:hover {
  border-color: hsla(25, 95%, 53%, 0.5);
  box-shadow: var(--shadow-soft);
}
.card-blog:hover .card-blog-img img {
  transform: scale(1.05);
}
.card-blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ==========================================================================
   10. TopBar
   ========================================================================== */
.topbar {
  font-family: 'Rajdhani', sans-serif;
  background-color: var(--allmaq-blue-dark);
  color: var(--primary-foreground);
  font-size: 0.8rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  height: 2.25rem;
}
.topbar a:hover {
  color: var(--secondary);
}
.topbar svg, .topbar i[data-lucide] {
  width: 0.75rem;
  height: 0.75rem;
}
.topbar-left {
  display: none;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  justify-content: space-between;
}
.topbar-hours {
  display: none;
}
@media (min-width: 640px) {
  .topbar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
  .topbar-right {
    width: auto;
    justify-content: flex-end;
  }
}
@media (min-width: 1024px) {
  .topbar-hours {
    display: block;
  }
}

/* ==========================================================================
   11. Header
   ========================================================================== */
.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.header-main {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo img {
  height: 85px;
  width: auto;
  display: block;
}

.footer .logo img,
.footer .footer-logo {
  height: 144px;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

/* Dropdowns */
.dropdown {
  position: relative;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  transition: color 0.2s ease;
  cursor: pointer;
}
.dropdown-trigger:hover,
.dropdown-trigger.active {
  color: var(--secondary);
}
.dropdown-trigger .chevron-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  width: 14rem;
  z-index: 50;
}
.dropdown-menu-inner {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: all 0.15s ease;
}
.dropdown-menu a:hover {
  background: hsla(25, 95%, 53%, 0.1);
  color: var(--secondary);
}

/* Header CTA */
.header-cta {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}
.header-cta .btn-accent {
  display: none;
}
@media (min-width: 768px) {
  .header-cta .btn-accent { display: inline-flex; }
}

/* Mobile: lupa colada ao hamburger */
@media (max-width: 767px) {
  .header-inner {
    justify-content: flex-start;
  }
  .header-cta {
    margin-left: auto;
    gap: 0.25rem;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--foreground);
}
.mobile-menu-btn svg, .mobile-menu-btn i[data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  background: #FFFFFF;
}
.mobile-menu .nav-link {
  display: block;
  padding: 0.5rem 0;
}
.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s ease;
}
.mobile-dropdown-trigger:hover { color: var(--secondary); }
.mobile-dropdown-trigger .chevron-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.mobile-dropdown-content {
  padding-left: 1rem;
}
.mobile-dropdown-content a {
  display: block;
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.mobile-dropdown-content a:hover { color: var(--secondary); }

/* ==========================================================================
   12. Hero Slider
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding-top: 2rem;
}
.hero-bg-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background: var(--primary);
}
.hero-container {
  position: relative;
  z-index: 10;
  margin: 0 1rem;
  height: 75vh;
  overflow: hidden;
  border-radius: 1rem;
}
@media (max-width: 639px) {
  .hero-container { height: 65vh; margin: 0 0.5rem; border-radius: 0.75rem; }
}
@media (min-width: 640px) {
  .hero-container { margin: 0 1.5rem; border-radius: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero-container { margin: 0 2rem; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease-in-out;
}
.hero-slide.active { opacity: 1; z-index: 10; }
.hero-slide.inactive { opacity: 0; z-index: 0; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5), transparent);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
}
.hero-content-inner {
  padding: 2rem;
  width: 100%;
  max-width: 48rem;
}
@media (min-width: 640px) { .hero-content-inner { padding: 3rem; } }
@media (min-width: 1024px) { .hero-content-inner { padding: 4rem; } }

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  white-space: pre-line;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  color: white;
  transition: all 0.3s ease;
}
.hero-arrow:hover { background: hsla(0, 0%, 100%, 0.2); }
.hero-arrow-left { left: 0; border-radius: 0 9999px 9999px 0; border-left: none; }
.hero-arrow-right { right: 0; border-radius: 9999px 0 0 9999px; border-right: none; }
@media (min-width: 640px) {
  .hero-arrow { width: 3.5rem; height: 3.5rem; }
}

/* ==========================================================================
   13. Equipment Group Cards
   ========================================================================== */
.equip-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 0.75rem;
  display: block;
  background: var(--primary);
}
.equip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: all 0.5s ease;
}
.equip-card:hover img { opacity: 0.9; transform: scale(1.1); }
.equip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--primary), hsla(215, 80%, 25%, 0.6), transparent);
}
.equip-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}
.equip-card-content h3 {
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25;
  min-height: 2.5rem;
  display: flex;
  align-items: flex-end;
  transition: color 0.3s ease;
}
.equip-card:hover .equip-card-content h3 { color: var(--secondary); }
.equip-card-cta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 0.5rem;
}
.equip-card:hover .equip-card-cta { opacity: 1; }

@media (min-width: 640px) {
  .equip-card-content h3 { font-size: 1rem; min-height: 3rem; }
}
@media (min-width: 1024px) {
  .equip-card-content h3 { font-size: 1.125rem; }
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .equip-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ==========================================================================
   14. Feature Icon Box
   ========================================================================== */
.icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.icon-box-orange { background: hsla(25, 95%, 53%, 0.1); }
.icon-box-orange svg, .icon-box-orange i[data-lucide] { color: var(--secondary); }
.card-feature:hover .icon-box-orange,
.group:hover .icon-box-orange {
  background: var(--secondary);
}
.card-feature:hover .icon-box-orange svg,
.card-feature:hover .icon-box-orange i[data-lucide],
.group:hover .icon-box-orange svg {
  color: var(--secondary-foreground);
}

.icon-box-round {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(25, 95%, 53%, 0.1);
  transition: all 0.3s ease;
}

.icon-box-sm {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon sizing */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 2.5rem; height: 2.5rem; }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.footer {
  background-color: var(--allmaq-gray);
  color: var(--primary-foreground);
}
.footer a {
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
}
.footer-desc { color: hsla(0, 0%, 100%, 0.7); font-size: 0.875rem; line-height: 1.625; }
.footer-title { font-family: 'Rajdhani', sans-serif; font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  padding: 0.25rem 0;
}
.footer-link:hover { color: var(--secondary); }

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsla(0, 0%, 100%, 0.7);
  transition: all 0.3s ease;
}
.social-link:hover {
  background: hsla(0, 0%, 100%, 0.2);
  color: var(--secondary);
  transform: translateY(-2px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(0, 0%, 100%, 0.7);
  transition: color 0.2s ease;
}
.footer-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.footer-contact-item:hover .footer-contact-icon {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 0.875rem;
}
.footer-bottom a:hover { color: var(--secondary); }
@media (max-width: 639px) {
  .footer-bottom .flex { flex-direction: column; text-align: center; }
  .footer-bottom .flex .flex { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
}

/* ==========================================================================
   16. WhatsApp Button
   ========================================================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 4rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.whatsapp-btn a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  font-weight: 700;
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .whatsapp-btn a { font-size: 1rem; }
}
.whatsapp-btn a:hover {
  background: #20BD5A;
  transform: scale(1.05);
}
.whatsapp-btn .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #25D366;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}
.whatsapp-btn svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
@media (min-width: 640px) { .whatsapp-btn svg { width: 2rem; height: 2rem; } }

/* ==========================================================================
   17. Callback Button & Modal
   ========================================================================== */
.callback-trigger {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: var(--shadow-soft);
  transition: padding-left 0.3s ease;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .callback-trigger { display: flex; }
}
.callback-trigger:hover { padding-left: 1rem; }
.callback-trigger svg { width: 1.25rem; height: 1.25rem; }
.callback-trigger span {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-overlay.hidden { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsla(215, 50%, 15%, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
  z-index: 10;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal-content { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--foreground); }
.modal-close svg { width: 1.25rem; height: 1.25rem; }

/* ==========================================================================
   18. Forms
   ========================================================================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease;
  outline: none;
}
.form-input::placeholder { color: var(--muted-foreground); }
.form-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px hsla(25, 95%, 53%, 0.15);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

textarea.form-input { resize: none; }

/* ==========================================================================
   19. Blog / Prose
   ========================================================================== */
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose ul li {
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.75;
}
.prose strong { color: var(--foreground); }
.prose a { color: var(--secondary); }
.prose a:hover { text-decoration: underline; }

/* Blog card badge */
.badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  background: hsla(25, 95%, 53%, 0.1);
  color: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   20. Stats Section
   ========================================================================== */
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .stat-number { font-size: 2.25rem; }
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Step number */
.step-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: hsla(25, 95%, 53%, 0.2);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   21. Breadcrumb
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
  flex-wrap: wrap;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .current { color: var(--secondary); }

/* ==========================================================================
   22. Equipment Detail Specs
   ========================================================================== */
.spec-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--muted);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}
.spec-card svg, .spec-card i[data-lucide] {
  color: var(--secondary);
  margin: 0 auto 0.75rem;
}
.spec-label { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.spec-value { font-weight: 700; color: var(--foreground); font-size: 1.25rem; }

/* ==========================================================================
   23. Dot list items
   ========================================================================== */
.dot-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.dot-item::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--secondary);
  flex-shrink: 0;
}

/* Check items */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-item svg, .check-item i[data-lucide] {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================================================
   24. Stars (testimonials)
   ========================================================================== */
.stars {
  display: flex;
  gap: 0.25rem;
}
.stars svg { width: 1rem; height: 1rem; fill: var(--secondary); color: var(--secondary); }

/* ==========================================================================
   25. Aspect Ratios
   ========================================================================== */
.aspect-video { aspect-ratio: 16/9; overflow: hidden; }
.aspect-square { aspect-ratio: 1; }

/* ==========================================================================
   26. Toast
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--foreground);
  color: var(--background);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow-strong);
  z-index: 100;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 90vw;
}
.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   27. Animations
   ========================================================================== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-fade-in { animation: fade-in 0.6s ease-out forwards; }

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   28. Utilities
   ========================================================================== */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.object-cover { object-fit: cover; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }
.transition-all { transition: all 0.3s ease; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.shadow-lg { box-shadow: var(--shadow-soft); }
.shadow-xl { box-shadow: var(--shadow-strong); }

/* Responsive visibility */
@media (max-width: 639px) {
  .sm\:hidden { display: none; }
}
@media (max-width: 767px) {
  .md\:hidden { display: none; }
}
@media (min-width: 640px) {
  .hidden-sm { display: none; }
}
@media (min-width: 768px) {
  .hidden-md { display: none; }
}
@media (min-width: 1024px) {
  .hidden-lg { display: none; }
}

/* Responsive grid overrides */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:flex-row { flex-direction: row; }
  .md\:text-left { text-align: left; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:col-span-1 { grid-column: span 1; }
}

/* Footer alternate classes (used on subpages) */
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}
.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.footer-links li a:hover {
  color: var(--secondary);
}

/* WhatsApp float (simple version for subpages) */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
}
.whatsapp-float:hover {
  background: #20BD5A;
  transform: scale(1.1);
}
.whatsapp-float svg, .whatsapp-float i[data-lucide] {
  width: 1.75rem;
  height: 1.75rem;
}

/* Modal container wrapper (used in subpage modals) */
.modal-container {
  position: relative;
  z-index: 10;
  max-width: 28rem;
  width: 100%;
}
.modal-container .modal-content {
  position: relative;
  transform: none;
}

/* ==========================================================================
   Equipment Carousel (Homepage)
   ========================================================================== */
.equip-carousel-wrap {
  position: relative;
}
.equip-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.equip-carousel::-webkit-scrollbar { display: none; }
.equip-carousel .equip-card {
  flex: 0 0 calc(50% - 0.5rem);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .equip-carousel .equip-card { flex: 0 0 calc(25% - 0.75rem); }
}
@media (min-width: 1024px) {
  .equip-carousel .equip-card { flex: 0 0 calc(16.666% - 0.833rem); }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  cursor: pointer;
}
.carousel-arrow:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.carousel-arrow-left { left: -0.5rem; }
.carousel-arrow-right { right: -0.5rem; }
@media (min-width: 640px) {
  .carousel-arrow-left { left: -1.25rem; }
  .carousel-arrow-right { right: -1.25rem; }
}

/* 404 Page */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  text-align: center;
}
.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
}

/* Contact page responsive */
@media (max-width: 1023px) {
  .contato-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .contato-location { grid-template-columns: 1fr !important; }
}
@media (max-width: 639px) {
  .contato-cards { grid-template-columns: 1fr !important; }
}

/* Equipment "Onde Usar" & Detail page responsive */
@media (max-width: 1023px) {
  .onde-usar-grid { grid-template-columns: 1fr !important; }
  .detail-hero-grid { grid-template-columns: 1fr !important; }
  .detail-others-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 639px) {
  .equip-listing-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 639px) {
  .detail-others-grid { grid-template-columns: 1fr !important; }
  .detail-specs-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Vendas pages responsive */
@media (max-width: 1023px) {
  .vendas-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 639px) {
  .vendas-grid { grid-template-columns: 1fr !important; }
}

/* Serviços pages responsive */
@media (max-width: 1023px) {
  .servicos-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .servicos-grid-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 639px) {
  .servicos-grid-4 { grid-template-columns: 1fr !important; }
}

/* Blog post nav responsive */
@media (min-width: 640px) {
  .blog-nav-grid { flex-direction: row !important; }
}

/* Sobre page responsive */
@media (max-width: 1023px) {
  .sobre-grid-2 { grid-template-columns: 1fr !important; }
}

/* Materiais page responsive */
@media (max-width: 1023px) {
  .materiais-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 639px) {
  .materiais-grid { grid-template-columns: 1fr !important; }
}

/* Onde Atendemos page responsive */
@media (max-width: 1023px) {
  .onde-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 639px) {
  .onde-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Segurança page responsive */
@media (max-width: 1023px) {
  .seg-criterios-grid { grid-template-columns: 1fr !important; }
  .seg-logos-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 767px) {
  .seg-depoimentos-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 639px) {
  .seg-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .seg-padroes-grid { grid-template-columns: 1fr !important; }
  .seg-logos-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Canal de Etica responsive */
@media (max-width: 1023px) {
  .etica-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 639px) {
  .etica-cards-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   Homepage responsive overrides
   ========================================================================== */
/* Diferenciais 4-col grid */
@media (max-width: 1023px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 639px) {
  .diferenciais-grid { grid-template-columns: 1fr !important; }
}

/* About 2-col layout */
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* About checklist */
@media (max-width: 639px) {
  .about-checklist { grid-template-columns: 1fr !important; }
}

/* Contact 2-col layout */
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* Contact info cards */
@media (max-width: 639px) {
  .contact-info-grid { grid-template-columns: 1fr !important; }
}

/* Form name/phone row */
@media (max-width: 639px) {
  .form-row-grid { grid-template-columns: 1fr !important; }
}

/* Blog listing grid */
@media (max-width: 639px) {
  .blog-grid { grid-template-columns: 1fr !important; }
}

/* Equipment spec 3-col grids (small stat cards) */
@media (max-width: 374px) {
  .equip-spec-grid { grid-template-columns: 1fr !important; }
}

/* Equipment inner checklist 2-col */
@media (max-width: 639px) {
  .equip-checklist-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   29. New Section Styles — Site Restructuring V2.0
   ========================================================================== */

/* Como Alugar Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.steps-grid .step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--gradient-orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
@media (max-width: 1023px) { .steps-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .steps-grid { grid-template-columns: 1fr !important; } }

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 700;
}
.comparison-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--muted); }
.comparison-table .check-icon { color: #16a34a; }
.comparison-table .x-icon { color: #dc2626; }

/* Numbers / Counters */
.numbers-section {
  background: var(--primary);
  color: var(--primary-foreground);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.number-item .number-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.number-item .number-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  opacity: 0.9;
}
@media (max-width: 1023px) { .numbers-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .numbers-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem; } }

/* FAQ Accordion */
.faq-category { margin-bottom: 2rem; }
.faq-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--card);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  background: transparent;
}
.faq-question:hover { background: var(--muted); }
.faq-question .chevron-icon {
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.active .faq-question .chevron-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Cases Cards */
.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.case-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.case-card-header {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem 2rem;
}
.case-card-body { padding: 2rem; }
.case-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(25, 95%, 53%, 0.1);
  color: var(--secondary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1023px) { .cases-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .cases-grid { grid-template-columns: 1fr !important; } }

/* Segment Cards */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.segment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.segment-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.segment-card.featured {
  border-color: var(--secondary);
  background: hsla(25, 95%, 53%, 0.05);
}
.segment-card .segment-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsla(25, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
@media (max-width: 1023px) { .segments-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .segments-grid { grid-template-columns: 1fr !important; } }

/* Newsletter Section */
.newsletter-section {
  background: var(--muted);
}
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 32rem;
}
.newsletter-form input {
  flex: 1;
}
@media (max-width: 639px) {
  .newsletter-form { flex-direction: column; }
}

/* CTA Final */
.cta-final-section {
  background: var(--gradient-orange);
  color: white;
  text-align: center;
}
.cta-final-section h2 { color: white; }
.cta-final-section .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cta-final-section .btn-white:hover {
  background: hsla(0,0%,100%,0.9);
  transform: translateY(-2px);
}
.cta-final-section .btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cta-final-section .btn-outline-white:hover {
  background: hsla(0,0%,100%,0.15);
  transform: translateY(-2px);
}

/* Segment Page Hero */
.segment-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 5rem 0 4rem;
}
.segment-hero .badge {
  display: inline-block;
  background: hsla(25, 95%, 53%, 0.2);
  color: var(--secondary);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
/* Pain Points Grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pain-card .pain-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(25, 95%, 53%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 1023px) { .pain-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .pain-grid { grid-template-columns: 1fr !important; } }

/* Norms badges */
.norm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.norms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Carreiras */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (max-width: 1023px) { .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .benefits-grid { grid-template-columns: 1fr !important; } }

/* Cotação Rápida Bar */
.cotacao-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-strong);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}
.cotacao-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
.cotacao-form select,
.cotacao-form input {
  width: 100%;
}
@media (max-width: 767px) {
  .cotacao-form { grid-template-columns: 1fr !important; }
  .cotacao-bar { margin-top: -2rem; }
}

/* Blog Preview Grid */
@media (max-width: 1023px) { .blog-preview-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .blog-preview-grid { grid-template-columns: 1fr !important; } }

/* Newsletter Grid */
@media (max-width: 767px) { .newsletter-grid { grid-template-columns: 1fr !important; text-align: center; } }

/* Diferenciais 3-col responsive */
@media (max-width: 1023px) { .diferenciais-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 639px) { .diferenciais-grid { grid-template-columns: 1fr !important; } }

/* 30. Search Overlay */
.search-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-start; justify-content: center; padding-top: 10vh; }
.search-overlay.hidden { display: none; }
.search-overlay-backdrop { position: absolute; inset: 0; background: hsla(0,0%,0%,0.6); backdrop-filter: blur(4px); }
.search-overlay-content { position: relative; background: var(--card); border-radius: 1rem; padding: 2rem; width: 90%; max-width: 640px; box-shadow: 0 24px 48px hsla(0,0%,0%,0.3); }
.search-results { max-height: 40vh; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 0.5rem; text-decoration: none; color: var(--foreground); transition: background 0.15s; }
.search-result-item:hover { background: var(--muted); }
.search-result-item .result-title { font-weight: 600; font-size: 0.95rem; }
.search-result-item .result-desc { font-size: 0.8rem; color: var(--muted-foreground); }
.search-quick-link { display: inline-block; padding: 0.4rem 1rem; background: var(--muted); color: var(--foreground); border-radius: 2rem; font-size: 0.85rem; text-decoration: none; transition: background 0.15s, color 0.15s; }
.search-quick-link:hover { background: var(--secondary); color: white; }

/* 31. Case Related Section (for segment pages) */
.case-related { background: var(--primary); padding: 3rem; border-radius: 1rem; color: var(--primary-foreground); }
.case-related h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.case-related .case-related-content { display: flex; gap: 2rem; align-items: center; }
.case-related .case-related-text { flex: 1; }
.case-related .case-metric { display: inline-flex; align-items: center; gap: 0.5rem; background: hsla(25,95%,53%,0.2); padding: 0.4rem 1rem; border-radius: 2rem; font-weight: 600; color: var(--secondary); font-size: 0.9rem; margin-top: 0.75rem; }
@media (max-width: 767px) { .case-related .case-related-content { flex-direction: column; } }
