@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700&display=swap');

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

:root {
  --primary: hsl(37, 91%, 55%);
  --primary-foreground: #000;
  --background: #fff;
  --foreground: #000;
  --muted-foreground: hsl(0, 0%, 40%);
  --border: hsl(0, 0%, 80%);
  --dark-bg: hsl(0, 0%, 10%);
  --light-gray: hsl(0, 0%, 95%);
  --radius: 0.5rem;
  --wpp-green: #25D366;
  --wpp-green-hover: #1ebe5b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HAZARD STRIPES ===== */
.hazard-stripes {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--primary),
    var(--primary) 10px,
    #000 10px,
    #000 20px
  );
}

/* ===== SCROLL ANIMATION ===== */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SLIDE UP ANIMATION ===== */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  opacity: 0;
  animation: slide-up 0.8s ease-out forwards;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  transition: background-color 300ms, box-shadow 300ms;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo img {
  height: 5rem;
  width: auto;
}

.header-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.header-logo-text .gr {
  font-size: 1.5rem;
  color: var(--primary);
}

.header-logo-text .escavacoes {
  font-size: 1.125rem;
  color: var(--background);
  margin-left: 0.25rem;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-desktop a:not(.btn-wpp):hover {
  color: var(--primary);
}

/* ===== BOTAO WHATSAPP GLOBAL ===== */
.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--wpp-green);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.35rem;
  transition: background-color 0.2s, transform 0.2s;
  text-align: center;
  justify-content: center;
}

.btn-wpp:hover {
  background-color: var(--wpp-green-hover);
  transform: scale(1.03);
}

.btn-wpp-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

.btn-wpp-lg {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}


.btn-wpp .wpp-icon {
  flex-shrink: 0;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Mobile hamburger */
.menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--background);
  cursor: pointer;
  padding: 0.25rem;
}

.menu-btn svg {
  width: 28px;
  height: 28px;
}

.menu-icon-close {
  display: none;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background-color: var(--foreground);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  padding: 0.5rem 1.5rem 0;
}

.mobile-menu-cta .btn-wpp {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.hero-stripes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--background);
  line-height: 1;
}

.hero p.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
}

.hero .btn-wpp {
  margin-top: 2rem;
}

.hero .hero-response {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background-color: var(--light-gray);
  padding: 5rem 0;
}

.gallery-section h2 {
  font-size: 2.25rem;
  color: var(--foreground);
  text-align: center;
}

/* Linha de imagens: 2 colunas mobile, 4 desktop */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}

.gallery-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-img:hover img {
  transform: scale(1.05);
}

.gallery-img {
  cursor: pointer;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  animation: lightbox-in 0.25s ease-out;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 3.5rem;
  cursor: pointer;
  padding: 0 1rem;
  line-height: 1;
  transition: color 0.2s;
}

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

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background-color: var(--background);
  padding: 5rem 0;
}

.services-section h2 {
  font-size: 2.25rem;
  color: var(--foreground);
  text-align: center;
}

.services-section > .container > p {
  font-family: 'Montserrat', sans-serif;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.75rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s, border-bottom 0.3s;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  border-bottom: 4px solid var(--primary);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  color: var(--primary);
  stroke: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--foreground);
}

.service-card p {
  font-family: 'Montserrat', sans-serif;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* ===== DIFFERENTIALS SECTION ===== */
.differentials-section {
  background-color: var(--dark-bg);
  padding: 5rem 0;
}

.differentials-section h2 {
  font-size: 2.25rem;
  color: var(--primary);
  text-align: center;
}

.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

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

.differential-item svg {
  color: var(--primary);
  stroke: var(--primary);
  margin: 0 auto;
}

.differential-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 1.25rem;
}

.differential-item p {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.75rem;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background-color: var(--background);
  padding: 5rem 0;
}

.process-section h2 {
  font-size: 2.25rem;
  color: var(--foreground);
  text-align: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  width: 100%;
}

.process-step .step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  color: var(--primary);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.process-step h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.process-step p {
  font-family: 'Montserrat', sans-serif;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.step-arrow {
  display: none;
  position: absolute;
  top: 2.5rem;
  right: -0.5rem;
  font-size: 1.875rem;
  color: var(--primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-gradient {
  padding: 5rem 0;
  background: linear-gradient(135deg, hsl(37, 91%, 55%) 0%, hsl(0, 0%, 0%) 100%);
}

.cta-section h2 {
  font-size: 3rem;
  color: var(--background);
  line-height: 1;
  text-align: center;
}

.cta-section .cta-subtitle {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-size: 1.125rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-cta-ligar {
  display: inline-block;
  border: 2px solid var(--background);
  color: var(--background);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
  text-align: center;
  background: transparent;
}

.btn-cta-ligar:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-note {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--foreground);
}

.footer .container {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

/* Row: tudo em uma linha no desktop */
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  height: 4rem;
  width: auto;
}

.footer-brand h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.footer-brand .gr {
  color: var(--primary);
}

.footer-brand .name {
  color: var(--background);
}

.footer-tagline {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* Columns */
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col p {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  display: block;
  line-height: 1.9;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

/* Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.footer-bottom p {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  text-align: center;
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--wpp-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  background-color: var(--wpp-green-hover);
}

.whatsapp-fab svg {
  fill: #fff;
  color: #fff;
  width: 28px;
  height: 28px;
}

/* ===== RESPONSIVE: SM (640px+) ===== */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .footer-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .footer-col-brand {
    flex: 1;
  }
}

/* ===== RESPONSIVE: MD (768px+) ===== */
@media (min-width: 768px) {
  .header-logo img {
    height: 6rem;
  }

  .header-logo-text .gr {
    font-size: 1.875rem;
  }

  .header-logo-text .escavacoes {
    font-size: 1.25rem;
  }

  .nav-desktop {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .hero p.hero-subtitle {
    font-size: 1.125rem;
  }

  .gallery-images {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-section {
    padding: 7rem 0;
  }

  .gallery-section h2 {
    font-size: 3rem;
  }

  .services-section {
    padding: 7rem 0;
  }

  .services-section h2 {
    font-size: 3rem;
  }

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

  .differentials-section {
    padding: 7rem 0;
  }

  .differentials-section h2 {
    font-size: 3rem;
  }

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

  .process-section {
    padding: 7rem 0;
  }

  .process-section h2 {
    font-size: 3rem;
  }

  .process-steps {
    flex-direction: row;
    gap: 1rem;
  }

  .process-step .step-num {
    font-size: 6rem;
  }

  .step-arrow {
    display: block;
  }

  .cta-gradient {
    padding: 7rem 0;
  }

  .cta-section h2 {
    font-size: 4.5rem;
  }

  .footer-brand img {
    height: 4.5rem;
  }

  .footer-brand h3 {
    font-size: 1.75rem;
  }
}

/* ===== RESPONSIVE: LG (1024px+) ===== */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 8rem;
  }

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