:root {
  /* Semi-dark theme derived from brand palette */
  --bg: #0f1b22;
  --surface: #12222a;
  --muted: #97a6b5;
  --text: #e6edf3;
  /* Tupã Engenharia brand palette (approx.) */
  --brand-navy: #1f2d36;
  --brand-navy-400: #34515c;
  --brand-navy-600: #2b3f48;
  --brand-orange: #d86e3c;
  --brand-orange-600: #b85c30;
  --brand-gold: #d7a65a;
  --brand-olive: #3b3a2e;
  /* Theme tokens */
  --primary: var(--brand-navy-400);
  --primary-600: var(--brand-navy-600);
  --cta: var(--brand-orange);
  --cta-600: var(--brand-orange-600);
  --ring: rgba(52, 81, 92, 0.35);
  --card: #12222a;
  --accent: var(--brand-gold);
}

* { box-sizing: border-box; }
html, body { height: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(900px 500px at 10% -10%, rgba(52,81,92,.25), transparent 60%), radial-gradient(700px 400px at 90% 10%, rgba(216,110,60,.12), transparent 60%), linear-gradient(180deg, #0f1b22 0%, #0f1b22 40%, #0e1920 100%);
  line-height: 1.6;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.2rem;
  border-radius: .7rem;
  border: 1px solid transparent;
  background: #1f2937;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}
.btn--primary { background: var(--cta); color: #0b1220; }
.btn--primary:hover { background: var(--cta-600); color: #0b1220; }
.btn--ghost { background: transparent; border-color: #334155; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: .6rem .9rem; border-radius: .6rem; }
.btn--instagram {
  background: linear-gradient(45deg,#f58529,#feda77,#dd2a7b,#8134af,#515bd4);
  color: white;
  border: none;
}

.btn--instagram:hover {
  filter: saturate(1.15) brightness(1.05);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 27, 34, 0.75);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.logo { font-family: Poppins, Inter, system-ui; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .2px; }
.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; opacity: .9; }
.nav a:hover { color: var(--primary); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 1px; }

.hero { padding: 6rem 0 4rem; background: radial-gradient(800px 400px at 10% -10%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 60%), radial-gradient(600px 300px at 90% 10%, color-mix(in srgb, var(--cta) 10%, transparent), transparent 60%); position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -60px; height: 120px; background: linear-gradient(135deg, rgba(52,81,92,.15), rgba(215,166,90,.06)); filter: blur(20px); opacity: .7; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-visual { max-width: 100%; }
.shape { position: absolute; border-radius: 999px; filter: blur(20px); opacity: .8; }
.shape--1, .shape--2, .shape--3 { display: none; }
.hero-copy h1 { font-family: Poppins, Inter, system-ui; font-size: clamp(2rem, 2.6vw + 1rem, 3rem); line-height: 1.2; margin: .6rem 0 1rem; }
.hero .sub { color: var(--muted); max-width: 58ch; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; font-weight: 600; font-size: .85rem; color: var(--accent); }
.benefits { display: grid; grid-template-columns: 1fr; gap: .4rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; color: #cbd5e1; }
.benefits li { display: flex; gap: .6rem; align-items: center; }
.benefits li::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 999px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.badge { border: 1px dashed rgba(148,163,184,.35); color: #a3b2c7; padding: .35rem .55rem; border-radius: .5rem; font-size: .85rem; background: transparent; }

/* Recursos do Hero - Design Clean */
.hero-features {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  justify-content: flex-start;
}

.feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all .3s ease;
}

.feature:hover .feature-icon {
  background: var(--cta);
  transform: scale(1.05);
}

.feature span {
  font-weight: 500;
  font-size: .95rem;
  white-space: nowrap;
}

/* Container da Imagem da Equipe */
.team-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.team-image-container:hover .team-image {
  transform: scale(1.02);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 54, 93, 0.1) 0%,
    rgba(213, 63, 140, 0.05) 100%
  );
  opacity: 0.8;
  transition: opacity .3s ease;
}

.team-image-container:hover .image-overlay {
  opacity: 0.6;
}

/* Opção 2: Hero com imagem circular */
.hero--circular .hero-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.hero--circular .hero-copy {
  margin-bottom: 2rem;
}

.hero--circular .hero-visual {
  max-width: 300px;
  margin: 0 auto;
}

.hero--circular .team-image-container {
  width: 280px;
  height: 280px;
  min-height: auto;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.hero--circular .team-image {
  border-radius: 50%;
}

.hero--circular .image-overlay {
  border-radius: 50%;
}

/* === VERSÃO ATUAL DO BANNER === */
.hero--banner .hero {
  position: relative;
  padding: 1rem 0 2rem;
}

.hero--banner .hero-visual {
  position: relative;
  margin-bottom: 0;
}

.hero--banner .team-image-container {
  position: relative;
  min-height: 180px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero--banner .team-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 27, 34, 0.3) 0%,
    rgba(18, 34, 42, 0.6) 70%,
    rgba(26, 54, 93, 0.8) 100%
  );
  z-index: 1;
}

.hero--banner .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 2;
  color: white;
}

.hero--banner .hero-copy {
  max-width: 700px;
  margin: 0 auto;
}

.hero--banner .hero-copy h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero--banner .hero-copy .sub {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero--banner .hero-features {
  justify-content: center;
  margin: 1.5rem 0;
}

.hero--banner .feature {
  color: rgba(255, 255, 255, 0.9);
}

.hero--banner .feature-icon {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero--banner .btn {
  background: rgba(216, 110, 60, 0.9);
  border-color: rgba(216, 110, 60, 0.9);
  color: white;
}

.hero--banner .btn:hover {
  background: rgba(184, 92, 48, 0.95);
  border-color: rgba(184, 92, 48, 0.95);
}

.hero--banner .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.hero--banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* === NOVAS OPÇÕES DE BANNER === */

/* Banner Compacto - Imagem pequena + texto lado a lado */
.hero--banner-compact .hero {
  padding: 2rem 0;
}

.hero--banner-compact .hero-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: center;
}

.hero--banner-compact .hero-visual {
  order: -1;
}

.hero--banner-compact .team-image-container {
  min-height: 120px;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero--banner-compact .hero-content {
  text-align: left;
}

.hero--banner-compact .hero-copy {
  max-width: none;
  margin: 0;
}

.hero--banner-compact .hero-copy h1 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.2rem);
  margin-bottom: 0.5rem;
}

.hero--banner-compact .hero-copy .sub {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero--banner-compact .hero-features {
  justify-content: flex-start;
  margin: 1rem 0;
}

.hero--banner-compact .cta-group {
  justify-content: flex-start;
}

/* Banner Minimal - Só texto com imagem pequena à direita */
.hero--banner-minimal .hero {
  padding: 3rem 0;
}

.hero--banner-minimal .hero-grid {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 1.5rem;
  align-items: center;
}

.hero--banner-minimal .hero-visual {
  align-self: start;
  margin-top: 1rem;
}

.hero--banner-minimal .team-image-container {
  min-height: 100px;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero--banner-minimal .hero-content {
  text-align: left;
}

.hero--banner-minimal .hero-copy h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 2.5rem);
  margin-bottom: 0.5rem;
}

.hero--banner-minimal .hero-copy .sub {
  margin-bottom: 1rem;
}

.hero--banner-minimal .hero-features {
  display: none; /* Remove features para ficar minimalista */
}

/* Banner Inline - Tudo em uma linha horizontal */
.hero--banner-inline .hero {
  padding: 2rem 0;
}

.hero--banner-inline .hero-grid {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero--banner-inline .hero-visual {
  flex-shrink: 0;
}

.hero--banner-inline .team-image-container {
  width: 100px;
  height: 100px;
  min-height: auto;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero--banner-inline .hero-content {
  flex: 1;
  min-width: 250px;
}

.hero--banner-inline .hero-copy h1 {
  font-size: clamp(1.5rem, 3vw + 1rem, 2rem);
  margin-bottom: 0.25rem;
}

.hero--banner-inline .hero-copy .sub {
  margin-bottom: 0.75rem;
}

.hero--banner-inline .hero-features {
  margin: 0.75rem 0;
}

.hero--banner-inline .cta-group {
  margin-top: 0.5rem;
}

/* Banner Card - Texto em card branco sobre imagem */
.hero--banner-card .hero {
  position: relative;
  padding: 2rem 0;
}

.hero--banner-card .hero-visual {
  position: relative;
}

.hero--banner-card .team-image-container {
  min-height: 250px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.hero--banner-card .hero-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: var(--text);
  max-width: 400px;
}

.hero--banner-card .hero-copy h1 {
  color: var(--text);
  font-size: clamp(1.3rem, 2.5vw + 1rem, 1.8rem);
  margin-bottom: 0.5rem;
  text-shadow: none;
}

.hero--banner-card .hero-copy .sub {
  color: var(--muted);
  margin-bottom: 1rem;
  text-shadow: none;
}

.hero--banner-card .hero-features {
  display: none; /* Remove para manter clean */
}

.hero--banner-card .btn {
  background: var(--cta);
  border-color: var(--cta);
  color: white;
}

.hero--banner-card .btn:hover {
  background: var(--cta-600);
  border-color: var(--cta-600);
}

/* Banner Simple - Imagem pequena no topo + texto simples */
.hero--banner-simple .hero {
  padding: 2rem 0;
}

.hero--banner-simple .hero-visual {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero--banner-simple .team-image-container {
  width: 150px;
  height: 150px;
  min-height: auto;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero--banner-simple .hero-content {
  text-align: center;
}

.hero--banner-simple .hero-copy h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 2.5rem);
  margin-bottom: 0.5rem;
}

.hero--banner-simple .hero-copy .sub {
  margin-bottom: 1rem;
}

.hero--banner-simple .hero-features {
  justify-content: center;
  margin: 1rem 0;
}

.hero--banner-simple .cta-group {
  justify-content: center;
}

/* Opção 4: Hero com imagem hexagonal */
.hero--hexagonal .hero-grid {
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}

.hero--hexagonal .team-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: auto;
  background: var(--primary);
  clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  overflow: hidden;
}

.hero--hexagonal .team-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center;
}

.hero--hexagonal .image-overlay {
  clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
}

/* Opção 5: Hero com efeito parallax */
.hero--parallax {
  overflow: hidden;
}

.hero--parallax .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero--parallax .hero-bg-image {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
  filter: brightness(0.3) contrast(1.2) saturate(1.1);
}

.hero--parallax .hero-content {
  position: relative;
  z-index: 2;
  background: rgba(15, 27, 34, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  border-radius: 1.5rem;
  padding: 3.5rem;
  margin: 4rem auto;
  max-width: 650px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero--parallax .hero-copy {
  color: white;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-grid, .accordion { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-centered { flex-direction: column; min-height: 50vh; padding: 2rem 0; }
  .nav { position: absolute; right: 4%; top: 56px; background: #0e1920; border: 1px solid rgba(148,163,184,.12); border-radius: .8rem; padding: .6rem; display: flex; flex-direction: column; gap: .6rem; width: calc(100% - 2rem); max-width: 320px; opacity: 0; transform: translateY(-20px) scale(0.95); pointer-events: none; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  .nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-toggle { display: inline-block; }

  /* Otimizações do hero para mobile */
  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
  }

  .feature {
    gap: 1rem;
  }

  .feature span {
    font-size: .9rem;
  }

  .team-image-container {
    min-height: 250px;
    margin-top: 1.5rem;
    border-radius: .8rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 4vw + 1rem, 2.5rem);
  }

  .hero .sub {
    font-size: .9rem;
  }

  /* Ajustes mobile para parallax */
  .hero--parallax .hero-content {
    margin: 2rem 1rem;
    padding: 2.5rem;
    max-width: none;
    border-radius: 1.2rem;
  }

  .hero--parallax .hero-copy h1 {
    font-size: clamp(1.8rem, 4vw + 1rem, 2.5rem);
  }

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

  .hero--parallax .feature {
    gap: 1rem;
  }

  .hero--parallax .feature span {
    font-size: .9rem;
  }
}

.section { padding: 4rem 0; }
.section--alt { background: linear-gradient(180deg, rgba(18,34,42,.65), rgba(18,34,42,.55)); border-top: 1px solid rgba(148,163,184,.08); border-bottom: 1px solid rgba(148,163,184,.08); }
.section-head { margin-bottom: 1.4rem; }
.section-head h2 { font-family: Poppins, Inter, system-ui; font-size: 1.8rem; margin: 0 0 .4rem; }
.section-head p { color: var(--muted); margin: 0; }

/* 3D Cards Services */
.services-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-3d-card {
  perspective: 1000px;
  height: 420px;
  cursor: pointer;
}

.card-3d-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-3d-card:hover .card-3d-container {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-front {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.card-back {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  border: 1px solid var(--primary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: white;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all .3s ease;
}

.service-3d-card:hover .service-icon {
  background: var(--cta);
  transform: scale(1.1);
}

.card-front h3 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.card-front p {
  margin: 0 0 1.5rem;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 280px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: auto;
}

.card-features span {
  background: rgba(52, 81, 92, 0.6);
  color: var(--text);
  padding: .25rem .6rem;
  border-radius: .5rem;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card-back h4 {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: white;
}

.card-back ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.card-back li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .75rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  font-size: .9rem;
}

.card-back li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}

.card-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: white;
  color: var(--primary);
  padding: .75rem 1.5rem;
  border-radius: .5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all .3s ease;
  margin-top: auto;
  align-self: center;
}

.card-cta-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Efeitos adicionais para profundidade */
.service-3d-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), var(--cta), var(--accent));
  border-radius: 1rem;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-3d-card:hover::before {
  opacity: 0.3;
}

.steps { display: grid; grid-template-columns: 1fr; gap: .9rem; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--primary), transparent); opacity: .4; }
.steps li { background: var(--card); border: 1px solid rgba(148,163,184,.12); border-radius: 1rem; padding: 1rem 1rem 1rem 3.2rem; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: .8rem; top: 1rem; width: 28px; height: 28px; border-radius: 999px; background: var(--primary); color: #0b1220; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
.steps h4 { margin: 0 0 .4rem; font-size: 1.05rem; }
.steps p { color: #c5d0e0; margin: 0; }

/* === OPÇÕES DE MELHORIA PARA SEÇÃO "COMO TRABALHAMOS" === */

/* Opção 1: Versão Concisa - Texto reduzido */
.steps--concise .steps li {
  padding: .8rem .8rem .8rem 2.8rem;
}

.steps--concise .steps li::before {
  width: 24px;
  height: 24px;
  left: .6rem;
  top: .8rem;
  font-size: .9rem;
}

.steps--concise .steps h4 {
  font-size: 1rem;
  margin-bottom: .3rem;
}

.steps--concise .steps p {
  font-size: .85rem;
  line-height: 1.4;
}

/* Opção 2: Versão Minimalista - Só ícones e títulos */
.steps--minimal .steps li {
  padding: .6rem .8rem .6rem 2.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.steps--minimal .steps li::before {
  position: static;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.steps--minimal .steps h4 {
  font-size: .95rem;
  margin: 0;
}

.steps--minimal .steps p {
  display: none;
}

/* Opção 3: Versão em Cards Compactos */
.steps--compact .steps {
  gap: .6rem;
}

.steps--compact .steps li {
  padding: .7rem .7rem .7rem 2.6rem;
  border-radius: .8rem;
}

.steps--compact .steps li::before {
  width: 22px;
  height: 22px;
  left: .6rem;
  top: .7rem;
}

.steps--compact .steps h4 {
  font-size: .95rem;
  margin-bottom: .2rem;
}

.steps--compact .steps p {
  font-size: .8rem;
  line-height: 1.3;
}

/* Opção 4: Versão em Duas Colunas no Mobile */
.steps--columns {
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.steps--columns .steps {
  grid-template-columns: 1fr;
  gap: .5rem;
}

.steps--columns .steps li {
  padding: .8rem .6rem .8rem 2.4rem;
}

.steps--columns .steps li::before {
  width: 20px;
  height: 20px;
  left: .5rem;
  top: .8rem;
}

.steps--columns .steps h4 {
  font-size: .9rem;
  margin-bottom: .2rem;
}

.steps--columns .steps p {
  font-size: .75rem;
  line-height: 1.3;
}

/* Opção 5: Versão com Ícones Grandes */
.steps--icons .steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem .8rem;
  gap: .6rem;
}

.steps--icons .steps li::before {
  position: static;
  width: 40px;
  height: 40px;
  margin-bottom: .2rem;
  font-size: 1.1rem;
}

.steps--icons .steps h4 {
  font-size: .95rem;
  margin: 0 0 .3rem;
}

.steps--icons .steps p {
  font-size: .8rem;
  line-height: 1.4;
  max-width: 200px;
}

/* Versão Mobile Específica - Texto ainda mais reduzido */
@media (max-width: 760px) {
  .steps--mobile-compact .steps li {
    padding: .6rem .6rem .6rem 2.2rem;
  }

  .steps--mobile-compact .steps li::before {
    width: 18px;
    height: 18px;
    left: .4rem;
    top: .6rem;
    font-size: .8rem;
  }

  .steps--mobile-compact .steps h4 {
    font-size: .9rem;
    margin-bottom: .2rem;
  }

  .steps--mobile-compact .steps p {
    font-size: .75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.segment { 
  background: var(--card); 
  border: 1px solid rgba(148,163,184,.12);
   border-radius: 999px;
    padding: .8rem 1rem;
     text-align: left;
      display: flex;
      flex-direction: column;

      align-items: start;
       gap: .8rem; 
      }
.segment--title {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.segment h4 { margin: .2rem 0 .2rem; }
.segment p { margin: 0; color: #c5d0e0; }
.segment-icon { width: 78px; height: 78px; border-radius: 1rem; opacity: 1; background-size: contain; background-position: center; background-repeat: no-repeat; }
.segment--industrial .segment-icon { background-image: url('./assets/seg-industrial-large.svg'); }
.segment--comercial .segment-icon { background-image: url('./assets/seg-comercial-large.svg'); }
.segment--residencial .segment-icon { background-image: url('./assets/seg-residencial-large.svg'); }
.segment--condominial .segment-icon { background-image: url('./assets/seg-condominial-large.svg'); }
.segment--publico .segment-icon { background-image: url('./assets/seg-publico-large.svg'); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Featured Case Styles */
.case--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
}

/* All Cases Horizontal Layout */
.case {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(18, 34, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 54, 93, 0.3);
}

.case-body {
  padding: 1.5rem;
}

.gallery-main {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Ajustes específicos de zoom para cada imagem */
.gallery-image {
  object-fit: cover;
  object-position: center;
}

.gallery-image[src*="parque-dunas-2"] {
  transform: scale(0.95);
  object-position: center 75%;
}

.gallery-image[src*="belpack-3"] {
  object-position: center 65%;
}


.gallery-main:hover .gallery-image {
  transform: scale(1.02);
}


/* Hover específico para a segunda imagem */
.gallery-main:hover .gallery-image[src*="parque-dunas-2"] {
  transform: scale(0.97);
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(18, 34, 42, 0.8);
  justify-content: center;
}

.thumb-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer !important;
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  touch-action: manipulation;
}

.thumb-image.active {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(214, 158, 46, 0.3);
}

.thumb-image:hover {
  opacity: 0.8;
  transform: scale(1.02);
}

.thumb-image:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Indicador visual para dispositivos móveis */
@media (max-width: 768px) {
  .thumb-image {
    position: relative;
  }

  .thumb-image::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.8;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% {
      opacity: 0.8;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.2);
    }
  }
}

/* Case Specifications */
.case-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

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

.spec-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mock-image.is-industria { background: url('./assets/portfolio-industria.webp') center/cover no-repeat; }
.mock-image.is-spda { background: url('./assets/portfolio-spda-logistico.webp') center/cover no-repeat; }
.mock-image.is-retrofit { background: url('./assets/portfolio-retrofit-qdc.webp') center/cover no-repeat; }
.case-body { padding: 1rem; }
.case-body h3 { margin: .2rem 0 .4rem; font-size: 1.05rem; }
.case-body p { margin: 0; color: #c5d0e0; }


.accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.accordion-item { background: var(--card); border: 1px solid rgba(148,163,184,.12); border-radius: .8rem; padding: .6rem .9rem; }
.accordion-item summary { cursor: pointer; font-weight: 700; color: var(--text); }
.accordion-item[open] summary { color: var(--text); }
.accordion-body { color: #c5d0e0; margin-top: .4rem; }

.contact { background: radial-gradient(800px 400px at 90% 10%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.contact-centered { display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.contact-info h2 { margin: 0 0 .4rem; font-family: Poppins, Inter, system-ui; }
.contact-whatsapp { margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; color: #c5d0e0; display: grid; gap: .35rem; }
/* Formulário removido - mantendo apenas informações de contato */

.site-footer { border-top: 1px solid rgba(148,163,184,.12); background: #0e1920; padding: 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 1rem; align-items: start; }

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 0.5rem;
  filter: brightness(1.0) contrast(1.02);
}
.brand-name { display: block; font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.f-brand .logo { font-family: Poppins, Inter, system-ui; font-weight: 700; }
.f-links { display: grid; gap: .35rem; }
.f-links a { color: var(--text); text-decoration: none; opacity: .9; }
.f-links a:hover { color: var(--primary); }
.f-legal { color: #94a3b8; display: grid; gap: .35rem; }
.f-legal a { color: #a3b2c7; text-decoration: none; }
.f-legal a:hover { color: var(--primary); }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.logo img {
  height: 80px;
  display: block;
  max-width: 100%;
  filter: brightness(1.02) contrast(1.05);
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-features { gap: 1.5rem; }
  .services-3d-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-grid, .accordion { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-centered { flex-direction: column; min-height: 50vh; padding: 2rem 0; }
  .nav { position: absolute; right: 4%; top: 56px; background: #0e1920; border: 1px solid rgba(148,163,184,.12); border-radius: .8rem; padding: .6rem; display: flex; flex-direction: column; gap: .6rem; width: calc(100% - 2rem); max-width: 320px; opacity: 0; transform: translateY(-20px) scale(0.95); pointer-events: none; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  .nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-toggle { display: inline-block; }

  /* Otimizações do hero para mobile */
  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
  }

  .feature {
    gap: 1rem;
  }

  .feature span {
    font-size: .9rem;
  }

  .team-image-container {
    min-height: 320px;
    margin-top: 2rem;
    border-radius: 1.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 4vw + 1rem, 2.5rem);
  }

  .hero .sub {
    font-size: .9rem;
  }

  /* Cards 3D para mobile - versão otimizada */
  .services-3d-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  /* Galeria para mobile */
  .gallery-main {
    height: 220px;
  }

  /* Ajustes específicos para mobile */
  .gallery-image[src*="parque-dunas-2"] {
    transform: scale(0.96);
    object-position: center 75%;
  }

  .gallery-image[src*="belpack-3"] {
    object-position: center 65%;
  }



  .gallery-main:hover .gallery-image[src*="parque-dunas-2"] {
    transform: scale(0.98);
  }

  .gallery-thumbs {
    gap: 0.25rem;
    padding: 0.75rem;
  }

  .thumb-image {
    width: 60px;
    height: 45px;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
  }

  .thumb-image:active {
    transform: scale(0.95);
  }

  .case-specs {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Mobile Portfolio Layout */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Tablet - manter 2 colunas */
  @media (min-width: 768px) and (max-width: 1023px) {
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }

  .case {
    gap: 1rem;
  }

  .case-body {
    padding: 1rem;
  }

  .spec-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(26, 54, 93, 0.1);
    border-radius: 0.5rem;
  }

  .spec-number {
    font-size: 1.4rem;
  }

  .spec-label {
    font-size: 0.8rem;
  }

  .service-3d-card {
    height: 400px;
    cursor: pointer;
    position: relative;
  }

  /* Habilitar efeitos 3D sutis para mobile */
  .card-3d-container {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .service-3d-card:active .card-3d-container {
    transform: rotateY(180deg);
  }

  .card-front,
  .card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .card-front {
    padding: 1.5rem;
    z-index: 2;
  }

  .card-back {
    transform: rotateY(180deg);
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }

  .card-front h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .card-front p {
    font-size: .9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .card-features {
    gap: .4rem;
    margin-bottom: 1rem;
  }

  .card-features span {
    font-size: .75rem;
    padding: .2rem .5rem;
  }

  .card-back h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .card-back li {
    font-size: .85rem;
    padding-left: 1.2rem;
    margin-bottom: .5rem;
  }

  .card-cta-btn {
    padding: .6rem 1.2rem;
    font-size: .85rem;
    margin-top: 1rem;
  }

  /* Efeitos de toque para mobile */
  .service-3d-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
  }

  .service-3d-card:active {
    transform: scale(0.98) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .service-3d-card:not(:active) {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Melhorar visual dos cards para toque */
  .card-front {
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--card) 0%, rgba(26, 54, 93, 0.02) 100%);
  }

  .card-back {
    border-radius: 1rem;
  }

  /* Indicador de toque melhorado */
  .tap-indicator {
    position: absolute !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cta) 100%) !important;
    color: white !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .tap-indicator.show {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-2px) !important;
  }

  .tap-indicator::before {
    content: "👆" !important;
    margin-right: 6px !important;
  }

  /* Animação sutil de entrada para mobile */
  .service-3d-card {
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
  }

  .service-3d-card:nth-child(1) { animation-delay: 0.1s; }
  .service-3d-card:nth-child(2) { animation-delay: 0.2s; }
  .service-3d-card:nth-child(3) { animation-delay: 0.3s; }
  .service-3d-card:nth-child(4) { animation-delay: 0.4s; }
  .service-3d-card:nth-child(5) { animation-delay: 0.5s; }
  .service-3d-card:nth-child(6) { animation-delay: 0.6s; }

  @keyframes cardFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Melhorar responsividade dos ícones */
  .service-icon {
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .service-3d-card:active .service-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }

}


