/* ============================================
   COLMEIA ESTRUTURAL — Design System
   Tema: Abelha + Engenharia + Hexágonos
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Primary Palette — Honey & Amber */
  --honey: #F5A623;
  --honey-light: #FFD700;
  --honey-dark: #D4880F;
  --amber: #E8841A;
  --amber-deep: #C06A10;

  /* Dark Palette — Bee Black */
  --dark-primary: #0D0D1A;
  --dark-secondary: #1A1A2E;
  --dark-surface: #16213E;
  --dark-card: #1E2A4A;
  --dark-hover: #253456;

  /* Neutral */
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;

  /* Accent */
  --success: #2ECC71;
  --success-dark: #27AE60;
  --danger: #E74C3C;
  --info: #3498DB;

  /* Gradients */
  --gradient-honey: linear-gradient(135deg, #F5A623 0%, #FFD700 50%, #E8841A 100%);
  --gradient-dark: linear-gradient(180deg, #0D0D1A 0%, #1A1A2E 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13,13,26,0.92) 0%, rgba(26,26,46,0.88) 50%, rgba(22,33,62,0.85) 100%);
  --gradient-card: linear-gradient(145deg, rgba(30,42,74,0.6) 0%, rgba(22,33,62,0.4) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(245,166,35,0.1) 0%, rgba(255,215,0,0.05) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --shadow-honey: 0 4px 30px rgba(245,166,35,0.3);
  --shadow-glow: 0 0 40px rgba(245,166,35,0.15);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: url('cursor.svg') 16 16, auto;
}

body {
  font-family: var(--font-body);
  background: var(--dark-primary);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button, [role="button"], input[type="submit"], .btn, select {
  cursor: url('cursor.svg') 16 16, pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Utility Classes ── */
.text-honey { color: var(--honey); }
.text-gold { color: var(--honey-light); }
.text-white { color: #fff; }
.text-muted { color: var(--gray-400); }

.bg-dark { background: var(--dark-primary); }
.bg-dark-alt { background: var(--dark-secondary); }

/* ── Animated Hexagonal Background ── */
.hex-bg {
  position: relative;
  overflow: hidden;
}

.hex-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='rgba(245,166,35,0.06)' stroke-width='1'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='rgba(255,215,0,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  animation: hexFloat 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Registered custom properties for smooth animation */
@property --glow-x {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

@property --glow-y {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

.hex-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='rgba(245,166,35,0.55)' stroke-width='1.5'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='rgba(255,215,0,0.45)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  filter: drop-shadow(0 0 6px rgba(245,166,35,0.5)) drop-shadow(0 0 2px rgba(255,215,0,0.3));
  -webkit-mask-image: radial-gradient(ellipse 500px 400px at var(--glow-x) var(--glow-y), white 0%, rgba(255,255,255,0.15) 40%, transparent 65%);
  mask-image: radial-gradient(ellipse 500px 400px at var(--glow-x) var(--glow-y), white 0%, rgba(255,255,255,0.15) 40%, transparent 65%);
  animation: glowSweep 18s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes glowSweep {
  0%   { --glow-x: 5%;   --glow-y: 10%; }
  15%  { --glow-x: 50%;  --glow-y: 5%;  }
  30%  { --glow-x: 90%;  --glow-y: 25%; }
  45%  { --glow-x: 75%;  --glow-y: 70%; }
  60%  { --glow-x: 35%;  --glow-y: 85%; }
  75%  { --glow-x: 10%;  --glow-y: 60%; }
  90%  { --glow-x: 30%;  --glow-y: 20%; }
  100% { --glow-x: 5%;   --glow-y: 10%; }
}

@keyframes hexFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-28px, -50px) rotate(2deg); }
}

.hex-bg > * {
  position: relative;
  z-index: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-med);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-honey);
  color: var(--dark-primary);
  box-shadow: var(--shadow-honey);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(245,166,35,0.45);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  background: var(--honey);
  color: var(--dark-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-honey);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

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

.btn-phone {
  background: var(--info);
  color: #fff;
  box-shadow: 0 4px 20px rgba(52,152,219,0.3);
}

.btn-phone:hover {
  background: #2980B9;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(52,152,219,0.45);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ── Section Title ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--honey);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-honey);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ══════════════════════════
   HEADER / NAVBAR
   ══════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-med);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(245,166,35,0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}

.nav-logo svg {
  width: 42px;
  height: 42px;
}

.nav-logo .logo-text-secondary {
  font-weight: 400;
  color: var(--honey);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-honey);
  border-radius: 2px;
  transition: var(--transition-med);
}

.nav-links a:hover {
  color: var(--honey);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 28px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-med);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════
   HERO SECTION
   ══════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark-primary);
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Animated hexagon particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hex-particle {
  position: absolute;
  width: 40px;
  height: 46px;
  background: none;
  border: 1px solid rgba(245,166,35,0.12);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: floatParticle 20s infinite linear;
  opacity: 0;
}

.hex-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; width: 30px; height: 35px; }
.hex-particle:nth-child(2) { left: 25%; animation-delay: 3s; animation-duration: 22s; width: 50px; height: 58px; }
.hex-particle:nth-child(3) { left: 40%; animation-delay: 6s; animation-duration: 16s; }
.hex-particle:nth-child(4) { left: 55%; animation-delay: 2s; animation-duration: 24s; width: 35px; height: 40px; }
.hex-particle:nth-child(5) { left: 70%; animation-delay: 5s; animation-duration: 19s; width: 45px; height: 52px; }
.hex-particle:nth-child(6) { left: 85%; animation-delay: 1s; animation-duration: 21s; }
.hex-particle:nth-child(7) { left: 15%; animation-delay: 8s; animation-duration: 17s; width: 25px; height: 29px; }
.hex-particle:nth-child(8) { left: 60%; animation-delay: 4s; animation-duration: 23s; width: 55px; height: 63px; }

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--honey);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .bee-icon {
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
}

.hero-title .highlight {
  background: var(--gradient-honey);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--honey);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 6px;
}

.hero-image {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-image img {
  width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245,166,35,0.15);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: var(--gradient-honey);
  opacity: 0.15;
  z-index: -1;
  filter: blur(20px);
}

/* ══════════════════════════
   ABOUT / PRODUCT SECTION
   ══════════════════════════ */
.about {
  padding: var(--section-padding);
  background: var(--dark-secondary);
  overflow: hidden; /* Evita que o voo das abelhas cause scroll horizontal no mobile */
}

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

.about-image-wrapper {
  position: relative;
  overflow: visible;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 2; /* Garante que a imagem fique sobreposta mas abaixo das abelhas */
}

/* ═══ ABELHAS ANIMADAS ═══ */
.bee-container {
  position: absolute;
  width: 90px;
  height: 90px;
  pointer-events: none;
  z-index: 10;
}

.bee-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Posicionamento e animação individual das 3 abelhas */
.bee-1 {
  top: -20px;
  left: -10px;
  animation: flight-path-1 16s infinite ease-in-out;
}

.bee-2 {
  bottom: -30px;
  right: -20px;
  animation: flight-path-2 20s infinite ease-in-out;
}

.bee-3 {
  top: 40%;
  left: 85%;
  animation: flight-path-3 14s infinite ease-in-out;
}

/* Voo da Abelha 1 - Órbita oval superior */
@keyframes flight-path-1 {
  0% {
    transform: translate(0, 0) scale(0.9) rotate(5deg);
  }
  25% {
    transform: translate(140px, -40px) scale(1.1) rotate(15deg);
  }
  50% {
    transform: translate(280px, 10px) scale(0.9) rotate(-10deg);
  }
  75% {
    transform: translate(120px, 40px) scale(1) rotate(-20deg);
  }
  100% {
    transform: translate(0, 0) scale(0.9) rotate(5deg);
  }
}

/* Voo da Abelha 2 - Órbita inferior e zoom */
@keyframes flight-path-2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(-150px, -30px) scale(0.8) rotate(-15deg);
  }
  66% {
    transform: translate(-80px, -90px) scale(0.95) rotate(10deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* Voo da Abelha 3 - Pequenos círculos e ziguezague lateral */
@keyframes flight-path-3 {
  0% {
    transform: translate(0, 0) scale(0.8) rotate(-10deg);
  }
  25% {
    transform: translate(-60px, -60px) scale(1) rotate(10deg);
  }
  50% {
    transform: translate(-110px, -10px) scale(0.85) rotate(-5deg);
  }
  75% {
    transform: translate(-40px, 40px) scale(0.95) rotate(20deg);
  }
  100% {
    transform: translate(0, 0) scale(0.8) rotate(-10deg);
  }
}

/* Responsividade das abelhas */
@media (max-width: 991px) {
  .bee-container {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 576px) {
  .bee-container {
    width: 55px;
    height: 55px;
  }
  .bee-3 {
    display: none; /* Deixa apenas 2 abelhas em telas pequenas para evitar poluição visual */
  }
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: var(--transition-slow);
}

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

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(26,26,46,0.6), transparent);
  pointer-events: none;
}

.about-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.spec-item {
  background: var(--gradient-card);
  border: 1px solid rgba(245,166,35,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition-med);
}

.spec-item:hover {
  border-color: rgba(245,166,35,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--honey);
}

.spec-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ══════════════════════════
   ADVANTAGES SECTION
   ══════════════════════════ */
.advantages {
  padding: var(--section-padding);
  background: var(--dark-primary);
}

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

.advantage-card {
  background: var(--gradient-card);
  border: 1px solid rgba(245,166,35,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-honey);
  transform: scaleX(0);
  transition: var(--transition-med);
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.2);
  box-shadow: var(--shadow-glow);
}

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

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,166,35,0.1);
  border-radius: 50%;
  font-size: 1.8rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 72px;
  height: 72px;
}

.advantage-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.advantage-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ══════════════════════════
   COMPARISON TABLE
   ══════════════════════════ */
.comparison {
  padding: var(--section-padding);
  background: var(--dark-secondary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245,166,35,0.1);
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table thead th {
  background: rgba(245,166,35,0.08);
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  border-bottom: 2px solid rgba(245,166,35,0.15);
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th.highlight-col {
  background: rgba(245,166,35,0.18);
  color: var(--honey);
  position: relative;
}

.comparison-table thead th.highlight-col::before {
  content: '✓ Recomendado';
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--honey-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.comparison-table tbody td {
  padding: 18px 24px;
  font-size: 0.92rem;
  color: var(--gray-300);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition-fast);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--gray-200);
}

.comparison-table tbody td.highlight-col {
  background: rgba(245,166,35,0.06);
  color: var(--honey);
  font-weight: 600;
}

.comparison-table tbody tr:hover td {
  background: rgba(245,166,35,0.04);
}

.comparison-table .check {
  color: var(--success);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--danger);
}

/* ══════════════════════════
   CALCULATOR SECTION
   ══════════════════════════ */
.calculator {
  padding: var(--section-padding);
  background: var(--dark-primary);
}

.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.calc-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.calc-info p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 24px;
}

.calc-form {
  background: var(--gradient-card);
  border: 1px solid rgba(245,166,35,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.calc-form h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(13,13,26,0.6);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-med);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}

.form-group input::placeholder {
  color: var(--gray-500);
}

.form-group select option {
  background: var(--dark-secondary);
  color: #fff;
}

.calc-results {
  display: none;
  margin-top: 32px;
}

.calc-results.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.result-card {
  background: rgba(13,13,26,0.5);
  border: 1px solid rgba(245,166,35,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition-med);
}

.result-card:hover {
  border-color: rgba(245,166,35,0.3);
}

.result-card.highlight {
  border-color: var(--honey);
  background: rgba(245,166,35,0.08);
}

.result-card .result-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--honey);
  line-height: 1;
}

.result-card .result-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 6px;
  line-height: 1.3;
}

.result-card.eco .result-value {
  color: var(--success);
}

/* Cost comparison bars */
.cost-bars {
  margin-top: 24px;
}

.cost-bar-item {
  margin-bottom: 20px;
}

.cost-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.cost-bar-label .cost-name { color: var(--gray-300); }
.cost-bar-label .cost-value { color: var(--honey); }

.cost-bar-track {
  height: 12px;
  background: rgba(13,13,26,0.6);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.cost-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.cost-bar-fill.traditional {
  background: linear-gradient(90deg, var(--danger), #E67E22);
}

.cost-bar-fill.fiber {
  background: linear-gradient(90deg, #E67E22, var(--honey));
}

.cost-bar-fill.colmeia {
  background: linear-gradient(90deg, var(--success-dark), var(--success));
}

.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.25);
  border-radius: var(--radius-xl);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--success);
  margin-top: 16px;
}

/* Configurações Avançadas Expansíveis */
.calc-advanced-settings {
  margin-top: 24px;
  background: rgba(13, 13, 26, 0.4);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all var(--transition-med);
}

.calc-advanced-settings[open] {
  border-color: rgba(245, 166, 35, 0.35);
  background: rgba(13, 13, 26, 0.65);
  box-shadow: var(--shadow-glow);
}

.calc-advanced-settings summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-300);
  cursor: pointer;
  user-select: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-advanced-settings summary::-webkit-details-marker {
  color: var(--honey);
}

.advanced-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  animation: fadeIn 0.3s ease;
}

.form-group-sm {
  margin-bottom: 0;
}

.form-group-sm label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.form-group-sm input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(13, 13, 26, 0.8);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-med);
  outline: none;
}

.form-group-sm input:focus,
.form-group-sm select:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.1);
}

.form-group-sm input[readonly] {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(13, 13, 26, 0.4);
}

.form-group-sm input[readonly]:focus {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.form-group-sm select option {
  background: var(--dark-secondary);
  color: #fff;
}

/* Detalhamento de Obra & Materiais */
.materials-detail {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.materials-detail h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.material-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(13, 13, 26, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-med);
}

.material-item-row:hover {
  border-color: rgba(245, 166, 35, 0.15);
  background: rgba(13, 13, 26, 0.55);
}

.material-col-header {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.material-col-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.material-col-value.honey { color: var(--honey); }
.material-col-value.success { color: var(--success); }

.material-col-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.tip-box {
  background: rgba(245, 166, 35, 0.06);
  border: 1px dashed rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tip-box-icon {
  font-size: 1.25rem;
  color: var(--honey);
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-box-text {
  font-size: 0.85rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.tip-box-text strong {
  color: var(--honey-light);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 580px) {
  .advanced-settings-grid {
    grid-template-columns: 1fr;
  }
  .material-item-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ══════════════════════════
   APPLICATIONS SECTION
   ══════════════════════════ */
.applications {
  padding: var(--section-padding);
  background: var(--dark-secondary);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  group: true;
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,26,0.9) 0%, rgba(13,13,26,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition-med);
}

.app-card:hover .app-card-overlay {
  background: linear-gradient(to top, rgba(13,13,26,0.95) 0%, rgba(13,13,26,0.4) 60%, rgba(245,166,35,0.05) 100%);
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  min-height: 3.2rem;
}

.app-card-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-med);
}

.app-card:hover .app-card-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════
   PROCESS SECTION
   ══════════════════════════ */
.process {
  padding: var(--section-padding);
  background: var(--dark-primary);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: rgba(245,166,35,0.15);
  border-radius: 2px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border: 2px solid rgba(245,166,35,0.2);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--honey);
  margin-bottom: 20px;
  transition: var(--transition-med);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 84px;
  height: 84px;
}

.process-step:hover .step-number {
  background: var(--honey);
  color: var(--dark-primary);
  border-color: var(--honey);
  box-shadow: var(--shadow-honey);
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  max-width: 140px;
}

/* ══════════════════════════
   CONTACT SECTION
   ══════════════════════════ */
.contact {
  padding: var(--section-padding);
  background: var(--dark-secondary);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,166,35,0.1);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.contact-form-box {
  background: var(--gradient-card);
  border: 1px solid rgba(245,166,35,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-form-box h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

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

.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(13,13,26,0.6);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-med);
  outline: none;
  resize: vertical;
  min-height: 120px;
}

.contact-form textarea:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}

.contact-form textarea::placeholder {
  color: var(--gray-500);
}

/* ══════════════════════════
   FOOTER
   ══════════════════════════ */
.footer {
  padding: 60px 0 30px;
  background: var(--dark-primary);
  border-top: 1px solid rgba(245,166,35,0.08);
}

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

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 360px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--honey);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ══════════════════════════
   FLOATING WHATSAPP BUTTON
   ══════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 25px rgba(37,211,102,0.4);
  transition: var(--transition-med);
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 35px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background: rgba(13,13,26,0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-med);
  border: 1px solid rgba(245,166,35,0.1);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

/* ══════════════════════════
   ANIMATIONS
   ══════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content { max-width: 100%; }
  .hero-description { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .calc-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13,13,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 998;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .nav-cta { display: none; }

  .nav-toggle {
    display: flex;
    z-index: 999;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-stat { text-align: center; }

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

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

  .process-timeline {
    flex-direction: column;
    gap: 30px;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
  }

  .step-number { flex-shrink: 0; }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .about-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .calc-form {
    padding: 24px;
  }

  .contact-form-box {
    padding: 24px;
  }

  .contact-buttons {
    flex-direction: column;
  }
}

/* ══════════════════════════
   INSTAGRAM SECTION
   ══════════════════════════ */
.instagram-section {
  padding: var(--section-padding);
  background: var(--dark-primary);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-card {
  background: rgba(13, 13, 26, 0.4);
  border: 1px dashed rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-md);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: var(--transition-med);
}

.instagram-card:hover {
  border-color: var(--honey);
  box-shadow: var(--shadow-glow);
}

.instagram-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--gray-500);
  text-align: center;
  padding: 24px;
}

.instagram-placeholder svg {
  stroke: var(--honey);
  opacity: 0.6;
}

.instagram-placeholder p {
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
  .instagram-card {
    height: 400px;
  }
}

/* ══════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30,42,74,0.9);
  border: 1px solid rgba(245,166,35,0.2);
  color: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition-med);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

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

.back-to-top:hover {
  background: var(--honey);
  color: var(--dark-primary);
  border-color: var(--honey);
  transform: translateY(-3px);
  box-shadow: var(--shadow-honey);
}

.back-to-top svg {
  stroke: currentColor;
}
