/* 
    Projeto Zero7 - Premium Stylesheet
    Author: AI Assistant
    Style Guide: Deep Navy Blues, Gold Accents, Clean Whites, Glassmorphism, Modern Layouts.
*/

:root {
  /* Color Palette */
  --primary-color: #0a192f; /* Deep Navy Blue */
  --primary-light: #112240; /* Navy Blue */
  --accent-color: #d4af37; /* Gold Accent */
  --accent-hover: #f1cf5b;
  --text-main: #333333;
  --text-light: #666666;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #020c1b;

  /* Typography */
  --font-sans: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;

  /* Variables */
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --border-radius-lg: 16px;

  /* Layout */
  --container-width: 1200px;
  --section-pad: 5rem 0;
}

/* Reset & Scaffolding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-center {
  text-align: center;
}
.text-light {
  color: #fff !important;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: var(--section-pad);
}

.section-bg {
  background-color: var(--bg-alt);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--primary-color);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  background-color: rgba(212, 175, 55, 0.15); /* Gold low opacity */
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--accent-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(10, 25, 47, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 85px; /* Aumentado para melhor visibilidade com o formato da imagem */
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.header.scrolled .logo-img {
  max-height: 65px; /* Reduz levemente ao rolar para poupar espaço vertical */
}

.footer-logo .logo-img {
  max-height: 85px; /* Mantém um bom tamanho em relação ao topo */
  background-color: transparent;
  padding: 0;
}

.logo-text {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      135deg,
      rgba(10, 25, 47, 0.9) 0%,
      rgba(2, 12, 27, 0.8) 100%
    ),
    url('../img/hero_background_1773859658737.png') center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: #fff;
  font-size: 2rem;
  opacity: 0.7;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-color);
}

.experience-badge .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-color);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-highlights {
  margin-top: 2rem;
}

.about-highlights li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.05rem;
}

.about-highlights li i {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(10, 25, 47, 0.1);
  font-family: var(--font-heading);
  z-index: 1; /* Removendo z-index -1 pois pode fazê-lo ficar atrás do background da div pai se não houver contexto */
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-list {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-left: 1rem;
}

.service-list li {
  list-style-type: disc;
  margin-bottom: 0.25rem;
}

.service-list li strong {
  color: var(--primary-color);
}

.service-norm-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Diferenciais Section */
.differencials {
  background-color: var(--primary-color);
  color: #fff;
  position: relative;
  padding: 6rem 0;
}

.differencials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at right center,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.diff-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.diff-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.diff-title {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.diff-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.instagram-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.instagram-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.instagram-link:hover {
  color: #fff;
}

.instagram-link:hover i {
  transform: translateX(5px);
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  margin-bottom: 2rem;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-heading {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--accent-color);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(-50px);
}

.fade-right {
  transform: translateX(50px);
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  .about-container {
    gap: 2rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 768px) {
  .header {
    background-color: rgba(10, 25, 47, 0.98);
  }

  .logo-img {
    max-height: 60px; /* Logo mais compacto no mobile */
  }

  .mobile-toggle {
    display: block;
    color: #fff;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(10, 25, 47, 0.98);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
}
