/* ===== VARIABLES ===== */
:root {
  --primary-color: rgba(207, 33, 39, 0.95); /* Vermelho fosco da logo */
  --primary-dark: rgba(187, 23, 29, 0.95); /* Vermelho fosco mais escuro */
  --primary-light: rgba(227, 53, 59, 0.95); /* Vermelho fosco mais claro */
  --secondary-color: #000000;
  --secondary-light: #1a1a1a;
  --tertiary-color: #222222;
  --header-bg: rgba(40, 40, 40, 0.95); /* Cinza fosco para o header */
  --accent-color: #ffcc00;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #cccccc;
  --gray-dark: #333333;

  --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  --container-width-lg: 1320px;
  --container-width-md: 960px;
  --container-width-sm: 640px;

  --section-padding: 120px 0;
  --section-padding-sm: 80px 0;

  --border-radius: 10px;
  --border-radius-lg: 15px;

  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
}

/* ===== RESET & GLOBALS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--secondary-color);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  outline: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}

section {
  position: relative;
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: var(--container-width-lg);
  margin: 0 auto;
}

.red-text {
  color: var(--primary-color);
  font-weight: 700;
}

.white-text {
  color: var(--white);
}

.highlight-text {
  color: var(--accent-color);
  font-weight: 500;
  display: block;
  margin-top: 5px;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s, visibility 0.8s;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.9));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.7));
  }
}

/* ===== BUTTONS ===== */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary-color);
  font-size: 14px;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
  border-color: var(--primary-dark);
  color: var(--white);
}

.primary-btn i {
  margin-right: 10px;
  font-size: 16px;
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.outline-btn:hover {
  background-color: rgba(255, 0, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
  color: var(--primary-color);
}

.outline-btn i {
  margin-right: 10px;
  font-size: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  background-color: var(--header-bg);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: var(--header-bg);
  padding: 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-width: 300px; /* Aumentado consideravelmente */
  z-index: 1001;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 5px 0;
}

.logo img {
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(207, 33, 39, 0.3));
  max-height: 120px; /* Logo bem maior */
  width: auto;
  display: block;
}

.navbar.scrolled .logo img {
  transform: scale(0.9);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-link {
  margin: 0 15px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-whatsapp {
  margin-left: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  width: 30px;
  height: 24px;
}

.mobile-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.mobile-menu.active {
  right: 0;
}

.mobile-list {
  text-align: center;
}

.mobile-link {
  display: block;
  font-size: 24px;
  margin: 20px 0;
  font-weight: 600;
  position: relative;
  width: fit-content;
  margin: 20px auto;
  text-transform: uppercase;
}

.mobile-link:hover {
  color: var(--primary-color);
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.mobile-link:hover::after {
  width: 100%;
}

.mobile-btn {
  margin-top: 30px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: transparent; /* Removido o fundo preto que estava bloqueando o vídeo */
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9); /* Ajustado para melhor visibilidade */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
  display: block; /* Garante que seja exibido */
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

.logo-animated {
  margin: 0 auto;
  width: 150px;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 30px;
  text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: #f5f5f5;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-secondary);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.feature-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  padding: 10px;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.feature-circle:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.3);
}

.feature-circle i {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.feature-circle span {
  font-size: 14px;
  line-height: 1.3;
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
/* Estilo para imagens com cantos arredondados */
.gallery-grid img,
.services-grid img,
.gallery-item,
.service-card,
.gallery-image {
  border-radius: 12px; /* Ajuste o valor conforme necessário para o arredondamento desejado */
  overflow: hidden;
}

/* Ajuste específico para cards de serviço */
.service-card {
  border-radius: 15px;
  overflow: hidden;
}

/* Estilo específico para as imagens dentro dos cards */
.service-card img,
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Efeito hover nas imagens */
.service-card:hover img,
.gallery-item:hover img {
  transform: scale(1.03);
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-size: 14px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-description {
  max-width: 800px;
  margin: 30px auto 0;
  color: #e0e0e0;
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: var(--section-padding);
  background-color: var(--secondary-light);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.png');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.image-frame:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge .number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.about-text {
  padding-left: 20px;
}

.about-description {
  color: #e0e0e0;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.8;
  font-family: var(--font-secondary);
}

.about-features {
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  color: var(--primary-color);
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.feature-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.feature-content p {
  color: #e0e0e0;
  font-size: 15px;
  font-family: var(--font-secondary);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  background-color: rgba(51, 51, 51, 0.8);
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(51, 51, 51, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  background-color: rgba(51, 51, 51, 0.5);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5));
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.service-desc {
  color: #e0e0e0;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.7;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 25px;
}

.service-feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.service-feature i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
}

.service-link {
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: auto;
}

.service-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--white);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ===== WHY US SECTION ===== */
.why-us-section {
  padding: var(--section-padding);
  background-color: var(--secondary-light);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern-dots.png');
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.why-us-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.why-us-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.5);
}

.why-us-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 28px;
  color: var(--primary-color);
  border: 1px solid rgba(255, 0, 0, 0.3);
  transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

.why-us-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.why-us-card p {
  color: #e0e0e0;
  font-size: 15px;
  font-family: var(--font-secondary);
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 70px;
  left: 30px;
  width: 1px;
  height: calc(100% - 30px);
  background-color: rgba(255, 0, 0, 0.3);
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-right: 30px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.step-content {
  flex: 1;
  padding: 30px;
  background-color: rgba(51, 51, 51, 0.3);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.step-content::before {
  content: '';
  position: absolute;
  top: 25px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: rgba(51, 51, 51, 0.3);
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step-content p {
  color: #e0e0e0;
  font-size: 15px;
  font-family: var(--font-secondary);
}

.process-cta {
  text-align: center;
  margin-top: 60px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--section-padding);
  background-color: rgba(0, 0, 0, 0.7);
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/gallery-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.2);
  z-index: -1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.5) 50%,
    transparent
  );
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 8px;
}

.gallery-category {
  color: var(--primary-color);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.gallery-category i {
  margin-right: 8px;
}

.gallery-cta {
  text-align: center;
  margin-top: 60px;
}

.gallery-cta p {
  color: #e0e0e0;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
  padding: var(--section-padding);
  background-color: var(--secondary-light);
  position: relative;
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.png');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.client-logo {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(100%) brightness(0.8);
  height: 120px;
}

.client-logo:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  filter: grayscale(0%) brightness(1);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.client-logo img {
  max-width: 80%;
  max-height: 80px;
  object-fit: contain;
}

.clients-cta {
  text-align: center;
  margin-top: 60px;
}

.clients-cta p {
  color: #e0e0e0;
  font-size: 18px;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern-white.png');
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
  font-family: var(--font-secondary);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 35px;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button i {
  margin-right: 10px;
  font-size: 18px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  padding-right: 20px;
}

.contact-items {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  color: var(--primary-color);
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.contact-details h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.contact-details a {
  color: #e0e0e0;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-note {
  color: #a0a0a0;
  font-size: 14px;
  font-style: italic;
}

.social-media {
  margin-top: 40px;
}

.social-media h3 {
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  display: inline-block;
}

.social-media h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.social-media p {
  color: #e0e0e0;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.social-icons {
  display: flex;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(51, 51, 51, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: var(--transition);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.contact-map {
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary-light);
  padding: 80px 0 20px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern.png');
  background-size: cover;
  opacity: 0.02;
  z-index: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.footer-about p {
  color: #e0e0e0;
  margin-bottom: 20px;
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
  font-size: 16px;
}

.footer-social-icon:hover {
  background-color: var(--primary-color);
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: #e0e0e0;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 15px;
}

.footer-contact ul li i {
  margin-right: 15px;
  min-width: 20px;
  color: var(--primary-color);
}

.footer-contact ul li a {
  color: #e0e0e0;
}

.footer-contact ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  padding-top: 20px;
  color: #b0b0b0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 10px;
}

.credit i {
  color: var(--primary-color);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 100;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  animation: pulse-green 2s infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 110px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1200px) {
  :root {
    --section-padding: 100px 0;
    --section-padding-sm: 70px 0;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .section-title {
    font-size: 32px;
  }

  .feature-circle {
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 992px) {
  :root {
    --section-padding: 80px 0;
    --section-padding-sm: 60px 0;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 38px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .experience-badge {
    bottom: -20px;
    right: 20px;
  }

  .about-text {
    padding-left: 0;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .process-step::after {
    display: none;
  }

  .step-content::before {
    display: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-map {
    height: 400px;
  }

  .feature-circle {
    width: 100px;
    height: 100px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
    --section-padding-sm: 50px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-text {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .feature-circle {
    width: 90px;
    height: 90px;
  }

  .feature-circle i {
    font-size: 20px;
  }

  .feature-circle span {
    font-size: 13px;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .logo-animated {
    width: 120px;
  }

  .primary-btn,
  .outline-btn {
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .filter-btn {
    font-size: 12px;
    padding: 8px 15px;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 90px;
    bottom: 90px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .feature-circle {
    width: 80px;
    height: 80px;
  }

  .feature-circle i {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .feature-circle span {
    font-size: 12px;
  }
}

/* Adicione estes estilos ao final do seu arquivo style.css */

/* Estilos para as imagens secundárias da galeria */
.gallery-item.secondary-image {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Melhorias visuais para os filtros da galeria */
.gallery-grid {
  transition: height 0.5s ease;
}

/* Estilos para o link de serviço para galeria */
.service-to-gallery {
  margin-bottom: 10px;
  display: inline-block;
}

/* Ajustes de visualização para imagens da galeria */
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Melhor destaque para os filtros ativos */
.filter-btn.active {
  position: relative;
  font-weight: bold;
}

.filter-btn.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}
