/* ===== Variáveis – paleta Évora / Isis Mídias Sociais ===== */
:root {
  --bg-dark: #0a0a0c;
  --bg-card: #12121a;
  --bg-card-hover: #18182a;
  --text: #ffffff;
  --text-muted: #b4b4c0;
  --accent: #2563eb;
  --accent-hover: #3b82f6;
  --accent-soft: rgba(37, 99, 235, 0.18);
  --link: #0ea5e9;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font: 'Outfit', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 12, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.btn-cta {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
}
.btn-cta:hover { background: var(--accent-hover); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ===== Hero (texto em cima da imagem, estilo overlay) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 100px 0 70px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 40px;
    justify-content: flex-start;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    width: 100%;
  }
  .hero-content-wrap {
    flex: 0 0 auto;
    margin-top: 24px;
  }
  .hero-content {
    padding: 0 8px;
    margin-bottom: 0;
    text-align: center;
    max-width: none;
  }
  .hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }
  .hero-title {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-scroll {
    flex-shrink: 0;
    margin-top: 0;
  }
}
@media (min-width: 769px) {
  .hero {
    align-items: stretch;
    justify-content: center;
    padding: 120px 0 80px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1;
    min-height: 0;
  }
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}
@media (min-width: 769px) {
  .hero-image {
    object-position: center center;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Overlay mais escuro para melhorar leitura do texto branco */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 auto;
}
@media (min-width: 769px) {
  .hero-inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
  }
}
.hero-content-wrap {
  flex: 0 0 auto;
}
.hero-content {
  text-align: left;
  padding: 0 24px;
  max-width: 520px;
  margin-bottom: 32px;
}
@media (min-width: 769px) {
  .hero-content {
    padding: 0;
    max-width: 560px;
    margin-bottom: 0;
  }
}
.hero-title { max-width: 100%; }
.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.hero-title strong {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .hero-label {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: 24px;
  }
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}
.hero-scroll {
  position: relative;
  flex-shrink: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-top: 24px;
}
@media (min-width: 769px) {
  .hero-scroll {
    align-items: flex-start;
    margin-top: 0;
    flex-shrink: 0;
    padding-bottom: 0;
  }
}
.scroll-icon {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 600px) {
  .hero-content { text-align: center; max-width: none; }
  .hero-content .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-title { margin-left: auto; margin-right: auto; }
}

/* ===== Seções comuns ===== */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Serviços ===== */
.servicos {
  padding: 100px 0;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.servico-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.servico-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
}
.servico-icon {
  margin-bottom: 20px;
  color: var(--accent);
  line-height: 0;
}
.servico-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}
.servico-card:hover .servico-icon {
  color: var(--accent-hover);
}
.servico-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.servico-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.servico-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.servico-card-link:hover { color: inherit; }
.servico-card-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.servico-card-link:hover .servico-card-cta { color: var(--accent-hover); }
.servicos-grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.diferenciais-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}
.diferenciais-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.diferenciais-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Dores / Solução ===== */
.dores {
  padding: 100px 0;
  background: var(--bg-card);
}
.dores-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dores .section-title { text-align: left; margin-left: 0; margin-right: 0; }
.dores-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.dores-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.dores-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.dores-solucao {
  font-size: 1.15rem;
  margin: 0 0 28px;
}
.dores-solucao strong { color: var(--accent); }
.dores-visual {
  position: relative;
  min-height: 320px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.dores-video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .dores-inner { grid-template-columns: 1fr; }
  .dores-visual { min-height: 260px; }
  .dores-video { min-height: 260px; }
}

/* ===== Pacotes ===== */
.pacotes {
  padding: 100px 0;
}
.pacotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pacote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.pacote-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
}
.pacote-card.destaque {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(37, 99, 235, 0.2);
}
.pacote-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.pacote-num {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.pacote-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pacote-bonus {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 8px 0 8px;
}
.pacote-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.pacote-preco {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: auto 0 24px 0;
}
.btn-card {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-card:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: #fff;
}

@media (max-width: 900px) {
  .pacotes-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== Trabalhos / Portfolio ===== */
.trabalhos {
  padding: 100px 0;
  background: var(--bg-card);
}
.trabalhos-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 16px;
}
.trabalhos-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.portfolio-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}
.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* Overlay escuro leve para dar contraste ao número em qualquer imagem */
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.portfolio-fallback {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 32px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.portfolio-item:hover .portfolio-fallback {
  background: rgba(37, 99, 235, 0.9);
  color: #fff;
}

@media (max-width: 700px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Lightbox (galeria) ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== Footer ===== */
.footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Hero nas páginas de serviço (igual à home, altura menor) ===== */
.hero.hero-servico {
  min-height: 55vh;
  padding: 100px 0 50px;
}
.hero-servico .hero-scroll {
  display: none;
}
.hero-servico .hero-content {
  margin-bottom: 0;
}
.hero-servico .hero-title {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .hero.hero-servico {
    padding: 120px 20px 40px;
    min-height: 50vh;
  }
}

/* ===== Páginas de serviço (conteúdo abaixo do hero) ===== */
.servico-conteudo {
  padding: 64px 0 80px;
}
.pagina-servico {
  padding: 140px 0 80px;
  min-height: 60vh;
}
.servico-conteudo h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}
.pagina-servico h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}
.servico-conteudo .servico-problema,
.pagina-servico .servico-problema {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.servico-conteudo .servico-solucao,
.pagina-servico .servico-solucao {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.servico-conteudo .servico-fazemos,
.pagina-servico .servico-fazemos {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.servico-conteudo .servico-fazemos li,
.pagina-servico .servico-fazemos li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.servico-conteudo .servico-fazemos li::before,
.pagina-servico .servico-fazemos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pagina-servico .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 640px;
}
.servico-conteudo .btn,
.pagina-servico .btn {
  margin-top: 8px;
}

/* ===== FAQ (páginas de serviço) ===== */
.faq-section {
  padding: 80px 24px;
  background: var(--bg-card);
}
.faq-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
}
.faq-item {
  max-width: 720px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-dark);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 0 0 20px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}
.faq-item.active .faq-answer {
  max-height: 400px;
}
.faq-item.active .faq-question::after {
  content: '−';
}

/* ===== Mobile menu ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
}
@media (min-width: 769px) {
  .nav.open { display: flex; }
}
