/*
 * Filosofia visual deste arquivo:
 * Modernismo corporativo de precisão, com linguagem industrial sóbria,
 * forte contraste tipográfico, profundidade sutil e foco institucional.
 */
:root {
  --background: #f3f1ed;
  --background-soft: #ece8e2;
  --foreground: #26211f;
  --muted: rgba(52, 54, 58, 0.78);
  --muted-soft: rgba(255, 255, 255, 0.74);
  --border: rgba(38, 42, 47, 0.1);
  --border-light: rgba(255, 255, 255, 0.1);
  --primary: #6a1d2b;
  --primary-strong: #822534;
  --dark: #111315;
  --dark-soft: #1a1d21;
  --shadow-soft: 0 18px 40px rgba(32, 37, 43, 0.08);
  --shadow-medium: 0 24px 48px rgba(32, 37, 43, 0.1);
  --shadow-strong: 0 28px 56px rgba(32, 37, 43, 0.14);
  --radius: 1rem;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--foreground);
  background-image:
    radial-gradient(circle at top left, rgba(94, 24, 34, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(236, 233, 227, 0.8));
  background-color: var(--background);
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
.brand-text strong,
.footer-brand,
.contact-title,
.hero-year-card strong,
.stat-card strong,
.gallery-overlay h3,
.video-copy h3,
.feature-card h3 {
  font-family: "Oswald", sans-serif;
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(101, 25, 38, 0.18);
}

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

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding-inline: 1rem;
}

.max-w-text {
  max-width: 48rem;
}

.section {
  padding: 4.75rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 14, 16, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 14px 30px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-text strong {
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: scaleX(0.3);
  opacity: 0;
  transition: all 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(86, 20, 31, 1), rgba(128, 37, 51, 0.95));
  color: #f8f7f4;
  box-shadow: 0 16px 36px rgba(74, 18, 27, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 44px rgba(74, 18, 27, 0.3);
}

.btn-secondary {
  border-color: rgba(39, 43, 48, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(36, 39, 42, 0.96);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(86, 20, 31, 0.35);
  background: rgba(255, 255, 255, 0.88);
}

.inline-btn {
  margin-top: 1.5rem;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(14, 16, 18, 0.92) 0%, rgba(14, 16, 18, 0.82) 46%, rgba(14, 16, 18, 0.38) 68%, rgba(14, 16, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent),
    url("https://d2xsxph8kpxj0f.cloudfront.net/310419663030286700/DtPdVjXyMowp3QBsWkbP7d/goergen-hero-industrial-SfAmWJAzaebiWsYKgwfZDo.webp") center right / cover no-repeat;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0 5rem;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.eyebrow-line {
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(154, 62, 76, 0.95));
}

.hero-title {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6.1vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 41rem;
  margin-top: 1.5rem;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero-aside {
  display: grid;
  gap: 1.25rem;
  align-content: end;
  justify-items: end;
}

.hero-year-card,
.hero-image-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.hero-year-card {
  max-width: 32rem;
  padding: 1.75rem;
}

.hero-year-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.hero-year-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-year-card p {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

.hero-image-card {
  overflow: hidden;
  max-width: 34rem;
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stat-band {
  color: #fff;
  background: linear-gradient(180deg, rgba(26, 28, 31, 1), rgba(20, 22, 25, 0.98));
}

.stat-grid {
  display: grid;
  gap: 1px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-height: 8rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.stat-card span {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.stat-card strong {
  font-size: 1.9rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-split {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(242, 239, 234, 0.92));
}

.split-grid,
.precision-grid,
.institutional-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.section-kicker {
  margin-bottom: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(96, 28, 40, 0.84);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: rgba(28, 31, 35, 0.96);
}

.section-title.light {
  color: #fff;
}

.section-text {
  margin-top: 1.5rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(49, 52, 56, 0.82);
}

.section-text.light-soft,
.centered-on-dark .section-text {
  color: rgba(255, 255, 255, 0.74);
}

.muted-copy {
  color: rgba(57, 59, 64, 0.66);
}

.section-heading-block {
  max-width: 40rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.5rem;
  border: 1px solid rgba(35, 39, 43, 0.08);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 25, 37, 0.22);
  box-shadow: 0 24px 50px rgba(32, 37, 43, 0.12);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(95, 25, 37, 0.18);
  background: rgba(95, 25, 37, 0.08);
  color: rgba(95, 25, 37, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(29, 32, 35, 0.95);
}

.feature-card p {
  margin-top: 0.55rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(54, 57, 60, 0.76);
}

.precision-panel {
  background: linear-gradient(180deg, rgba(226, 224, 219, 0.54), rgba(250, 249, 247, 0.94));
}

.precision-image-wrap {
  overflow: hidden;
  border: 1px solid rgba(35, 39, 43, 0.08);
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.precision-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.precision-copy {
  align-self: center;
}

.bullet-matrix {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  list-style: none;
}

.bullet-matrix li {
  position: relative;
  padding: 0 0 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(35, 39, 43, 0.08);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(33, 37, 40, 0.84);
}

.bullet-matrix li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.6rem;
  height: 1px;
  background: rgba(95, 25, 37, 0.9);
}

.video-section {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.section-header {
  max-width: 64rem;
  margin-bottom: 2.5rem;
}

.centered-on-dark {
  margin-inline: auto;
  text-align: center;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
  transition: transform 260ms ease, border-color 260ms ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.video-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.video-badge {
  opacity: 0.82;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: rgba(10, 12, 14, 0.9);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding: 1.25rem;
}

.video-copy h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.video-copy p {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-section {
  background: linear-gradient(180deg, rgba(248, 246, 243, 1), rgba(233, 230, 224, 0.78));
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  border: 1px solid rgba(30, 34, 38, 0.08);
  background: #fff;
  box-shadow: var(--shadow-medium);
}

.gallery-card-wide {
  min-height: 28rem;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 17, 0.84));
}

.gallery-overlay h3 {
  max-width: 20rem;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-index {
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.institutional-band {
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 20, 23, 1), rgba(22, 24, 28, 0.96));
}

.institutional-band .section-title,
.institutional-band .section-text,
.institutional-band .section-kicker {
  color: #fff;
}

.institutional-band .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  background: linear-gradient(180deg, rgba(244, 241, 236, 0.92), rgba(252, 251, 249, 1));
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border: 1px solid rgba(29, 33, 37, 0.08);
  background: #fff;
  box-shadow: 0 26px 54px rgba(32, 37, 43, 0.12);
}

.textured-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 239, 0.92));
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(29, 33, 37, 0.08);
  background: rgba(255, 255, 255, 0.82);
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  transform: translateX(4px);
  border-color: rgba(95, 25, 37, 0.24);
  background: rgba(255, 255, 255, 0.98);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(95, 25, 37, 0.08);
  color: rgba(95, 25, 37, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-item span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(85, 88, 93, 0.62);
}

.contact-item strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(28, 31, 35, 0.95);
}

.social-panel {
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.9), rgba(18, 20, 24, 0.94));
}

.social-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.social-content {
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-content p {
  margin-top: 1rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

.social-links {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(14px);
  transition: transform 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  color: #fff;
  background: rgb(12, 14, 16);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-brand {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-copy,
.footer-meta {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.footer-meta {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }

  .contact-panel {
    padding: 2.25rem;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card-wide {
    grid-column: span 2;
  }

  .footer-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: end;
    padding: 5.5rem 0 6rem;
  }

  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-grid,
  .precision-grid,
  .institutional-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1023px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    gap: 0.9rem;
    padding: 0 0 1.2rem;
  }

  .site-nav.is-open a {
    padding-top: 0.3rem;
  }

  .hero-shell {
    background:
      linear-gradient(110deg, rgba(14, 16, 18, 0.92) 0%, rgba(14, 16, 18, 0.82) 46%, rgba(14, 16, 18, 0.38) 68%, rgba(14, 16, 18, 0.18) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 4rem 0;
  }

  .hero-title {
    max-width: 10ch;
    font-size: 2.85rem;
  }

  .hero-text,
  .section-text,
  .social-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-card-wide {
    min-height: 22rem;
  }

  .gallery-card,
  .hero-image-card {
    min-height: auto;
  }
}
