/**
 * Estilos do Frontend - Idêntico ao Preview React
 * Vitória Palavro - Portfolio Audiovisual
 */

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

:root {
  --primary: 152 52% 78%;
  --primary-foreground: 0 0% 3%;
  --background: 0 0% 3%;
  --foreground: 0 0% 98%;
  --muted: 0 0% 15%;
  --muted-foreground: 0 0% 65%;
  --border: 0 0% 18%;
  --card: 0 0% 6%;

  /* Colors for direct use */
  --primary-color: hsl(152, 52%, 78%);
  --bg-dark: hsl(0, 0%, 3%);
  --bg-card: hsl(0, 0%, 6%);
  --text: hsl(0, 0%, 98%);
  --text-muted: hsl(0, 0%, 65%);
  --border-color: hsl(0, 0%, 18%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Text Gradient - Matches React */
.text-gradient {
  background: linear-gradient(135deg, hsl(152, 52%, 78%) 0%, hsl(152, 40%, 65%) 22%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsla(0, 0%, 3%, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  padding: 10px 0;
}

.header.scrolled {
  background: hsla(0, 0%, 3%, 0.95);
}

.header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 24px;
}

/* Logo - Matches React */
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  font-size: 1.25rem;
}

.logo-vitoria {
  font-weight: 700;
  color: var(--text);
  text-transform: lowercase;
}

.logo-palavro {
  font-weight: 300;
  color: var(--primary-color);
  text-transform: lowercase;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav a:hover {
  color: var(--text);
}

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

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

.nav-cta {
  background: var(--primary-color) !important;
  color: hsl(0, 0%, 3.9%) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.875rem;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== HERO SECTION - Matches React Exactly ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

/* Gradient Overlays */
.hero-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(0, 0%, 3.9%, 0.9), hsla(0, 0%, 3.9%, 0.5), transparent);
  z-index: 10;
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 0%, 3.9%, 0.6), transparent, transparent);
  z-index: 10;
}

/* Hero Background with Parallax */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
}

.hero-bg {
  height: 120%;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 30% center;
  will-change: transform;
}

/* Hero Content - Left Aligned */
.hero-content {
  position: relative;
  z-index: 20;
  max-width: 672px; /* max-w-2xl */
}

/* Tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid hsla(142, 71%, 45%, 0.3);
  background: hsla(142, 71%, 45%, 0.1);
  margin-bottom: 24px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: pulse 2s infinite;
}

.hero-tag-text {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Hero Title - Smaller like React */
.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2.25rem); /* text-2xl to text-4xl */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-title .text-white {
  color: var(--text);
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem); /* text-lg to text-xl */
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 512px;
}

.hero-subtitle .highlight {
  color: var(--text);
  font-weight: 500;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.875rem, 4vw, 2.25rem); /* text-3xl to text-4xl */
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: hsl(0, 0%, 3.9%);
}

.btn-primary:hover {
  background: hsl(142, 71%, 40%);
  transform: scale(1.05);
  box-shadow: 0 0 30px hsla(142, 71%, 45%, 0.4);
}

.btn-primary svg {
  fill: currentColor;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid hsla(142, 71%, 45%, 0.5);
}

.btn-outline:hover {
  background: hsla(142, 71%, 45%, 0.1);
}

/* Bottom Gradient Fade */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  z-index: 20;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid hsla(142, 71%, 45%, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 9999px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== ABOUT SECTION - Identical to React ===== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-blur-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: hsla(142, 71%, 45%, 0.05);
  border-radius: 9999px;
  filter: blur(64px);
  transform: translate(-50%, -50%);
}

.about-blur-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsla(142, 71%, 45%, 0.05);
  border-radius: 9999px;
  filter: blur(64px);
  transform: translate(50%, 50%);
}

.about-container {
  position: relative;
  z-index: 10;
}

.about-wrapper {
  max-width: 1024px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid hsla(142, 71%, 45%, 0.3);
  background: hsla(142, 71%, 45%, 0.1);
  margin-bottom: 24px;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: pulse 2s infinite;
}

.tag-text {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* About Card with Glassmorphism */
.about-card-wrapper {
  position: relative;
}

.about-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(to right, hsla(142, 71%, 45%, 0.5), hsla(142, 71%, 45%, 0.2), hsla(142, 71%, 45%, 0.5));
  border-radius: 16px;
  filter: blur(1px);
  opacity: 0.3;
}

.about-card {
  position: relative;
  background: hsla(0, 0%, 6%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsla(142, 71%, 45%, 0.2);
  border-radius: 16px;
  padding: 32px 48px;
}

@media (max-width: 768px) {
  .about-card {
    padding: 24px;
  }
}

.about-quote {
  position: absolute;
  top: -16px;
  left: 32px;
  font-size: 4rem;
  color: hsla(142, 71%, 45%, 0.3);
  font-family: "Montserrat", sans-serif;
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-intro {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 500;
}

.about-italic {
  font-style: italic;
  color: hsla(142, 71%, 45%, 0.8);
}

.font-semibold {
  font-weight: 600;
}

/* About Photo */
.about-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px hsla(0, 0%, 0%, 0.5);
}

.about-photo-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, hsla(142, 71%, 45%, 0.4), hsla(142, 71%, 45%, 0.1), hsla(142, 71%, 45%, 0.4));
  border-radius: 18px;
  z-index: -1;
}

.about-photo-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-photo-wrapper:hover .about-photo-img {
  transform: scale(1.02);
}

.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 200px;
  height: 250px;
  background: hsla(0, 0%, 3.9%, 0.5);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  color: var(--text-muted);
}

.about-photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.about-photo-placeholder span {
  font-size: 0.75rem;
  text-align: center;
  max-width: 150px;
}

.about-bottom-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 33.333%;
  height: 2px;
  background: linear-gradient(to right, transparent, hsla(142, 71%, 45%, 0.5), transparent);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: hsl(0, 0%, 18%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-dark), transparent, var(--bg-dark));
  opacity: 0.5;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: hsla(0, 0%, 6%, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid hsla(0, 0%, 18%, 0.5);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(152, 52%, 78%, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover {
  border-color: hsla(152, 52%, 78%, 0.5);
  background: hsla(0, 0%, 6%, 0.8);
  box-shadow: 0 0 30px hsla(152, 52%, 78%, 0.1);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: hsla(152, 52%, 78%, 0.1);
  border: 1px solid hsla(152, 52%, 78%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: hsla(152, 52%, 78%, 0.2);
  border-color: hsla(152, 52%, 78%, 0.4);
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  position: relative;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 10;
}

.services-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.services-cta a:hover {
  opacity: 0.8;
}

/* ===== PROJECTS SECTION ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: hsl(0, 0%, 3.9%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-dark);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  aspect-ratio: 10/10;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

.project-card.hidden {
  display: none;
}

.project-thumb {
  position: relative;
  aspect-ratio: 10/10;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.1);
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: hsl(0, 0%, 3.9%);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-info {
  padding: 20px;
  position: absolute;
  z-index: 100;
  bottom: 0px;
  background: #000000;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0) 100%);
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  padding: 4px 12px;
  background: hsla(142, 71%, 45%, 0.1);
  border: 1px solid hsla(142, 71%, 45%, 0.3);
  color: var(--primary-color);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== BUDGET FORM SECTION ===== */
.budget-section {
  position: relative;
  overflow: hidden;
}

.budget-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.budget-overlay {
  position: absolute;
  inset: 0;
  background: hsla(0, 0%, 3.9%, 0.8);
}

.budget-container {
  position: relative;
  z-index: 10;
}

.budget-wrapper {
  max-width: 896px;
  margin: 0 auto;
}

.budget-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group .required {
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: hsla(0, 0%, 3.9%, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 150px;
  resize: none;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  gap: 16px;
}

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

.checkbox-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .checkbox-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkbox-item input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.checkbox-item input:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-item input:checked + .checkbox-custom::after {
  content: "✓";
  color: hsl(0, 0%, 3.9%);
  font-size: 14px;
  font-weight: 700;
}

.checkbox-label {
  color: var(--text);
  font-weight: 400;
}

/* Dates Section */
.dates-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.btn-add-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-add-date:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: hsl(0, 0%, 3.9%);
}

.dates-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date-row {
  display: flex;
  gap: 8px;
}

.date-input {
  flex: 1;
  padding: 12px 16px;
  background: hsla(0, 0%, 3.9%, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
}

.date-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-remove-date {
  padding: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.btn-remove-date:hover {
  color: #ef4444;
}

/* Submit Button */
.form-submit {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.btn-submit {
  padding: 16px 48px;
  font-size: 1rem;
  box-shadow: 0 0 20px hsla(142, 71%, 45%, 0.3);
}

.btn-submit:hover {
  box-shadow: 0 0 40px hsla(142, 71%, 45%, 0.5);
}

/* ===== CONTACT SECTION ===== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #25d366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-email:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-link {
  color: hsla(0, 0%, 100%, 0.2);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.admin-link:hover {
  color: var(--text-muted);
}

/* ===== SUBPROJETOS NO MODAL ===== */
.subprojetos-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.subprojetos-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.subprojetos-list-modal {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sub-item-modal {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid hsla(0, 0%, 18%, 0.5);
}

.sub-item-modal:hover,
.sub-item-modal.active {
  background: hsla(0, 0%, 100%, 0.03);
}

.sub-number-modal {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 32px;
  text-align: center;
}

.sub-thumb-modal {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sub-thumb-placeholder-modal {
  width: 120px;
  height: 68px;
  background: hsla(0, 0%, 10%, 0.8);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sub-text-modal {
  flex: 1;
}

.sub-text-modal strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.sub-text-modal p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.sub-midias-modal {
  padding: 16px 16px 16px 64px;
  background: hsla(0, 0%, 0%, 0.3);
}

@media (max-width: 768px) {
  .sub-item-modal {
    gap: 12px;
    padding: 12px;
  }
  .sub-thumb-modal,
  .sub-thumb-placeholder-modal {
    width: 80px;
    height: 45px;
  }
  .sub-midias-modal {
    padding: 12px;
  }
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.95);
  z-index: 2000;
  overflow-y: auto;
  padding: 40px 20px;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-color);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: hsla(0, 0%, 100%, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.modal-close:hover {
  background: hsla(0, 0%, 100%, 0.2);
}

.modal-body {
  padding: 40px;
}

/* Media Items */
.media-item {
  margin-bottom: 16px;
}

.media-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: none;
}

.native-video-player {
  width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  background: #000;
  outline: none;
}

.native-video-player::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.media-image {
  width: 100%;
  border-radius: 8px;
}

.modal-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid var(--border-color);
}

.modal-prev,
.modal-next {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-prev:hover,
.modal-next:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.modal-prev:disabled,
.modal-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(0, 0%, 3%);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
  }

  .mobile-menu-btn {
    display: block;
  }
  .hero-bottom-fade {
    display: none;
  }

  .hero {
    height: unset;
  }
  .hero-bg {
    background-position-x: 60%;
    height: 100%;
  }
  .hero-content {
    height: 100vh;
    padding-top: 100px;
  }

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

  .btn {
    width: 100%;
  }

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

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .scroll-indicator {
    display: none;
  }
  .hero-title {
    margin-bottom: 14px;
  }
  .btn {
    padding: 11px 22px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    flex: 3;
    width: 30%;
    border: solid hsl(152deg 52% 78% / 51%);
    border-radius: 8px;
    background: #0000004a;
  }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
