/* Construtora Bertolini - Custom Styles & Effects */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-primary: #0f2c59;
  --color-primary-light: #1b4985;
  --color-primary-dark: #0a1c38;
  --color-accent: #e67e22;
  --color-accent-hover: #d35400;
  --color-dark: #121820;
  --color-gray-dark: #1e2633;
  --color-gray-medium: #475569;
  --color-gray-light: #f1f5f9;
  --color-white: #ffffff;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Hero Overlay */
.hero-gradient {
  background: linear-gradient(135deg, rgba(10, 28, 56, 0.92) 0%, rgba(15, 44, 89, 0.82) 50%, rgba(18, 24, 32, 0.94) 100%);
}

.hero-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Concrete Texture & Gradients */
.bg-concrete {
  background-color: #121820;
  background-image: radial-gradient(#1e293b 0.75px, #121820 0.75px);
  background-size: 15px 15px;
}

.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.nav-glass.scrolled {
  background: rgba(10, 16, 30, 0.98);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Stats Counter Numbers */
.counter-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.counter-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

/* WhatsApp Floating Button with Pulse */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: white;
}
.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.75;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: -1;
}
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Lightbox Modal Animation */
.modal-backdrop {
  background: rgba(10, 15, 25, 0.94);
  backdrop-filter: blur(8px);
}

/* Client Logo Slider Infinite Animation */
@keyframes infinite-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.animate-infinite-scroll {
  animation: infinite-scroll 35s linear infinite;
}
.animate-infinite-scroll:hover {
  animation-play-state: paused;
}

/* Shimmer & Glow Effects */
.accent-glow {
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

