/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b0b0b;
  color: #fff;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}

.logo span {
  font-weight: 300;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  position: relative;
  opacity: 0.85;
  transition: 0.3s;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.projects {
    padding: 80px 0;
    background: #0f0f0f;
    color: #fff;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 18px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #fff;
    color: #000;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: 0.4s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    cursor: pointer;
}


.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-content p {
    max-width: 700px;
    margin: 20px 0;
    font-size: 1.1rem;
}

.btn-cta {
    background: #fff;
    color: #000;
    padding: 14px 28px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

.hero-gallery {
    padding: 80px 0;
    background: #111;
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.hero-images img {
    width: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.hero-images img:hover {
    transform: scale(1.05);
}

.video-desktop {
    display: block;
}

.video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .video-desktop {
        display: none;
    }
    .video-mobile {
        display: block;
    }
}


.contact {
    padding: 100px 0;
    background: #0f0f0f;
    color: #fff;
}

.contact .subtitle {
    max-width: 600px;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-cta {
    display: inline-block;
    margin-top: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporção 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.seo-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}



[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="left"] {
  transform: translateX(-40px);
}

[data-animate="right"] {
  transform: translateX(40px);
}

[data-animate="zoom"] {
  transform: scale(0.95);
}

[data-animate="zoom"].active {
  transform: scale(1);
}

@media (max-width: 768px) {
  .main-nav {
    gap: 18px;
  }
}

/* FOOTER */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 40px 0;
  margin-top: 80px;
  color: #aaa;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.footer-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-copy {
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 0.85rem;
}

.footer-copy .dev {
  margin-top: 5px;
  color: #777;
}


/* ==========================
   SOBRE - PÁGINA INSTITUCIONAL
========================== */

.about {
  padding: 100px 0;
  background: #0f0f0f;
  color: #fff;
}

.about h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 30px;
  text-align: center;
}

.about p {
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #ddd;
  text-align: center;
}


/* ==========================
   LOCALIZAÇÃO / ATENDIMENTO
========================== */

.location {
  padding: 80px 0;
  background: #111;
  color: #fff;
}

.location h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center;
}

.location p {
  max-width: 900px;
  margin: 0 auto 15px;
  line-height: 1.7;
  color: #ccc;
  text-align: center;
}


/* ==========================
   PROCESSO DE TRABALHO
========================== */

.process {
  padding: 100px 0;
  background: #0f0f0f;
  color: #fff;
}

.process h3 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps > div {
  background: #151515;
  padding: 30px 25px;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.steps strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.steps p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}



/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 35px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float img {
    width: 60px;
    height: 60px;
  }
}

.btn-whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 26px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  transition: all 0.3s ease;
}

.btn-whatsapp-cta img {
  width: 28px;
  height: 28px;
}

.btn-whatsapp-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37,211,102,0.5);
}

.cta-center {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.12);
  background: #dff5e7; /* destaque */
}

.social-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


.social-icons a:hover img {
  transform: scale(1.15);
  opacity: 0.9;
}

.contact-info {
  max-width: 520px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  background: #151515;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* ==========================
   TÍTULOS DE SEÇÃO CENTRALIZADOS
========================== */

.hero-gallery h2,
.location h2,
.process h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.5px;
}

.logo {
  max-height: 100%;
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  overflow: hidden; /* 🔥 ISSO É CRÍTICO */
}

.logo-img {
  display: block;
  height: 28px;
  max-height: 28px;
  max-width: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  animation: logoGlow 4s ease-in-out infinite;
}

.logo-link span {
  font-size: 1.4rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.hero-video {
  overflow: hidden;
}

@keyframes logoGlow {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.6);
  }
  100% {
    filter: brightness(1);
  }
}

/* MENU SEMPRE EMPURRADO PARA A DIREITA */
.main-nav {
  margin-left: auto;
}

/* AJUSTES MOBILE */
@media (max-width: 768px) {

  .site-header .container {
    height: 60px;
  }

  .logo {
    margin-left: -8px;
  }

  .logo-link {
    gap: 8px;
  }

  .logo-img {
    height: 18px;
    max-height: 22px;
    max-width: 40px;
  }

  .logo-link span {
    font-size: 1.05rem;
  }

  .main-nav {
    margin-left: 16px;
  }
}


.hero-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* 🔍 Zoom no hover / toque */
.hero-slide:hover img,
.hero-slide:active img {
  transform: scale(1.08);
}

/* Fade entre imagens */
.hero-slide.fade-out img {
  opacity: 0;
}

.hero-slide.fade-in img {
  opacity: 1;
}

/* Botões */
.hero-slide button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 26px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.hero-slide button:hover {
  background: rgba(0,0,0,0.8);
}

.hero-slide .prev {
  left: 10px;
}

.hero-slide .next {
  right: 10px;
}
