/*
 * Agência Creatives - public site.
 * Direction: "editorial authority on a deep background" - giant type,
 * brand magenta (--color-primary, from the panel) used as electric light.
 * Tokens live in main.css.
 */

/* =========================================================== type + atoms */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
a { color: inherit; text-underline-offset: .2em; }
em { font-style: normal; }

.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem;
  margin: 0 0 1.5rem;
  font: 600 .78rem/1.3 var(--font-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow-num { font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; color: var(--accent-hi); }
.eyebrow-num::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; margin-left: .75rem; vertical-align: middle; background: currentColor; opacity: .6; }
.eyebrow-dark { color: var(--ink-2); }
.eyebrow-dark .eyebrow-num { color: var(--accent-lo); }
.eyebrow-on-accent { color: rgba(255, 255, 255, .86); }

.section-dark { position: relative; background: var(--bg-2); color: var(--text); padding: var(--section-y) 0; }
.section-light { position: relative; background: var(--paper); color: var(--ink); padding: var(--section-y) 0; }

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.section-heading {
  margin: 0; max-width: 18ch;
  font-size: clamp(2.2rem, 5.4vw, 4.9rem); font-weight: 700; line-height: 1; letter-spacing: -.035em;
}
.section-heading em { color: var(--accent-hi); }
.section-light .section-heading em { color: var(--accent-lo); }
.section-heading-sub { display: block; margin-top: .9rem; font-size: .42em; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--text-2); }
.section-intro { margin: 0; max-width: 46ch; font-size: 1.075rem; color: var(--ink-2); }
.section-dark .section-intro { color: var(--text-2); }

/* grain on dark blocks */
.hero::after, .page-hero::after, .region::after, .site-footer::after, .final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: var(--noise); opacity: .28; mix-blend-mode: soft-light;
}

/* ================================================================ buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 700 .98rem/1.1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn-pill i { transition: transform .25s var(--ease-out); }
.btn-pill:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-pill:active { transform: scale(.97); }
.btn-pill:disabled, .btn-pill[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-pill-primary { background: var(--accent-btn); color: #fff; }
.btn-pill-primary:hover, .btn-pill-primary:focus-visible { background: var(--accent-lo); color: #fff; box-shadow: 0 14px 40px -12px var(--accent-glow); transform: translateY(-2px); }
.btn-pill-ghost { background: transparent; color: var(--text); border-color: rgba(245, 241, 243, .34); }
.btn-pill-ghost:hover, .btn-pill-ghost:focus-visible { color: var(--text); border-color: var(--accent-hi); background: var(--accent-soft); }
.section-light .btn-pill-ghost { color: var(--ink); border-color: rgba(20, 16, 23, .3); }
.btn-pill-light { background: #fff; color: var(--ink); }
.btn-pill-light:hover, .btn-pill-light:focus-visible { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn-pill-dark { background: var(--ink); color: #fff; }
.btn-pill-dark:hover, .btn-pill-dark:focus-visible { background: #000; color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.contact-card .btn-pill-ghost { color: var(--text); border-color: rgba(245, 241, 243, .34); }

/* ================================================================= header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: var(--text); }
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(13, 10, 16, .94); border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(14px) saturate(1.4) brightness(.6); backdrop-filter: blur(14px) saturate(1.4) brightness(.6);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 72px; }

.site-logo { position: relative; z-index: 2; display: block; flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; transition: width .35s var(--ease-out), height .35s var(--ease-out); }
.site-logo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); }
.site-header.is-scrolled .site-logo { width: 56px; height: 56px; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.nav-list { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--text); text-decoration: none;
}
.nav-num { font-family: var(--font-display); font-size: .68rem; color: var(--accent-hi); }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent-hi); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); transform-origin: left; }
.btn-cta {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .6rem 1.3rem;
  border-radius: 999px; border: 1px solid var(--accent-hi);
  font-weight: 700; font-size: .92rem; color: var(--text); text-decoration: none;
  transition: background .25s, color .25s, box-shadow .3s;
}
.btn-cta:hover, .btn-cta:focus-visible { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; box-shadow: 0 10px 34px -10px var(--accent-glow); }
.nav-contact { display: none; }

.btn-menu {
  position: relative; z-index: 2; display: none; width: 52px; height: 52px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(245, 241, 243, .3); background: rgba(13, 10, 16, .35); color: var(--text); cursor: pointer;
}
.btn-menu-lines { position: relative; display: block; width: 20px; height: 10px; margin: auto; }
.btn-menu-lines span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.btn-menu-lines span:first-child { top: 0; }
.btn-menu-lines span:last-child { top: 8px; }
.btn-menu[aria-expanded="true"] .btn-menu-lines span:first-child { top: 4px; transform: rotate(45deg); }
.btn-menu[aria-expanded="true"] .btn-menu-lines span:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  :root { --header-h: 80px; }
  .site-logo { width: 60px; height: 60px; }
  .btn-menu { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2.5rem;
    padding: 6.5rem var(--gutter) 2.5rem; overflow-y: auto;
    background: radial-gradient(120% 60% at 100% 0%, var(--accent-soft), transparent 60%), var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: .5rem; }
  .nav-list a { font-family: var(--font-display); font-size: clamp(2.6rem, 12vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; gap: .9rem; }
  .nav-list a::after { bottom: 4px; height: 2px; }
  .nav-num { font-size: .9rem; align-self: flex-start; margin-top: .6em; }
  .site-nav .btn-cta { min-height: 52px; padding: .8rem 1.6rem; font-size: 1rem; background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
  .nav-contact { display: flex; flex-direction: column; gap: .25rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); width: 100%; }
  .nav-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
  .site-nav .nav-list li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
  .site-nav.open .nav-list li { opacity: 1; transform: none; }
  .site-nav.open .nav-list li:nth-child(2) { transition-delay: .07s; }
  .site-nav.open .nav-list li:nth-child(3) { transition-delay: .14s; }
  body.menu-open { overflow: hidden; }
}

/* Flash message (form) */
.site-toast {
  position: fixed; top: calc(var(--header-h) + 12px); left: 50%; z-index: 1050; transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); margin: 0; display: flex; align-items: center; gap: .85rem;
  padding: 1rem 3.25rem 1rem 1.25rem; border: 0; border-left: 4px solid; border-radius: 6px;
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  animation: toast-in .5s var(--ease-out) both;
}
.site-toast.is-success { border-color: #3ecf8e; }
.site-toast.is-success > i { color: #3ecf8e; }
.site-toast.is-error { border-color: #ff6b6b; }
.site-toast.is-error > i { color: #ff8a8a; }
.site-toast .btn-close { padding: 1.15rem; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -12px); } }

/* =================================================================== hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg); color: var(--text);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: hero-zoom 2.6s var(--ease-out) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 50% at 80% 30%, var(--accent-soft), transparent 70%),
    linear-gradient(90deg, rgba(13, 10, 16, .94) 0%, rgba(13, 10, 16, .7) 38%, rgba(13, 10, 16, .1) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 10, 16, 0) 32%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow { display: block; color: var(--text); animation: fade-up .9s var(--ease-out) .05s both; }
.pulse { position: relative; display: inline-block; vertical-align: middle; margin: -2px .8rem 0 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 12px var(--accent-glow); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent-hi); animation: pulse 2.4s ease-out infinite; }

.hero-title {
  margin: 0 0 clamp(2rem, 4vw, 3rem); max-width: 15ch;
  font-size: clamp(2rem, min(8vw, 11.5vh), 8.25rem); font-weight: 800; line-height: .93; letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-title .w { display: inline-block; animation: word-rise 1s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms + .15s); }
.hero-title .hl { white-space: nowrap; color: var(--accent-hi); text-shadow: 0 0 42px var(--accent-glow), 0 0 90px var(--accent-soft); }

.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; animation: fade-up 1s var(--ease-out) .55s both; }
.hero-lead { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.6; color: #d9d2dc; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.75rem 0 0; list-style: none;
  border-top: 1px solid var(--line-dark);
  animation: fade-up 1s var(--ease-out) .85s both;
}
.hero-stats li { display: flex; flex-direction: column; gap: .35rem; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-unit { color: var(--accent-hi); }
.stat-label { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }

.scroll-cue {
  position: absolute; z-index: 2; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--text-2); text-decoration: none;
  writing-mode: vertical-rl; animation: fade-up 1s var(--ease-out) 1.1s both;
}
.scroll-cue .visually-hidden { writing-mode: horizontal-tb; }
.scroll-cue-line { position: relative; width: 1px; height: 72px; background: var(--line-dark); overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent-hi); animation: cue 2s ease-in-out infinite; }
.scroll-cue:hover { color: var(--text); }

@keyframes hero-zoom { from { transform: scale(1.08); opacity: .4; } }
@keyframes word-rise { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

/* ================================================================ marquee */
.marquee {
  position: relative; display: flex; overflow: hidden; user-select: none;
  padding: clamp(1.2rem, 2.4vw, 2rem) 0;
  background: var(--bg); color: var(--text);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.marquee-track { display: flex; flex: none; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 7.4vw, 6.75rem); line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.marquee-item.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 241, 243, .62); }
.marquee-star { font-size: clamp(1.2rem, 2.6vw, 2.4rem); color: var(--accent-hi); text-shadow: 0 0 20px var(--accent-glow); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============================================== highlights (panel banners) */
.highlights { background: var(--bg); padding-top: clamp(4rem, 7vw, 6rem); }
.highlights-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.highlights-head .eyebrow { margin: 0; order: 2; }
.highlights-title { margin: 0; font-size: clamp(2rem, 4.5vw, 3.75rem); letter-spacing: -.035em; }
.highlights-frame { position: relative; padding: clamp(.5rem, 1vw, .85rem); border: 1px solid var(--line-dark); background: linear-gradient(135deg, var(--accent-soft), transparent 40%), var(--surface); }
.highlights-frame::before, .highlights-frame::after { content: ""; position: absolute; width: 28px; height: 28px; border: 2px solid var(--accent-hi); }
.highlights-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.highlights-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.banner .carousel-item img { aspect-ratio: 3 / 1; object-fit: cover; }
.banner .carousel-item a { display: block; position: relative; }
.banner-caption { position: absolute; left: 1rem; bottom: 1rem; max-width: min(520px, calc(100% - 2rem)); padding: .8rem 1.1rem; background: rgba(13, 10, 16, .82); color: var(--text); border-left: 3px solid var(--accent-hi); }
.banner-caption p { margin: 0; font-weight: 600; }
.highlights-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-top: 1rem; }
.hl-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--text); cursor: pointer; transition: background .25s, border-color .25s; }
.hl-btn:hover { background: var(--accent-btn); border-color: var(--accent-btn); }
.hl-dots.carousel-indicators { position: static; margin: 0; }
.hl-dots [data-bs-target] { width: 28px; background-color: var(--text); }
.hl-dots .active { background-color: var(--accent-hi); }
@media (max-width: 767.98px) {
  .banner .carousel-item img { aspect-ratio: 16 / 9; }
  .banner-caption { position: static; max-width: none; }
}

/* ============================================================== manifesto */
.manifesto { overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); }
.manifesto-years { margin: 2rem 0 0; display: flex; flex-direction: column; font: 700 .8rem/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.manifesto-years span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 17vw, 16rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--accent-lo); margin-bottom: 1rem;
}
.manifesto-title { margin: 0; font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.manifesto-title mark { padding: 0 .05em; color: var(--accent-lo); background: linear-gradient(transparent 64%, var(--accent-soft) 64%, var(--accent-soft) 92%, transparent 92%); }
.manifesto-text { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; font-size: 1.075rem; color: var(--ink-2); }
.manifesto-text p { margin: 0; }
.signature { display: flex; align-items: center; gap: 1rem; margin: clamp(2rem, 4vw, 3rem) 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.signature-line { width: 56px; height: 2px; background: var(--accent-lo); }

/* =============================================================== services */
.services { background: var(--bg-2); overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 60%; height: 520px; background: radial-gradient(50% 50% at 80% 0%, var(--accent-soft), transparent 70%); pointer-events: none; }
.services .container { position: relative; }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.service-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.15fr) minmax(0, 1.25fr) auto; gap: 1.25rem clamp(1.5rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line-dark);
}
.service-row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, var(--accent-soft), color-mix(in srgb, var(--color-primary) 6%, transparent) 60%, transparent);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.service-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.service-num { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text-2); transition: color .3s; }
.service-title { margin: 0; display: flex; align-items: center; gap: .8rem; font-size: clamp(1.6rem, 3.1vw, 2.75rem); line-height: 1.05; letter-spacing: -.03em; transition: transform .45s var(--ease-out); }
.service-title i { flex: none; font-size: .5em; width: 1.9em; height: 1.9em; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--accent-hi); transition: background .3s, color .3s, border-color .3s; }
.service-body p { margin: 0 0 .9rem; color: var(--text-2); max-width: 52ch; }
.service-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.service-tags li { padding: .3rem .7rem; border: 1px solid var(--line-dark); border-radius: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.service-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 52px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; }
.service-link i { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(245, 241, 243, .3); font-size: 1rem; transition: transform .45s var(--ease-out), background .3s, border-color .3s; }
.service-row:hover::before, .service-row:focus-within::before { opacity: 1; }
.service-row:hover::after, .service-row:focus-within::after { transform: scaleX(1); }
.service-row:hover .service-num, .service-row:focus-within .service-num { color: var(--accent-hi); }
.service-row:hover .service-title { transform: translateX(10px); }
.service-row:hover .service-title i { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
.service-row:hover .service-link i, .service-link:focus-visible i { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; transform: rotate(-45deg); }

/* ================================================================ process */
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.process-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-light); }
.process-steps::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent-lo), var(--color-primary)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out) .2s; }
.process-steps.is-in::after, html:not(.reveal-ready) .process-steps::after { transform: scaleX(1); }
.process-step { position: relative; padding-top: 2.75rem; }
.process-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent-lo); }
.process-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--color-primary); }
.process-num { display: block; margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.process-step h3 { margin: 0 0 .65rem; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.process-step p { margin: 0; color: var(--ink-2); max-width: 32ch; }
.process-step:hover .process-num { color: var(--accent-lo); -webkit-text-stroke-color: var(--accent-lo); transition: color .3s; }

/* ================================================================= region */
.region { background: var(--bg); overflow: hidden; }
.region-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(245, 241, 243, .2) 1.2px, transparent 1.7px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 72% 55%, #000 0%, transparent 72%); mask-image: radial-gradient(60% 70% at 72% 55%, #000 0%, transparent 72%);
}
.region::before { content: ""; position: absolute; left: -10%; bottom: -20%; width: 70%; height: 80%; background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.region .container { position: relative; z-index: 2; }
.city-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35em 1.1em; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); line-height: 1.05; letter-spacing: -.03em; }
.city { transition: color .3s, -webkit-text-stroke-color .3s; cursor: default; }
.city-main { flex-basis: 100%; display: flex; align-items: center; gap: .3em; margin-bottom: .2em; font-size: clamp(2.3rem, 8.4vw, 8.5rem); white-space: nowrap; font-weight: 800; letter-spacing: -.05em; line-height: .95; color: var(--accent-hi); text-shadow: 0 0 60px var(--accent-glow); }
.city-main i { font-size: .32em; color: var(--text); text-shadow: none; }
.city-s0 { font-size: clamp(1.7rem, 3.8vw, 3.4rem); font-weight: 700; color: var(--text); }
.city-s1 { font-size: clamp(1.15rem, 2.2vw, 1.9rem); font-weight: 600; color: var(--text-2); }
.city-s2 { font-size: clamp(1.9rem, 4.4vw, 4rem); font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px rgba(245, 241, 243, .7); }
.city-s3 { font-size: clamp(1.3rem, 2.8vw, 2.4rem); font-weight: 700; color: #cfc6d4; }
.city:not(.city-main):hover { color: var(--accent-hi); -webkit-text-stroke-color: var(--accent-hi); }

/* ============================================================== final CTA */
.final-cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(5rem, 11vw, 10rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(55% 75% at 100% 0%, color-mix(in oklab, var(--color-primary), #fff 20%), transparent 65%),
    radial-gradient(45% 65% at 0% 100%, color-mix(in oklab, var(--color-primary) 55%, #000), transparent 72%),
    var(--cta-bg);
  color: #fff;
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta-title { margin: 0 0 clamp(2rem, 4vw, 3.5rem); font-size: clamp(2.9rem, 9.2vw, 9.25rem); font-weight: 800; line-height: .92; letter-spacing: -.05em; max-width: 13ch; text-wrap: balance; }
.final-cta-title em { color: transparent; -webkit-text-stroke: 2px #fff; }
.final-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.final-cta-row p { margin: 0; max-width: 38ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.final-cta-phone { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 1rem; color: rgba(255, 255, 255, .88); }
.final-cta-phone a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; margin-left: .35rem; }
.final-cta :focus-visible { outline-color: #fff; }

/* ======================================================= inner page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    linear-gradient(90deg, var(--bg) 25%, rgba(13, 10, 16, .55) 70%, rgba(13, 10, 16, .25)),
    linear-gradient(0deg, var(--bg), transparent 40%),
    url("../img/site/hero-bg.webp") right center / cover no-repeat, var(--bg);
  color: var(--text);
}
.page-hero .container { position: relative; z-index: 2; }
.page-title { margin: 0; font-size: clamp(3rem, 9vw, 7.75rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; animation: fade-up .9s var(--ease-out) .1s both; }
.page-hero .eyebrow { animation: fade-up .9s var(--ease-out) both; }
.page-hero-lead { margin: 1.75rem 0 0; max-width: 52ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d9d2dc; animation: fade-up .9s var(--ease-out) .2s both; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 clamp(2rem, 4vw, 3rem); padding: 0; list-style: none; font-size: .85rem; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--accent-hi); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--accent-hi); text-decoration: underline; }
.page-hero .btn-row { margin-top: 2.5rem; }

/* 404 */
.page-hero-404 { min-height: max(640px, 100svh); display: flex; align-items: center; }
.big-404 { display: flex; margin: 0 0 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 24vw, 22rem); line-height: .8; letter-spacing: -.06em; }
.big-404 span { color: transparent; -webkit-text-stroke: 2px var(--accent-hi); animation: word-rise 1s var(--ease-out) both; }
.big-404 span:nth-child(2) { color: var(--accent-hi); -webkit-text-stroke: 0; text-shadow: 0 0 60px var(--accent-glow); animation-delay: .1s; }
.big-404 span:nth-child(3) { animation-delay: .2s; }
.page-hero-404 .page-title { font-size: clamp(2.2rem, 5.5vw, 4rem); }

/* ================================================================ contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-heading { margin: 0 0 2rem; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; line-height: 1.05; }
.contact-heading em { color: var(--accent-lo); }

.form-site .form-label { margin-bottom: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.form-site .form-control {
  min-height: 56px; padding: .9rem 1.1rem;
  font: 500 1.05rem/1.4 var(--font-body); color: var(--ink);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(20, 16, 23, .22); border-radius: 4px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-site textarea.form-control { min-height: 180px; resize: vertical; }
.form-site .form-control:hover { border-color: rgba(20, 16, 23, .4); }
.form-site .form-control:focus { background: #fff; border-color: var(--accent-lo); box-shadow: 0 0 0 4px var(--accent-soft); outline: none; }
.form-site .form-control:focus-visible { outline: 2px solid var(--accent-lo); outline-offset: 1px; }
.form-site .form-control.is-invalid { border-color: #b3261e; background-image: none; padding-right: 1.1rem; }
.form-site .invalid-feedback { margin-top: .45rem; font-size: .88rem; font-weight: 600; color: #a8231b; }
.form-note { color: var(--ink-2); }
.form-note a { color: var(--accent-lo); font-weight: 600; }
.form-note i { color: var(--accent-lo); margin-right: .25rem; }
.form-alert { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid #b3261e; background: #fbe9ea; color: #5c1018; font-weight: 600; }
.btn-submit { min-width: 220px; }

.contact-card {
  position: sticky; top: calc(72px + 1.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 6px; overflow: hidden;
  background: radial-gradient(90% 60% at 100% 0%, var(--accent-soft), transparent 60%), var(--bg);
  color: var(--text); box-shadow: 0 40px 80px -40px rgba(20, 16, 23, .55);
}
.contact-card-title { margin: 0 0 1.5rem; font-size: 1.9rem; letter-spacing: -.03em; }
.contact-whats {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 1.15rem;
  border: 1px solid var(--accent-hi); border-radius: 6px; background: var(--accent-soft);
  color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  transition: background .25s, transform .25s var(--ease-out);
}
.contact-whats > i:first-child { font-size: 2rem; color: #4fe08a; }
.contact-whats > span { flex: 1; display: flex; flex-direction: column; }
.contact-whats small { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.contact-whats > i:last-child { transition: transform .25s var(--ease-out); }
.contact-whats:hover { color: var(--text); background: color-mix(in srgb, var(--color-primary) 26%, transparent); }
.contact-whats:hover > i:last-child { transform: translateX(4px); }
.channel-list { margin: 0 0 1.75rem; font-style: normal; }
.channel { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.channel:last-child { border-bottom: 0; }
.channel-icon { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--accent-hi); }
.channel > span:last-child { display: flex; flex-direction: column; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.channel small { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: .2rem; }
.channel a { color: var(--text); text-decoration: none; font-weight: 600; }
.channel a:hover { color: var(--accent-hi); text-decoration: underline; }

/* ========================================================= privacy (text) */
.reading { max-width: 720px; margin: 0 auto; }
.reading-meta { display: flex; align-items: center; gap: .5rem; margin: 0 0 2.5rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.reading-meta i { color: var(--accent-lo); }
.txt { line-height: 1.75; }
.txt-editorial { counter-reset: sec; font-size: 1.1rem; line-height: 1.8; color: #2b2430; }
.txt-editorial > p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.txt-editorial h2 {
  counter-increment: sec; display: flex; gap: .9rem; align-items: baseline;
  margin: 3.5rem 0 1.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line-light);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em; color: var(--ink);
}
.txt-editorial h2::before { content: counter(sec, decimal-leading-zero); flex: none; font-size: .7em; color: var(--accent-lo); }
.txt-editorial h3 { margin: 2.25rem 0 .75rem; font-size: 1.25rem; color: var(--ink); }
.txt-editorial a { color: var(--accent-lo); font-weight: 600; }
.txt-editorial ul, .txt-editorial ol { padding-left: 1.25rem; }
.txt-editorial li { margin-bottom: .4rem; }
.txt-editorial li::marker { color: var(--accent-lo); }
.txt-editorial strong { color: var(--ink); }

/* Attachments (PDFs) */
.arquivos { margin-top: 3rem; }
.arquivos .accordion { --bs-accordion-border-color: var(--line-light); --bs-accordion-bg: #fff; --bs-accordion-active-bg: var(--paper-2); --bs-accordion-active-color: var(--ink); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-border-radius: 4px; --bs-accordion-inner-border-radius: 4px; }
.arquivos .accordion-button { font-family: var(--font-display); font-weight: 700; color: var(--ink); min-height: 56px; }
.arquivos .lista-pdf ul { list-style: none; padding: 0; margin: 0; }
.arquivos .lista-pdf li { margin-bottom: .5rem; }
.arquivos .lista-pdf a.btn { display: flex; gap: .75rem; align-items: center; width: 100%; min-height: 48px; text-align: left; white-space: normal; background: var(--paper); color: var(--ink); border: 1px solid var(--line-light); border-radius: 4px; font-weight: 600; }
.arquivos .lista-pdf a.btn i { color: var(--accent-lo); font-size: 1.2rem; }
.arquivos .lista-pdf a.btn:hover { border-color: var(--accent-lo); background: #fff; }

/* ================================================================= footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); background: var(--bg); color: var(--text-2); }
.site-footer::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.site-footer .container { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.footer-brand p { margin: 1.5rem 0 0; max-width: 36ch; }
.footer-logo { display: block; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; transform: scale(1.36); transform-origin: center; clip-path: circle(36.5%); }
.footer-title { margin: 0 0 1.25rem; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.footer-contact { display: flex; flex-direction: column; margin: 0; font-style: normal; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: .75rem; padding: .55rem 0; color: var(--text-2); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact i { width: 1.1rem; margin-top: .3rem; flex: none; color: var(--accent-hi); }
.footer-contact a:hover, .footer-links a:hover { color: var(--text); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.footer-social { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-social a { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--text); text-decoration: none; transition: background .25s, border-color .25s; }
.footer-social a:hover { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }

.footer-mark { position: relative; z-index: 2; margin-top: clamp(3rem, 7vw, 6rem); padding-inline: 1vw; height: .74em; font-size: 11vw; overflow: hidden; text-align: center; line-height: 1; pointer-events: none; }
.footer-mark span {
  display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; line-height: .9;
  color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 75%, #fff) 0%, color-mix(in srgb, var(--color-primary) 70%, transparent) 45%, rgba(13, 10, 16, 0) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.footer-copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-dark); font-size: .85rem; }

/* ==================================================== floating + cookies */
.whatsapp-float { position: fixed; left: 16px; bottom: 16px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45); text-decoration: none; transition: transform .25s var(--ease-out); }
.whatsapp-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.6s ease-out infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.07); }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.1rem 1.25rem; background: var(--surface); color: var(--text); border: 1px solid var(--line-dark); border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: .9rem; color: #d9d2dc; }
.cookie-bar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-hi); }
body.menu-open .cookie-bar, body.menu-open .whatsapp-float, body.menu-open .scroll-top { display: none; }
.cookie-bar .btn-pill { min-height: 46px; padding: .6rem 1.3rem; font-size: .9rem; }

/* Forms (honeypot) and video */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.video-embed { position: relative; padding-top: 56.25%; margin-bottom: 1rem; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ================================================================= reveal */
.reveal-ready .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
.reveal-ready .service-row.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }

/* ============================================================== portfolio */
.portfolio-home { background: var(--bg-2); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin: 0; padding: 0; list-style: none; }
.project-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border: 1px solid var(--line-dark); background: var(--surface); transition: border-color .3s, transform .45s var(--ease-out); }
.section-light .project-card a { border-color: rgba(20, 16, 23, .12); background: #fff; }
.project-card a:hover, .project-card a:focus-visible { border-color: var(--accent-hi); transform: translateY(-6px); }
.project-cover { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.project-card a:hover .project-cover img { transform: scale(1.05); }
.project-cover-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.project-cover .project-cover-empty img { position: static; width: 38%; max-width: 160px; height: auto; object-fit: contain; opacity: .9; }
.project-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.project-meta { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.section-light .project-meta { color: var(--accent-lo); }
.project-name { margin: 0; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.1; letter-spacing: -.03em; }
.project-summary { color: var(--text-2); font-size: .98rem; }
.section-light .project-summary { color: var(--ink-2); }
.project-go { margin-top: auto; padding-top: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-go i { margin-left: .4rem; transition: transform .3s var(--ease-out); }
.project-card a:hover .project-go i { transform: translateX(6px); }
.portfolio-more { margin: clamp(2rem, 4vw, 3rem) 0 0; text-align: center; }

.project-hero-image { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.project-hero-image img, .project-gallery img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(20, 16, 23, .45); }
.project-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.project-facts { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); color: var(--text); }
.project-facts dl { margin: 0 0 1rem; }
.project-facts dl > div { padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
.project-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.project-facts dd { margin: .3rem 0 0; font-size: 1.05rem; }
.project-tags { margin-top: .5rem; }
.project-gallery-title { margin: clamp(3rem, 6vw, 5rem) 0 1.5rem; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 0; padding: 0; list-style: none; }
.project-gallery figure { margin: 0; }
.project-gallery figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }

/* ============================================================= responsive */
@media (max-width: 1199.98px) {
  .service-row { grid-template-columns: 3.5rem minmax(0, 1fr) auto; }
  .service-body { grid-column: 2 / 3; grid-row: 2; }
  .service-link { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .service-link span { display: none; }
}
@media (max-width: 991.98px) {
  .section-head-split, .manifesto-grid, .contact-grid { grid-template-columns: 1fr; }
  .manifesto-years { flex-direction: row; align-items: flex-end; gap: 1rem; margin-top: .5rem; }
  .manifesto-years span { margin: 0; font-size: clamp(5rem, 22vw, 9rem); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .scroll-cue { display: none; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .footer-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .contact-card { position: static; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-layout { grid-template-columns: 1fr; }
  .project-facts { position: static; }
}
@media (max-width: 575.98px) {
  .project-grid, .project-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .hero-bg img { object-position: 60% 50%; }
  .hero::before { background: radial-gradient(70% 40% at 80% 20%, var(--accent-soft), transparent 70%), linear-gradient(0deg, var(--bg) 8%, rgba(13, 10, 16, .78) 55%, rgba(13, 10, 16, .55)); }
  .hero-title { max-width: none; }
  .btn-row .btn-pill { flex: 1 1 100%; }
  .manifesto-text { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .service-num { grid-column: 1 / -1; }
  .service-title { grid-column: 1; }
  .service-body { grid-column: 1 / -1; grid-row: auto; }
  .service-link { grid-column: 2; grid-row: 2; }
  .service-link i { width: 48px; height: 48px; }
  .service-row:hover .service-title { transform: none; }
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 2.25rem; }
  .process-steps::before, .process-steps::after { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .process-steps::after { width: 2px; left: 6px; transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--accent-lo), var(--color-primary)); }
  .process-steps.is-in::after, html:not(.reveal-ready) .process-steps::after { transform: scaleY(1); }
  .process-step { padding-top: 0; }
  .process-dot { left: -2.25rem; top: .35rem; }
  .process-num { font-size: 3rem; margin-bottom: .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-copy { flex-direction: column; align-items: flex-start; padding-bottom: 6rem; }
  .highlights-head { flex-direction: column; }
  .highlights-head .eyebrow { order: 0; }
  .final-cta-row .btn-row { width: 100%; }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: min(calc((100vw - 2 * var(--gutter)) / 7.8), 5rem); line-height: .95; overflow-wrap: break-word; }
  .hero-title .hl { white-space: normal; }
  .hero-stats { gap: 1.25rem; margin-top: 2rem; padding-top: 1.25rem; }
  .hero-stats .stat-num { font-size: 1.75rem; }
  .hero-stats .stat-label { font-size: .68rem; letter-spacing: .12em; }
  .city-main { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .pulse::after, .whatsapp-float::after, .scroll-cue-line::after { animation: none !important; }
  .marquee { overflow-x: auto; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .w, .hero-bg img { animation: none !important; }
}
