/* =========================================================
   GLOBAL VIEW — Template "HORIZONTE"
   Visual novo: claro, tipográfico, fotográfico
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --ink: #07111f;
  --ink-soft: #25364d;
  --muted: #617087;
  --paper: #eaf0f6;
  --paper-2: #f7f9fc;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.13);
  --accent: #1f5fae;
  --accent-2: #4f8fdc;
  --accent-soft: #dceafb;
  --deep: #061426;
  --deep-2: #0b213d;
  --shadow: 0 24px 70px rgba(6, 20, 38, 0.16);
  --radius: 0;
  --nav-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --max: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-nav.is-solid,
.site-nav.nav-inner {
  background: rgba(6, 20, 38, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav--dark.is-solid {
  background: rgba(7, 26, 36, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-bar {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.15rem;
}

.site-nav--dark .brand strong,
.site-nav--transparent .brand strong {
  color: var(--white);
}

.site-nav--dark .brand small,
.site-nav--transparent .brand small {
  color: rgba(255, 255, 255, 0.55);
}

.site-nav.is-solid:not(.site-nav--dark) .brand strong {
  color: var(--white);
}

.site-nav.is-solid:not(.site-nav--dark) .brand small {
  color: rgba(255, 255, 255, 0.55);
}

.site-nav .brand strong {
  color: var(--white) !important;
}

.site-nav .brand small {
  color: rgba(255, 255, 255, 0.58) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  transition: color 0.25s var(--ease);
}

.site-nav.is-solid:not(.site-nav--dark) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav--dark.is-solid .nav-links a {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent-2);
}

.site-nav.is-solid:not(.site-nav--dark) .nav-links a:hover,
.site-nav.is-solid:not(.site-nav--dark) .nav-links a.is-active {
  color: var(--accent-2);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.65rem 1.1rem !important;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-2) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 0.3s var(--ease);
}

.site-nav--transparent .nav-toggle span,
.site-nav--dark .nav-toggle span {
  background: var(--white);
}

.site-nav.is-solid:not(.site-nav--dark) .nav-toggle span {
  background: var(--white);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    right: 1rem;
    z-index: 999;
    opacity: 1;
    visibility: visible;
    border-color: var(--accent-2);
    background: var(--accent);
    box-shadow: 0 8px 22px rgba(6, 20, 38, 0.3);
  }

  .nav-toggle span {
    background: var(--white) !important;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--deep);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--white) !important;
    font-size: 1.35rem;
    font-family: var(--font-display);
  }

  .nav-cta {
    margin: 1rem 0 0;
    border-radius: 999px;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #1c2730;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost-dark:hover {
  border-color: var(--ink);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: drift 28s var(--ease) infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 38, 0.9) 0%, rgba(6, 20, 38, 0.42) 58%, rgba(6, 20, 38, 0.28) 100%),
    linear-gradient(to top, rgba(6, 20, 38, 0.92) 0%, transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
  animation: rise 1s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__brand {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.88;
  max-width: 12ch;
  margin-bottom: 1.1rem;
}

.hero__brand span {
  color: var(--accent-2);
}

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__frame {
  position: absolute;
  inset: 18% 8% 22% 48%;
  border: 1px solid rgba(79, 143, 220, 0.7);
  pointer-events: none;
  z-index: 1;
  animation: frame-in 1.2s var(--ease) 0.35s both;
}

@keyframes frame-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .hero__frame {
    display: none;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(0.7); }
  50% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding: 4rem 0;
}

.section--dark {
  background: var(--deep);
  color: var(--white);
}

.section--white {
  background: var(--paper-2);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 14ch;
}

.section-head p {
  max-width: 28rem;
  color: var(--muted);
  margin: 0;
}

.section--dark .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section--dark .kicker {
  color: var(--accent-2);
}

/* ---------- MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 1rem 0;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.marquee__track span {
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- PRODUCT MOSAIC ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 0.85rem;
}

.mosaic a {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.mosaic a:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.mosaic a:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.mosaic a:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.mosaic a:nth-child(4) { grid-column: span 3; grid-row: span 2; }
.mosaic a:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.mosaic a:nth-child(6) { grid-column: span 5; grid-row: span 1; }

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.mosaic a:hover img {
  transform: scale(1.08);
}

.mosaic a::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  background: rgba(7, 26, 36, 0.72);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s var(--ease);
}

.mosaic a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .mosaic a:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .mosaic a:nth-child(1),
  .mosaic a:nth-child(6) {
    grid-column: span 2;
  }
}

/* ---------- SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split__media::before {
  content: '';
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--accent);
  z-index: -1;
}

.split__text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.split__text p {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split__media::before {
    inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  }
}

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- PAGE HERO (inner) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
  background:
    linear-gradient(100deg, rgba(31, 95, 174, 0.18), transparent 45%),
    var(--deep);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero--dark {
  background:
    radial-gradient(ellipse at 15% 30%, rgba(79, 143, 220, 0.22), transparent 45%),
    var(--deep);
  color: var(--white);
  border-bottom: none;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.1rem;
  margin: 0;
}

.page-hero--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- ABOUT BLOCKS ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.story-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-grid--flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.story-grid--flip .story-copy {
  order: 2;
}

@media (max-width: 900px) {
  .story-grid,
  .story-grid--flip {
    grid-template-columns: 1fr;
  }
  .story-grid--flip .story-copy {
    order: 0;
  }
}

.mission-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1rem;
}

.mission-rail article {
  background: var(--paper-2);
  padding: 2rem 1.5rem;
}

.mission-rail h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.mission-rail p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .mission-rail {
    grid-template-columns: 1fr;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.values-grid img,
.commit-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.values-grid a:hover img,
.commit-grid a:hover img {
  transform: scale(1.03);
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .commit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- PRODUCTS GALLERY ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.25s var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}

.gallery figure.is-hidden {
  display: none;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.07);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(7, 26, 36, 0.85), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 26, 36, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- CONTACT ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
}

.contact-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-item span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

.contact-item a:hover {
  color: var(--accent);
}

.map-frame {
  min-height: 420px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- FORM ---------- */
.form-shell {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-shell label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-shell .field {
  margin-bottom: 1.1rem;
}

.form-shell input,
.form-shell textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-shell input:focus,
.form-shell textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 174, 0.18);
}

.form-shell textarea {
  min-height: 140px;
  resize: vertical;
}

.form-shell .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(6, 20, 38, 0.94), rgba(31, 95, 174, 0.72)),
    url('../images/onibus/onibus7.jpeg') center/cover;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
}

.cta-band p {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-grid p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-grid a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.footer-grid a:hover {
  color: var(--accent-2);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0;
  color: var(--white);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WHATSAPP ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(31, 95, 174, 0.38);
  transition: transform 0.3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ARCHITECTURAL FINISH ---------- */
body {
  background-image:
    linear-gradient(90deg, transparent calc(50% - 620px), rgba(31, 95, 174, 0.06) calc(50% - 619px), transparent calc(50% - 618px)),
    linear-gradient(90deg, transparent calc(50% + 618px), rgba(31, 95, 174, 0.06) calc(50% + 619px), transparent calc(50% + 620px));
}

.site-nav::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent-2);
  transition: width 0.8s var(--ease);
}

.site-nav.is-solid::after {
  width: 100%;
}

.nav-cta {
  border-radius: 0;
}

.hero::before {
  content: 'GLOBAL VIEW  /  DESDE 2001';
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  top: 50%;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero__content::before {
  content: '01';
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.hero__lead {
  border-left: 3px solid var(--accent-2);
  padding-left: 1rem;
}

.section-head {
  position: relative;
  padding-top: 1.35rem;
}

.section-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 2px;
  background: var(--accent);
}

.section-head h2,
.page-hero h1,
.split__text h2 {
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: var(--nav-h);
  right: 8%;
  width: min(34vw, 430px);
  height: calc(100% - var(--nav-h));
  border-inline: 1px solid rgba(79, 143, 220, 0.22);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  color: var(--accent-2);
}

.mosaic {
  gap: 1px;
  background: var(--deep);
}

.mosaic a::after {
  opacity: 1;
  transform: none;
  background: rgba(6, 20, 38, 0.82);
  border-left: 2px solid var(--accent-2);
}

.split__media {
  background: var(--white);
}

.split__media img {
  aspect-ratio: 1.08 / 1;
  object-fit: contain;
}

.story-grid > div:not(.story-copy) {
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-grid img {
  height: auto;
  max-height: 680px;
  aspect-ratio: auto;
  object-fit: contain;
  margin-inline: auto;
  box-shadow: none;
}

.values-grid,
.commit-grid {
  align-items: start;
}

.values-grid img,
.commit-grid img {
  border-top: 3px solid var(--accent);
  box-shadow: 0 12px 35px rgba(6, 20, 38, 0.1);
}

.gallery {
  gap: 1px;
  background: var(--deep);
}

.gallery figure {
  background: #dfe7f0;
}

.gallery figure[data-cat="janela"] img,
.gallery figure[data-cat="outros"] img {
  object-fit: contain;
  background: var(--white);
}

.gallery figcaption {
  border-left: 2px solid var(--accent-2);
}

.filter-btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-card,
.form-shell {
  border-top: 3px solid var(--accent);
}

.site-footer {
  background:
    linear-gradient(90deg, transparent 24.9%, rgba(255,255,255,.035) 25%, transparent 25.1%, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%, transparent 74.9%, rgba(255,255,255,.035) 75%, transparent 75.1%),
    var(--deep);
}

@media (max-width: 900px) {
  .hero::before {
    display: none;
  }

  .page-hero {
    min-height: 340px;
  }

  .page-hero::after {
    right: 1.25rem;
    width: 35%;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 72px;
  }

  .wrap {
    width: min(100% - 2rem, var(--max));
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand small {
    display: none;
  }

  .hero__brand {
    font-size: clamp(3.5rem, 20vw, 5rem);
    max-width: 100%;
  }

  .hero__brand span {
    display: block;
  }

  .hero__lead {
    letter-spacing: 0.08em;
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    min-height: 300px;
  }

  .commit-grid {
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-nav .nav-toggle {
    display: flex !important;
    position: fixed !important;
    top: 14px !important;
    right: 16px !important;
    left: auto !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    background-color: #1f5fae !important;
    border: 1px solid #4f8fdc !important;
    z-index: 1001 !important;
  }

  .site-nav .nav-toggle::before {
    content: '☰';
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
  }

  .site-nav .nav-toggle span {
    display: none;
  }
}
