/* AFS Serviços e Facilities — tema "projeto técnico" */
:root {
  --ink: #17181B;
  --graphite: #23252A;
  --graphite-2: #2E3137;
  --grey-700: #4A4E57;
  --grey-600: #5C616B;
  --grey-400: #9A9EA6;
  --grey-300: #C9CCD1;
  --grey-200: #E3E5E8;
  --grey-100: #F1F2F4;
  --white: #FFFFFF;
  --orange: #C2410C;        /* texto/botão sobre branco (5.2:1) */
  --orange-dark: #9A3412;
  --orange-bright: #F97316; /* destaque sobre fundo escuro */
  --orange-soft: #FFF1E8;
  --header-h: 76px;
  --radius: 6px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 3px; }

.tag-mono {
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--grey-600);
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.tag-mono .dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 600 1rem/1.2 var(--font);
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-outline { background: rgba(23,24,27,.04); color: var(--ink); border-color: rgba(23,24,27,.6); }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(23,24,27,.08); }
.header::after { /* régua de progresso */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px;
  width: calc(var(--progress, 0) * 100%); background: var(--orange-bright);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.brand-text small { font-family: var(--mono); font-size: .72rem; color: var(--grey-600); letter-spacing: .03em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav ul a {
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--grey-700);
  padding: 6px 0; position: relative; white-space: nowrap;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav ul a:hover, .nav ul a.is-active { color: var(--ink); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 10px 18px; font-size: .95rem; white-space: nowrap; }

.floor-display {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 4px; background: var(--ink);
  font-family: var(--mono);
}
.floor-label { font-size: .68rem; color: var(--grey-300); letter-spacing: .06em; }
.floor-num { min-width: 2ch; text-align: center; font-weight: 600; font-size: 1.05rem; color: var(--orange-bright); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(23,24,27,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,27,.06) 1px, transparent 1px),
    linear-gradient(rgba(23,24,27,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,27,.03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, var(--white)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 400; line-height: 1.55; letter-spacing: 0;
  color: var(--grey-700);
  max-width: 34em; margin-bottom: 22px;
}
.hero-slogan {
  font-weight: 600; color: var(--ink);
  border-left: 4px solid var(--orange); padding: 2px 0 2px 16px; margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-drawing { position: relative; }
.building { width: 100%; height: auto; max-height: 620px; overflow: visible; }
.building .labels line { stroke: var(--ink); stroke-width: 1; }
.building .labels circle { fill: var(--orange); }
.detail-callout {
  position: absolute; left: -3%; bottom: 4%;
  width: clamp(130px, 38%, 210px); margin: 0;
}
.detail-callout picture, .detail-callout img {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
}
.detail-callout img { height: 100%; }
.detail-callout picture {
  border: 3px solid var(--white); outline: 2px dashed var(--orange); outline-offset: 6px;
  box-shadow: 0 14px 40px rgba(23,24,27,.22);
}
.detail-callout figcaption {
  margin: 16px auto 0; width: max-content; max-width: 100%; text-align: center;
  background: rgba(255,255,255,.94); padding: 3px 8px; border-radius: 3px; line-height: 1.35;
  font-family: var(--mono); font-size: .75rem; color: var(--grey-700);
}
.detail-callout figcaption span { display: block; color: var(--orange); font-weight: 600; }

/* desenho animado */
.js .building .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.js .building.is-drawn .draw { animation: draw 1.6s var(--ease) forwards; }
.js .building .shaft { stroke-dasharray: 6 5; stroke-dashoffset: 0; opacity: 0; }
.js .building.is-drawn .shaft { animation: fadeIn .6s 1.4s forwards, flow 1.2s linear 2s infinite; }
.js .building .lbl { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .building.is-drawn .lbl { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -22; } }

/* ---------- Faixa cota ---------- */
.cota-band { background: var(--ink); color: var(--white); padding: 56px 0; }
.cota-band .container { display: grid; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); align-items: center; gap: 28px; }
.cota-line { position: relative; height: 18px; }
.cota-line span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--grey-400); }
.cota-line::before, .cota-line::after {
  content: ""; position: absolute; top: 0; width: 1px; height: 18px; background: var(--grey-400);
}
.cota-line::before { left: 0; } .cota-line::after { right: 0; }
.cota-text {
  margin: 0; text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
}
.cota-text em { font-style: normal; color: var(--orange-bright); }

/* ---------- Cabeçalho de seção ---------- */
section { position: relative; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-head p:not(.tag-mono) { color: var(--grey-700); margin: 0; }
.section-head--light .tag-mono { color: var(--grey-300); }
.section-head--light h2 { color: var(--white); }

/* ---------- Serviços ---------- */
.services { padding: 110px 0; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.svc-stack { display: flex; flex-direction: column; padding: 0 18px; }
.svc-roof { height: 14px; margin: 0 -2px; border: 2px solid var(--ink); border-bottom: 0; background: repeating-linear-gradient(45deg, var(--grey-100) 0 4px, var(--white) 4px 8px); }
.svc-ground { height: 16px; margin: 0 -18px; border-top: 3px solid var(--ink); background: repeating-linear-gradient(45deg, var(--grey-300) 0 2px, transparent 2px 9px); }
.svc-floor {
  display: flex; align-items: center; gap: 16px; text-align: left;
  min-height: 62px; padding: 10px 18px;
  font: 600 1rem/1.3 var(--font); color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink); border-top-width: 0;
  cursor: pointer; position: relative;
  transition: background-color .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}
.svc-roof + .svc-floor { border-top-width: 2px; }
.svc-floor .fl-n {
  font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--grey-600);
  width: 32px; flex: none; transition: color .25s var(--ease);
}
.svc-floor:hover { background: var(--orange-soft); padding-left: 24px; }
.svc-floor[aria-selected="true"] { background: var(--ink); color: var(--white); padding-left: 24px; }
.svc-floor[aria-selected="true"] .fl-n { color: var(--orange-bright); }
.svc-floor[aria-selected="true"]::after {
  content: ""; position: absolute; right: -20px; top: 50%; width: 20px; height: 2px; background: var(--ink);
}

.svc-panels { position: relative; display: grid; }
.svc-panel {
  grid-area: 1 / 1;
  display: grid; grid-template-rows: 260px auto;
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.svc-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.svc-panel[hidden] * { animation: none !important; }
.svc-panel.is-active { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svc-media { background-size: cover; background-position: center; position: relative; }
.svc-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,27,0) 50%, rgba(23,24,27,.35)); }
.svc-body { padding: 30px 32px 34px; }
.svc-ico { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.svc-body h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.svc-body p { color: var(--grey-700); margin-bottom: 24px; max-width: 46em; }

/* ---------- Faixa janela (fundo fixo) ---------- */
.window-band { padding: 130px 0; color: var(--white); clip-path: inset(0); isolation: isolate; }
.window-bg {
  position: fixed; inset: 0; z-index: -1;
  background: url("../img/obra.webp") center / cover no-repeat;
}
.window-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,24,27,.9) 0%, rgba(23,24,27,.72) 55%, rgba(23,24,27,.45) 100%); }
.window-inner { max-width: 1200px; }
.window-band blockquote { margin: 0 0 24px; max-width: 760px; }
.window-band blockquote p {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0;
}
.window-band blockquote p::before { content: ""; display: block; width: 64px; height: 4px; background: var(--orange-bright); margin-bottom: 26px; }
.window-sub { max-width: 640px; color: #E3E5E8; margin: 0; }

/* ---------- Método ---------- */
.method { padding: 110px 0; background: var(--grey-100); }
.gantt {
  list-style: none; margin: 0 0 90px; padding: 24px 28px;
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--grey-200) calc(10% - 1px) 10%);
  background-clip: padding-box;
}
.gantt li {
  display: grid; grid-template-columns: 42px minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 14px 0; border-bottom: 1px dashed var(--grey-300);
}
.gantt li:last-child { border-bottom: 0; }
.g-n { font-family: var(--mono); font-weight: 600; color: var(--orange); font-size: .9rem; }
.g-t { font-weight: 600; line-height: 1.3; }
.g-bar { position: relative; height: 22px; }
.g-bar i {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--s) * 1%); width: calc(var(--w) * 1%);
  background: var(--ink); border-radius: 3px;
  transform-origin: left; transition: transform 1s var(--ease);
}
.gantt li:last-child .g-bar i { background: var(--orange); }
.js .gantt:not(.is-in) .g-bar i { transform: scaleX(0); }
.gantt li:nth-child(2) .g-bar i { transition-delay: .15s; }
.gantt li:nth-child(3) .g-bar i { transition-delay: .3s; }
.gantt li:nth-child(4) .g-bar i { transition-delay: .45s; background: repeating-linear-gradient(45deg, var(--grey-700) 0 6px, var(--ink) 6px 12px); }
.gantt li:nth-child(5) .g-bar i { transition-delay: .6s; }

.balance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; }
.balance-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.balance-text p { color: var(--grey-700); max-width: 34em; }
.pentagon { width: 100%; height: auto; overflow: visible; }
.js .pent-fill { transform-origin: 180px 190px; transform: scale(.2); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
.js .pentagon.is-in .pent-fill { transform: none; opacity: 1; }

/* ---------- Sobre ---------- */
.about { padding: 110px 0; }
.sheet {
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white);
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  box-shadow: 10px 10px 0 var(--grey-200);
}
.sheet-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sheet-col { padding: 40px; }
.sheet-col + .sheet-col { border-left: 1px solid var(--grey-300); }
.sheet-col h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; display: flex; align-items: baseline; gap: 12px; }
.sheet-col h3 span { font-family: var(--mono); font-size: .85rem; color: var(--orange); }
.sheet-col p { color: var(--grey-700); }
.sheet-photo { margin: 0 0 30px; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }

.title-block {
  margin: 0; border-left: 2px solid var(--ink);
  display: flex; flex-direction: column;
  font-family: var(--mono);
}
.title-block > div { padding: 18px 22px; border-bottom: 1px solid var(--grey-300); }
.title-block > div:last-child { border-bottom: 0; }
.tb-brand { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--white); font-family: var(--font); font-weight: 700; line-height: 1.2; }
.tb-brand img { width: 40px; height: 40px; flex: none; }
.title-block dt { font-size: .72rem; color: var(--grey-600); letter-spacing: .06em; text-transform: uppercase; }
.title-block dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- Essência ---------- */
.essence {
  padding: 110px 0; background: var(--graphite); color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.tabs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.tab-list { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.18); }
.tab-list button {
  font: 700 1.15rem/1.2 var(--font); text-align: left;
  padding: 24px 26px; background: transparent; color: #D4D6DA;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.12); border-left: 4px solid transparent;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tab-list button:hover { background: rgba(255,255,255,.08); color: var(--white); }
.tab-list button[aria-selected="true"] { background: var(--graphite-2); color: var(--white); border-left-color: var(--orange-bright); }
.tab-panel { padding: 44px 48px; min-height: 300px; }
.tab-panel:not([hidden]) { animation: panelIn .45s var(--ease); }
.tab-panel h3 { font-size: 1.8rem; font-weight: 800; color: var(--orange-bright); margin-bottom: 18px; }
.tab-panel p { color: #E3E5E8; max-width: 44em; font-size: 1.1rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.values li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px;
  font-weight: 600; background: rgba(255,255,255,.04);
}
.values span { font-family: var(--mono); color: var(--orange-bright); font-size: .85rem; }

/* ---------- Contato ---------- */
.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.os-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.os-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 24px; background: var(--ink); color: var(--white);
  font-family: var(--mono); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
}
.os-status { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-300); font-weight: 500; }
.os-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-400); }
.os-status.is-open { color: #FDBA74; }
.os-status.is-open::before { background: var(--orange-bright); }
.os-list { list-style: none; margin: 0; padding: 8px 24px; flex: 1; }
.os-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--grey-300); }
.os-list li:last-child { border-bottom: 0; }
.os-list svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.os-list div { min-width: 0; }
.os-k { display: block; font-family: var(--mono); font-size: .74rem; color: var(--grey-600); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.os-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.os-list a:hover { color: var(--orange); text-decoration: underline; }
.os-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 24px 24px; }
.os-actions .btn { flex: 1 1 200px; }

.map-frame { position: relative; min-height: 440px; border: 1px solid var(--grey-300); border-radius: var(--radius); padding: 10px; background: var(--grey-100); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 3px; display: block; filter: grayscale(.4); }
.map-corner { position: absolute; width: 34px; height: 34px; border: 3px solid var(--orange); z-index: 1; pointer-events: none; }
.map-corner.tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.map-corner.br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #D4D6DA; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding-bottom: 48px; }
.brand--light .brand-text strong { color: var(--white); }
.brand--light .brand-text small { color: var(--grey-400); }
.f-brand p { margin-top: 18px; max-width: 26em; }
.f-title { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-bright); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; overflow-wrap: anywhere; }
.footer ul a:hover { color: var(--white); text-decoration: underline; }
.f-social { display: flex !important; gap: 10px !important; margin-top: 22px !important; }
.f-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; color: #D4D6DA; transition: color .2s, border-color .2s, background .2s; }
.f-social a:hover { color: var(--white); border-color: var(--orange-bright); background: rgba(249,115,22,.12); text-decoration: none; }
.f-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.os-handle { display: block; font-family: var(--mono); font-size: .8rem; color: var(--grey-600); margin-top: 2px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .88rem; color: var(--grey-400); }
.f-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1F8F4E; color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: background-color .25s var(--ease);
}
.wa-float:hover { background: #17733E; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1440px) {
  .floor-display { display: none; }
}
@media (max-width: 1240px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 46px; height: 46px; padding: 0 11px;
    background: var(--ink); border: 0; border-radius: var(--radius); cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 2px solid var(--ink);
    padding: 8px 20px 22px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--grey-200); font-size: 1.05rem; }
  .nav ul a::after { display: none; }
  .nav-cta { margin-top: 12px; }
  .nav-vitrine { margin-top: 16px; }
}
@media (max-width: 1180px) {
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .title-block { border-left: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1.2fr .7fr .9fr 1.4fr 1.4fr; }
  .title-block dd { overflow-wrap: normal; }
  .title-block > div { border-bottom: 0; border-right: 1px solid var(--grey-300); }
  .title-block > div:last-child { border-right: 0; }
}
@media (max-width: 980px) {
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-block > div { border-bottom: 1px solid var(--grey-300); }
  .title-block > div:nth-child(odd):not(.tb-brand) { border-right: 0; }
  .title-block > div:nth-last-child(-n+2) { border-bottom: 0; }
  .tb-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-drawing { max-width: 560px; margin-inline: auto; width: 100%; padding-left: 8%; }
  .detail-callout { left: 0; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svc-stack { max-width: 520px; width: 100%; margin-inline: auto; }
  .svc-floor[aria-selected="true"]::after { display: none; }
  .balance { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pentagon { max-width: 400px; margin-inline: auto; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .services, .method, .about, .essence, .contact { padding: 80px 0; }
  .window-band { padding: 96px 0; }
  .section-head { margin-bottom: 36px; }
  .gantt { padding: 10px 18px; }
  .gantt li { grid-template-columns: 36px minmax(0, 1fr); row-gap: 10px; }
  .g-bar { grid-column: 1 / -1; height: 14px; }
  .sheet-main { grid-template-columns: minmax(0, 1fr); }
  .sheet-col { padding: 30px 24px; }
  .sheet-col + .sheet-col { border-left: 0; border-top: 1px solid var(--grey-300); }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tab-list { flex-direction: row; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .tab-list button { flex: 1; text-align: center; padding: 18px 8px; font-size: 1rem; border-left: 0; border-bottom: 4px solid transparent; }
  .tab-list button[aria-selected="true"] { border-bottom-color: var(--orange-bright); }
  .tab-panel { padding: 30px 24px; min-height: 0; }
  .svc-panel { grid-template-rows: 200px auto; }
  .svc-body { padding: 24px 22px 26px; }
  .cota-band .container { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cota-line { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-drawing { padding-left: 0; }
  .detail-callout { width: 30%; min-width: 0; bottom: 8%; }
  .building .labels text { font-size: 17px; }
  .detail-callout figcaption { font-size: .68rem; }
  .svc-floor { min-height: 56px; padding: 10px 14px; font-size: .95rem; }
  .svc-stack { padding: 0 10px; }
  .svc-ground { margin: 0 -10px; }
  .title-block { grid-template-columns: minmax(0, 1fr); }
  .title-block > div { border-right: 0 !important; }
  .title-block > div:nth-last-child(2) { border-bottom: 1px solid var(--grey-300); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame, .map-frame iframe { min-height: 340px; }
  .wa-float { right: 16px; bottom: 16px; }
}
@media (min-width: 1600px) {
  html { font-size: 18px; }
  .container { width: min(1360px, 100% - 80px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .building .draw { stroke-dashoffset: 0 !important; }
  .js .building .shaft, .js .building .lbl, .js .reveal, .js .pent-fill { opacity: 1 !important; transform: none !important; }
  .js .gantt .g-bar i { transform: none !important; }
}

/* =========================================================
   Efeitos (v2)
   ========================================================= */

.detail-callout picture { animation: callout 5s ease-in-out infinite; }
@keyframes callout { 50% { outline-offset: 10px; } }

/* Botões: brilho varrendo no hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* Títulos de seção: cota laranja que se desenha */
.section-head h2::after {
  content: ""; display: block; height: 3px; width: 72px; margin-top: 18px;
  background: var(--orange-bright); transform-origin: left;
}
.js .section-head.reveal h2::after { transform: scaleX(0); transition: transform .9s .35s var(--ease); }
.js .section-head.reveal.is-in h2::after { transform: scaleX(1); }

/* Faixa do slogan: cotas se estendem a partir do texto */
.js .cota-line span, .js .cota-line::before, .js .cota-line::after { transition: transform .9s var(--ease), opacity .4s .7s; }
.js .cota-band:not(.is-in) .cota-line span { transform: scaleX(0); }
.js .cota-band .cota-line:first-child span { transform-origin: right; }
.js .cota-band .cota-line:last-child span { transform-origin: left; }
.js .cota-band:not(.is-in) .cota-line::before, .js .cota-band:not(.is-in) .cota-line::after { opacity: 0; }
.js .cota-band .cota-text { transition: opacity .8s var(--ease), letter-spacing 1s var(--ease); }
.js .cota-band:not(.is-in) .cota-text { opacity: 0; letter-spacing: .02em; }

/* Serviços: "elevador" que desliza até o pavimento escolhido */
.svc-stack { position: relative; }
.svc-car {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0;
  background: var(--ink); pointer-events: none; opacity: 0;
  transition: transform .55s cubic-bezier(.65,0,.35,1), height .55s cubic-bezier(.65,0,.35,1), opacity .3s;
}
.svc-car::after {
  content: ""; position: absolute; right: -20px; top: 50%; width: 20px; height: 2px; background: var(--ink);
}
.svc-stack.has-car .svc-car { opacity: 1; }
.svc-stack.has-car .svc-floor { z-index: 1; }
.svc-stack.has-car .svc-floor { background: transparent; }
.svc-stack.has-car .svc-floor:not([aria-selected="true"]):hover { background: rgba(249,115,22,.12); }
.svc-stack.has-car .svc-floor[aria-selected="true"]::after { display: none; }
.svc-stack.has-car .svc-floor[aria-selected="true"]:hover { background: transparent; }

/* Painel: foto acompanha o mouse */
.svc-media:not(.svc-media--split) {
  background-size: 112%;
  background-position: calc(50% + var(--mx, 0) * 30px) calc(50% + var(--my, 0) * 20px);
  transition: background-position .5s var(--ease);
}
.svc-media--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink); }
.svc-media--split::before { z-index: 1; pointer-events: none; }
.svc-media--split > div { background-size: cover; background-position: center; }
.svc-panel.is-active .svc-media, .svc-panel.is-active .svc-media--split > div { animation: mediaIn 1s var(--ease) both; }
.svc-panel.is-active .svc-media--split { animation: none; }
.svc-panel.is-active .svc-media--split > div:last-child { animation-delay: .12s; }
@keyframes mediaIn { from { opacity: .2; background-size: 125%; } }
.svc-panel.is-active .svc-ico { animation: icoIn .6s .15s var(--ease) both; }
@keyframes icoIn { from { opacity: 0; transform: translateY(8px) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* Faixa janela: frase revelada da esquerda para a direita */
.js .window-inner.reveal blockquote p { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s .2s var(--ease); }
.js .window-inner.reveal.is-in blockquote p { clip-path: inset(0 0 0 0); }

/* Cronograma: linha destaca no hover */
.gantt li { transition: background-color .25s var(--ease); margin: 0 -12px; padding-inline: 12px; border-radius: 4px; }
.gantt li:hover { background: var(--orange-soft); }
.gantt li:hover .g-bar i { background: var(--orange); }
.gantt li:hover .g-n { color: var(--ink); }

/* Pentágono: vértices acendem em sequência e pulsam */
.pentagon .vtx circle { transform-box: fill-box; transform-origin: center; }
.js .pentagon .vtx circle, .js .pentagon .vtx-lbl text { opacity: 0; transition: opacity .5s var(--ease); }
.js .pentagon.is-in .vtx circle, .js .pentagon.is-in .vtx-lbl text { opacity: 1; }
.pentagon .vtx circle:nth-child(1), .pentagon .vtx-lbl text:nth-child(1) { transition-delay: .5s; }
.pentagon .vtx circle:nth-child(2), .pentagon .vtx-lbl text:nth-child(2) { transition-delay: .65s; }
.pentagon .vtx circle:nth-child(3), .pentagon .vtx-lbl text:nth-child(3) { transition-delay: .8s; }
.pentagon .vtx circle:nth-child(4), .pentagon .vtx-lbl text:nth-child(4) { transition-delay: .95s; }
.pentagon .vtx circle:nth-child(5), .pentagon .vtx-lbl text:nth-child(5) { transition-delay: 1.1s; }
.pentagon .ring { fill: none; stroke: var(--orange-bright); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.pentagon.is-in .ring { animation: ring 2.4s 1.4s ease-out infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.4); } }

/* Memorial: carimbo preenche linha a linha */
.js .sheet.reveal .title-block > div { opacity: 0; transform: translateX(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .sheet.reveal.is-in .title-block > div { opacity: 1; transform: none; }
.title-block > div:nth-child(2) { transition-delay: .2s !important; }
.title-block > div:nth-child(3) { transition-delay: .32s !important; }
.title-block > div:nth-child(4) { transition-delay: .44s !important; }
.title-block > div:nth-child(5) { transition-delay: .56s !important; }
.js .sheet.reveal, .sheet { transition: box-shadow .4s var(--ease), opacity .7s var(--ease), transform .7s var(--ease); }
.sheet:hover { box-shadow: 14px 14px 0 var(--orange-soft); }

/* Valores entram em cascata */
.tab-panel:not([hidden]) .values li { animation: panelIn .45s var(--ease) both; }
.tab-panel:not([hidden]) .values li:nth-child(2) { animation-delay: .07s; }
.tab-panel:not([hidden]) .values li:nth-child(3) { animation-delay: .14s; }
.tab-panel:not([hidden]) .values li:nth-child(4) { animation-delay: .21s; }
.tab-panel:not([hidden]) .values li:nth-child(5) { animation-delay: .28s; }
.values li { transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.values li:hover { border-color: var(--orange-bright); background: rgba(249,115,22,.1); }

/* Contato: cantoneiras do mapa abrem no hover */
.map-corner { transition: width .4s var(--ease), height .4s var(--ease); }
.map-frame:hover .map-corner { width: 70px; height: 70px; }
.os-list li { transition: padding-left .25s var(--ease); }
.os-list li:hover { padding-left: 6px; }

@media (max-width: 980px) {
  .svc-car::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cota-band .cota-line span, .js .cota-band .cota-text, .js .window-inner blockquote p,
  .js .pentagon .vtx circle, .js .pentagon .vtx-lbl text, .js .sheet .title-block > div, .js .section-head h2::after {
    opacity: 1 !important; transform: none !important; clip-path: none !important; letter-spacing: -.02em;
  }
  .pentagon .ring { display: none; }
}

/* ---------- Vitrine (botões e seção) ---------- */
.btn svg.ico-store { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-vitrine { min-height: 44px; padding: 10px 16px; font-size: .95rem; white-space: nowrap; gap: 8px; }
.nav-vitrine svg { width: 18px; height: 18px; }
.nav-vitrine[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.showcase { padding: 0 0 110px; }
.showcase-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: center;
  padding: 56px 60px; border-radius: var(--radius);
  background-color: var(--graphite); color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative; overflow: hidden;
}
.showcase-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--orange-bright); }
.showcase-text .tag-mono { color: var(--grey-300); }
.showcase-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.showcase-text p:not(.tag-mono) { color: #E3E5E8; max-width: 32em; margin-bottom: 28px; }
.showcase-text .btn-primary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.showcase-drawing svg { width: 100%; height: auto; }
.js .showcase-drawing .sd { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.8s var(--ease); }
.js .showcase-card.is-in .sd { stroke-dashoffset: 0; }

@media (max-width: 980px) {
  .showcase-card { grid-template-columns: minmax(0, 1fr); padding: 44px 36px; gap: 32px; }
  .showcase-drawing { max-width: 420px; }
}
@media (max-width: 560px) {
  .showcase { padding-bottom: 80px; }
  .showcase-card { padding: 36px 24px 32px 28px; }
  .showcase-text .btn { width: 100%; }
}

/* ---------- Página vitrine ---------- */
html.page-vitrine { --header-h: 80px; overflow: hidden; height: 100%; scrollbar-width: none; }
html.page-vitrine::-webkit-scrollbar, .page-vitrine body::-webkit-scrollbar { display: none; }
.page-vitrine body { overflow: hidden; height: 100%; padding-top: var(--header-h); }
.page-vitrine .header { height: 80px; }
.page-vitrine .header::after { display: none; }
.page-vitrine .vitrine-frame { width: 100%; }
.page-vitrine .vitrine-frame iframe { display: block; width: 100%; }
.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; }

@media (prefers-reduced-motion: reduce) {
  .js .showcase-drawing .sd { stroke-dashoffset: 0 !important; }
}
