/* ============================================
   MARCENARIA JF WOODWORK — STYLES
   ============================================ */

:root {
  --gold: #F1BA60;
  --gold-hover: #d9a54e;
  --gold-light: rgba(241, 186, 96, 0.15);
  --black: #1A1A1A;
  --dark: #2D2D2D;
  --charcoal: #3A3A3A;
  --warm-white: #FAF8F5;
  --beige: #F5F0EB;
  --beige-dark: #E8DFD5;
  --cream: #FFFDF9;
  --wood-dark: #5C3D1A;
  --wood-medium: #8B6914;
  --text: #333333;
  --text-light: #777777;
  --text-muted: #AAAAAA;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 30px rgba(241, 186, 96, 0.3);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

p {
  line-height: 1.8;
  color: var(--text-light);
}

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

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

ul {
  list-style: none;
}

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

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

/* ============================================
   SECTION HEADERS
   ============================================ */

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

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-tag::before { left: -30px; }
.section-tag::after { right: -30px; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
}

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

.btn-dark {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
}

.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo-img {
  height: 75px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.navbar.scrolled .nav-logo-img {
  filter: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
}

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

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

.nav-link:hover {
  color: var(--gold);
}

.navbar.scrolled .nav-link {
  color: var(--text);
}

.navbar.scrolled .nav-link:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--black) !important;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--black);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  text-align: left;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 180px;
  padding-right: 24px;
  width: 100%;
}


.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.3s forwards;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 24px;
  max-width: 750px;
  font-weight: 700;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 70px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 50px;
  justify-content: flex-start;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s 1.1s forwards;
}

.hero-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  animation: bounceDown 2s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

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

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   NOSSA HISTÓRIA (TIMELINE)
   ============================================ */

#historia {
  background: var(--warm-white);
}

.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.historia-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.historia-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.historia-image:hover img {
  transform: scale(1.03);
}

.historia-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.historia-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.historia-text p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.historia-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  font-style: italic;
  color: var(--wood-dark);
  padding: 24px 0;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  margin-top: 24px;
  line-height: 1.6;
}

.timeline {
  margin-top: 80px;
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--beige-dark);
}

.timeline-item {
  position: relative;
  text-align: center;
  flex: 1;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-label {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 140px;
  margin: 0 auto;
}

/* ============================================
   SOBRE / ABOUT
   ============================================ */

#sobre {
  background: var(--cream);
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.sobre-card {
  background: var(--warm-white);
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sobre-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.sobre-card:hover::before {
  transform: scaleX(1);
}

.sobre-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.sobre-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: 50%;
  color: var(--gold);
}

.sobre-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.sobre-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.sobre-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================
   SERVIÇOS
   ============================================ */

#servicos {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#servicos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#servicos .section-tag {
  color: var(--gold);
}

#servicos .section-title {
  color: #fff;
}

#servicos .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

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

.servico-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  cursor: pointer;
  group: true;
}

.servico-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.servico-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.servico-slide.active {
  opacity: 1;
}

.servico-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.servico-card-slider:hover .servico-slide.active img {
  transform: scale(1.1);
}

/* Banner Custom Project */
.servico-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #2a1f10 0%, #3d2d18 100%);
  padding: 26px 36px;
  border-radius: 100px;
  margin-top: 60px;
  border: 1px solid rgba(241, 186, 96, 0.15);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.servico-banner:hover {
  border-color: rgba(241, 186, 96, 0.4);
  box-shadow: 0 10px 40px rgba(241, 186, 96, 0.1);
}

.servico-banner-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: rgba(241, 186, 96, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.servico-banner-icon svg {
  width: 22px;
  height: 22px;
}

.servico-banner-text {
  flex: 1;
}

.servico-banner-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.servico-banner-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.5;
}

.servico-banner-text p strong {
  color: var(--gold);
  font-weight: 600;
}

.servico-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.servico-banner-btn:hover {
  background: var(--gold-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 768px) {
  .servico-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
    border-radius: 24px;
    gap: 16px;
  }
}

.servico-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.servico-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(26, 26, 26, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.servico-card:hover .servico-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.98) 0%,
    rgba(26, 26, 26, 0.5) 60%,
    rgba(26, 26, 26, 0.2) 100%
  );
}

.servico-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(241, 186, 96, 0.15);
  position: absolute;
  top: 20px;
  right: 24px;
}

.servico-overlay h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: var(--transition);
}

.servico-card:hover .servico-overlay h4 {
  transform: translateY(0);
}

.servico-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: var(--transition);
}

.servico-card:hover .servico-overlay p {
  max-height: 100px;
  opacity: 1;
  margin-top: 4px;
}

.servico-overlay .servico-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(241, 186, 96, 0.7);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 50px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  width: fit-content;
}

.servico-overlay .servico-link:hover {
  background: var(--gold);
}

.servico-overlay .servico-link svg {
  stroke: var(--black);
}

.servico-card:hover .servico-link {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PORTFÓLIO
   ============================================ */

#portfolio {
  background: var(--warm-white);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

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

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.portfolio-grid .portfolio-item {
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 280px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-overlay svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 12px;
}

.portfolio-item-overlay span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.portfolio-load-more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.portfolio-load-more .load-more-btn {
  cursor: pointer;
}

.portfolio-load-more.hidden {
  display: none;
}

.portfolio-item.hidden {
  display: none !important;
}

.portfolio-cta {
  text-align: center;
  margin-top: 60px;
}

.portfolio-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.portfolio-cta p {
  margin-bottom: 24px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* ============================================
   DIFERENCIAIS
   ============================================ */

#diferenciais {
  background: var(--cream);
  position: relative;
}

.diferenciais-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diferenciais-visual {
  position: relative;
}

.diferenciais-visual img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.diferenciais-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.diferenciais-badge span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.diferenciais-badge span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
}

.diferenciais-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diferencial-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.diferencial-item:hover {
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
}

.diferencial-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diferencial-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.diferencial-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.diferencial-item p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.diferenciais-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-top: 80px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

.diferenciais-quote em {
  color: var(--gold);
  font-style: normal;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */

#depoimentos {
  background: var(--warm-white);
  overflow: hidden;
}

.depoimentos-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.depoimentos-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.depoimento-slide {
  min-width: 100%;
  padding: 0 20px;
}

.depoimento-card {
  background: var(--cream);
  padding: 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}

.depoimento-card::before {
  content: '\201C';
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.depoimento-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.depoimento-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.depoimento-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.depoimento-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.depoimento-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--black);
}

.depoimento-author-info h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.depoimento-author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beige-dark);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  width: 30px;
  border-radius: 10px;
}

/* ============================================
   FAQ
   ============================================ */

#faq {
  background: var(--cream);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--gold);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
}

.faq-item.active .faq-icon svg {
  stroke: var(--black);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(241, 186, 96, 0.1) 0%, transparent 60%);
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: left;
}

.cta-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-left: 50px;
  position: relative;
}

.cta-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-section h2 em {
  color: var(--gold);
  font-style: normal;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  margin: 0 0 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-section .btn {
  position: relative;
}

/* CTA Carousel */
.cta-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-carousel-track {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.cta-carousel-slide.active {
  opacity: 1;
}

.cta-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}

.cta-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-carousel-track {
    height: 320px;
  }

  .cta-section p {
    max-width: 100%;
  }
}

/* ============================================
   CONTATO
   ============================================ */

#contato {
  background: var(--warm-white);
}

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

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contato-info h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contato-info > p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.contato-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contato-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contato-item h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contato-item p,
.contato-item a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contato-item a:hover {
  color: var(--gold);
}

.contato-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contato-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contato-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.contato-social svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  transition: var(--transition);
}

.contato-social a:hover svg {
  fill: var(--black);
}

/* Footer social icons - golden by default with lift hover */
.footer .contato-social a {
  border-color: var(--gold);
  background: transparent;
}

.footer .contato-social a svg {
  fill: var(--gold);
  color: var(--gold);
}

.footer .contato-social a svg [stroke] {
  stroke: var(--gold);
}

.footer .contato-social a:hover {
  background: transparent;
  border-color: var(--gold);
  transform: translateY(-6px);
}

.footer .contato-social a:hover svg {
  fill: var(--gold);
  color: var(--gold);
}

.contato-form {
  background: var(--cream);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contato-form h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-img {
  height: 110px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  min-width: 18px;
  margin-top: 2px;
}

.footer-contact-item p,
.footer-contact-item a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
}

.footer-credit span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.3px;
}

.footer-credit img {
  height: 22px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.footer-credit:hover {
  opacity: 0.85;
}

.footer-credit:hover img {
  transform: translateY(-2px);
}

.footer-credit:hover span {
  color: var(--gold);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1); }
  100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.back-to-top:hover svg {
  stroke: var(--black);
}

/* ============================================
   LOCALIZAÇÃO
   ============================================ */

#localizacao {
  background: var(--warm-white);
  padding: 100px 0 60px;
}

#localizacao .section-header {
  margin-bottom: 0;
}

.localizacao-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
  width: 100%;
  height: 350px;
  filter: grayscale(0.5) contrast(1.1);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid .portfolio-item {
    flex: 0 1 calc((100% - 20px) / 2);
  }

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

  .sobre-card:nth-child(4),
  .sobre-card:nth-child(5) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .diferenciais-wrapper {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span {
    background: #fff !important;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    gap: 30px;
    flex-wrap: wrap;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

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

  .hero-buttons .btn {
    justify-content: center;
  }

  .historia-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .historia-image img {
    height: 350px;
  }

  .historia-image-accent {
    display: none;
  }

  .timeline-track {
    flex-direction: column;
    gap: 24px;
    padding-left: 30px;
    padding-top: 0;
  }

  .timeline-track::before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
  }

  .timeline-item {
    text-align: left;
  }

  .timeline-item::before {
    top: 50%;
    left: -30px;
    transform: translate(0, -50%);
  }

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

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

  .servico-card {
    height: 280px;
  }

  .portfolio-grid {
    gap: 12px;
  }
  .portfolio-grid .portfolio-item {
    flex: 0 1 calc((100% - 12px) / 2);
    min-width: 0;
  }

  .diferenciais-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diferenciais-visual img {
    height: 350px;
  }

  .diferenciais-badge {
    bottom: -15px;
    right: 15px;
    width: 100px;
    height: 100px;
  }

  .diferenciais-badge span:first-child {
    font-size: 1.6rem;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-form {
    padding: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .depoimento-card {
    padding: 30px 20px;
  }

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

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

  .portfolio-grid .portfolio-item {
    flex: 1 1 100%;
  }

  .portfolio-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
  }

  .hero-stat {
    min-width: 40%;
  }

  .hero-scroll {
    display: none;
  }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 6px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: loaderReveal 0.6s ease forwards;
}

.loader-logo span {
  color: var(--gold);
}

@keyframes loaderReveal {
  0% { opacity: 0; letter-spacing: 12px; }
  100% { opacity: 1; letter-spacing: 6px; }
}

.loader-bar {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar-inner {
  width: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
  animation: loadBar 0.8s 0.2s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ============================================
   GRAIN TEXTURE OVERLAY
   ============================================ */

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */

.counter-animate {
  display: inline-block;
}

/* ============================================
   NAVBAR OVERLAY (mobile)
   ============================================ */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

/* ============================================
   MOBILE - COMPLETE OVERRIDE (768px)
   ============================================ */

@media (max-width: 768px) {
  /* ---- Base / Containers ---- */
  html { font-size: 15px; }
  body { overflow-x: hidden; }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-padding {
    padding: 60px 0 !important;
  }

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

  .section-tag {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .section-title br { display: none; }

  .section-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  /* ---- Buttons ---- */
  .btn {
    padding: 14px 22px;
    font-size: 0.85rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ---- Navbar ---- */
  .navbar { padding: 14px 0; }
  .navbar.scrolled { padding: 10px 0; }
  .nav-logo-img { height: 38px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 60px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  }

  .nav-menu.open { right: 0; }

  .nav-menu .nav-link,
  .nav-menu .nav-cta,
  .navbar.scrolled .nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    width: 100%;
  }

  .nav-menu .nav-link:hover,
  .navbar.scrolled .nav-menu .nav-link:hover {
    color: var(--gold);
  }

  .nav-menu .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 14px 24px;
    color: var(--black) !important;
  }

  .nav-toggle { display: flex; }

  /* ---- Hero ---- */
  .hero { min-height: 100vh; min-height: 100dvh; }

  .hero-content {
    padding: 100px 20px 60px;
    text-align: center;
    align-items: center;
  }

  .hero-tag {
    margin: 0 auto 16px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.2rem) !important;
    text-align: center;
    margin: 0 auto 18px;
  }

  .hero-title br { display: inline; }

  .hero-description {
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto 32px;
    padding: 0 4px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
    margin-bottom: 50px;
  }

  .hero-buttons .btn { width: 100%; max-width: 320px; }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 28px;
  }

  .hero-stat { min-width: 30%; text-align: center; }
  .hero-stat-number { font-size: 1.7rem; }
  .hero-stat-label { font-size: 0.65rem; }

  .hero-scroll { display: none; }

  /* ---- História ---- */
  .historia-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .historia-image img {
    height: 280px;
    width: 100%;
    border-radius: 16px;
  }

  .historia-image-accent { display: none; }

  .historia-text h3 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .historia-text p { font-size: 0.95rem; }

  .historia-quote {
    font-size: 1rem;
    padding: 18px 22px;
  }

  /* ---- Timeline ---- */
  .timeline {
    margin-top: 50px;
  }

  .timeline-track {
    flex-direction: column;
    gap: 28px;
    padding-left: 36px;
    padding-top: 0;
    align-items: flex-start;
  }

  .timeline-track::before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 6px;
    right: auto;
  }

  .timeline-item {
    text-align: left;
    width: 100%;
    flex: none;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .timeline-item::before {
    top: 50%;
    left: -34px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
  }

  .timeline-year {
    font-size: 1.4rem;
    flex: 0 0 auto;
    margin-bottom: 0;
    line-height: 1;
  }

  .timeline-label {
    font-size: 0.85rem;
    flex: 1;
    line-height: 1.4;
    margin: 0;
    max-width: none;
    text-align: left;
  }

  /* ---- Sobre / Valores ---- */
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .sobre-card {
    padding: 22px 18px;
  }

  .sobre-card h4 {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .sobre-card p { font-size: 0.82rem; }

  /* ---- Serviços ---- */
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .servico-card {
    height: 320px;
    border-radius: 16px;
  }

  /* Mobile: always show expanded card state (no hover available) */
  .servico-overlay {
    padding: 24px 22px;
    background: linear-gradient(
      to top,
      rgba(26, 26, 26, 0.98) 0%,
      rgba(26, 26, 26, 0.55) 60%,
      rgba(26, 26, 26, 0.25) 100%
    );
  }

  .servico-overlay h4 {
    font-size: 1.15rem;
    transform: translateY(0);
  }

  .servico-overlay p {
    font-size: 0.85rem;
    max-height: 200px;
    opacity: 1;
    margin-top: 4px;
  }

  .servico-overlay .servico-link {
    display: none;
  }

  .servico-number { font-size: 2.4rem; top: 16px; right: 18px; }

  .servico-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
    border-radius: 20px;
    gap: 16px;
    margin-top: 40px;
  }

  .servico-banner-text h4 { font-size: 1.05rem; }
  .servico-banner-text p { font-size: 0.85rem; }
  .servico-banner-btn { width: 100%; justify-content: center; }

  /* ---- Portfolio ---- */
  .portfolio-filters {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
  }

  .filter-btn {
    padding: 9px 16px;
    font-size: 0.72rem;
  }

  .portfolio-grid {
    gap: 10px;
  }

  .portfolio-grid .portfolio-item {
    flex: 0 1 calc((100% - 10px) / 2);
    min-width: 0;
    border-radius: 10px;
  }

  .portfolio-load-more { margin-top: 28px; }

  .portfolio-load-more .load-more-btn {
    width: auto;
    max-width: none;
    padding: 10px 22px;
    font-size: 0.72rem;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    letter-spacing: 1px;
    font-weight: 500;
  }

  .portfolio-load-more .load-more-btn::before {
    display: none;
  }

  .portfolio-load-more .load-more-btn svg {
    width: 12px;
    height: 12px;
    stroke: var(--text);
  }

  .portfolio-cta {
    padding: 36px 22px;
    margin-top: 50px;
    border-radius: 20px;
  }

  .portfolio-cta h3 { font-size: 1.25rem; line-height: 1.3; }
  .portfolio-cta p { font-size: 0.9rem; }

  /* ---- Diferenciais ---- */
  .diferenciais-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diferenciais-visual img {
    height: 320px;
    border-radius: 16px;
  }

  .diferenciais-badge {
    bottom: -12px;
    right: 14px;
    width: 90px;
    height: 90px;
    padding: 12px;
  }

  .diferenciais-badge span:first-child { font-size: 1.4rem; }
  .diferenciais-badge span:last-child { font-size: 0.6rem; }

  .diferencial-item { gap: 14px; padding: 18px; }
  .diferencial-icon { width: 44px; height: 44px; flex-shrink: 0; }
  .diferencial-icon svg { width: 22px; height: 22px; }
  .diferencial-item h4 { font-size: 1rem; line-height: 1.3; }
  .diferencial-item p { font-size: 0.85rem; }

  .diferenciais-quote {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-top: 50px;
    padding: 0 12px;
    border-top: none;
    padding-top: 0;
  }

  /* ---- Depoimentos ---- */
  .depoimento-slide { padding: 0 4px; }

  .depoimento-card {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .depoimento-stars { gap: 4px; margin-bottom: 16px; }
  .depoimento-stars svg { width: 16px; height: 16px; }

  .depoimento-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .depoimento-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  .depoimento-author-info h5 { font-size: 0.9rem; }
  .depoimento-author-info span { font-size: 0.78rem; }

  /* ---- FAQ ---- */
  .faq-question {
    padding: 18px 18px;
    font-size: 0.92rem;
    gap: 12px;
    text-align: left;
  }

  .faq-icon { width: 28px; height: 28px; flex-shrink: 0; }
  .faq-icon svg { width: 14px; height: 14px; }

  .faq-answer p {
    font-size: 0.88rem;
    padding: 0 18px 18px;
  }

  /* ---- CTA Section ---- */
  .cta-section { padding: 60px 0; }

  .cta-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-content {
    text-align: center;
    align-items: center;
  }

  .cta-content h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.25;
    text-align: center;
  }

  .cta-content p {
    font-size: 0.95rem;
    max-width: 100%;
    text-align: center;
  }

  .cta-content .btn {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .cta-carousel-track { height: 260px; }
  .cta-carousel-dots { margin-top: 14px; }

  /* ---- Localização ---- */
  .localizacao-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
    margin-top: 20px;
  }

  .localizacao-buttons .btn { width: 100%; max-width: none; }

  .map-section iframe { height: 320px; }

  /* ---- Contato ---- */
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contato-info h3 { font-size: 1.4rem; }
  .contato-info > p { font-size: 0.9rem; }

  .contato-item { gap: 14px; }
  .contato-item-icon { width: 42px; height: 42px; flex-shrink: 0; }

  .contato-form {
    padding: 28px 22px;
    border-radius: 16px;
  }

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

  .contato-form input,
  .contato-form select,
  .contato-form textarea {
    font-size: 0.95rem;
    padding: 12px 14px;
  }

  /* ---- Footer ---- */
  .footer { padding: 50px 0 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  .footer-brand p { font-size: 0.88rem; }
  .footer-logo-img { height: 48px; }

  .footer h5 {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .footer-links li { margin-bottom: 8px; }
  .footer-links a { font-size: 0.85rem; }

  .footer-contact-item { gap: 10px; margin-bottom: 12px; }
  .footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
  .footer-contact-item p,
  .footer-contact-item a { font-size: 0.85rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-top: 24px;
    margin-top: 32px;
  }

  .footer-bottom p { font-size: 0.78rem; }
  .footer-bottom-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-bottom-links a { font-size: 0.78rem; }

  /* ---- Floating Buttons ---- */
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float svg { width: 28px; height: 28px; }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 86px;
    right: 24px;
  }

  /* ---- Lightbox ---- */
  .lightbox img {
    max-width: 92vw;
    max-height: 75vh;
  }

  .lightbox-close { font-size: 2rem; top: 16px; right: 16px; }
  .lightbox-nav { font-size: 2rem; padding: 8px 14px; }
}

/* ============================================
   SMALL MOBILE (480px)
   ============================================ */

@media (max-width: 480px) {
  html { font-size: 14px; }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-padding { padding: 48px 0 !important; }

  .section-title {
    font-size: clamp(1.4rem, 7vw, 1.9rem) !important;
  }

  /* Hero */
  .hero-content { padding: 90px 16px 50px; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 2.75rem) !important; }
  .hero-description { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-stats { gap: 18px; padding-top: 22px; }
  .hero-stat { min-width: 42%; }
  .hero-stat-number { font-size: 1.5rem; }

  /* Sobre */
  .sobre-grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid .portfolio-item { flex: 1 1 100%; }
  .filter-btn { padding: 8px 14px; font-size: 0.68rem; }

  /* Diferenciais */
  .diferencial-item { padding: 16px; flex-direction: row; }
  .diferencial-icon { width: 40px; height: 40px; }
  .diferencial-icon svg { width: 20px; height: 20px; }

  /* Depoimentos */
  .depoimento-card { padding: 24px 18px; }
  .depoimento-text { font-size: 0.9rem; }

  /* FAQ */
  .faq-question { padding: 16px 16px; font-size: 0.88rem; }
  .faq-answer p { padding: 0 16px 16px; font-size: 0.85rem; }

  /* CTA */
  .cta-content h2 { font-size: clamp(1.4rem, 7vw, 1.9rem); line-height: 1.25; }
  .cta-carousel-track { height: 220px; }

  /* Contato */
  .contato-form { padding: 22px 18px; }

  /* Footer */
  .footer-bottom-links { font-size: 0.75rem; }

  /* Floating */
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { width: 38px; height: 38px; bottom: 80px; right: 22px; }

  /* Servicos */
  .servico-card { height: 280px; }
  .servico-overlay { padding: 20px 18px; }
}

/* ============================================
   EXTRA SMALL (360px)
   ============================================ */

@media (max-width: 360px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title { font-size: 2rem !important; }
  .hero-description { font-size: 1rem; }
  .section-title { font-size: 1.4rem !important; }

  .btn { padding: 12px 18px; font-size: 0.8rem; }

  .servico-card { height: 260px; }
  .servico-overlay h4 { font-size: 1rem; }

  .diferenciais-badge { width: 78px; height: 78px; }
  .diferenciais-badge span:first-child { font-size: 1.2rem; }
}
