/* ====== VARIÁVEIS ====== */
:root {
  /* Cores */
  --primary-color: #2c7be5;
  --primary-dark: #1a68d1;
  --primary-light: #5d9cf1;
  --accent-color: #ff6b6b;
  --dark-color: #000000;
  --dark-gray: #4a4a4a;
  --medium-gray: #6c757d;
  --light-gray: #e9ecef;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --black-color: #000000;

  /* Tipografia */
  --font-primary: "Poppins", sans-serif;
  --font-size-base: 1.6rem;
  --font-size-lg: 2rem;
  --font-size-xl: 2.4rem;

  /* Espaçamentos */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* Bordas */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-circle: 50%;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 5px 15px rgba(44, 123, 229, 0.3);

  /* Transições */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ====== RESET & BASE ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: white;
  background-color: var(--dark-color);
  overflow-x: hidden;
  font-size: var(--font-size-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-subtitle {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 4.2rem;
  color: var(--primary-dark);
}

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

.divider {
  width: 8rem;
  height: 4px;
  background-color: var(--primary-color);
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.4rem;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 123, 229, 0.4);
}

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

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

/* ====== PRELOADER ====== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
}

.loader {
  width: 5rem;
  height: 5rem;
  border: 5px solid var(--light-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0; /* Ajuste mais equilibrado */
  z-index: 999;
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: color-mix(in srgb, var(--primary-dark) 70%, transparent);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  color: var(--white-color);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0; /* Menor altura no scroll */
}

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

.logo img {
  height: 12rem; /* Tamanho normal mais proporcional */
  width: auto; /* Mantém proporção original */
  object-fit: contain;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 5rem; /* Redução suave no scroll */
}


.menu-toggle {
  display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark-color);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-weight: 500;
  font-size: 1.6rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav {
  margin-left: var(--space-md);
  text-decoration: none;
}

/* ====== HERO SECTION ====== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 70rem;
  display: flex;
  align-items: center;
  
  color: var(--white-color);
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* Gradiente escuro sobre o fundo */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

/* Textura de spray com partículas (imagem PNG transparente) */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;

  opacity: 0.15;
  animation: sprayMove 40s linear infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

@keyframes sprayMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 500px 500px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  padding: 0 2rem;
}

/* Título grande com efeito spray na palavra */
.hero-title {
  font-size: 6rem;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.1em;
  position: relative;
}

/* Palavra destacada com efeito spray e brilho */
.hero-title span {
  color: var(--primary-color);
  font-family: 'Permanent Marker', cursive;
  text-shadow:
    0 0 1px var(--primary-color),
    0 0 2px var(--primary-color),
    0 0 4px var(--primary-color),
    0 0 5px rgba(255, 76, 76, 0.6);
  position: relative;
  filter: drop-shadow(0 0 50px var(--primary-color));
}

/* Subtítulo */
.hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.5;
}

/* Botões alinhados */
.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll down animado */
.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down {
  display: block;
  width: 3rem;
  height: 5rem;
  border: 2px solid var(--white-color);
  border-radius: 1.5rem;
  position: relative;
}

.scroll-down span {
  display: block;
  width: 4px;
  height: 8px;
  background-color: var(--white-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

.scroll-down span:nth-child(2) {
  animation-delay: 0.3s;
  top: 1.8rem;
}

.scroll-down span:nth-child(3) {
  animation-delay: 0.6s;
  top: 2.8rem;
}

@keyframes scrollDown {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
}


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

.about-content h3 {
  font-size: 2.4rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.feature-box {
  padding: 2rem;
  background-color: var(--light-color);
  color: var(--dark-color);
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-md);
}

.about-image {
  position: relative;
  margin-top: 3rem;
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.experience-badge {
  position: relative;
  bottom: auto;
  right: auto;
  margin: 2rem auto 0;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 150px;
}

.experience-badge span {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.experience-badge p {
  margin: 0;
  font-size: 1.4rem;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .about-content h3 {
    font-size: 2.8rem;
    text-align: left;
  }

  .about-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .feature-box {
    padding: 2.5rem;
    text-align: left;
  }

  .feature-icon {
    margin: 0 0 var(--space-md) 0;
    width: 5.5rem;
    height: 5.5rem;
    font-size: 2.2rem;
  }

  .about-image {
    margin-top: 0;
  }

  .experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    margin: 0;
    padding: 1.5rem;
    max-width: none;
  }

  .experience-badge span {
    font-size: 3.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .about-grid {
    gap: 5rem;
  }

  .about-content h3 {
    font-size: 3.2rem;
  }

  .about-features {
    gap: 3rem;
    margin: 4rem 0;
  }

  .feature-box {
    padding: 3rem;
  }

  .feature-box:hover {
    transform: translateY(-1rem);
  }

  .feature-icon {
    width: 6rem;
    height: 6rem;
    font-size: 2.4rem;
  }

  .experience-badge {
    bottom: -2rem;
    right: -2rem;
    padding: 2rem;
  }

  .experience-badge span {
    font-size: 4.2rem;
  }

  .experience-badge p {
    font-size: 1.6rem;
  }
}

/* ====== SERVICES SECTION ====== */
.services {
  background-color: var(--light-color);
  color: #000000;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: var(--white-color);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-1rem);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: var(--white-color);
}

.service-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  transition: var(--transition-normal);
}

.service-card h3 {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  transition: var(--transition-normal);
}

.service-card p {
  margin-bottom: var(--space-md);
  transition: var(--transition-normal);
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-normal);
}

.service-link i {
  margin-left: 0.5rem;
  transition: var(--transition-normal);
}

.service-link:hover i {
  transform: translateX(0.5rem);
}

.service-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover .service-hover {
  opacity: 1;
}

/* ====== PORTFOLIO SECTION - GALERIA ANTES/DEPOIS ====== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--dark-color);
  border-radius: 5rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1.4rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

/* ====== PORTFOLIO SECTION - GALERIA COM FUNDO ESCURO ====== */
.portfolio {
  background-color: var(--dark-color);
  padding: 8rem 0;
}

.portfolio .section-header {
  color: var(--white-color);
  text-align: center;
}

.portfolio .section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.portfolio .section-subtitle {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.filter-btn {
  padding: 1rem 2.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--white-color);
  border-radius: 5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 4rem;
}

.portfolio-item {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.05);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-img {
  position: relative;
  height: 35rem;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

.before-after-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.before-after-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: clip-path 0.3s ease-out;
}

.before-image {
  z-index: 1;
}

.after-image {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}

.before-after-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.4rem;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
  transition: left 0.3s ease-out;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: all 0.2s ease;
}

.slider-button i {
  font-size: 1.8rem;
}

.slider-button:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(0.95);
}

.slider-button:hover {
  background-color: var(--primary-dark);
}

.image-caption {
  padding: 2.5rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.image-caption h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--white-color);
  font-weight: 600;
}

.image-caption p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 992px) {
  .portfolio {
    padding: 6rem 0;
  }

  .portfolio-grid {
    gap: 3rem;
  }

  .portfolio-img {
    height: 30rem;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-img {
    height: 25rem;
  }

  .filter-btn {
    padding: 0.8rem 2rem;
    font-size: 1.3rem;
  }

  .slider-button {
    width: 4.5rem;
    height: 4.5rem;
  }
}

@media (max-width: 480px) {
  .portfolio .section-title {
    font-size: 2.8rem;
  }

  .portfolio-img {
    height: 22rem;
  }

  .image-caption {
    padding: 2rem;
  }

  .image-caption h3 {
    font-size: 1.8rem;
  }

  .image-caption p {
    font-size: 1.3rem;
  }
}

/* ====== CONTACT SECTION ====== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
}

.contact-info h3 {
  font-size: 2.8rem;
  margin-bottom: var(--space-md);
}

.info-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.info-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.info-content a {
  color: var(--white-color);
  transition: var(--transition-normal);
}

.info-content a:hover {
  color: var(--primary-color);
}

.emergency-contact {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

.emergency-contact i {
  font-size: 2rem;
}

.contact-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: 3rem;
}

.contact-social a {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-normal);
}

.contact-social a:hover {
  background-color: var(--primary-dark);
  transform: translateY(-0.5rem);
}

.contact-form {
  background-color: var(--white-color);
  padding: 4rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: 1.6rem;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 123, 229, 0.2);
}

.form-group textarea {
  min-height: 15rem;
  resize: vertical;
}

.error-message {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--accent-color);
}

/* ====== FOOTER ====== */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 8rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-col h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--white-color);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 5rem;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  opacity: 0.8;
  transition: var(--transition-normal);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-bottom {
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin-bottom: 0;
  opacity: 0.8;
  font-size: 1.4rem;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 1.4rem;
  color:var(--primary-light);
  opacity: 0.8;
  transition: var(--transition-normal);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 6rem;
  height: 6rem;
  background-color: #25d366;
  color: var(--white-color);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: var(--shadow-md);
  z-index: 100;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 1.5rem rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ====== UTILITY CLASSES ====== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: both;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

/* ====== LIGHTBOX ====== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -4rem;
  right: 0;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: none;
  border: none;
  padding: 0;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* ====== RESPONSIVIDADE - MENU HAMBÚRGUER MODERNO ====== */
@media (max-width: 992px) {
  .header .container {
    padding: 0 2rem;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 35rem;
    height: 100vh;
    background-color: #ffffff;
    color: #333333; 
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    z-index: 1001; /* Acima do overlay */
    padding: 10rem 3rem 3rem;
    display: flex;
    align-items: flex-start;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 2rem;
  }

  .nav-item {
    margin: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1.5rem;
    font-size: 1.8rem;
    color: #333333; /* Texto escuro */
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background-color: #f0f0f0; /* Cor de hover mais clara */
    color: #333333;
  }

  .nav-link::after {
    display: none;
  }

  .btn-nav {
    margin: 2rem 0 0;
    width: 100%;
    text-align: center;
  }

  .navbar.active {
    right: 0;
  }

  /* Animação do hambúrguer/ novo modelo */
  .menu-toggle {
  --neon-color: #2c7be5;
  --neon-glow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--neon-color), 0 0 20px var(--neon-color);
}

.menu-toggle span {
  background-color: var(--white-color);
  position: relative;
  transition: all 0.4s ease;
  height: 3px;
  border-radius: 3px;
}

.menu-toggle span:nth-child(1) {
  width: 100%;
}

.menu-toggle span:nth-child(2) {
  width: 70%;
  margin-left: auto;
  transition-delay: 0.1s;
}

.menu-toggle span:nth-child(3) {
  width: 40%;
  margin-left: auto;
  transition-delay: 0.2s;
}

.menu-toggle.active span {
  width: 100%;
  background-color: var(--neon-color);
  box-shadow: var(--neon-glow);
  margin-left: 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Pulsação neon */
@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.menu-toggle.active span {
  animation: neon-pulse 1.5s infinite alternate;
}

  

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ====== ANIMAÇÕES DO MENU ====== */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.navbar.active .nav-list li {
  animation: fadeInRight 0.5s ease forwards;
}

.navbar.active .nav-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.navbar.active .nav-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.navbar.active .nav-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.navbar.active .nav-list li:nth-child(4) {
  animation-delay: 0.4s;
}

.navbar.active .nav-list li:nth-child(5) {
  animation-delay: 0.5s;
}

/* ====== RESPONSIVIDADE GERAL ====== */
@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }

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

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

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

  .about-image {
    order: -1;
  }

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

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

  .whatsapp-float {
    width: 5rem;
    height: 5rem;
    font-size: 2.4rem;
    bottom: 2rem;
    right: 2rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2.8rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

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

  .contact-form {
    padding: 3rem 2rem;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  /*.navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.5s ease;
    z-index: 1001;
    padding: 100px 30px 30px;
  }*/

  /*.navbar.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-link {
    font-size: 18px;
    color: #333;
  }

  /* Overlay 
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }*/
  

  /* Animação do botão */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Menu mobile/ funcional */
@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 35rem;
    height: 100vh;
    background-color: var(--white-color); 
    color: var(--dark-color); 
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1000;
    padding: 10rem 3rem 3rem;
    display: flex;
    align-items: flex-start;
  }

  .navbar.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }

  .nav-link {
    display: block;
    padding: 1.5rem;
    font-size: 1.8rem;
    color: var(--dark-color);
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
  }

  .nav-link.active {
    color: var(--black-color);
    font-weight: 600;
  }

  .btn-nav {
    margin: 4rem 0 0;
    width: 100%;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white-color);
  }

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

  
}


/* estilo pichação */
