/*
Theme Name: Procis Distribuidora
Theme URI: https://procisdistribuidora.com.br
Author: Procis
Author URI: https://procisdistribuidora.com.br
Description: Tema WordPress customizado para a Procis Distribuidora - Segurança Eletrônica
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: procis
*/

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

:root {
  --bg: hsl(220, 20%, 7%);
  --fg: hsl(210, 20%, 95%);
  --card-bg: hsl(220, 18%, 10%);
  --primary: hsl(190, 95%, 50%);
  --primary-dark: hsl(220, 20%, 7%);
  --secondary-bg: hsl(220, 15%, 16%);
  --muted: hsl(215, 15%, 55%);
  --border: hsl(220, 15%, 18%);
  --whatsapp: hsl(142, 70%, 45%);
  --whatsapp-dark: hsl(142, 70%, 38%);
  --cyan-glow: hsl(190, 95%, 50%);
  --navy: hsl(220, 25%, 12%);
  --radius: 0.75rem;
  --gradient-card: linear-gradient(180deg, hsl(220, 18%, 12%) 0%, hsl(220, 20%, 9%) 100%);
  --gradient-cyan: linear-gradient(135deg, hsl(190, 95%, 50%) 0%, hsl(200, 90%, 45%) 100%);
  --shadow-cyan: 0 0 30px -5px hsla(190, 95%, 50%, 0.3);
  --shadow-cyan-sm: 0 0 15px -3px hsla(190, 95%, 50%, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* =============================================
   UTILITY CLASSES
============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-sm {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }

.section-padding {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 7rem 2rem;
  }
}

.glow-text {
  color: var(--primary);
  text-shadow: 0 0 20px hsla(190, 95%, 50%, 0.5);
}

/* =============================================
   BUTTONS
============================================= */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  color: white;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 0 20px -5px hsla(142, 70%, 45%, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px -5px hsla(142, 70%, 45%, 0.6);
  color: white;
}

.btn-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--gradient-cyan);
  color: var(--primary-dark);
  box-shadow: var(--shadow-cyan-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid hsla(190, 95%, 50%, 0.4);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-cyan:hover {
  background: hsla(190, 95%, 50%, 0.1);
  border-color: var(--primary);
}

/* =============================================
   CARDS
============================================= */
.card-dark {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.card-dark:hover {
  border-color: hsla(190, 95%, 50%, 0.3);
  box-shadow: var(--shadow-cyan-sm);
}

/* =============================================
   NAVBAR
============================================= */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}
.site-navbar.scrolled {
  background: hsla(220, 20%, 7%, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.navbar-logo img {
  height: 11rem;
  width: auto;
}
.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.navbar-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s;
}
.navbar-links a:hover {
  color: var(--fg);
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  font-size: 1.5rem;
}

.mobile-menu {
  display: none;
  background: hsla(220, 20%, 7%, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}
.mobile-menu.active {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.mobile-menu a:hover {
  color: var(--fg);
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-bg .overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(220, 20%, 7%, 0.8), hsla(220, 20%, 7%, 0.6), var(--bg));
}
.hero-bg .overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(220, 20%, 7%, 0.9), transparent, hsla(220, 20%, 7%, 0.9));
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(var(--primary) 1px, transparent 1px),
                     linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsla(190, 95%, 50%, 0.3);
  background: hsla(190, 95%, 50%, 0.05);
  margin-top: 2rem;
  margin-bottom: 0;
}
.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}
.hero-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-logo {
  height: 16rem;
  width: auto;
  margin: 0 auto -4rem;
  filter: drop-shadow(0 0 30px hsla(190, 95%, 50%, 0.4));
}
@media (min-width: 640px) {
  .hero-logo {
    height: 22rem;
    margin-bottom: -5rem;
  }
}
@media (min-width: 768px) {
  .hero-logo {
    height: 36rem;
    margin-bottom: -6rem;
  }
}
.hero h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 1.875rem; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero .subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .hero .subtitle { font-size: 1.125rem; }
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  .hero-buttons .btn-whatsapp,
  .hero-buttons .btn-outline-cyan {
    width: auto;
  }
}
.hero-buttons .btn-whatsapp,
.hero-buttons .btn-outline-cyan {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* =============================================
   BRAND CAROUSEL
============================================= */
.brand-carousel {
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
}
.brand-carousel .fade-left,
.brand-carousel .fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 10;
}
.brand-carousel .fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.brand-carousel .fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.brand-carousel .scroll-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}
.brand-carousel .brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  flex-shrink: 0;
}
.brand-carousel .brand-item img {
  height: 2.75rem;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.brand-carousel .brand-item img:hover {
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   BENEFITS SECTION
============================================= */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit-card {
  display: flex;
  flex-direction: column;
}
.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsla(190, 95%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  flex: 1;
}
.benefit-card img {
  width: 100%;
  height: 10rem;
  border-radius: var(--radius);
  object-fit: cover;
}
.benefit-card img.contain {
  object-fit: contain;
}

/* =============================================
   SEGMENTS SECTION
============================================= */
.bg-secondary-30 {
  background: hsla(220, 15%, 16%, 0.3);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .segments-grid { grid-template-columns: repeat(3, 1fr); }
}
.segment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.segment-card:hover {
  border-color: hsla(190, 95%, 50%, 0.4);
}
.segment-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsla(190, 95%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.segment-card span {
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
}

/* =============================================
   SOLUTIONS SECTION
============================================= */
.solutions-image {
  margin-bottom: 3.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.solutions-image img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: var(--bg);
}
.solutions-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}
.solution-card .category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.solution-card .brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.solution-card .brands img {
  height: 2.75rem;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .about-section h2 { font-size: 2.25rem; }
}
.about-section .description {
  color: var(--muted);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}
.about-video {
  margin-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-video video {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
}
.stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsla(190, 95%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--primary);
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}
@media (min-width: 768px) {
  .stat-value { font-size: 1.875rem; }
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.contact-form select {
  color: var(--muted);
  appearance: auto;
}
.contact-form textarea {
  resize: none;
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info-card .icon {
  color: var(--primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.contact-info-card .label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.contact-info-card .value {
  font-size: 0.875rem;
  color: var(--muted);
}
.contact-info-card a.value {
  color: var(--primary);
}
.contact-info-card a.value:hover {
  text-decoration: underline;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* =============================================
   WHATSAPP FLOAT
============================================= */
.whatsapp-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: white;
}
.whatsapp-float-btn svg {
  width: 26px;
  height: 26px;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 0 0 0 hsla(142, 70%, 45%, 0.4); }
  50% { box-shadow: 0 0 0 12px hsla(142, 70%, 45%, 0); }
}

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: hsl(220, 25%, 8%);
}
::-webkit-scrollbar-thumb {
  background: hsl(220, 15%, 25%);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: hsla(190, 95%, 50%, 0.5);
}

/* Section title styles */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-subtitle {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
}
