/* ============================================================
   MIRUS ENGENHARIA — Redesign
   Cormorant Garamond · Syne · DM Sans
   ============================================================ */

:root {
  --navy:      #1a2340;
  --deep:      #080c14;
  --gold:      #C9A227;
  --gold-h:    #d4b03a;
  --gold-dim:  rgba(201, 162, 39, 0.07);
  --text:      #ede9e0;
  --muted:     #7a84a0;
  --muted-2:   #424d69;
  --border:    rgba(201, 162, 39, 0.14);
  --border-s:  rgba(255, 255, 255, 0.05);
  --surface:   #0f1520;
  --radius:    6px;
  --ease:      0.28s ease;
  --ease-out:  0.55s cubic-bezier(0.16, 1, 0.3, 1);
  --font-d:    'Cormorant Garamond', Georgia, serif;
  --font-h:    'Syne', sans-serif;
  --font-b:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--deep);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h4 {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
h5 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gold        { color: var(--gold); }
.gold-italic { font-style: italic; color: var(--gold); }

/* Eyebrow — linha + texto */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-h);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-header .eyebrow { justify-content: center; }
.section-header h2 { margin: 0 0 16px; }
.section-header p  { color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--ease-out), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
}
.btn-gold {
  background: var(--gold);
  color: var(--deep);
}
.btn-gold:hover {
  background: var(--gold-h);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(240, 237, 230, 0.2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-lg { padding: 16px 34px; font-size: 0.82rem; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.navbar.scrolled {
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-logo img {
  height: 42px;
  width: auto;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
.navbar-nav a {
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 4px;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--ease-out);
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--text); }
.navbar-nav a.active::after,
.navbar-nav a:hover::after { width: 100%; }

.navbar-cta { display: inline-flex; margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 20px;
  background: rgba(8, 12, 20, 0.98);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border-s);
  transition: color var(--ease);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { align-self: flex-start; margin-top: 14px; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Blueprint grid overlay */
.hero-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.038) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 85% 85% at 68% 42%, rgba(0,0,0,0.55) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 68% 42%, rgba(0,0,0,0.55) 0%, transparent 72%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 75% at 72% 48%, rgba(26, 35, 64, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 18% 65%, rgba(201, 162, 39, 0.03) 0%, transparent 65%),
    linear-gradient(165deg, var(--deep) 0%, #0b1122 55%, var(--deep) 100%);
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 64px;
}

/* Hero text entrance animations */
.hero-text > * {
  animation: heroEnter 0.85s var(--ease-out) both;
}
.hero-eyebrow          { animation-delay: 0.2s; }
.hero-headline         { animation-delay: 0.38s; }
.hero-text > p         { animation-delay: 0.54s; }
.hero-ctas             { animation-delay: 0.68s; }
.hero-visual           {
  animation: heroSlide 1.1s var(--ease-out) 0.28s both;
  position: relative;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlide {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Hero eyebrow — pill variant */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-h);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-left: 3px solid var(--gold);
  padding: 6px 14px 6px 12px;
  border-radius: 0 2px 2px 0;
  background: rgba(201, 162, 39, 0.04);
  margin-bottom: 20px;
}
.hero-eyebrow::before { display: none; }

.hero-headline { margin: 0 0 20px; max-width: 560px; }
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-text > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
  max-width: 470px;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* BIM Frame */
.hero-glow-ring {
  position: absolute;
  inset: -70px;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.bim-frame {
  background: #f4f0e8;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.25),
    0 0 48px rgba(201, 162, 39, 0.09),
    0 40px 90px rgba(0, 0, 0, 0.65);
}
.bim-frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8e4dc;
  padding: 9px 14px;
  border-bottom: 1px solid #d8d4cc;
}
.bim-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.bim-dot:first-child  { background: #e06c5d; }
.bim-dot:nth-child(2) { background: #e0c35d; }
.bim-dot:nth-child(3) { background: #64b87a; }
.bim-label {
  font-family: var(--font-h);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #888;
  margin-left: 4px;
}
.bim-frame img { width: 100%; display: block; }

/* Scroll line */
.scroll-line {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line span {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}


/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 52px;
  gap: 6px;
}
.stat strong,
.stat .count-num {
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat span {
  font-family: var(--font-h);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-sep {
  width: 1px; height: 48px;
  background: var(--border);
}


/* ============================================================
   SERVICES — Editorial List
   ============================================================ */
.services-list {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.service-item {
  display: grid;
  grid-template-columns: 58px 1px 1fr;
  column-gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-s);
  cursor: default;
  transition: background var(--ease);
}
.service-item:first-child { border-top: 1px solid var(--border-s); }

.svc-num {
  font-family: var(--font-h);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  align-self: start;
  padding-top: 6px;
}

.svc-bar {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.45s ease;
  align-self: stretch;
}
.service-item:hover .svc-bar { background: var(--gold); }

.svc-content { }

.svc-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.svc-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--ease);
}
.svc-icon svg { width: 100%; height: 100%; }
.service-item:hover .svc-icon { opacity: 1; }

.svc-header h3 {
  flex: 1;
  color: var(--text);
  transition: color var(--ease);
}
.service-item:hover .svc-header h3 { color: var(--gold); }

.svc-arrow {
  color: var(--muted-2);
  transition: transform var(--ease-out), color var(--ease);
  flex-shrink: 0;
  display: flex;
}
.service-item:hover .svc-arrow {
  transform: translateX(8px);
  color: var(--gold);
}

.svc-content > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
  max-width: 640px;
  margin-bottom: 16px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-tags span {
  font-family: var(--font-h);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 11px;
  border-radius: 2px;
  transition: border-color var(--ease), color var(--ease);
}
.service-item:hover .svc-tags span {
  border-color: rgba(201, 162, 39, 0.22);
  color: var(--muted);
}


/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais-section { background: var(--navy); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diferenciais-visual { position: relative; }
.diferenciais-visual img {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.bim-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--deep);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.45);
}
.bim-badge strong {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.bim-badge small { font-size: 0.68rem; opacity: 0.72; }

.diferenciais-content h2 { margin: 8px 0 16px; }
.diferenciais-content .lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.dif-list { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }

.dif-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: padding-left var(--ease);
}
.dif-item:first-child { border-top: none; padding-top: 0; }
.dif-item:hover { padding-left: 4px; }

.dif-num {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  transition: color var(--ease);
}
.dif-item:hover .dif-num { color: rgba(201, 162, 39, 0.45); }

.dif-item h4 { color: var(--text); margin-bottom: 6px; }
.dif-item p  { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }


/* ============================================================
   PROCESS
   ============================================================ */
.process-section { background: var(--deep); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  background: var(--deep);
  transition: background var(--ease-out), color var(--ease), box-shadow var(--ease);
}
.process-step:hover .step-circle {
  background: var(--gold);
  color: var(--deep);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
}

.step-line {
  position: absolute;
  top: 27px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: linear-gradient(to right, rgba(201, 162, 39, 0.4), rgba(201, 162, 39, 0.08));
}
.step-line.last { display: none; }

.process-step h4 { margin-bottom: 9px; }
.process-step p  { color: var(--muted); font-size: 0.85rem; line-height: 1.65; }


/* ============================================================
   HERO MARK — logo da marca na coluna direita
   ============================================================ */
.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-mark img {
  width: 85%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   NAV HOME LINK
   ============================================================ */
.nav-home {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.nav-home svg {
  flex-shrink: 0;
  stroke: currentColor;
}

/* ============================================================
   PORTFOLIO — Carrossel
   ============================================================ */
.portfolio-section { background: var(--navy); }

.portfolio-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  user-select: none;
  -webkit-user-select: none;
}

/* Barra de progresso no topo */
.carousel-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}
.carousel-progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
}

/* Viewport e track */
.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 12px;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex-shrink: 0;
  /* largura gerenciada pelo JS — garante 2 slides visíveis no desktop */
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay das imagens */
.p-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px 18px;
  background: linear-gradient(to top, rgba(8, 12, 20, 0.96) 0%, transparent 100%);
}

.p-tag {
  display: block;
  font-family: var(--font-h);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.p-overlay h4 { font-size: 0.88rem; color: var(--text); }

/* Setas de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), opacity var(--ease);
  backdrop-filter: blur(8px);
  opacity: 0;
}
.portfolio-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* Dots — pílula ativa, estilo Instagram */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 15;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.dot.active {
  background: white;
  width: 24px;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 { margin: 8px 0 20px; }
.about-content p  { color: var(--muted); line-height: 1.82; margin-bottom: 16px; font-size: 0.97rem; }
.about-content p:last-of-type { margin-bottom: 0; }

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.about-list li {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px; height: 1px;
  background: var(--gold);
}

.founders-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.founder-item { display: flex; flex-direction: column; gap: 4px; }
.founder-item strong {
  font-family: var(--font-h);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.founder-item span { font-size: 0.78rem; color: var(--muted); }
.founder-sep { width: 1px; height: 36px; background: var(--border); }

.about-visual img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
}

.cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.cta-deco {
  position: absolute;
  top: -48px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.cta-box .eyebrow { justify-content: center; }
.cta-box h2 { margin: 4px 0 16px; }
.cta-box > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 36px; line-height: 1.75; }

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-h);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer-logo {
  height: 42px; width: auto;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 16px;
}
.footer-brand p { color: var(--muted); font-size: 0.84rem; line-height: 1.75; }

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.footer-socials svg { width: 15px; height: 15px; }

.footer-col { display: flex; flex-direction: column; }
.footer-col h5 { color: var(--text); margin-bottom: 18px; }
.footer-col a, .footer-col span {
  color: var(--muted);
  font-size: 0.84rem;
  padding: 5px 0;
  transition: color var(--ease);
  line-height: 1.45;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: var(--muted-2); font-size: 0.76rem; }


/* ============================================================
   WHATSAPP FLOAT — Pill expand on hover
   Icon anchored right; label reveals from beneath as pill grows
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  background: #25D366;
  border-radius: 28px;
  height: 54px;
  width: 54px;
  overflow: hidden;
  transition: width 0.42s var(--ease-out), box-shadow var(--ease);
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.4);
}
.whatsapp-float:hover {
  width: 216px;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

/* Label sits to the LEFT of the icon — hidden when container is 54px */
.wf-label {
  position: absolute;
  right: 54px;
  top: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 8px;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: white;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease 0.12s;
}
.whatsapp-float:hover .wf-label { opacity: 1; }

/* Icon always visible at the right edge */
.wf-icon {
  position: absolute;
  right: 0; top: 0;
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.wf-icon svg { width: 26px; height: 26px; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content      { gap: 44px; }
  .diferenciais-grid { gap: 56px; }
  .about-grid        { gap: 56px; }
  .footer-inner      { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Navbar */
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 44px;
  }
  .hero-text > p      { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas          { justify-content: center; }
  .hero-eyebrow       { }

  /* Stats */
  .stat { padding: 10px 32px; }
  .stat-sep { display: none; }

  /* Services */
  .service-item { grid-template-columns: 44px 1px 1fr; column-gap: 24px; }

  /* Diferenciais */
  .diferenciais-grid  { grid-template-columns: 1fr; }
  .diferenciais-visual { display: none; }

  /* Process */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .step-line     { display: none; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.large { grid-column: span 2; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-content { padding-top: 16px; padding-bottom: 48px; }
  .service-item { grid-template-columns: 38px 1px 1fr; column-gap: 18px; }
  .svc-header h3 { font-size: 1.2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.large { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat { flex: 0 0 50%; }
  .btn-lg { padding: 14px 22px; font-size: 0.78rem; }

  /* Hero blueprint less prominent on mobile */
  .hero-blueprint { opacity: 0.5; }
}
