/* Fontes */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* Cores, tamanhos e espaçamentos */
:root {
  --bg: #121110;
  --bg-alt: #171512;
  --panel: #1C1A17;
  --panel-2: #242220;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F6F5F1;
  --text-muted: #A6A29A;
  --text-faint: #8F8A82;
  --accent: #E07A3A;
  --accent-light: #EE9B62;
  --accent-dark: #C4622A;
  --accent-soft: rgba(224, 122, 58, 0.12);
  --accent-soft-strong: rgba(224, 122, 58, 0.24);
  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-brand: "Manrope", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.75rem;
  --fs-display: 3.75rem;
  --container-w: 1360px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-md: 0 20px 50px -22px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.5s;
  --speed-fast: 0.28s;
  --page-fade-speed: 0.14s;
  --mobile-bar-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-tap-highlight-color: rgba(224, 122, 58, 0.18);
}

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

a, button, summary, label { touch-action: manipulation; }
svg { display: block; }
b, strong { font-weight: 500; }

[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Acessibilidade */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--accent);
  color: #17100A;
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top var(--speed-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

.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;
}

html:not(.js) [data-requires-js],
html:not(.js) .nav__toggle { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* Base */
.container {
  --gutter: 36px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section { padding: 128px 0; }

section[id], main[id] { scroll-margin-top: var(--scroll-offset, 0px); }
.section--alt { background: var(--bg-alt); }

.section__title {
  font-size: clamp(var(--fs-xl), 3.1vw, var(--fs-2xl));
  margin: 14px 0 16px;
}

.section__desc {
  color: var(--text-muted);
  max-width: 640px;
  font-size: var(--fs-md);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
}
.section__head .section__title { margin-bottom: 14px; }

.section__head--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section__intro { max-width: 720px; }

.text-accent {
  background: linear-gradient(100deg, var(--accent-light), var(--accent) 55%, var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
  .text-accent { color: var(--accent); background: none; -webkit-text-fill-color: initial; }
}

/* Etiqueta em cima dos títulos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.link-arrow {
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--text);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color var(--speed) var(--ease);
}
.link-arrow:hover { color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--speed) var(--ease); }

.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow:hover svg:first-child { transform: translateX(-6px); }

/* Transição entre páginas */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  opacity: 1;
  pointer-events: none;
  transition: opacity var(--page-fade-speed) var(--ease);
}
.page-transition.is-revealed { opacity: 0; }

@keyframes page-transition-fallback { to { opacity: 0; } }
html:not(.page-ready) .page-transition {
  animation: page-transition-fallback 0.4s ease-out 0.5s forwards;
}

/* Botões */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: var(--fs-base);
  white-space: nowrap;
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn__icon { width: 17px; height: 17px; flex-shrink: 0; transition: transform var(--speed) var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: #17100A;
  box-shadow: 0 10px 28px -10px rgba(224, 122, 58, 0.55);
}
.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 14px 34px -8px rgba(224, 122, 58, 0.7);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: #D7D5D0;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--small { padding: 12px 22px; font-size: var(--fs-sm); }

/* Molduras das fotos */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.img-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
}
.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.6) 100%);
}
.img-frame--hero { aspect-ratio: 6 / 7; width: 100%; }
.img-frame--about { aspect-ratio: 1 / 1; width: 100%; }

.img-frame--card { aspect-ratio: 4 / 5; width: 100%; margin-bottom: 18px; }
.portfolio-card:hover .img-frame img { transform: scale(1.045); }

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(18, 17, 16, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 12px;
  border-radius: 999px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.icon-badge svg { width: 24px; height: 24px; }

/* Cabeçalho */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.header.is-scrolled {
  background: rgba(18, 17, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner { transition: transform var(--speed) var(--ease); }
.header:not(.is-scrolled) .header__inner { transform: translateY(8px); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__img {
  display: block;
  width: auto;
  height: 48px;
  aspect-ratio: 313 / 290;
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: var(--fs-lg);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.logo__sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  word-spacing: normal;
  text-transform: uppercase;
  color: var(--text-muted);
}
.logo--footer .logo__img { height: 58px; }
.logo--footer .logo__text { font-size: var(--fs-lg); }

/* Menu */
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0 16px;
  transition: color var(--speed) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--speed) var(--ease);
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background var(--speed-fast) var(--ease);
}
.nav__toggle:hover { background: var(--panel); }
.nav__toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--speed-fast) var(--ease), opacity var(--speed-fast) var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--speed) var(--ease);
  z-index: 95;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Topo */
.hero {
  position: relative;
  padding: 188px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -22%; right: -12%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -18%; left: -10%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(238, 155, 98, 0.07) 0%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.hero__title {
  font-size: clamp(var(--fs-xl), 4.6vw, var(--fs-display));
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero__text {
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  font-size: var(--fs-md);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

.hero__text { margin-bottom: 22px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--accent-soft-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.hero__badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Slogan */
.slogan-band {
  border-top: 1px solid var(--accent-soft-strong);
  border-bottom: 1px solid var(--accent-soft-strong);
  background:
    linear-gradient(90deg, var(--accent-soft), transparent 70%),
    var(--bg-alt);
  padding: 44px 0;
}
.slogan-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.slogan-band__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(var(--fs-lg), 2.8vw, var(--fs-xl));
  line-height: 1.2;
  max-width: 760px;
  color: var(--text);
}

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  text-align: center;
}
.section-cta p { color: var(--text-muted); }

.hero__media { position: relative; }

/* Números */
.stats-band {
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  background: radial-gradient(60% 120% at 100% 50%, var(--accent-soft) 0%, transparent 70%);
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.stat {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 28px 32px 112px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}
.stat:hover { border-color: rgba(224, 122, 58, 0.5); }

.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); }
.stat__icon {
  position: absolute;
  left: 28px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
}
.stat__icon svg { width: 28px; height: 28px; }

/* tabular-nums pro número não tremer na contagem */
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-2xl);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}
.stat__unit { color: var(--accent); }
.stat__value .stat__num + .stat__unit { font-size: var(--fs-lg); font-weight: 700; }
.stat dt { color: var(--text-muted); font-size: var(--fs-sm); letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .stat { padding: 28px 12px; text-align: center; }
  .stat::before { inset: 0 0 auto 0; width: auto; height: 3px; }
  .stat__icon { position: static; translate: none; margin: 0 auto 16px; }
}

/* Sobre */
.about {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 76px;
  align-items: center;
}

.about__content p { color: var(--text-muted); max-width: 500px; margin-bottom: 36px; }
.about__content .section__title { color: var(--text); }
.about__content .about__lead { margin-bottom: 16px; }

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.about-point {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.about-point:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.04); }
.about-point svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.about-point span { color: var(--text); font-size: var(--fs-sm); font-weight: 500; line-height: 1.3; }

/* Como trabalhamos */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), var(--border-strong) 92%, transparent);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step__index {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  margin-bottom: 24px;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.process-step__index svg { width: 22px; height: 22px; }
.process-step:hover .process-step__index {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}
.process-step h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; max-width: 260px; }

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 122, 58, 0.45);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
}
.service-card:hover .icon-badge {
  background: var(--accent);
  color: #17100A;
}

.service-card { display: flex; flex-direction: column; align-items: flex-start; }
.service-card h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: var(--fs-sm); }

.card-cta {
  margin-top: auto;
  padding-top: 18px;
  font-size: var(--fs-sm);
  color: var(--accent);
  min-height: 44px;
}
.card-cta:hover { color: var(--accent-light); }

.service-card--featured {
  grid-column: span 2;
  position: relative;
  border-color: var(--accent-soft-strong);
  background: linear-gradient(150deg, rgba(224, 122, 58, 0.08), var(--panel) 55%);
}
.service-card--featured h3 { font-size: var(--fs-lg); }
.service-card--featured p { max-width: 620px; }
.service-card__tag { position: absolute; top: 24px; right: 24px; }
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 4px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Fechadura */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}
.feature-band__media { position: relative; min-height: 520px; overflow: hidden; }
.feature-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.feature-band__content {
  align-self: center;
  max-width: 600px;
  padding: 96px max(36px, env(safe-area-inset-right)) 96px 72px;
}
.check-list--stack { grid-template-columns: 1fr; margin: 8px 0 28px; }
.check-list--stack li { font-size: var(--fs-base); }

/* Níveis */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.level-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-md);
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.level-card:hover { transform: translateY(-6px); border-color: rgba(224, 122, 58, 0.45); }
.level-card { position: relative; }
.level-card--highlight {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(224, 122, 58, 0.08), var(--panel) 60%);
}
.level-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  border-color: var(--accent);
  color: #17100A;
  backdrop-filter: none;
}

.level-meter { display: flex; gap: 4px; margin: -4px 0 18px; }
.level-meter i { width: 22px; height: 5px; border-radius: 3px; background: var(--border-strong); }
.level-meter--1 i:nth-child(-n+1),
.level-meter--2 i:nth-child(-n+2),
.level-meter--3 i:nth-child(-n+3),
.level-meter--4 i:nth-child(-n+4) { background: var(--accent); }
.level-card__level {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}

.nowrap { white-space: nowrap; }
.level-card__level::before {
  content: "Nível ";
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.level-card h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.level-card p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 18px; }
.levels-note {
  margin-top: 28px;
  color: var(--text-faint);
  font-size: var(--fs-sm);
  max-width: 820px;
}

/* Portfólio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.portfolio-card { position: relative; }

.portfolio-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: var(--radius-md);
}
.portfolio-card__link:focus-visible { outline: none; }
.portfolio-card__link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 6px; }
.portfolio-card .img-frame--card { position: relative; margin-bottom: 0; transition: border-color var(--speed) var(--ease); }
.portfolio-card:hover .img-frame--card { border-color: rgba(224, 122, 58, 0.5); }
.portfolio-card__tag { position: absolute; top: 16px; left: 16px; z-index: 2; }

.portfolio-more { display: flex; justify-content: center; margin-top: 48px; }

/* Diferenciais */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.differentials-grid { gap: 40px; }
.differential-card {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--border-strong);
}
.differential-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 2px;
  background: var(--accent);
}
.differential-card__icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 18px;
}
.differential-card__icon svg { width: 30px; height: 30px; }
.differential-card h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.differential-card p { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.65; }

/* Perguntas */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__aside { color: var(--text-muted); margin: 18px 0 12px; }
.faq__item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--speed-fast) var(--ease);
}
.faq__item[open] { border-color: rgba(224, 122, 58, 0.45); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--accent);
  transition: transform var(--speed-fast) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 20px 18px; color: var(--text-muted); font-size: var(--fs-base); }

/* Contato */
.cta {
  position: relative;
  background: linear-gradient(150deg, var(--bg-alt), #141210);
  padding: 108px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -30%; right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 76px;
  align-items: center;
}
.cta__text p { color: var(--text-muted); max-width: 460px; margin: 4px 0 32px; }

.cta__inner--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cta__inner--center .cta__text { max-width: 720px; }
.cta__inner--center .cta__text p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta__inner--center .eyebrow { justify-content: center; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.cta--photo {
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.86), rgba(18, 17, 16, 0.94)),
    url("../images/galeria/portas-04.jpg") center 40% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.86), rgba(18, 17, 16, 0.94)),
    image-set(url("../images/galeria/portas-04.webp") type("image/webp"), url("../images/galeria/portas-04.jpg") type("image/jpeg")) center 40% / cover no-repeat;
}
.cta--photo::before { display: none; }

/* Formulário */
.project-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 56px;
  border: 1px solid var(--accent-soft-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(224, 122, 58, 0.08), var(--panel) 60%);
  box-shadow: var(--shadow-lg);
}
.project-box__text .section__desc { margin-bottom: 8px; }
.project-form { display: flex; flex-direction: column; gap: 18px; }
.project-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.field__opt { color: var(--text-faint); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-base);
  transition: border-color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft-strong);
}
.field [aria-invalid="true"] { border-color: #E5604D; }
.project-form__erro { color: #F08A7A; font-size: var(--fs-sm); }
.project-form__erro:empty { display: none; }
.project-form__btn { align-self: flex-start; }
.project-form__nota { color: var(--text-faint); font-size: var(--fs-xs); margin-top: -6px; }

.project-form__link { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; padding-block: 15px; }
.project-form__link:hover { color: var(--accent); }

/* Rodapé */
.footer { padding: 72px 0 0; border-top: 1px solid var(--border); background: var(--bg-alt); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr 1.15fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__col { min-width: 0; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__about { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.7; max-width: 340px; }

.footer__title {
  font-size: var(--fs-md);
  margin-bottom: 24px;
  color: var(--text);
}

.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer__links a {
  display: inline-block;
  padding: 5px 0;
  color: var(--text-muted);
  font-size: var(--fs-base);
  transition: color var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
}
.footer__links a:hover { color: var(--accent); transform: translateX(4px); }

.footer__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.footer__contacts li,
.footer__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: 1.55;
}
.footer__contacts svg,
.footer__address svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}
.footer__contacts .footer__wa-icon { color: #25D366; }
.footer__contacts a { color: var(--text); transition: color var(--speed-fast) var(--ease); }
.footer__contacts a:hover { color: var(--accent); }
.footer__contacts small { color: var(--text-faint); font-size: var(--fs-xs); }
.footer__address { color: var(--text); margin-bottom: 18px; }
.footer__route {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__route:hover { color: var(--accent-light); }

/* Mapa */
.footer__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
}
.footer__map {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 65%),
    var(--panel);
}

.footer__map-load {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: border-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.footer__map-load svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.footer__map-load:hover { border-color: var(--accent); color: var(--accent); }
.footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: var(--fs-sm);
}
.footer__bottom-inner { text-align: left; }
.footer__legal { margin-bottom: 8px; line-height: 1.6; }
.footer__privacy { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__privacy:hover { color: var(--accent); }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  z-index: 90;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--speed-fast) var(--ease);
}
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float { transition: transform var(--speed-fast) var(--ease), opacity var(--speed) var(--ease), visibility var(--speed) var(--ease); }
.whatsapp-float.is-waiting { opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.85); }
.whatsapp-float__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@media (hover: hover) {
  .whatsapp-float { position: fixed; }
  .whatsapp-float::after {
    content: "Fale conosco";
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--panel);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--speed-fast) var(--ease), transform var(--speed-fast) var(--ease);
    box-shadow: var(--shadow-md);
  }
  .whatsapp-float:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Voltar ao topo */
.back-to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 50%;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.6);
  transition: opacity var(--speed) var(--ease), visibility var(--speed) var(--ease), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), border-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.back-to-top svg { width: 19px; height: 19px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:active { scale: 0.88; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* Barra do celular (só aparece em tela pequena) */
.mobile-bar { display: none; }

/* Animações */
@keyframes reveal-in {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
html.js .reveal:not(.is-visible) { opacity: 0; }
html.js .reveal.is-visible { animation: reveal-in 0.5s var(--ease) both; }
html.js:not(.reveal-on) .reveal { animation: reveal-in 0.5s var(--ease) 2.5s both; }

html.js .reveal.is-instant { animation: none; opacity: 1; }

@keyframes hero-in {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
.hero__content > * { animation: hero-in 0.6s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.08s; }
.hero__content > :nth-child(3) { animation-delay: 0.16s; }
.hero__content > :nth-child(4) { animation-delay: 0.24s; }

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Galeria */
.gallery-hero { padding-top: 168px; }
.gallery-back { margin-bottom: 28px; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 44px;
}
.gallery-filter {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: color var(--speed-fast) var(--ease), border-color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}
.gallery-filter:hover { color: var(--text); border-color: var(--text-muted); }
.gallery-filter.is-active {
  color: #17100A;
  background: var(--accent);
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.gallery-item:hover,
.gallery-item:focus-visible { border-color: rgba(224, 122, 58, 0.5); transform: translateY(-4px); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.65) 100%);
}
.gallery-item__tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery-item__caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.gallery-item::after { background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75) 100%); }
.gallery-item.is-hidden { display: none; }

.gallery-empty { color: var(--text-muted); text-align: center; padding: 60px 0; }

/* Foto ampliada */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  overscroll-behavior: contain;
  transition: opacity var(--speed) var(--ease), visibility var(--speed) var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--speed) var(--ease), visibility 0s; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.88);
  backdrop-filter: blur(4px);
}
.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(920px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  background: var(--panel);
}
.lightbox__caption { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 16px; text-align: center; }
.lightbox__close {
  position: absolute;
  top: -18px; right: -18px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--text);
  transition: border-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(18, 17, 16, 0.72);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  font-size: var(--fs-lg);
  transition: border-color var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav--prev { left: -60px; }
.lightbox__nav--next { right: -60px; }

/* 404 */
.not-found {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
}
.not-found__inner { max-width: 720px; }
.not-found__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  background: linear-gradient(100deg, var(--accent-light), var(--accent) 55%, var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.not-found__text { color: var(--text-muted); max-width: 520px; margin-bottom: 32px; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer--simple { padding-top: 0; }

/* Política de privacidade */
.legal { padding: 150px 0 90px; }
.legal__inner { max-width: 760px; }
.legal__date { color: var(--text-faint); font-size: var(--fs-sm); margin-bottom: 40px; }
.legal h2 { font-size: var(--fs-lg); margin: 40px 0 12px; }
.legal p,
.legal li { color: var(--text-muted); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal ul { margin: 12px 0 12px 20px; display: flex; flex-direction: column; gap: 10px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__back { color: var(--accent); font-size: var(--fs-sm); }

/* Responsivo */
@media (max-width: 1200px) {
  .differentials-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process-grid::before { display: none; }
}

/* Menu vira hambúrguer aqui (mesmo valor no comum.js) */
@media (max-width: 1180px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 340px);
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 104px 32px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--speed) var(--ease), visibility 0s linear var(--speed);
    z-index: 96;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--speed) var(--ease), visibility 0s;
  }
  .nav__link { font-size: var(--fs-md); padding: 12px 0; width: 100%; }
  .nav__link::after { display: none; }
  .nav__toggle { display: flex; }
  .header:not(.is-scrolled) .header__inner { transform: none; }
  .header .logo,
  .header .header__cta,
  .header .nav__toggle { transition: transform var(--speed) var(--ease), background var(--speed-fast) var(--ease); }
  .nav__toggle { position: relative; z-index: 97; }
  .header:not(.is-scrolled) .logo,
  .header:not(.is-scrolled) .header__cta,
  .header:not(.is-scrolled) .nav__toggle { transform: translateY(8px); }
  .header__cta { margin-left: auto; }
}

/* Tablet */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-points { grid-template-columns: repeat(3, 1fr); }
  .about__media { max-width: 560px; }
  .feature-band__content { padding: 72px 36px 72px 48px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; margin: 0 auto; }
  .cta__inner { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; }
  .project-box { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
}

/* Celular */
@media (max-width: 760px) {
  :root { --scroll-offset: 24px; }
  .container { --gutter: 20px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .cta { padding: 64px 0; }
  .header__cta { display: none; }
  .logo { gap: 10px; }
  .header .logo { min-height: 44px; }
  .logo__img { height: 42px; }
  .logo__text { font-size: var(--fs-md); }
  .header .logo__sub { display: none; }
  .hero { padding: 100px 0 56px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__media { order: -1; width: 100%; }
  .img-frame--hero { aspect-ratio: 4 / 3; }
  .img-frame--hero img { object-position: center 55%; }
  .hero__title { margin-bottom: 14px; }
  .hero__text { margin-bottom: 16px; }
  .hero__text-more,
  .hero__badges .hero__badge--desktop,
  .hero__cta-main { display: none; }
  .hero__badges { flex-wrap: nowrap; gap: 8px; margin-bottom: 20px; }
  .hero__badges li { padding: 6px 12px; font-size: var(--fs-xs); white-space: nowrap; }
  .gallery-hero { padding-top: 140px; }

  .section__head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section__desc { font-size: var(--fs-base); }
  .about-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band__media { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-band__content { max-width: none; padding: 40px var(--gutter-mobile, 20px) 56px; }
  .check-list--stack li { font-size: var(--fs-sm); }
  .stats-band { padding: 32px 0; }
  .stats { gap: 10px; }
  .stat { padding: 20px 4px 18px; }
  .stat__icon { width: 44px; height: 44px; margin: 0 auto 12px; }
  .stat__icon svg { width: 22px; height: 22px; }
  .stat__value { font-size: var(--fs-lg); }
  .stat__value .stat__num + .stat__unit { font-size: var(--fs-sm); }
  .stat dt { font-size: var(--fs-xs); letter-spacing: 0; text-transform: none; line-height: 1.3; }
  .level-card__badge { position: static; align-self: flex-start; margin-bottom: 12px; padding: 4px 8px; letter-spacing: 0; white-space: nowrap; }
  .level-meter i { width: 16px; }
  .gallery-item__caption { left: 10px; right: 10px; bottom: 8px; font-size: var(--fs-xs); }
  .service-card { padding: 26px 22px 20px; }
  .service-card--featured { grid-column: auto; margin-bottom: 6px; }
  .service-card:not(.service-card--featured) {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px 18px;
    box-shadow: none;
  }
  .service-card:not(.service-card--featured) .icon-badge { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .service-card:not(.service-card--featured) .icon-badge svg { width: 20px; height: 20px; }
  .service-card:not(.service-card--featured) h3 { font-size: var(--fs-base); margin: 0; }
  .service-card:not(.service-card--featured) p { font-size: var(--fs-sm); line-height: 1.5; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--featured { grid-column: 1 / -1; }
  .service-card:not(.service-card--featured) {
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 10px;
    padding: 16px 14px;
  }
  .service-card:not(.service-card--featured) .icon-badge { grid-row: auto; }
  .service-card:not(.service-card--featured) h3 { font-size: var(--fs-sm); line-height: 1.35; }
  .service-card:not(.service-card--featured) p { display: none; }

  .service-card:not(.service-card--featured):last-child { grid-column: 1 / -1; }
  .service-card__tag { top: 18px; right: 18px; }

  .project-box { padding: 28px 20px; border-radius: var(--radius-md); }
  .project-form__row { grid-template-columns: 1fr; }
  .project-form__btn { align-self: stretch; justify-content: center; }
  .project-box__text .check-list { display: none; }

  .img-frame--about { aspect-ratio: 16 / 10; }
  .img-frame--about img { object-position: center 60%; }
  .check-list { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .level-card { padding: 18px 16px; }
  .level-card h3 { font-size: var(--fs-base); }
  .level-card p { font-size: var(--fs-sm); line-height: 1.5; margin-bottom: 14px; }
  .level-card__level { font-size: var(--fs-xl); }
  .slogan-band { padding: 32px 0; }
  .section-cta { margin-top: 32px; }
  .section-cta .btn { width: 100%; justify-content: center; }
  .service-card .icon-badge { width: 46px; height: 46px; margin-bottom: 16px; }
  .card-cta { padding-top: 12px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .portfolio-card:nth-child(n+5) { display: none; }
  .img-frame--card { aspect-ratio: 1 / 1; margin-bottom: 0; border-radius: var(--radius-sm); }

  .portfolio-card__tag { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 9px; white-space: nowrap; }
  .portfolio-card__link::after { border-radius: var(--radius-sm); }
  .portfolio-more { margin-top: 32px; }
  .portfolio-more .btn { width: 100%; justify-content: center; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-item { border-radius: var(--radius-sm); contain-intrinsic-size: auto 220px; }
  .gallery-item__tag { top: 8px; left: 8px; padding: 4px 9px; }
  .gallery-filter { min-height: 44px; flex-shrink: 0; }

  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(-1 * var(--gutter)) 28px;
    padding: 2px var(--gutter);
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__nav { width: 38px; height: 38px; font-size: var(--fs-lg); }
  .lightbox__close { top: -14px; right: 0; }

  .differentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .differential-card { padding-top: 18px; }
  .differential-card__icon { margin-bottom: 10px; }
  .differential-card__icon svg { width: 26px; height: 26px; }
  .differential-card h3 { font-size: var(--fs-base); }
  .differential-card p { font-size: var(--fs-sm); line-height: 1.5; }

  .process-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .process-step__index { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .process-step__index svg { width: 20px; height: 20px; }
  .process-step h3 { margin: 2px 0 4px; }
  .process-step p { max-width: none; }

  .eyebrow, .tag, .gallery-filter { letter-spacing: 0.05em; }
  .eyebrow { font-size: var(--fs-xs); }

  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 17, 16, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
  }
  .mobile-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: var(--fs-base);
  }
  .mobile-bar__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
  .mobile-bar__btn--wa { background: #25D366; color: #0B2914; }
  .mobile-bar__btn--tel { border: 1px solid var(--border-strong); color: var(--text); background: var(--panel); }
  .whatsapp-float { display: none; }
  .back-to-top { bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom) + 14px); }
  .footer__brand { align-items: flex-start; }
  .logo--footer .logo__img { height: 50px; }
  .footer { padding-top: 52px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }

  .footer__about { display: none; }

  .footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .footer__title { margin-bottom: 14px; }
  .footer__bottom-inner { text-align: center; }
}

@media (max-width: 760px) {
  .section, .cta { padding: 48px 0; }
  .section__head { margin-bottom: 26px; }

  .service-card--featured .check-list { display: none; }
  .service-card--featured .card-cta { margin-top: 0; }

  .about-points { display: none; }
  .about { gap: 28px; }
  .feature-band__content { padding-block: 32px 40px; }
  .section-cta { margin-top: 24px; }

  .portfolio-card__tag {
    top: auto; bottom: 8px; left: 10px;
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  }
  .footer { padding-top: 40px; }
  .footer__grid { gap: 28px; padding-bottom: 28px; }

  .footer__map:not(.is-loaded) { aspect-ratio: auto; padding: 12px; }
}

@media (max-width: 760px), (pointer: coarse) {
  .link-arrow { min-height: 44px; }
  .footer__links { row-gap: 0; }
  .footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .footer__contacts { gap: 4px; }
  .footer__contacts li { align-items: center; }
  .footer__contacts svg { margin-top: 0; }

  .footer__contacts a,
  .footer__route { display: inline-block; padding-block: 10px; }
  .footer__route { padding-block: 11px; }
  .footer__privacy { display: inline-block; padding-block: 12px; }
}

@media (max-width: 460px) {
  .btn { padding: 14px 22px; font-size: var(--fs-sm); }
  .back-to-top { left: 18px; width: 44px; height: 44px; }
}

/* Celular bem estreito */
@media (max-width: 360px) {
  .stat__value { font-size: var(--fs-md); }
  .logo--footer { flex-shrink: 1; }
  .logo--footer .logo__sub { white-space: normal; }
  .portfolio-card__tag { white-space: normal; border-radius: var(--radius-sm); }
}
