/* ================= VARIABLES & SETTINGS ================= */
:root {
  --bg-color: #000000;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.4);
  --border-light: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(0, 0, 0, 0.6);
  --accent-hover: #ffffff;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  background: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  overflow-x: hidden; /* Evita scroll lateral indesejado */
}

/* ================= NAVBAR (ESTRUTURA) ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--glass-bg); /* Se não tiver essa var, use rgba(0,0,0,0.8) */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  /* AUMENTADO AQUI: 35px em cima/baixo deixa a barra mais alta */
  padding: 30px 20px; 
  display: flex;
  align-items: center;
  /* Empurra os links para a direita (como na referência) */
  justify-content: flex-end; 
  position: static; /* Importante para a logo absoluta funcionar na tela inteira */
}

/* ================= LOGO (POSIÇÃO HÍBRIDA) ================= */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  z-index: 102;
}

.logo-img {
  height: 34px;
  width: auto;
  opacity: 0.9;
  /* --- ADICIONE ISSO AQUI --- */
  position: relative; 
  
  /* Ajuste estes valores (px positivo ou negativo) */
  top: 3px;   /* Valores positivos descem, negativos sobem */
  left: 0px;  /* Valores positivos vão pra direita, negativos pra esquerda */
}

.logo-text {
  font-size: 18px;
  letter-spacing: 0.25em;
  color: var(--text-main); /* Certifique-se que essa var existe ou use #FFF */
}

/* --- LÓGICA DESKTOP (LOGO NA BORDA, LINKS NO CENTRO) --- */
@media (min-width: 1024px) {
  .navbar .logo {
    position: absolute; /* Tira do fluxo central */
    left: 70px; /* Gruda na borda esquerda da tela */
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente */
  }
}

/* ================= LINKS DE NAVEGAÇÃO (ESTILO RESTAURADO) ================= */
.nav-links {
  display: flex;
  gap: 30px; /* Espaço generoso entre os links */
  list-style: none; /* Remove as bolinhas */
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #b3b3b3; /* Cor cinza claro (ajuste se usar variaveis) */
  text-decoration: none;
  font-size: 13px; /* Tamanho elegante */
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff; /* Fica branco ao passar o mouse */
}

/* Linha decorativa embaixo do link ativo */
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ffffff;
}

/* ================= MOBILE (Até 1023px) ================= */
@media (max-width: 1023px) {
  
  /* 1. CORREÇÃO DA LOGO E ALINHAMENTO */
  .nav-container {
    /* Isso garante: Logo na esquerda <---- espaço ----> Menu na direita */
    justify-content: space-between; 
    padding: 20px; 
  }

  /* Garante que a logo "desligue" o modo absoluto do desktop e fique normal */
  .navbar .logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  
  /* Esconde os links de desktop se ainda estiverem lá */
  .nav-links {
    display: none; 
  }

  /* ================= SEU CÓDIGO MANTIDO ABAIXO ================= */
  
  .menu-toggle {
    display: block; /* Importante: força ele a aparecer */
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    z-index: 103; /* Garante que fique acima do menu aberto */
  }

  /* menu dropdown */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-color); /* Certifique-se que essa cor é sólida (ex: #000) */
    border-top: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box; /* Garante que o padding não estoure a tela */
  }

  .mobile-menu a {
    padding: 12px 0;
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    display: block; /* Garante área de clique na linha toda */
    text-align: left; /* Alinha o texto à esquerda (Início, Projetos...) */
  }

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

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

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* FUNDO */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

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

/* OVERLAYS */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.overlay-gradient {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.85)
  );
}

.overlay-dark {
  background: rgba(0,0,0,0.35);
}

/* CONTEÚDO */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.hero-text p {
  margin-top: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.hero-btn {
  margin-top: 32px;
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: all 0.4s ease;
}

.hero-btn:hover {
  background: var(--accent-hover);
  color: var(--bg-color);
}


/* ================= WORKS HOME ================= */
.works-home {
  padding: 60px 20px 100px;
}

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

.section-header h2 {
  font-size: 56px;
  font-weight: 300;
}

.section-header p {
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 2px;
}

.works-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* ================= WORK CARD ================= */
.work-card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  text-decoration: none;
  color: inherit;
}

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

.work-card:hover img {
  transform: scale(1.08);
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay h3 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text-main);
}

/* ================= SERVICES ================= */
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-image {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-title {
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.service-card:hover .service-title {
  color: var(--text-main);
}


/* ================= PORTFOLIO ================= */
.portfolio-hero {
  padding: 160px 20px 100px;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 56px;
  font-weight: 300;
}

.portfolio-hero p {
  margin-top: 16px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

/* FILTROS */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 120px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--text-main);
  padding: 10px 22px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

/* GRID */
.portfolio-grid {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 140px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* PROJECT CARD */
.project-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-color);
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

/* PROJECT SLIDE LOGIC FIXED */
.project-images {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity;
  pointer-events: none; /* JS controla a classe ativa */
}

/* A primeira imagem só aparece se for a ativa ou se nenhuma estiver ativa (fallback) */
.project-images img.active {
  opacity: 1;
}
.project-images img:first-child:not(.active) {
  /* Remove a regra que forçava a primeira imagem a estar sempre visível se não for active */
  opacity: 0; 
}
/* Fallback inicial via JS é preferível, mas se precisar via CSS, use com cuidado */
.project-images img:first-child {
  /* Mantendo comportamento original mas com ressalva */
  /* opacity: 1; -> Removido para evitar conflito com JS */
}
/* Re-adicionando a regra da linha 969 de forma segura: */
.project-images img:first-child {
    /* Essa regra é perigosa se o JS mudar a classe. 
       O ideal é o JS colocar a classe .active na primeira imagem ao carregar.
       Vou deixar o comportamento padrão de opacidade 0 salvo a .active */
}
/* Para garantir que algo apareça caso o JS falhe, descomente abaixo: */
/* .project-images img:first-child { opacity: 1; } */


.project-info {
  padding: 28px 24px 32px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,1));
}

.project-info h3 {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 6px;
}

.project-info span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.project-info a {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  transition: border-color 0.3s ease;
}

.project-info a:hover {
  border-color: var(--text-main);
}


/* ================= DEPOIMENTOS (CORREÇÃO DEFINITIVA) ================= */
.testimonials {
  padding: 80px 20px;
  border-top: 1px solid var(--border-light);
  background-color: #000;
}

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 10px;
  color: #fff;
}

.section-subtitle {
  color: #888;
  letter-spacing: 2px;
  margin-bottom: 50px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.testimonials-slider {
  position: relative;
  max-width: 100%;
  margin: auto;
  /* Removemos altura mínima fixa para deixar crescer conforme o texto */
}

/* --- ESTILO DOS SLIDES --- */
.testimonial {
  /* MUDANÇA: Não usamos mais absolute. Usamos display none/block. */
  display: none; 
  flex-direction: column;
  align-items: center;
  
  /* Padding lateral GIGANTE para o texto nunca tocar nas setas */
  padding: 0 60px; 
  box-sizing: border-box;
  width: 100%;
}

.testimonial.active {
  /* Quando ativo, ele aparece e empurra o container para baixo */
  display: flex; 
  animation: fadeIn 0.5s ease; /* Efeito suave ao aparecer */
}

/* Animação simples para não ficar seco */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.testimonial h3 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #fff;
  margin-top: 0;
}

.stars {
  color: #fff;
  letter-spacing: 5px;
  font-size: 14px;
  margin-bottom: 25px;
}

.testimonial p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

/* --- SETAS DE NAVEGAÇÃO --- */
.testimonial-arrow {
  position: absolute;
  /* Centraliza verticalmente em relação ao SLIDER (que agora tem a altura do texto) */
  top: 50%; 
  transform: translateY(-50%);
  
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 24px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-arrow:hover {
  background: #fff;
  color: #000;
}

/* Posição das setas: Coladas nas bordas */
.testimonial-arrow.prev { left: 0; }
.testimonial-arrow.next { right: 0; }

/* ================= MOBILE (AJUSTES FINAIS) ================= */
@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
  
  .testimonial {
    /* No mobile, garantimos o espaço lateral para as setas */
    padding: 0 50px; 
  }

  .testimonial p {
    font-size: 15px; /* Fonte menor para caber mais texto */
    line-height: 1.5;
  }

  .testimonial-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
    background: rgba(0,0,0,0.5); /* Fundo escuro na seta */
    margin-top: 0; /* Garante alinhamento */
  }
}


/* ================= CTA ================= */
.cta-section {
  padding: 120px 24px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.cta-title {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  margin-top: 48px;
  padding: 18px 48px;
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.cta-button:hover {
  background: var(--text-main);
  color: var(--bg-color);
}


/* ================= CONTACT ================= */
.contact-section {
  padding: 120px 20px;
}

.contact-container {
  max-width: 700px;
  margin: auto;
}

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

.contact-header h2 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
}

.contact-header p {
  margin-top: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 16px;
  color: var(--text-main);
  font-size: 14px;
  font-family: inherit;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--text-main);
}

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

#formFeedback {
  margin-top: 20px;
  font-size: 14px;
  text-align: left;
  scroll-margin-top: 120px;
}

.contact-btn {
  margin-top: 32px;
  align-self: flex-start;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text-main);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.contact-btn:hover::after {
  transform: translateX(0);
}

.contact-btn:hover {
  color: var(--bg-color);
}


/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 50px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 80px;
  align-items: start;
  justify-items: start;
}


.footer-logo {
  font-size: 20px;
  letter-spacing: 3px;
}

.footer-brand p {
  margin-top: 20px;
  color: var(--text-muted);
}

.footer-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.footer-menu nav a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  color: var(--text-muted);
}

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

.social-icons {
  display: flex;
  gap: 28px;
  margin-top: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}



/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ================= PAGE HERO (General) ================= */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.06), rgba(0,0,0,0.95));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.page-hero-content p {
  margin-top: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}


/* ================= FAQ ================= */
.faq-section {
  padding: 120px 20px;
  border-top: 1px solid var(--border-light);
}

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

.faq-list {
  margin-top: 60px;
}

.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}


/* ================= RESPONSIVE (MEDIA QUERIES) ================= */

/* TABLET / MOBILE */
@media (max-width: 768px) {
  /* NAV */
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  /* TEXTS */
  .hero-text h1 {
    font-size: 42px;
  }
  .cta-title {
    font-size: 32px;
  }
  .contact-header h2 {
    font-size: 32px;
  }
  .page-hero-content h1 {
    font-size: 38px;
  }

  /* TESTIMONIALS MOBILE */
  .testimonials {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .testimonials-slider {
    margin-top: 60px;
    padding: 0 56px;
  }
  .testimonial {
    padding: 0;
  }
  .testimonial h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .stars {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .testimonial p {
    font-size: 15px;
    max-width: 300px;
    color: rgba(255,255,255,0.7);
  }
  /* Setas */
  .testimonial-arrow {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
  .testimonial-arrow.prev { left: 8px; }
  .testimonial-arrow.next { right: 8px; }

  /* BUTTONS */
  .cta-button, .contact-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  
  /* UX */
  #formFeedback {
    scroll-margin-top: 90px;
  }

  /* WHATSAPP MOBILE */
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }

  /* --- TOUR VIRTUAL FIX (ADICIONE ISTO AQUI) --- */
  .tour-container {
    /* 80vh força o container a ser "alto" (retrato), ativando o modo mobile do Pano2VR */
    height: 80vh !important; 
    min-height: 550px;
    border-radius: 0; /* Opcional: remove bordas no mobile para imersão */
  }
  
  .tour-container iframe {
    height: 100% !important;
    width: 100% !important;
  }
}

/* DESKTOP NAV SAFETY */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Camada invisível */
.click-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 10;
  cursor: pointer;
  background: transparent;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }
}

/* =======================================================
   ESTILOS DO TOUR VIRTUAL (SIMPLES)
   ======================================================= */

.tour-container {
  max-width: 1200px;
  margin: auto;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  position: relative;
  transition: transform 0.3s ease;
}

/* COMO DEVE FICAR (CORRIGIDO) */
.tour-container:hover {
  border-color: rgba(255, 255, 255, 0.8); /* Aumentei um pouco o brilho para compensar */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); /* Adicionei uma sombra suave */
  /* Removemos o transform: scale */
}

/* Camada clicável sobre o iframe */
.click-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: rgba(0, 0, 0, 0); /* Transparente */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dica de clique (opcional) - aparece ao passar o mouse */
.click-hint {
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.click-layer:hover .click-hint {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
  .tour-container {
    height: 500px; /* Altura fixa confortável para preview */
    border-radius: 12px;
  }
  
  /* No mobile, a dica de "Toque para explorar" pode ficar sempre visível ou removida */
  .click-hint {
    opacity: 1; 
    background: rgba(0,0,0,0.5);
    transform: translateY(0);
  }
}

/* Container Principal */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* O Card Clicável */
.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #000; /* Fundo preto para as imagens com transparência */
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Imagem e Máscara */
.service-image {
    position: relative;
    width: 100%;
    height: 250px; /* Ajuste conforme necessário */
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.85) 100%);
}

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

/* Conteúdo e CTA */
.service-content {
    padding: 20px;
    background: #000; /* Mantém o padrão escuro da sua marca */
    color: #fff;
}

.service-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.service-cta {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.service-cta span {
    transition: transform 0.3s ease;
}

/* Efeito ao passar o mouse / tocar */
.service-card:hover .service-cta {
    color: #fff;
}

.service-card:hover .service-cta span {
    transform: translateX(5px);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .service-image {
        height: 200px;
    }
    .service-title {
        font-size: 1.1rem;
    }
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ccc; /* Ou a cor de destaque da Orizon */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #bbb;
    line-height: 1.6;
}

/* Quando o item estiver ativo */
.faq-item.active .faq-answer {
    max-height: 500px; /* Valor alto o suficiente para o texto */
    padding-bottom: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #ff4500; /* Cor de destaque ao abrir */
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* ================= RESET & CONFIGS ================= */

* {
  box-sizing: border-box;
}

body {
  background-color: #0b0b0b; 
  color: #ffffff;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* ================= HERO BLOG (Ajustado para visibilidade total) ================= */

.hero {
  position: relative;
  min-height: 450px; 
  display: flex;
  align-items: flex-start; /* Alinha o texto ao topo */
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 0; /* Espaço para a navbar não cobrir o título */
  text-align: center;
  background-color: #000;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Camada base */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay corrigida para garantir que a imagem apareça embaixo */
.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente que escurece para o fundo do site na base */
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(11,11,11,1) 95%); 
  z-index: 2; /* Fica acima da imagem, mas abaixo do texto */
}

.hero-content {
  position: relative;
  z-index: 3; /* Garante que o texto fique acima de todas as camadas */
  width: 100%;
  max-width: 850px; 
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 70px; 
  font-weight: 700;
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  /* Sombra para destaque em fotos claras */
  text-shadow: 0 4px 15px rgba(0,0,0,0.8); 
}

.hero-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* ================= BLOG ARTICLE CONTAINER ================= */

.blog-article {
  max-width: 820px;
  /* Margem negativa puxa o texto para cima da imagem hero */
  margin: -20px auto 50px; 
  position: relative;
  z-index: 4; /* Fica acima da hero para a transição */
  padding: 0 20px;
  color: #ffffff;
}

/* ================= TÍTULOS (TYPOGRAPHY) ================= */

.blog-article h1 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.blog-article h2 {
  font-size: 28px;
  font-weight: 300;
  margin: 60px 0 20px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.blog-article h3 {
  font-size: 22px;
  font-weight: 300;
  margin: 40px 0 16px;
  line-height: 1.4;
}

/* ================= CONTEÚDO DE TEXTO ================= */

.blog-article p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
}

/* ================= LISTAS ================= */

.blog-article ul {
  margin: 30px 0 40px 25px;
}

.blog-article li {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

/* ================= IMAGENS E MÍDIA ================= */

.blog-image {
  margin: 60px 0;
  border-radius: 18px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ================= ELEMENTOS ESPECIAIS ================= */

.blog-quote {
  margin: 60px 0;
  padding-left: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.blog-divider {
  margin: 80px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
}

/* ================= PAGINAÇÃO ================= */

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 100px 0 40px;
}

.blog-pagination a {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.blog-pagination a:hover,
.blog-pagination a.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ================= LEIA TAMBÉM (RELATED POSTS) ================= */

.blog-related {
  margin-top: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 60px;
}

.blog-related h2 {
  font-size: 32px;
  margin-bottom: 40px;
  margin-top: 0;
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.blog-related-card {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.blog-related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

/* ================= RESPONSIVIDADE (MOBILE) ================= */

@media (max-width: 768px) {
  .hero {
    min-height: 350px;
    padding-top: 80px; /* Sobe o texto no mobile */
  }
  
  .hero-text h1 {
    font-size: 34px;
  }

  .blog-article {
    margin: 0px auto 60px;
  }

  .blog-article h2 {
    font-size: 24px;
    margin-top: 40px;
  }
}

/* Container da Seção */
.blog-list-section {
  padding: 100px 20px;
  background-color: var(--bg-color); /* Mantém o preto do site */
}

/* Título e Subtítulo do Blog */
.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h2 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.blog-header p {
  color: var(--text-muted); /* rgba(255, 255, 255, 0.6) */
  font-size: 14px;
  letter-spacing: 1.5px;
}

/* Grid Específica */
.blog-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Estilização dos Cards do Blog */
.blog-card {
  background: #0a0a0a;
  border: 1px solid var(--border-light); /* rgba(255, 255, 255, 0.15) */
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .blog-header h2 {
    font-size: 32px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr; /* Um card por linha no celular */
  }
}

/* Container e Títulos */
.blog-list-section {
  padding: 120px 20px;
  background: #000;
}

.blog-list-header {
  text-align: center;
  margin-bottom: 80px;
}

.blog-list-header h2 {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* Grid e Cards */
.blog-list-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-item-card {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 16px; /* Bordas levemente menores para cards menores */
  background: #000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: auto; /* Deixa o conteúdo definir a altura */
}

.blog-item-image {
  position: relative;
  height: 180px; /* Reduzido de 220px/240px para equilibrar a proporção */
  overflow: hidden;
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Badge de Categoria */
.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Info do Card */
.blog-date {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 12px;
}

.blog-item-info h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Personalização do "Ler Artigo" */
.blog-read-more {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.blog-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

/* Efeitos de Hover */
.blog-item-card:hover .blog-item-image img {
  transform: scale(1.05);
}

.blog-item-card:hover .blog-read-more {
  border-color: white;
  gap: 15px; /* O link "estica" levemente */
}

.blog-item-card:hover .blog-read-more svg {
  transform: translateX(5px);
}

/* ================= BLOG ITEM CARD (COM ESTILO BOX ANTIGO) ================= */

.blog-item-card {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  background: #050505; /* Fundo levemente mais claro que o preto absoluto para o box aparecer */
  border: 1px solid rgba(255, 255, 255, 0.15); /* A borda sutil do antigo */
  border-radius: 20px; /* Arredondamento que você usava nos projetos */
  overflow: hidden; /* Garante que a imagem não escape das bordas arredondadas */
  transition: all 0.4s ease;
  height: 100%;
}

.blog-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6); /* Sombra para dar profundidade ao box */
}

/* Ajuste da imagem para preencher o topo do box */
.blog-item-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Espaçamento interno do conteúdo (Padding do antigo) */
.blog-item-info {
  padding: 25px; /* Espaço entre o texto e a borda do box */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-item-info h3 {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 54px; /* Mantém os títulos alinhados mesmo com textos diferentes */
}

/* O "Ler Artigo" dentro do novo box */
.blog-read-more {
  margin-top: auto; /* Empurra o botão para a base do box */
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.blog-item-card:hover .blog-read-more {
  color: #fff;
  border-color: #fff;
  padding-right: 10px;
}

/* ================= SECTION: LEIA TAMBÉM (FULL WIDTH) ================= */
.related-posts-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.related-posts-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.related-posts-header h2 {
  font-size: 32px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}

.related-posts-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ================= BLOG ITEM CARD (ORGANIZADO) ================= */
.blog-item-card {
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
}

.blog-item-image {
  position: relative;
  height: 190px; /* Altura otimizada compacta */
  overflow: hidden;
}

.blog-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0; /* Remove espaços automáticos entre elementos */
}

.blog-date {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 8px; /* Espaço reduzido para aproximar do título */
  display: block;
}

.blog-item-info h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25; /* Altura de linha compacta */
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 20px;
}

.blog-read-more {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 4px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1024px) {
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .related-posts-grid { 
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .related-posts-header h2 { font-size: 26px; }
}

.legal-page{
  padding:120px 20px 80px;
  background:#0b0b0b;
}

.legal-container{
  max-width:900px;
  margin:0 auto;
  color:#fff;
  line-height:1.7;
}

.legal-container h1{
  font-size:2.5rem;
  margin-bottom:20px;
}

.legal-container h2{
  margin-top:35px;
  font-size:1.3rem;
  color:#00a86b;
}

.legal-container p,
.legal-container li{
  opacity:.9;
}

