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

:root {
  --primary: #0077b6;
  --primary-dark: #005f92;
  --secondary: #00b4d8;
  --accent: #48cae4;
  --background: #f0f7fa;
  --foreground: #1a3a4a;
  --muted: #e6f0f5;
  --muted-foreground: #5a7a8a;
  --card: #ffffff;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;
  --radius: 0.625rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--foreground);
}

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

.whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.header.scrolled .logo {
  color: var(--foreground);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header.scrolled .nav-desktop a {
  color: var(--foreground);
}

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

.header-cta {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
  transition: color 0.3s ease;
}

.header.scrolled .menu-toggle {
  color: var(--foreground);
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  background-color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--muted);
}

.nav-mobile a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.nav-mobile a:hover {
  background-color: var(--muted);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1rem;
  max-width: 900px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.section-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Serviços */
.servicos {
  padding: 5rem 0;
  background-color: var(--card);
}

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.servico-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 119, 182, 0.15);
}

.servico-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.servico-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
  stroke: white;
}

.servico-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.servico-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Galeria */
.galeria {
  padding: 5rem 0;
  background-color: var(--muted);
}

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 119, 182, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.galeria-overlay span {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* Depoimentos */
.depoimentos {
  padding: 5rem 0;
  background-color: var(--muted);
}

.depoimentos-container {
  display: flex;
  justify-content: center;
}

.depoimento-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.depoimento-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.depoimento-stars svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #facc15;
}

.depoimento-texto {
  font-size: 1.125rem;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.depoimento-nome {
  font-weight: 600;
  text-align: center;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Contato */
.contato {
  padding: 5rem 0;
  background-color: var(--card);
}

.contato-content {
  max-width: 600px;
  margin: 0 auto;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contato-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contato-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 119, 182, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contato-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  stroke: var(--primary);
}

.contato-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contato-item p {
  color: var(--muted-foreground);
}

.contato-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: white;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.logo-footer {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links h4,
.footer-servicos h4,
.footer-contato h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-servicos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-servicos span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contato p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

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

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contato-buttons {
    flex-direction: row;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  
  .header-cta {
    display: inline-flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-mobile {
    display: none !important;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .servicos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
