:root {
  --navy: #153d7a;
  --blue: #009ee3;
  --blue-dark: #0879b2;
  --red: #ed1c24;
  --yellow: #ffc400;
  --ink: #17243a;
  --muted: #5e6b7d;
  --line: #dbe4ee;
  --surface: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(21, 61, 122, 0.12);
  --radius: 1.25rem;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 158, 227, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.65rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.surface {
  background: var(--surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 780;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.25rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 228, 238, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: clamp(180px, 20vw, 250px);
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: #edf5fb;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 82px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) center/cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 24, 55, 0.88) 0%, rgba(8, 39, 76, 0.56) 48%, rgba(8, 39, 76, 0.08) 82%),
    linear-gradient(0deg, rgba(5, 24, 55, 0.7), transparent 55%);
}

.hero-home {
  background-image: url("/assets/images/hero-fabrica.png");
}

.hero-products {
  min-height: 520px;
  background-image: url("/assets/images/hero-produtos.png");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(5rem, 12vw, 9rem) 0;
}

.hero .eyebrow {
  color: #cceeff;
}

.hero h1 {
  margin-bottom: 1.4rem;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.button-outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-media {
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.stats {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy) center/cover no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4, 25, 56, 0.94) 0%, rgba(4, 25, 56, 0.1) 70%);
}

.image-card-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
}

.image-card h3 {
  margin-bottom: 0.6rem;
}

.image-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.card-moldados {
  background-image: url("/assets/images/aplicacao-moldados.png");
}

.card-construcao {
  background-image: url("/assets/images/aplicacao-construcao.png");
}

.card-embalagens {
  background-image: url("/assets/images/aplicacao-embalagens.png");
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(21, 61, 122, 0.07);
}

.feature-card .number {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0.8rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.sustainability {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.sustainability::after {
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 32rem;
  height: 32rem;
  content: "";
  border: 6rem solid rgba(0, 158, 227, 0.16);
  border-radius: 50%;
}

.sustainability .split {
  position: relative;
  z-index: 1;
}

.sustainability .eyebrow {
  color: #bfeaff;
}

.sustainability p {
  color: rgba(255, 255, 255, 0.82);
}

.sustainability-figure {
  display: grid;
  place-items: center;
  min-height: 340px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.sustainability-figure strong {
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 0.9;
}

.sustainability-figure span {
  display: block;
  margin-top: 0.5rem;
  color: #cceeff;
  font-size: 1.1rem;
  font-weight: 750;
  text-align: center;
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.page-hero::before {
  top: -14rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  border: 7rem solid rgba(0, 158, 227, 0.2);
}

.page-hero::after {
  right: 24%;
  bottom: -9rem;
  width: 20rem;
  height: 20rem;
  border: 4rem solid rgba(255, 196, 0, 0.12);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.page-hero .eyebrow {
  color: #cceeff;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
}

.value-card h3 {
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.value-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.product-family + .product-family {
  margin-top: 5rem;
}

.family-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.family-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  background: #eaf5fb;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(21, 61, 122, 0.07);
}

.product-image {
  aspect-ratio: 1;
  padding: 1rem;
  background: #f6f8fb;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}

.product-body {
  padding: 1.4rem;
}

.product-body h3 {
  color: var(--navy);
}

.product-body > p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card details {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-card summary {
  padding-top: 1rem;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.spec-list {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.spec-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
  font-weight: 800;
}

.pdf-link img {
  width: 1.35rem;
  height: 1.35rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--white);
  background: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.article-card {
  display: grid;
  overflow: hidden;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  text-decoration: none;
}

.article-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.article-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.article-card-content time {
  margin-bottom: 1rem;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.article-card-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.article-card-content p {
  color: var(--muted);
}

.article {
  font-size: 1.08rem;
}

.article h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.article figure {
  margin: 2.5rem 0;
}

.article figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-meta {
  margin-bottom: 2rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: 0.8fr 1.2fr;
}

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

.contact-item {
  padding: 1.25rem;
  background: var(--surface);
  border-radius: 1rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.contact-item p,
.contact-item address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfcbd9;
  border-radius: 0.7rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note,
.form-status {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--navy);
  font-weight: 750;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), #075b96);
  border-radius: var(--radius);
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background: #0b2348;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.footer-logo {
  width: 190px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--blue);
  font-size: clamp(4rem, 15vw, 9rem);
  line-height: 1;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(21, 61, 122, 0.12);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav[data-open="true"] {
    transform: translateY(0);
  }

  .site-nav ul {
    display: grid;
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .card-grid,
  .feature-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    inset-block-start: 72px;
    max-height: calc(100vh - 72px);
  }

  .hero {
    min-height: 660px;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(5, 24, 55, 0.94), rgba(8, 39, 76, 0.35));
  }

  .stats,
  .card-grid,
  .feature-grid,
  .values-grid,
  .product-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .family-header,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-image {
    aspect-ratio: 4 / 3;
  }

  .article-card img {
    min-height: 240px;
  }
}

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