/* Elite S&M Segurança - Professional Website CSS */
:root {
  --primary: #0a0a0a;
  --secondary: #1a1a1a;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --light: #f8f9fa;
  --dark: #000000;
  --text: #e5e5e5;
  --white: #ffffff;
  --gray: #a3a3a3;
  --success: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000000;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  gap: 2rem;
}

.logo {
  position: absolute;
  left: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-whatsapp {
  border: 2px solid #25D366;
  color: #25D366 !important;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-whatsapp:hover {
  background: #25D366;
  color: #fff !important;
}

.nav-whatsapp svg {
  fill: currentColor;
  stroke: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1a1a1a;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with Animation */
/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 560px;
  overflow: hidden;
  margin-top: 70px;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  animation: kenburns 18s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 50, 0, 0.55), rgba(0, 30, 0, 0.65));
  filter: hue-rotate(80deg) saturate(1.2);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 0.6rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 800;
}

.slide-content h1 span {
  color: var(--accent);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots span.active {
  background: var(--accent);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #d0d0d0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2rem;
  min-height: 48px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 2px solid transparent;
  justify-content: center;
  box-sizing: border-box;
}

.btn svg,
.nav-links a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.btn-primary svg {
  stroke: #000000;
}

.btn-outline svg {
  stroke: #ffffff;
}

.whatsapp-float svg {
  fill: #ffffff;
  stroke: none;
  width: 32px;
  height: 32px;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

section {
  width: 100%;
  padding: 4rem 0;
  margin: 0;
  background: transparent;
}

section .container,
section > *:not(.hero):not(.hero-slider) {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.hero-slider,
.hero-slider .slider-track,
.hero-slider .slide {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 1600px) {
  section .container,
  section > *:not(.hero) {
    max-width: 1280px;
  }
}

section:nth-of-type(odd) {
  background: #0a0a0a;
}

section:nth-of-type(even) {
  background: #111111;
}

.testimonials {
  background: #0a0a0a !important;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(145deg, #111111, #1a1a1a);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(34, 197, 94, 0.25);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.service-content {
  padding: 1.5rem;
  text-align: center;
}

.service-card h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: #c0c0c0;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
  padding: 5rem 2rem;
}

/* Testimonials Carousel */
.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  background: transparent;
  padding: 2rem 1rem;
  border-radius: 0;
  border: none;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

.carousel-btn {
  display: none;
}

.carousel-btn:hover {
  background: var(--accent-dark);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
}

.carousel-dots span.active {
  background: var(--accent);
}

.testimonial-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 3px solid var(--accent);
  background: #fff;
}
  font-style: italic;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.testimonial-card .author {
  font-weight: bold;
  color: var(--accent);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info p, .contact-info a {
  margin-bottom: 1rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-form {
  background: #111111;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  background: #0a0a0a;
  color: var(--white);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--accent-dark);
}

/* Footer Professional */
footer {
  background: #000000;
  color: #aaa;
  width: 100%;
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--accent);
  margin: 0;
}

.footer-content {
  max-width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (min-width: 1600px) {
  .footer-content {
    max-width: 1280px;
  }
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section a {
  color: #aaa;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
  font-size: 1.2rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.social-links a:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1a2a3a;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all 0.3s;
  animation: bounce 2s infinite;
  text-decoration: none;
  color: white;
  font-size: 2rem;
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    align-items: stretch;
  }

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

  .nav-links a {
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  .hero-slider {
    height: 70vh;
    min-height: 420px;
    margin-top: 60px;
  }

  .slide-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .slide-content p {
    font-size: 1rem !important;
    margin-bottom: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  section {
    padding: 3rem 0;
  }

  section .container,
  section > *:not(.hero):not(.hero-slider) {
    max-width: 100%;
    padding: 0 1.2rem;
  }

  .about-content,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .service-card {
    margin-bottom: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem 0.5rem;
  }

  .testimonial-logo {
    width: 60px;
    height: 60px;
  }

  .footer-content {
    padding: 0 1rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .slide-content h1 {
    font-size: 1.5rem !important;
  }

  .slide-content p {
    font-size: 0.9rem !important;
  }

  .section-title {
    font-size: 1.5rem;
  }

  nav {
    padding: 0.8rem 1rem;
  }

  .logo img {
    height: 45px;
  }
}
.page-hero {
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(10, 10, 10, 0.9)), url('../images/zxC7o.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
}

.page-hero h1 {
  font-size: 3rem;
  color: white;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--accent);
  color: var(--dark);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
}
