/* ============================================
   DAVYS LED — Design System & Styles
   Minimalist & Premium High-Ticket Theme (Starlink Inspired)
   With Subtle RGB Gradient Accents & High-Contrast White Portfolio Section
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Backgrounds */
  --bg-primary: #000000;
  --bg-secondary: #080808;
  --bg-tertiary: #101010;
  --bg-card: #0c0c0c;
  --bg-card-hover: #141414;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #8e8e93;
  --text-muted: #48484a;

  /* Exact True RGB LED Accents from the Logo */
  --accent-red: #FF0000;
  --accent-green: #00FF00;
  --accent-blue: #0000FF;
  --gradient-rgb: linear-gradient(135deg, #FF0000 0%, #0000FF 50%, #00FF00 100%);
  --gradient-rgb-horizontal: linear-gradient(90deg, #FF0000 0%, #0000FF 50%, #00FF00 100%);
  --gradient-rgb-subtle: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(0, 0, 255, 0.15), rgba(0, 255, 0, 0.15));

  /* Accents */
  --accent-white: #ffffff;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);

  /* Spacing */
  --section-padding: clamp(100px, 12vw, 180px);
  --container-width: 1320px;
  --container-padding: clamp(24px, 6vw, 60px);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Transitions */
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

section[id],
.modality-card[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.section-label::before {
  display: none;
}

.section-label::after {
  content: '';
  width: 42px;
  height: 2.5px;
  background: var(--gradient-rgb-horizontal);
  border-radius: 2px;
  display: block;
}

.about-text .section-label,
.cta-text .section-label {
  align-items: flex-start;
}

.solutions-header .section-label,
.differentials-header .section-label,
.portfolio-header .section-label {
  align-items: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}

/* Subtle Refined RGB Gradient Text Highlight */
.gradient-text {
  background: var(--gradient-rgb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   Buttons (Starlink Clean Style + Subtle RGB)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-smooth);
  position: relative;
  cursor: pointer;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

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

.btn-primary {
  background: #00ff00;
  color: #000000 !important; /* Letra preta para dar contraste com o verde neon */
  font-weight: 700;
  border: none;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.4);
}

.btn-primary:hover {
  background: #00dd00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.6) !important;
}

.btn-outline {
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

/* Botão para seção branca — fundo escuro, borda branca */
.btn-dark-outline {
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid #0a0a0a;
}

.btn-dark-outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #0a0a0a;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.btn-whatsapp {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn svg,
.btn i {
  width: 16px;
  height: 16px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 28px 0;
  background: rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-smooth);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gradient-rgb-horizontal);
  opacity: 0.85;
}

.navbar.scrolled {
  padding: 16px 0;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom: none;
}

.navbar.scrolled .navbar-logo {
  filter: invert(1) brightness(0);
}

.navbar.scrolled .navbar-links a:not(.btn) {
  color: #333333;
}

.navbar.scrolled .navbar-links a:not(.btn):hover {
  color: #000000;
}

.navbar.scrolled .navbar-cta {
  background: #00ff00 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.4) !important;
}

.navbar.scrolled .navbar-cta:hover {
  background: #00dd00 !important;
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.6) !important;
}

.navbar.scrolled .mobile-toggle span {
  background: #000000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.navbar-brand:hover .navbar-logo {
  opacity: 0.85;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a:not(.btn) {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 6px;
}

.navbar-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-rgb-horizontal);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-links a:not(.btn):hover {
  color: var(--text-primary);
}

.navbar-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.navbar-cta {
  padding: 10px 22px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.15em !important;
  color: #ffffff;
}

.navbar-cta:hover,
.navbar-links .navbar-cta:hover,
a.navbar-cta:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition-smooth);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.95) 100%);
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 100px var(--container-padding) 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Força branco no span bold — sem degradê */
.hero-title .gradient-text {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}



/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-rgb-horizontal);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.stat-card:nth-child(n) .stat-number {
  color: var(--text-primary);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  position: relative;
}

.solutions-header {
  text-align: center;
  margin-bottom: 72px;
}

.solutions-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.solution-card {
  padding: 44px 36px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-rgb-horizontal);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.solution-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.solution-card:hover .solution-icon {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--gradient-rgb-subtle);
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-card .solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.solution-card:hover .solution-link {
  color: var(--text-primary);
  gap: 12px;
}

/* ============================================
   MODALITIES SECTION (VENDA & LOCAÇÃO)
   ============================================ */
.modalities {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.modalities-header {
  text-align: center;
  margin-bottom: 64px;
}

.modalities-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
}

.modality-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-rgb-horizontal);
  opacity: 0.2;
  transition: opacity var(--transition-smooth);
}

.modality-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.modality-card:hover::before {
  opacity: 1;
}

.modality-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 24px;
  align-self: flex-start;
}

.modality-badge svg {
  color: var(--text-accent);
}

.modality-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.modality-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.modality-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.modality-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.modality-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  margin-top: 2px;
}

.modality-item-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.modality-item-text strong {
  color: var(--text-primary);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.modality-card .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  margin-top: auto;
}

/* ============================================
   DIFFERENTIALS SECTION
   ============================================ */
.differentials {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.differentials-header {
  text-align: center;
  margin-bottom: 72px;
}

.differentials-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diff-item {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.diff-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-rgb-horizontal);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.diff-item:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.diff-item:hover::before {
  opacity: 1;
}

.diff-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.2;
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--text-secondary);
}

.diff-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.diff-item:hover .diff-icon {
  background: var(--gradient-rgb-subtle);
  border-color: rgba(255, 255, 255, 0.25);
}

.diff-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.diff-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   PORTFOLIO SECTION (Clean High-Contrast White Section)
   ============================================ */
.portfolio {
  padding: var(--section-padding) 0;
  background: #ffffff;
  color: #000000;
  position: relative;
}

.portfolio .section-label {
  color: #555555;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}

.portfolio-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.portfolio .section-title {
  color: #000000;
  font-weight: 500;
}

.portfolio .section-subtitle {
  color: #48484a;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Centraliza o último item quando fica sozinho em linha */
.portfolio-grid > .portfolio-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 580px;
  width: 100%;
  justify-self: center;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  background: #000000;
  transition: all var(--transition-smooth);
}

.portfolio-item:hover {
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.18);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Preenche perfeitamente a moldura do card com a imagem do Totem */
.portfolio-item img.img-totem {
  object-fit: cover;
  object-position: center center;
  background: transparent;
  padding: 0;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(0, 0, 0, 0.92) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #ffffff;
}

.portfolio-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 300;
}

.portfolio-overlay .tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  width: fit-content;
  border: 1px solid transparent;
  background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), var(--gradient-rgb);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ============================================
   CTA / CONTATO SECTION (Direct WhatsApp LP)
   ============================================ */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-rgb-horizontal);
}

.cta-card .section-title {
  margin-bottom: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card .section-subtitle {
  margin: 0 auto 36px auto;
  max-width: 580px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-cta-main {
  font-size: 1rem !important;
  padding: 16px 42px !important;
  letter-spacing: 0.12em !important;
}

.cta-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.cta-info-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-subtle);
}

.cta-info-badge svg {
  color: var(--text-primary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 48px;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-rgb-horizontal);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.contact-form .form-subtitle {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 32px;
  font-weight: 300;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238e8e93' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: #111111;
  color: var(--text-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 12px;
}

/* ============================================
   FOOTER (Clean High-Contrast White)
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: #ffffff;
  color: #000000;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

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

.footer-brand-logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo {
  height: 26px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo:hover .footer-logo {
  opacity: 0.75;
}

.footer-brand p {
  color: #555555;
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 28px;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #222222;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: #000000;
  color: #ffffff;
  background: #000000;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #000000;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: #555555;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #000000;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #777777;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #777777;
  font-size: 0.75rem;
}

.footer-bottom-links a:hover {
  color: #000000;
}

.rgb-divider {
  display: none;
}

/* ============================================
   Floating WhatsApp Button (RGB Green & Scintillating)
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-green); /* Exact RGB Green #00FF00 from logo */
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), 0 0 40px rgba(0, 255, 0, 0.3);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  animation: whatsappScintillate 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.95), 0 0 60px rgba(0, 255, 0, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #000000;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover svg {
  fill: #000000;
  transform: scale(1.08);
}

/* Efeito de Cintilação / Pulso RGB Verde */
@keyframes whatsappScintillate {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.8), 0 0 15px rgba(0, 255, 0, 0.5);
    filter: brightness(1) drop-shadow(0 0 2px rgba(0,255,0,0.8));
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(0, 255, 0, 0), 0 0 35px rgba(0, 255, 0, 0.9);
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(0,255,0,1));
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0), 0 0 15px rgba(0, 255, 0, 0.5);
    filter: brightness(1) drop-shadow(0 0 2px rgba(0,255,0,0.8));
    transform: scale(1);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
/* ============================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================ */
/* ============================================
   RESPONSIVE — Medium Desktop (≤ 1200px)
   Navbar: gap menor para não encostar nos itens
   ============================================ */
@media (max-width: 1200px) {
  .navbar-links {
    gap: 20px;
  }
  .navbar-links a:not(.btn) {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
  .navbar-cta {
    padding: 9px 18px !important;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 1024px) {

  /* Navbar */
  .navbar-cta {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Differentials */
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cta-text {
    text-align: center;
    max-width: 100%;
  }
  .cta-text .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-contact-info {
    align-items: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Portfolio: 2 colunas em tablet */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Solutions: 2 colunas em tablet */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================ */
@media (max-width: 768px) {

  /* ─── Navbar ─── */
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 48px 36px;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--border-subtle);
    z-index: 9999;
    overflow-y: auto;
  }
  .navbar-links.active {
    right: 0;
  }
  .navbar-links a:not(.navbar-cta) {
    font-size: 1rem;
    padding: 8px 0;
    letter-spacing: 0.12em;
  }
  /* CTA visível dentro do drawer mobile */
  .navbar-cta {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 20px !important;
    font-size: 0.78rem !important;
  }
  .mobile-toggle {
    display: flex;
  }

  /* ─── Hero ─── */
  .hero-content {
    padding: 0 16px;
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -0.02em;
  }
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 8px;
    margin-bottom: 32px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  /* ─── About ─── */
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-card {
    padding: 28px 20px;
  }
  .stat-card .stat-number {
    font-size: 2.2rem;
  }

  /* ─── Modalities ─── */
  .modalities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modality-card {
    padding: 32px 24px;
  }

  /* ─── Solutions ─── */
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solutions-header {
    margin-bottom: 48px;
  }
  .solution-card {
    padding: 32px 24px;
  }

  /* ─── Differentials ─── */
  .differentials-grid {
    grid-template-columns: 1fr;
  }
  .differentials-header {
    margin-bottom: 48px;
  }
  .diff-item {
    padding: 32px 24px;
  }

  /* ─── Portfolio ─── */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .portfolio-item {
    aspect-ratio: 4/3;
  }

  /* ─── CTA ─── */
  .cta-card {
    padding: 48px 24px;
    border-radius: var(--radius-md);
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-cta-main {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
  }

  /* ─── Footer ─── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-col h4 {
    margin-bottom: 16px;
  }

  /* ─── Section label centered ─── */
  .section-subtitle {
    max-width: 100%;
  }

  /* ─── WhatsApp float ─── */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ============================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================ */
@media (max-width: 480px) {

  /* Typography */
  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    letter-spacing: -0.02em;
  }
  .quality-headline {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  /* Buttons */
  .btn {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 14px 20px;
  }

  /* About — 2×2 grid compacto em vez de coluna única */
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 22px 16px;
  }
  .stat-card .stat-number {
    font-size: 1.9rem;
  }

  /* Portfolio */
  .portfolio-item {
    aspect-ratio: 4/3;
  }

  /* Centralizar último item sozinho em mobile também */
  .portfolio-grid > .portfolio-item:last-child:nth-child(odd) {
    max-width: 100%;
  }

  /* CTA */
  .cta-card {
    padding: 36px 16px;
  }

  /* Footer */
  .footer-social {
    gap: 16px;
  }
  .footer-social a {
    width: 36px;
    height: 36px;
  }

  /* Modalities padding compacto */
  .modality-card {
    padding: 28px 20px;
  }

  /* Solutions padding compacto */
  .solution-card {
    padding: 28px 20px;
  }
}

/* ============================================
   QUALITY STATEMENT SECTION
   ============================================ */
.quality-statement {
  background: #ffffff;
  padding: clamp(80px, 10vw, 160px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.quality-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

/* Text side */
.quality-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.quality-text .section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: transparent;
  background: var(--gradient-rgb-horizontal);
  -webkit-background-clip: text;
  background-clip: text;
}

.quality-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

.quality-headline .gradient-text {
  font-weight: 700;
}

.quality-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: #444444;
  max-width: 440px;
}

/* Image side */
.quality-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quality-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 800px;
  border-radius: var(--radius-lg);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-img-wrapper img {
  /* Rotate 90deg so the panel stands upright (portrait), larger size, static without movement */
  width: 800px;        /* becomes the height after rotation */
  max-width: none;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  transform: rotate(90deg);
  transform-origin: center center;
  filter: none;
}

.quality-img-wrapper:hover img {
  transform: rotate(90deg); /* Mantém estático no hover sem se mexer */
}

/* Glow removido a pedido do cliente */
.quality-img-glow {
  display: none;
}

/* ============================================
   RESPONSIVE — Quality Statement Section
   ============================================ */
@media (max-width: 900px) {
  .quality-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .quality-image {
    order: -1;
  }

  .quality-img-wrapper {
    max-width: 440px;
    height: 640px;
    margin: 0 auto;
  }

  .quality-img-wrapper img {
    width: 640px;
  }

  .quality-sub {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .quality-img-wrapper {
    max-width: min(320px, 86vw);
    height: 460px;
    overflow: hidden;
  }

  .quality-img-wrapper img {
    width: 460px;
    max-width: none;
  }

  .quality-text .btn-dark-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   FULLSCREEN IMAGE SECTION
   ============================================ */
.fullscreen-image-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-image: url('assets/images/alta-definicao.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fullscreen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(24px, 8vw, 120px);
  text-align: left;
}

.fullscreen-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  max-width: 800px;
}

/* ============================================
   TOTEM BANNER SECTION
   ============================================ */
.totem-banner-section {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background-image: url('assets/images/totem-led.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #070a12;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.totem-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 10, 18, 0.45) 0%, rgba(7, 10, 18, 0.25) 36%, rgba(7, 10, 18, 0.05) 55%, transparent 75%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(20px, 5vw, 90px);
}

.totem-banner-content {
  max-width: 46%;
  text-align: left;
  background: rgba(7, 10, 18, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(16px, 2.5vw, 32px) clamp(20px, 3vw, 40px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.totem-banner-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.25rem, 4.2vw, 4.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  margin-bottom: clamp(6px, 1.5vw, 16px);
}

.totem-banner-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.72rem, 1.35vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  max-width: 520px;
}

@media (max-width: 768px) {
  .totem-banner-overlay {
    padding: 0 16px;
    background: linear-gradient(90deg, rgba(7, 10, 18, 0.65) 0%, rgba(7, 10, 18, 0.35) 100%);
  }

  .totem-banner-content {
    max-width: 80%;
    padding: 16px 20px;
  }
}


/* ============================================
   Extra-small (≤ 380px) — previne overflow horizontal
   ============================================ */
@media (max-width: 380px) {
  .quality-img-wrapper {
    max-width: 90vw;
    height: 380px;
  }
  .quality-img-wrapper img {
    width: 380px;
  }

  .navbar-links {
    width: 90%;
    padding: 40px 24px;
  }

  .hero-buttons {
    padding: 0 8px;
  }

  .container {
    padding: 0 16px;
  }
}

/* Segunda dobra fullscreen — Fachada */
.fullscreen-fachada {
  background-image: url('assets/images/fachada-led.jpg');
}

/* ============================================
   LEGAL PAGES (PRIVACIDADE & TERMOS DE USO)
   ============================================ */
.legal-page {
  padding-top: 130px;
  padding-bottom: 100px;
  background: var(--bg-dark, #050505);
  min-height: 80vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
}

.legal-header .section-label {
  display: inline-block;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.legal-card {
  background: var(--surface-dark, #0f1118);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 50px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 0.98rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-card h2 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.legal-card ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.legal-card strong {
  color: #ffffff;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--primary-light, #38bdf8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.legal-back-btn:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

