/* ==========================================================================
   GPT COBERTURAS - SISTEMA DE DESIGN & ESTILOS PRINCIPAIS
   Paleta: Preto/Grafite (#111315, #181B1E), Vermelho (#D92323), Branco, Prata Metálico
   ========================================================================== */

:root {
  /* Marcador de versao do build. O index.html le esta variavel para
     detectar CSS desatualizado servido pela hospedagem. Ao publicar
     uma alteracao, troque este valor e o ?v= das tags no index.html. */
  --css-build: "20260910b";

  /* Cores Principais */
  --color-primary: #D92323;
  --color-primary-hover: #B91C1C;
  --color-primary-light: #FEF2F2;
  --color-primary-alpha: rgba(217, 35, 35, 0.12);
  
  --color-dark: #111315;
  --color-dark-surface: #181B1F;
  --color-dark-elevated: #22262C;
  --color-dark-border: #2E343D;
  
  --color-metal: #94A3B8;
  --color-metal-light: #E2E8F0;
  --color-metal-border: #CBD5E1;
  
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-subtle: #F1F5F9;
  
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-white: #FFFFFF;
  
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;

  /* Tipografia & Espaçamento */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(217, 35, 35, 0.25);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 96px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Container & Grid Utilitários */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding: 4.5rem 0;
  position: relative;
  scroll-margin-top: 110px;
  background-color: var(--color-bg);
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-subtle {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-metal-light);
  border-bottom: 1px solid var(--color-metal-light);
}

/* Tipografia Utilitária */
.section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: none !important; /* Removidas as tags em formato de botão acima dos títulos conforme solicitado */
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-wrap: balance;
}

.section-dark .section-subtitle {
  color: var(--color-metal);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 35, 35, 0.45);
}

.btn-secondary {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #2A3038;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-metal-border);
}

.btn-outline:hover {
  border-color: var(--color-dark);
  background-color: var(--color-bg-subtle);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO FIXA
   ========================================================================== */
/* ==========================================================================
   HEADER FLUTUANTE MODERNO (FLOATING DARK GLASSMORPHISM HEADER)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 1280px;
  height: var(--header-height);
  background-color: rgba(13, 16, 22, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  z-index: 1000;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 0.5rem;
}

.site-header.scrolled {
  top: 0.75rem;
  height: 80px;
  background-color: rgba(10, 13, 18, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 42px -6px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0.75rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.25rem 0;
}

.logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .logo-img {
  height: 64px;
}

/* Campo de Navegação Central: Cápsula Escura Translúcida */
.main-nav {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.45rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.site-header.scrolled .main-nav {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.14);
}

.nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.45);
}

.nav-link.active::after {
  display: none;
}

.menu-backdrop {
  display: none;
}

.mobile-nav-footer {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn-whatsapp {
  padding: 0.75rem 1.45rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.header-actions .btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background-color: #22BF5B;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (COM IMAGEM DE FUNDO FULL-WIDTH)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 97vh;
  margin: 0;
  padding: calc(var(--header-height) + 2.5rem) 0 8.5rem 0;
  background: 
    linear-gradient(90deg, rgba(10, 13, 16, 0.95) 0%, rgba(12, 15, 19, 0.88) 48%, rgba(12, 15, 19, 0.45) 100%),
    url('../images/hero_bg.jpg') center right / cover no-repeat;
  color: var(--color-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 25%, rgba(217, 35, 35, 0.22) 0%, transparent 60%);
  pointer-events: none;
}

/* Divisor com Ponta no Meio (Estilo Telhado / Cumeeira Angular Marcante) */
.hero-curve-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 85px;
  pointer-events: none;
  z-index: 5;
  line-height: 0;
  filter: drop-shadow(0 -6px 16px rgba(0, 0, 0, 0.25));
}

.hero-curve-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 2rem) 0 6.5rem 0;
  }
  .hero-curve-divider {
    height: 45px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Coluna Direita: Vídeo sem Fundo / Flutuante */
.hero-video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: transparent;
  margin: 0 auto;
}

.hero-video-player {
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.65));
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-video-wrapper {
    margin-top: 0.5rem;
    min-height: 240px;
  }
  .hero-video-player {
    max-width: 100%;
    max-height: 380px;
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .hero-video-wrapper {
    min-height: 200px;
  }
  .hero-video-player {
    max-height: 300px;
    min-height: 200px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FECACA;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  color: var(--color-primary);
}

.hero-headline {
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-headline span.highlight {
  color: #FF4D4D;
  position: relative;
  display: inline-block;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Prova Social Abaixo dos Botões da Hero */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-social-proof:hover {
  background: transparent;
  border: none;
  transform: none;
}

.trusted-avatars {
  display: flex;
  align-items: center;
}

.trusted-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #0F1216;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.trusted-avatar:first-child {
  margin-left: 0;
}

.trusted-avatar:hover {
  transform: scale(1.18) translateY(-2px);
  z-index: 5;
}

.hero-social-text {
  font-size: 0.92rem;
  color: #E2E8F0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-social-text strong {
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #FF5A5A;
  margin-right: 0.2rem;
}

@media (max-width: 640px) {
  .hero-social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0;
  }
}

/* ==========================================================================
   CARD FLUTUANTE DE DIFERENCIAIS (SOBREPOSIÇÃO HERO & CATÁLOGO)
   ========================================================================== */
.hero-overlap-wrapper {
  position: relative;
  z-index: 30;
  margin-top: -6.75rem;
  margin-bottom: 3.5rem;
}

.hero-features-floating {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  padding: 2.25rem 3rem;
  background: linear-gradient(135deg, #E52E2E 0%, #D92323 50%, #B91C1C 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -10px rgba(217, 35, 35, 0.45), 0 15px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-features-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px -10px rgba(217, 35, 35, 0.55), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.hero-features-floating .hero-feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-features-floating .hero-feature-item .icon {
  width: 32px;
  height: 32px;
  color: #FFFFFF;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  margin-bottom: 0.45rem;
}

.hero-features-floating .hero-feature-item strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-features-floating .hero-feature-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero-overlap-wrapper {
    margin-top: -3.5rem;
    margin-bottom: 2rem;
  }
  .hero-features-floating {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   PRODUTOS (3 CARDS GRANDES)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: #0E1217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 77, 0.45);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(217, 35, 35, 0.22);
}

.product-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #07090C;
}

.product-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, rgba(14, 18, 23, 0.75) 55%, #0E1217 100%);
  pointer-events: none;
  z-index: 2;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(10, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 3;
}

.product-content {
  padding: 1.25rem 1.75rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #0E1217;
  position: relative;
  z-index: 3;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 0.45rem;
  letter-spacing: 0.08em;
}

.product-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FF4D4D; /* Nome da telha em vermelho */
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.product-headline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF; /* Headline descritiva em branco */
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.product-features-list {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.product-features-list li {
  font-size: 0.875rem;
  color: #CBD5E1; /* Demais informações em branco/cinza claro */
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}

.product-features-list li svg {
  color: #FF5A5A; /* Ícone de check em vermelho */
  flex-shrink: 0;
  margin-top: 2px;
}

.product-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-footer .btn {
  width: 100%;
}

.product-card .btn-outline-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F1F5F9;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .btn-outline-dark svg {
  color: #94A3B8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.product-card .btn-outline-dark:hover {
  background: rgba(217, 35, 35, 0.16);
  border-color: #D92323;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(217, 35, 35, 0.25);
  transform: translateY(-2px);
}

.product-card .btn-outline-dark:hover svg {
  color: #FF4D4D;
  transform: scale(1.15);
}

.product-card .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .btn-secondary svg {
  color: #22C55E;
  transition: transform 0.25s ease;
}

.product-card .btn-secondary:hover {
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(217, 35, 35, 0.45);
  transform: translateY(-2px);
}

.product-card .btn-secondary:hover svg {
  color: #FFFFFF;
  transform: scale(1.1);
}

/* ==========================================================================
   AJUDA PARA ESCOLHER (ACCORDION GALLERY INTERATIVO)
   ========================================================================== */
#ajuda-escolher {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 7rem 0;
}

.fractal-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

#ajuda-escolher::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(217, 35, 35, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.accordion-gallery {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  height: 535px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  margin-top: 1rem;
}

.accordion-item {
  position: relative;
  flex: 1;
  min-width: 64px;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: flex 0.55s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: flex;
}

.accordion-item.active {
  flex: 4.8; /* Expande para ~52% do espaço total relativo aos 5 itens recolhidos */
  border-color: rgba(217, 35, 35, 0.65);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(217, 35, 35, 0.25);
}

.accordion-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item:hover .accordion-bg,
.accordion-item.active .accordion-bg {
  transform: scale(1.06);
}

.accordion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.35) 0%, rgba(15, 18, 22, 0.78) 55%, rgba(12, 15, 19, 0.96) 100%);
  transition: background 0.4s ease;
}

.accordion-item.active .accordion-overlay {
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.15) 0%, rgba(15, 18, 22, 0.75) 45%, rgba(10, 13, 16, 0.98) 100%);
}

.accordion-collapsed-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.75rem 0.5rem;
  z-index: 2;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease 0.15s, transform 0.25s ease 0.15s;
  pointer-events: none;
}

.accordion-item.active .accordion-collapsed-label {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.1s ease 0s, transform 0.1s ease 0s;
  pointer-events: none;
}

.collapsed-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCA5A5;
  margin-bottom: 1.25rem;
}

.collapsed-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #E2E8F0;
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.accordion-expanded-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-width: 340px;
  padding: 2.25rem 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease 0s; /* Sai imediatamente quando fecha */
}

.accordion-item.active .accordion-expanded-content {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease 0.15s; /* Aparece com timing perfeito após expandir */
}

/* Transições escalonadas suaves dos elementos de texto na expansão */
.accordion-expanded-content > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-expanded-content > * {
  opacity: 1;
  transform: translateY(0);
}

.accordion-item.active .accordion-expanded-content .accordion-badge {
  transition-delay: 0.18s;
}

.accordion-item.active .accordion-expanded-content .accordion-title {
  transition-delay: 0.24s;
}

.accordion-item.active .accordion-expanded-content .accordion-desc {
  transition-delay: 0.30s;
}

.accordion-item.active .accordion-expanded-content .btn {
  transition-delay: 0.36s;
}

.accordion-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.accordion-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.accordion-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.55;
  max-width: 480px;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .choice-selector-wrap {
    padding: 2rem 1.25rem;
  }
  .accordion-gallery {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }
  .accordion-item {
    min-height: 72px;
    height: 72px;
    flex: none !important;
  }
  .accordion-item.active {
    height: 330px;
  }
  .accordion-collapsed-label {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 1.25rem 1.5rem;
  }
  .collapsed-icon {
    margin-bottom: 0;
    margin-right: 1rem;
  }
  .collapsed-text {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* ==========================================================================
   VERSATILIDADE / APLICAÇÕES (HERO-3 / 21ST.DEV STYLE SHOWCASE)
   ========================================================================== */
.versatility-tabs-nav {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 6px 8px;
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  margin-top: 1.75rem;
  max-width: 100%;
  width: auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.v-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: #64748B;
  font-size: 0.835rem;
  font-weight: 700;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.v-tab-btn:hover {
  color: var(--color-dark);
  background-color: rgba(255, 255, 255, 0.85);
}

.v-tab-btn.active {
  background-color: var(--color-dark);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.v-tab-btn.active svg {
  color: #FF5A5A;
}

.versatility-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  transition: all 0.4s ease;
}

.v-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-column: span 2; /* 33.33% de largura na linha inferior */
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--color-metal-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.3s ease, opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.v-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(217, 35, 35, 0.4);
}

.v-card-highlight {
  grid-column: span 3; /* 50% de largura na linha superior (Destaques) */
  min-height: 420px;
}

/* Ajuste refinado do grid quando um segmento específico está selecionado */
.versatility-showcase-grid.is-filtered .v-card {
  grid-column: span 3;
}

.versatility-showcase-grid.is-filtered.single-card .v-card {
  grid-column: 2 / span 4;
}

@media (max-width: 992px) {
  .versatility-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .v-card-highlight,
  .versatility-showcase-grid.is-filtered .v-card,
  .versatility-showcase-grid.is-filtered.single-card .v-card {
    grid-column: span 2;
  }
  .v-card {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .versatility-showcase-grid {
    grid-template-columns: 1fr;
  }
  .v-card-highlight,
  .v-card,
  .versatility-showcase-grid.is-filtered .v-card,
  .versatility-showcase-grid.is-filtered.single-card .v-card {
    grid-column: span 1;
    min-height: 340px;
  }
}

.v-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.v-card:hover .v-card-bg {
  transform: scale(1.05);
}

.v-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.25) 0%, rgba(15, 18, 22, 0.8) 55%, rgba(10, 13, 16, 0.98) 100%);
  transition: background 0.4s ease;
}

.v-card:hover .v-card-overlay {
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.15) 0%, rgba(15, 18, 22, 0.72) 45%, rgba(8, 10, 13, 0.98) 100%);
}

.v-card-content {
  position: relative;
  z-index: 2;
  padding: 2.25rem 2rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.v-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.v-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F8FAFC;
}

.v-badge-recom {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background-color: rgba(217, 35, 35, 0.2);
  border: 1px solid rgba(217, 35, 35, 0.45);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFA5A5;
}

.v-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
}

.v-card-highlight .v-title {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}

.v-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.55;
  max-width: 600px;
}

.v-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.v-specs-pills span {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: #E2E8F0;
}

.v-card-footer {
  margin-top: 0.75rem;
}

.v-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #FF6B6B;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.v-link:hover {
  color: #FFF;
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .versatility-tabs-nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .versatility-tabs-nav::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   POR QUE GPT COBERTURAS
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.why-card {
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(217, 35, 35, 0.4);
  transform: translateY(-4px);
  background-color: var(--color-dark-elevated);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(217, 35, 35, 0.15);
  color: #FF6B6B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
}

.why-desc {
  font-size: 0.9rem;
  color: var(--color-metal);
  line-height: 1.55;
}

/* ==========================================================================
   COMO FUNCIONA (STACKED PROCESS DECK - IDÊNTICO À REFERÊNCIA)
   ========================================================================== */
.process-deck {
  display: flex;
  gap: 1rem;
  width: 100%;
  height: 380px;
  position: relative;
}

.process-card {
  position: relative;
  flex: 1;
  min-width: 85px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transition: flex 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s ease, box-shadow 0.4s ease;
  will-change: flex;
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-card.active {
  flex: 4.2; /* Expande para ocupar o destaque principal */
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

/* Cores das 4 Lâminas (Vermelho GPT Coberturas, Branco, Grafite, Preto) */
.process-card.card-orange,
.process-card.card-red {
  background: linear-gradient(135deg, #E52E2E 0%, #D92323 50%, #B91C1C 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 45px -10px rgba(217, 35, 35, 0.45);
}

.process-card.card-white {
  background: #ECEFF3;
  color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.process-card.card-gray {
  background: #1C212A;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-card.card-black {
  background: #090B0E;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Conteúdo Recolhido (Vertical Tab) */
.p-card-collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.process-card.active .p-card-collapsed {
  opacity: 0;
  pointer-events: none;
}

.p-card-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  opacity: 0.7;
}

.p-card-vtext {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Conteúdo Expandido (Texto Sempre na Frente) */
.p-card-expanded {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.15s;
  z-index: 5;
}

.process-card.active .p-card-expanded {
  opacity: 1;
  pointer-events: auto;
}

.p-card-body {
  position: relative;
  z-index: 10; /* Texto sempre na frente de fotos e overlays */
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--color-white);
}

.card-white .p-step-badge {
  background: rgba(15, 23, 42, 0.1);
  color: #0F172A;
}

.p-card-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.card-white .p-card-title {
  text-shadow: none;
}

.p-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.card-white .p-card-desc {
  color: #334155;
  text-shadow: none;
}

/* Imagem à Direita com Fade Gradient Lateral */
.p-card-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  z-index: 1; /* Abaixo do texto */
}

.p-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-card:hover .p-card-img {
  transform: scale(1.08);
}

.p-card-fade-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Fades específicos por tema de cor */
.card-orange .p-card-fade-overlay,
.card-red .p-card-fade-overlay {
  background: linear-gradient(90deg, #D92323 0%, rgba(217, 35, 35, 0.92) 25%, rgba(217, 35, 35, 0.25) 70%, transparent 100%);
}

.card-white .p-card-fade-overlay {
  background: linear-gradient(90deg, #ECEFF3 0%, rgba(236, 239, 243, 0.95) 25%, rgba(236, 239, 243, 0.25) 70%, transparent 100%);
}

.card-gray .p-card-fade-overlay {
  background: linear-gradient(90deg, #1C212A 0%, rgba(28, 33, 42, 0.92) 25%, rgba(28, 33, 42, 0.2) 70%, transparent 100%);
}

.card-black .p-card-fade-overlay {
  background: linear-gradient(90deg, #090B0E 0%, rgba(9, 11, 14, 0.94) 25%, rgba(9, 11, 14, 0.2) 70%, transparent 100%);
}

@media (max-width: 900px) {
  .process-deck {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }
  .process-card {
    min-height: 70px;
    height: 70px;
    flex: none !important;
    border-radius: var(--radius-lg);
  }
  .process-card.active {
    height: 320px;
  }
  .p-card-collapsed {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 1.25rem 1.75rem;
  }
  .p-card-num {
    margin-right: 1.25rem;
  }
  .p-card-vtext {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .p-card-expanded {
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .p-card-image-wrap {
    opacity: 0.25;
    width: 100%;
  }
}

.steps-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

/* ==========================================================================
   PROJETOS (COVERFLOW GALLERY 3D - ORIGINKIT)
   ========================================================================== */
#projetos {
  padding: 6rem 0 6.5rem 0;
  position: relative;
  overflow: hidden;
}

.coverflow-3d-wrapper {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  overflow: visible;
  outline: none;
  padding: 1.5rem 0;
  user-select: none;
  margin-top: 1rem;
}

.coverflow-stage {
  position: relative;
  width: 540px;
  height: 390px;
  transform-style: preserve-3d;
  margin-bottom: 2.5rem;
}

.coverflow-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: center center;
  transform: translate(-50%, -50%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  background-color: #111418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.coverflow-card.active {
  cursor: default;
  border-color: rgba(217, 35, 35, 0.5);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(217, 35, 35, 0.2);
}

.coverflow-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(10, 13, 16, 0.85) 75%, rgba(10, 13, 16, 0.98) 100%);
  pointer-events: none;
}

.coverflow-content {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.coverflow-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(217, 35, 35, 0.25);
  border: 1px solid rgba(217, 35, 35, 0.5);
  color: #FFA5A5;
}

.coverflow-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.coverflow-subtitle {
  color: #CBD5E1;
  font-size: 0.875rem;
  line-height: 1.4;
}

.coverflow-dim {
  position: absolute;
  inset: 0;
  background-color: #000000;
  opacity: 0.55;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.coverflow-card.active .coverflow-dim {
  opacity: 0;
}

/* Controles */
.coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 30;
}

.coverflow-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-metal-light);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

.coverflow-nav-btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  transform: scale(1.08);
}

.coverflow-indicators {
  display: flex;
  gap: 0.5rem;
}

.coverflow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.coverflow-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .coverflow-3d-wrapper {
    height: 440px;
    min-height: 400px;
  }
  .coverflow-stage {
    width: 320px;
    height: 280px;
  }
  .coverflow-card {
    width: 320px;
    height: 280px;
  }
  .coverflow-content {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }
  .coverflow-title {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   ÁREA TÉCNICA
   ========================================================================== */
.technical-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-metal-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tech-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tech-item {
  background-color: var(--color-dark);
  border: 1px solid #222936;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 4px 12px rgba(15, 18, 22, 0.08);
  transition: var(--transition);
}

.tech-item:hover {
  border-color: rgba(217, 35, 35, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 18, 22, 0.12);
}

.tech-item-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FF5A5A;
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
}

.tech-item-desc {
  font-size: 0.9375rem;
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.45;
}

.tech-disclaimer-banner {
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  border: 1px solid #991B1B;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 10px 25px -5px rgba(217, 35, 35, 0.35);
  color: var(--color-white);
}

.tech-disclaimer-banner h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.tech-disclaimer-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.tech-disclaimer-banner .btn {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.tech-disclaimer-banner .btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   FAQ (ACORDEÃO)
   ========================================================================== */
#faq {
  padding: 5rem 0 16rem 0; /* Espaço seguro para receber a sobreposição do card */
  background-color: var(--color-bg-alt);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-metal-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(217, 35, 35, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: rgba(217, 35, 35, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(217, 35, 35, 0.06);
}

.faq-trigger {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  background-color: transparent;
}

.faq-trigger:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-metal);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
  padding-bottom: 1.5rem;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SEÇÃO DE ORÇAMENTO (CARD FLUTUANTE SOBREPOSTO 50% NO FAQ E NO RODAPÉ)
   ========================================================================== */
#orcamento {
  position: relative;
  z-index: 25;
  margin-top: -12rem; /* Sobreposição balanceada (50% sobre o FAQ e 50% para a transição) */
  padding-top: 0;
  padding-bottom: 4rem;
  background: transparent;
  width: 100%;
}

.quote-section-wrap {
  background: linear-gradient(135deg, #111418 0%, #1B2028 100%);
  border-radius: 32px; /* Pontas curvadas amplas e modernas */
  padding: 4rem 3.5rem;
  color: var(--color-white);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.quote-section-wrap:hover {
  box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(217, 35, 35, 0.15);
}

.quote-section-wrap::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(217, 35, 35, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  width: 100%;
}

.quote-info {
  width: 100%;
  min-width: 0;
}

.quote-info h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.quote-info p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--color-metal);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.quote-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.quote-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #E2E8F0;
  width: 100%;
}

.quote-benefit-item span {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.quote-benefit-item svg {
  color: #FF6B6B;
  flex-shrink: 0;
  margin-top: 2px;
}

.quote-form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  color: var(--color-text);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  #faq {
    padding-bottom: 9.5rem;
  }
  #orcamento {
    margin-top: -7.5rem;
    padding-bottom: 3rem;
  }
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .quote-section-wrap {
    padding: 2.5rem 1.75rem;
    border-radius: 24px;
  }
  .quote-form-card {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  #faq {
    padding-bottom: 7.5rem;
  }
  #orcamento {
    margin-top: -5.5rem;
    padding-bottom: 2.5rem;
  }
  .quote-section-wrap {
    padding: 2rem 1.15rem;
    border-radius: 20px;
  }
  .quote-form-card {
    padding: 1.65rem 1.15rem;
    border-radius: 16px;
  }
  .quote-info h2 {
    font-size: 1.65rem;
    text-align: center;
  }
  .quote-info p {
    font-size: 0.92rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .quote-benefits-list {
    margin-bottom: 1.75rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1.5px solid var(--color-metal-border);
  border-radius: var(--radius-md);
  color: var(--color-dark);
  background-color: var(--color-bg);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(217, 35, 35, 0.15);
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

.form-help-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* ==========================================================================
   SELETORES PERSONALIZADOS PREMIUM (CUSTOM SELECT)
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.form-control-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  border: 1.5px solid var(--color-metal-border);
  border-radius: var(--radius-md);
  color: var(--color-dark);
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.custom-select-trigger:hover {
  border-color: #CBD5E1;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.custom-select-wrapper.open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(217, 35, 35, 0.18), 0 4px 14px rgba(217, 35, 35, 0.08);
}

.custom-select-selected {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-dark);
  font-weight: 600;
}

.custom-select-placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.custom-select-arrow {
  color: var(--color-metal);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0.45rem;
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Scrollbar estilizada */
.custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.custom-select-option:last-child {
  margin-bottom: 0;
}

.custom-select-option:hover {
  background-color: rgba(217, 35, 35, 0.07);
  color: var(--color-primary);
  transform: translateX(2px);
}

.custom-select-option.selected {
  background-color: rgba(217, 35, 35, 0.12);
  color: var(--color-primary);
  font-weight: 700;
}

.custom-select-opt-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.custom-select-opt-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.custom-select-opt-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-opt-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  display: inline-block;
}

.custom-select-color-dot.dot-consultor {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  border: 1.5px solid #2563EB;
}

.custom-select-color-dot.dot-rainbow {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #FFE66D 100%);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.custom-select-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.custom-select-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background-color: #F1F5F9;
  color: #475569;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.custom-select-option.selected .custom-select-badge {
  background-color: rgba(217, 35, 35, 0.18);
  color: var(--color-primary);
}

.custom-select-check {
  color: var(--color-primary);
  flex-shrink: 0;
  display: none;
}

.custom-select-option.selected .custom-select-check {
  display: flex;
  align-items: center;
}

/* Fallback estilizado para qualquer elemento select nativo */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23D92323' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
  padding-right: 2.75rem;
  cursor: pointer;
}

/* ==========================================================================
   BLOG / CONTEÚDOS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-metal-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.blog-category-tag {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.blog-read-more:hover {
  color: var(--color-primary-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background-color: #0D0E11;
  color: var(--color-white);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--color-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-metal);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem 0;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--color-metal);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--color-metal);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  color: #FF6B6B;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--color-metal);
}

.footer-developer-credit {
  font-size: 0.8125rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lonc-credit-link {
  color: #94A3B8;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lonc-credit-link:hover {
  color: #FF6B6B;
  text-shadow: 0 0 10px rgba(217, 35, 35, 0.4);
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO (FLUTUANTE ACIMA DO CHATBOT)
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: calc(2rem + 62px + 14px); /* Exatamente acima do botão de chat (62px + 14px de espaçamento) */
  right: calc(2rem + 7px); /* Alinhamento centralizado com o botão de chat de 62px */
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: #1A1E24;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background-color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 25px rgba(217, 35, 35, 0.45);
}

.back-to-top-btn svg {
  transition: transform 0.25s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top-btn {
    bottom: calc(1.25rem + 56px + 12px);
    right: calc(1.25rem + 6px);
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   CHATBOT FLUTUANTE (ASSISTENTE GPT COBERTURAS) - CONSOLIDADO
   ========================================================================== */
.chatbot-toggle-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D92323 0%, #991B1B 100%);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(217, 35, 35, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-toggle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 32px rgba(217, 35, 35, 0.6);
}

.chatbot-toggle-btn:active {
  transform: scale(0.95);
}

.chatbot-badge-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #22C55E;
  border: 2.5px solid #0F172A;
  border-radius: 50%;
  box-shadow: 0 0 10px #22C55E;
  animation: pingGreen 2s infinite ease-in-out;
}

@keyframes pingGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
}

.chatbot-modal {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 400px;
  max-width: calc(100vw - 2.5rem);
  height: 560px;
  max-height: calc(100vh - 8rem);
  background: #0B0F17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 10005;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: #2A3447 #0A0D14;
}

.chatbot-modal.open,
.chatbot-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  transform: translateY(0) scale(1) !important;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #161D2B 0%, #0F1522 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D92323 0%, #991B1B 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 35, 35, 0.4);
}

.chat-header-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.chat-status {
  font-size: 0.725rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 6px #22C55E;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chat-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   CHAT BODY & CUSTOM SCROLLBAR DESIGN
   ========================================================================== */
.chat-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: #07090E;
  scrollbar-width: thin;
  scrollbar-color: #2A3447 #07090E;
}

/* Chrome, Edge, Safari Custom Dark Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-track {
  background: #07090E;
  border-radius: 8px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #2A3447;
  border-radius: 8px;
  border: 1px solid #07090E;
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: #D92323;
}

.chat-bubble {
  max-width: 90%;
  padding: 0.85rem 1.05rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  animation: chatFade 0.25s ease forwards;
  word-break: break-word;
}

.chat-bubble:has(.chat-summary-box) {
  max-width: 100%;
  width: 100%;
}

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

.chat-bubble.bot {
  align-self: flex-start;
  background: #141A26;
  color: #F1F5F9;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.35);
  font-weight: 500;
}

.chat-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.chat-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  color: #E2E8F0;
  font-size: 0.825rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.chat-option-btn:hover {
  background: rgba(217, 35, 35, 0.2);
  border-color: #D92323;
  color: #FFFFFF;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(217, 35, 35, 0.25);
}

.chat-option-btn:active {
  transform: scale(0.98);
}

/* Primeira opcao: acao principal do chat, em vermelho da marca. */
.chat-option-btn--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.3);
}

.chat-option-btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 20px rgba(217, 35, 35, 0.45);
}

/* Ultima opcao: atalho para o WhatsApp, no verde do proprio canal. */
.chat-option-btn--whatsapp {
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.chat-option-btn--whatsapp:hover {
  background: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.chat-footer {
  padding: 0.85rem 1rem;
  background: #0B0F17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: #141A26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  color: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.chat-input:focus {
  border-color: #D92323;
  background: #182030;
  box-shadow: 0 0 0 3px rgba(217, 35, 35, 0.15);
}

.chat-input::placeholder {
  color: #64748B;
}

.chat-send-btn {
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  border: none;
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 35, 35, 0.35);
}

.chat-send-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(217, 35, 35, 0.5);
}

.chat-send-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   CHAT SUMMARY CARD & CTA
   ========================================================================== */
.chat-summary-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.95rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  width: 100%;
  box-sizing: border-box;
}

.chat-summary-header {
  font-weight: 700;
  color: #22C55E;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.chat-summary-icon {
  font-size: 1rem;
}

.chat-summary-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.825rem;
  line-height: 1.6;
  color: #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chat-summary-details li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.2rem;
}

.chat-summary-details li span {
  color: #94A3B8;
}

.chat-summary-details li strong {
  color: #FFFFFF;
  text-align: right;
}

.chat-summary-action {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-summary-wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: normal !important;
  line-height: 1.35;
  box-sizing: border-box;
}

.chat-summary-wa-btn span {
  display: inline;
  white-space: normal;
  line-height: 1.35;
}

.chat-summary-wa-btn svg {
  flex-shrink: 0;
}

.chat-summary-wa-btn:hover {
  background: linear-gradient(135deg, #4ADE80 0%, #22C55E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
  color: #FFFFFF !important;
}

.chat-summary-wa-btn:active {
  transform: scale(0.98);
}

.chat-restart-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.775rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.chat-restart-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   PÁGINA PRINCIPAL ONE-PAGE
   ========================================================================== */
main#main {
  display: block;
  width: 100%;
}

.page-hero {
  background: linear-gradient(135deg, #101317 0%, #1C2027 100%);
  color: var(--color-white);
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--color-dark-border);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.product-detail-section {
  padding: 5rem 0;
}

.composition-layers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.layer-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-metal-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.layer-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.layer-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.layer-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   MODAL LEGAL (PRIVACIDADE, TERMOS DE USO, COOKIES - DESIGN PREMIUM)
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 13, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-backdrop.open {
  opacity: 1 !important;
  pointer-events: all !important;
  visibility: visible !important;
}

.legal-modal-box {
  background-color: #FFFFFF;
  color: #1E293B;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-backdrop.open .legal-modal-box {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  background: #0E1218;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}

.legal-modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  background: rgba(217, 35, 35, 0.15);
  border: 1px solid rgba(217, 35, 35, 0.35);
  border-radius: var(--radius-full);
  color: #FF6B6B;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-close-btn:hover {
  background: rgba(217, 35, 35, 0.85);
  border-color: #D92323;
  color: #FFFFFF;
  transform: scale(1.05);
}

.legal-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
}

.legal-modal-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.legal-tab-btn {
  flex: 1;
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: #94A3B8;
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.legal-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.legal-tab-btn.active {
  background: #D92323;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(217, 35, 35, 0.35);
}

.legal-modal-body {
  padding: 2rem 2.25rem;
  overflow-y: auto;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  background: #FFFFFF;
}

.legal-modal-body h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0F172A;
  margin: 1.5rem 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-modal-body h4:first-of-type {
  margin-top: 0.5rem;
}

.legal-modal-body p {
  margin-bottom: 0.85rem;
}

.legal-modal-body ul {
  margin: 0.5rem 0 1rem 1.25rem;
  list-style-type: disc;
}

.legal-modal-body li {
  margin-bottom: 0.4rem;
}

.legal-box-highlight {
  background: #F8FAFC;
  border-left: 4px solid #D92323;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: #475569;
}

.legal-modal-footer {
  padding: 1.25rem 2rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-update-date {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
}

.legal-btn-agree {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

@media (max-width: 640px) {
  .legal-modal-backdrop {
    padding: 0.75rem;
  }
  .legal-modal-box {
    max-height: 94vh;
    border-radius: 18px;
  }
  .legal-modal-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }
  .legal-modal-title {
    font-size: 1.25rem;
  }
  .legal-modal-body {
    padding: 1.25rem 1.25rem;
    font-size: 0.9rem;
  }
  .legal-modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid,
  .projects-grid,
  .blog-grid,
  .steps-grid,
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .hero-grid,
  .quote-grid,
  .tech-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1080px) {
  .section {
    padding: 3.5rem 0;
  }

  body.menu-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .site-header {
    width: calc(100% - 1.5rem);
    top: 0.75rem;
    height: 76px;
    padding: 0 0.25rem;
    z-index: 1000;
  }

  .logo-img {
    height: 62px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 100px);
    background: #0E1217 !important;
    background-color: #0E1217 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 24px;
    box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 1.25rem 1rem;
    transform: translateY(-12px) scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 1005;
  }

  .main-nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    width: 100%;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateX(3px);
  }

  .nav-link.active {
    background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(217, 35, 35, 0.45);
  }

  .mobile-nav-footer {
    display: flex;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-quote-btn {
    width: 100%;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    gap: 0.6rem;
    box-shadow: 0 8px 24px rgba(217, 35, 35, 0.45);
  }

  .header-actions .btn-whatsapp {
    display: none; /* Em telas menores, economiza espaço mantendo o botão hambúrguer */
  }

  .products-grid,
  .projects-grid,
  .blog-grid,
  .steps-grid,
  .choice-grid,
  .why-grid,
  .composition-layers-grid,
  .tech-info-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .choice-selector-wrap,
  .technical-box {
    padding: 2rem 1.25rem;
  }

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

  .chatbot-modal {
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }



  .chatbot-toggle-btn {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* ==========================================================================
   BANNER DE CONSENTIMENTO LGPD & COOKIES
   ========================================================================== */
.lgpd-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 3rem);
  max-width: 1040px;
  background-color: rgba(13, 16, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 1050;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.lgpd-cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.lgpd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.lgpd-content {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.lgpd-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(217, 35, 35, 0.15);
  border: 1px solid rgba(217, 35, 35, 0.35);
  color: #FF5A5A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lgpd-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.lgpd-text strong {
  color: #FFFFFF;
}

.lgpd-link {
  color: #FF5A5A;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.lgpd-link:hover {
  color: #FFFFFF;
}

.lgpd-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lgpd-btn-customize {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
}

.lgpd-btn-customize:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.lgpd-btn-accept {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.4);
}

@media (max-width: 768px) {
  .lgpd-cookie-banner {
    bottom: 1rem;
    width: calc(100% - 1.5rem);
    padding: 1.15rem 1.25rem;
  }

  .lgpd-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }

  .lgpd-content {
    align-items: flex-start;
  }

  .lgpd-actions {
    justify-content: flex-end;
    gap: 0.6rem;
  }

  .lgpd-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}


/* ==========================================================================
   SIMULADOR INTERATIVO VISUAL DE CORES DA TELHA (100% DESIGN SYSTEM ESCURO)
   ========================================================================== */
.tile-colors-showcase {
  margin-top: 4.5rem;
  background: linear-gradient(135deg, #101318 0%, #181D26 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.tile-colors-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem auto;
  position: relative;
  z-index: 2;
}

.colors-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(217, 35, 35, 0.15);
  border: 1px solid rgba(217, 35, 35, 0.35);
  border-radius: var(--radius-full);
  color: #FF6B6B;
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.tile-colors-title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.tile-colors-subtitle {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.6;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Coluna Esquerda: Visualizador da Telha */
.simulator-viewer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 6rem;
}

.simulator-image-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background-color: #0A0D12;
}

.simulator-base-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.35s ease;
}

.simulator-color-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 0.82;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background-color: transparent;
}

.simulator-lighting-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.simulator-active-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13, 16, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease;
}

.simulator-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.spec-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.65rem;
  font-size: 0.775rem;
  color: #CBD5E1;
  text-align: center;
  line-height: 1.3;
}

.spec-tag span {
  display: block;
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
}

/* Coluna Direita: Controles e Abas */
.simulator-controls-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sim-tabs-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.35rem;
  gap: 0.35rem;
}

.sim-tab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.sim-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.sim-tab-btn.active {
  background: linear-gradient(135deg, #D92323 0%, #B91C1C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.45);
}

.sim-panel {
  display: none;
  animation: simFadeIn 0.3s ease forwards;
}

.sim-panel.active {
  display: block;
}

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

.swatches-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.swatch-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.9rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

.swatch-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.swatch-btn.active {
  background: rgba(217, 35, 35, 0.14);
  border-color: #D92323;
  box-shadow: 0 0 16px rgba(217, 35, 35, 0.4);
  transform: translateY(-2px);
}

.swatch-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.swatch-btn:hover .swatch-bubble,
.swatch-btn.active .swatch-bubble {
  transform: scale(1.1);
}

.swatch-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.2;
}

.swatch-ral {
  font-size: 0.675rem;
  font-weight: 700;
  color: #94A3B8;
}

/* Painel do Estúdio de Cores Escuro */
.custom-studio-card {
  background: rgba(13, 16, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.studio-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.studio-badge {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FF6B6B;
}

.studio-text {
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.studio-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-chip-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.quick-chip-btn.active {
  background: #D92323;
  border-color: #EF4444;
  box-shadow: 0 2px 10px rgba(217, 35, 35, 0.4);
}

.studio-slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
}

.slider-hex-preview,
.slider-val-preview {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Sliders de Estilo Escuro no Padrão do Site */
.custom-dark-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  outline: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.custom-dark-range.sat-range {
  background: linear-gradient(to right, #334155 0%, #D92323 100%);
}

.custom-dark-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #D92323;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6), 0 0 8px rgba(217, 35, 35, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-dark-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-dark-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #D92323;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* Caixa de Resumo e CTA */
.simulator-summary-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-color-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  font-weight: 700;
}

.summary-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.summary-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-top: 0.2rem;
}

.simulator-quote-cta {
  width: 100%;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-full);
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

@media (max-width: 992px) {
  .tile-colors-showcase {
    padding: 2.75rem 1.5rem;
    border-radius: 22px;
    margin-top: 3.5rem;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .simulator-viewer-card {
    position: static;
  }
  .swatches-palette {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
}

@media (max-width: 640px) {
  .swatches-palette {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .simulator-specs-strip {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .simulator-active-badge {
    font-size: 0.775rem;
    padding: 0.35rem 0.8rem;
  }
  .simulator-quote-cta {
    font-size: 0.875rem;
    padding: 0.85rem 1rem;
  }
  .sim-tabs-nav {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
  .sim-tab-btn {
    border-radius: var(--radius-md);
  }
}


.simulator-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  background-color: #0A0D12;
  transition: transform 0.3s ease;
}

.simulator-viewer-card:hover .simulator-canvas {
  transform: scale(1.02);
}


/* Camada de pintura recortada exatamente na chapa superior da telha.
   A mascara PNG (canal alpha) foi extraida da propria foto, entao a cor
   cobre so o perfil trapezoidal de cima e respeita o recorte em zigue-zague,
   preservando o nucleo de EPS, a chapa inferior e o fundo de madeira. */
.roof-paint-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  isolation: isolate;
  -webkit-mask-image: url("../images/telha_topo_mask.png");
  mask-image: url("../images/telha_topo_mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: opacity 0.25s ease;
}

/* Copia da foto reduzida a relevo (cinza clareado): guarda a ondulacao do
   perfil trapezoidal para que a cor nao chapa a chapa. */
.roof-paint-relief {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(3.5) contrast(0.95);
}

/* Brilho: mesma foto com as sombras esmagadas, sobrando so o reflexo das
   cristas. Entra por screen para dar o aspecto semibrilhante da pintura
   eletrostatica, sem lavar o RAL escolhido. */
.roof-paint-gloss {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(1.6) contrast(3);
  mix-blend-mode: screen;
  opacity: 0.48;
}

/* A cor entra por multiply sobre o relevo, entao sombra e brilho da
   ondulacao continuam visiveis em qualquer RAL. */
.roof-paint-tint {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #1D4ED8;
  mix-blend-mode: multiply;
  transition: background-color 0.25s ease;
}

/* Sem suporte a mask-image a camada viraria um retangulo solido sobre a foto. */
@supports not ((-webkit-mask-image: url("../images/telha_topo_mask.png")) or (mask-image: url("../images/telha_topo_mask.png"))) {
  .roof-paint-layer {
    display: none;
  }
}

/* ==========================================================================
   MODAL DE DETALHES DA SESSÃO / PRODUTO
   ========================================================================== */
.session-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.session-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.session-modal-box {
  background: #0F141C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 720px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.session-modal-backdrop.active .session-modal-box {
  transform: scale(1) translateY(0);
}

.session-modal-header {
  padding: 1.5rem 1.75rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.session-modal-body {
  padding: 1.75rem;
  color: #CBD5E1;
  font-size: 0.925rem;
  line-height: 1.6;
}

.session-modal-footer {
  padding: 1.25rem 1.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  background: #0B0E14;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.session-modal-footer .btn-outline-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.session-modal-footer .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.session-modal-footer .btn-primary {
  font-size: 0.875rem;
  padding: 0.65rem 1.35rem;
  box-shadow: 0 4px 14px rgba(217, 35, 35, 0.35);
}

/* ==========================================================================
   PAINEL DE PREFERÊNCIAS DE COOKIES (LGPD / MODAL LEGAL)
   ========================================================================== */
.cookie-prefs-container {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.25rem 0 1.5rem;
}

.cookie-pref-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.cookie-pref-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cookie-pref-item.locked {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.cookie-pref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.cookie-pref-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cookie-pref-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.cookie-pref-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  display: block;
}

.cookie-pref-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  margin-top: 0.15rem;
}

.cookie-pref-badge.badge-required {
  background: rgba(34, 197, 94, 0.12);
  color: #15803D;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.cookie-pref-badge.badge-optional {
  background: rgba(59, 130, 246, 0.12);
  color: #1D4ED8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cookie-pref-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.cookie-pref-tech {
  font-size: 0.775rem;
  color: #64748B;
}

.cookie-pref-tech code {
  background: #F1F5F9;
  color: #D92323;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Switch Toggle */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  background-color: #CBD5E1;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
  background-color: #22C55E;
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}

.cookie-slider.disabled {
  background-color: #94A3B8;
  cursor: not-allowed;
  opacity: 0.85;
}

/* Ações */
.cookie-prefs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.cookie-prefs-feedback {
  margin-top: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  display: none;
}

.cookie-prefs-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803D;
  display: block;
}

