/* CSS Variables */
:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --primary-red: #e00000;
  --dark-red: #cc0000;
  --white: #ffffff;
  --dark-gray: #2a2a2a;
  --light-gray: #f4f4f4;
  --text-gray: #aaaaaa;

  --font-heading: "Oswald", sans-serif;
  --font-body: "Roboto", sans-serif;

  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

/* Reusable Classes */
.text-red {
  color: var(--primary-red);
}
.text-black {
  color: var(--primary-black);
}
.bg-white {
  background-color: var(--white);
  color: var(--primary-black);
}
.bg-dark {
  background-color: var(--secondary-black);
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-red);
}

.section-title.left-align {
  text-align: left;
}

.section-title.left-align::after {
  left: 0;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-red {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  color: var(--white);
  box-shadow: 0 4px 15px rgba(224, 0, 0, 0.3);
}

.btn-red::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--dark-red) 0%,
    var(--primary-red) 100%
  );
  transition: var(--transition);
  z-index: -1;
}

.btn-red:hover::before {
  left: 0;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 0, 0, 0.5);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary-black);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Estilo específico para a logo do Header */
header .logo-area {
  position: relative;
  width: 130px;
  height: 60px;
}

.header-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: -20px; /* Ajusta a posição vertical */
  left: 0;
  transition: var(--transition);
  z-index: 1001;
}

header.scrolled .header-logo {
  width: 90px;
  height: 90px;
  top: -10px;
}

nav {
  margin: 0 auto;
}

nav ul {
  display: flex;
  gap: 25px;
}

nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  padding: 5px 0;
}

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

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

nav a:hover,
nav a.active {
  color: var(--primary-red);
}

.lang-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 20px;
}

.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.lang-switcher button:hover {
  transform: scale(1.1);
}

.lang-switcher img {
  width: 24px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.header-cta {
  display: flex;
  align-items: center;
}

.header-btn {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.header-btn:hover {
  background-color: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(224, 0, 0, 0.3);
}

.header-btn-icon {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.header-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-btn-text strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 1px;
  line-height: 1.1;
}

.header-btn-text span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-black);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-color: var(--primary-black);
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 0.3) 100%
  );
  z-index: 1;
}

.hero-container {
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.tag {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  font-style: italic;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(224, 0, 0, 0.4);
}

.hero h1.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.hero h1.hero-title span.text-red {
  display: block;
}

.hero h1.hero-title span.text-white {
  color: var(--white);
  display: block;
  font-size: 4rem;
  margin-top: 5px;
}

.hero p {
  font-size: 1.2rem;
  color: #d0d0d0;
  margin-bottom: 40px;
  max-width: 500px;
  border-left: 3px solid var(--primary-red);
  padding-left: 15px;
}

/* Services Section */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    180deg,
    rgba(224, 0, 0, 0.05) 0%,
    transparent 100%
  );
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(224, 0, 0, 0.15);
  border-color: rgba(224, 0, 0, 0.2);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--light-gray);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: var(--primary-red);
  transition: var(--transition);
  transform: rotate(-5deg);
}

.service-card:hover .service-icon {
  background-color: var(--primary-red);
  color: var(--white);
  transform: rotate(0) scale(1.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-black);
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
}

/* About Us */
.about {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(224, 0, 0, 0.3), transparent);
  pointer-events: none;
}

.about-text p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-red);
  width: 40px;
  text-align: center;
}

.feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaa;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(90deg, #111 0%, #1a1a1a 100%);
  border-top: 2px solid var(--dark-red);
  border-bottom: 2px solid var(--dark-red);
  padding: 60px 0;
  position: relative;
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon-circle {
  width: 70px;
  height: 70px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 0 20px rgba(224, 0, 0, 0.5);
  animation: pulse 2s infinite;
}

.cta-text-group h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.cta-text-group p {
  color: var(--primary-red);
  font-style: italic;
  font-weight: 700;
  font-size: 1.8rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1;
}

.cta-center {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ddd;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 30px;
}

.cta-right {
  display: flex;
  justify-content: flex-end;
}

/* Service Area */
.area-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.area-text {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.area-pin {
  font-size: 3rem;
  color: var(--primary-red);
  animation: bounce 2s infinite;
}

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

.area-text p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-black);
  line-height: 1.4;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
  position: relative;
  background-color: #e5e3df;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Footer */
footer {
  background-color: var(--primary-black);
  padding: 80px 0 20px;
  border-top: 1px solid var(--dark-gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-gray);
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a::before {
  content: "›";
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.footer-contact i {
  color: var(--primary-red);
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-red);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--dark-gray);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Gallery Section */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #111;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  object-fit: contain;
  height: 500px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(224, 0, 0, 0.8);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--dark-red);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-red);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1.hero-title {
    font-size: 4rem;
  }
  .hero h1.hero-title span.text-white {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-left {
    justify-content: center;
  }
  .cta-center {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
  }
  .cta-right {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    transition: var(--transition);
    padding: 40px 20px;
    overflow-y: auto;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  nav a {
    font-size: 1.5rem;
  }

  .lang-switcher {
    margin-right: 15px;
  }

  .header-cta {
    display: none;
  }

  .hero-container {
    justify-content: center;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
    padding: 0 15px;
  }
  .hero p {
    border-left: none;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .hero {
    padding-top: 140px; /* Aumenta o padding para compensar a logo solta */
  }
  .hero h1.hero-title {
    font-size: 3.2rem;
  }
  .hero h1.hero-title span.text-white {
    font-size: 2.2rem;
  }

  /* Otimização da logo para mobile */
  header .logo-area {
    width: 90px;
    height: 60px;
  }
  .header-logo {
    width: 100px;
    height: 100px;
    top: -10px;
  }
  header.scrolled .header-logo {
    width: 70px;
    height: 70px;
    top: -5px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .section-title.left-align {
    text-align: center;
  }
  .section-title.left-align::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .area-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact li {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .social-icons {
    justify-content: center;
  }

  .carousel-slide {
    height: 300px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 120px;
  }
  .hero h1.hero-title {
    font-size: 2.8rem;
  }
  .hero h1.hero-title span.text-white {
    font-size: 1.8rem;
  }
  .cta-text-group p {
    font-size: 1.4rem;
  }
}
