/* ============================================================
   ncas.pt — site institucional
   Creme + tinta quente + cobre do logotipo. Tipografia: Hanken Grotesk.
   ============================================================ */

/* Hanken Grotesk (SIL Open Font License), servida pelo proprio site: mais rapido e sem enviar dados a terceiros */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --white: #ffffff;
  --cream: #f7f3e9;
  --cream-2: #fdfcf9;
  --sand: #ece5d5;
  --ink: #15120f;
  --ink-soft: #4d463e;
  --ink-faint: #81776b;
  --line: #e2dacb;
  --line-dark: rgba(255, 248, 238, 0.14);
  --night: #110f0d;
  --night-2: #1b1714;
  --on-night: #f5efe6;
  --on-night-soft: #b9ad9f;

  --copper: #a25e3e;
  --copper-dark: #84472b;
  --copper-light: #d9a682;
  --copper-grad: linear-gradient(120deg, #9c5a3b 0%, #b06c49 55%, #c48a63 100%);

  --font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 11vw, 150px);
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--night {
  background: var(--night);
  color: var(--on-night);
}

.section--tight-top {
  padding-top: 0;
}

/* ---------- texto ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section--night .eyebrow,
.hero .eyebrow {
  color: var(--copper-light);
}

.h-display {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 300;
  line-height: 1.02;
}

.h-section {
  font-size: clamp(34px, 4.2vw, 58px);
}

.h-card {
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.section--night .lead {
  color: var(--on-night-soft);
}

.muted {
  color: var(--ink-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.section-head .lead {
  justify-self: end;
}

.section-head--stack {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.section-head--stack .lead {
  justify-self: start;
}

/* ---------- botoes ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn:hover .icon--right {
  transform: translateX(3px);
}

.btn--copper {
  background: var(--copper);
  color: var(--white);
}

.btn--copper:hover {
  background: var(--copper-dark);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: #2c2620;
}

.btn--white {
  background: var(--white);
  color: var(--ink);
}

.btn--white:hover {
  background: var(--cream);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- cabecalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header::before {
  /* leve sombra para o menu ler bem sobre a fotografia */
  content: "";
  position: absolute;
  inset: 0 0 -40px 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.5), rgba(10, 8, 6, 0));
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-solid {
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 72px;
}

.site-header.is-solid::before {
  opacity: 0;
}

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: none;
  margin-right: auto;
}

.brand img {
  height: 44px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.is-solid .brand img {
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav a {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-divider {
  width: 1px;
  height: 26px;
  background: currentColor;
  opacity: 0.3;
}

.btn-catalogo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: var(--copper);
  color: var(--white);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px -8px rgba(132, 71, 43, 0.7);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-catalogo:hover {
  background: var(--copper-dark);
}

.btn-catalogo .icon {
  width: 17px;
  height: 17px;
}

.btn-catalogo .icon--arrow {
  width: 16px;
  height: 16px;
  opacity: 0.85;
  transition: transform 0.25s var(--ease);
}

.btn-catalogo:hover .icon--arrow {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* menu de telemovel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--night);
  color: var(--on-night);
  display: flex;
  flex-direction: column;
  padding: 22px var(--gutter) 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
}

.mobile-menu__top img {
  height: 38px;
  width: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  border-top: 1px solid var(--line-dark);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mobile-menu nav a .icon {
  width: 22px;
  height: 22px;
  color: var(--copper-light);
}

.mobile-menu .btn-catalogo {
  margin-top: 32px;
  height: 56px;
  justify-content: center;
  font-size: 17px;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 32px;
  color: var(--on-night-soft);
  font-size: 15px;
  display: grid;
  gap: 4px;
}

.mobile-menu__foot a {
  text-decoration: none;
}

/* ---------- hero (inicio) ---------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.06);
  animation: hero-zoom 14s var(--ease) forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 9, 7, 0.82) 0%, rgba(12, 9, 7, 0.55) 45%, rgba(12, 9, 7, 0.1) 100%),
    linear-gradient(0deg, rgba(12, 9, 7, 0.75) 0%, rgba(12, 9, 7, 0) 45%);
}

.hero__content {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(36px, 5vw, 56px);
  width: 100%;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 112px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--copper-light);
}

.hero__lead {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero .btn-row {
  margin-top: 40px;
}

.hero__facts {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__facts div {
  padding: 22px 24px 0 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

.hero__facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__facts b {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__facts span {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- cabecalho das paginas interiores ---------- */

.page-head {
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 120px));
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--cream);
}

.page-head h1 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 19ch;
}

.page-head .lead {
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 36px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.page-figure {
  background: linear-gradient(180deg, var(--cream) 50%, var(--cream-2) 50%);
}

.page-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- areas de negocio ---------- */

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

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  background: var(--night);
}

.line-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 9, 7, 0.9) 0%, rgba(12, 9, 7, 0.55) 45%, rgba(12, 9, 7, 0) 80%);
}

.line-card:hover img {
  transform: scale(1.05);
}

.line-card__body {
  padding: clamp(24px, 2.4vw, 34px);
  display: grid;
  gap: 10px;
}

.line-card__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.line-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.line-card__title h3 {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 400;
}

.circle-arrow {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.circle-arrow .icon {
  width: 20px;
  height: 20px;
}

.line-card:hover .circle-arrow {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.line-card p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
}

/* ---------- frase grande ---------- */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 48px 72px;
  align-items: end;
}

.statement__big {
  grid-column: 1 / -1;
  font-size: clamp(50px, 12.4vw, 176px);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.statement__big span {
  display: block;
}

.statement__big span:last-child {
  color: var(--copper);
}

.statement__text {
  grid-column: 2;
}

.statement__text p + p {
  margin-top: 18px;
}

.stats {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  padding: 28px 24px 0 0;
}

.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- carrossel (cadeia de valor) ---------- */

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel__count {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  min-width: 48px;
  text-align: center;
}

.round-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s;
}

.round-btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--white);
}

.round-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.round-btn .icon {
  width: 22px;
  height: 22px;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 20px) / 3.2);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.value-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 2.6vw, 40px);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--copper);
  display: grid;
  place-items: center;
  margin-bottom: auto;
}

.value-card__icon .icon {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  margin-top: 40px;
}

.value-card p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- gamas (o que distribuimos) ---------- */

.ranges {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.range {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.range__num {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  transition: color 0.35s var(--ease);
}

.range h3 {
  margin-top: auto;
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 400;
}

.range p {
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.35s var(--ease);
}

.range .icon--corner {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 22px;
  height: 22px;
  color: var(--copper);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.range:hover {
  background: var(--copper);
  color: var(--white);
}

.range:hover p,
.range:hover .range__num {
  color: rgba(255, 255, 255, 0.82);
}

.range:hover .icon--corner {
  color: var(--white);
  transform: translate(3px, -3px);
}

/* ---------- blocos imagem + texto ---------- */

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

.split + .split {
  margin-top: clamp(80px, 10vw, 140px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split__media--wide img {
  aspect-ratio: 4 / 3;
}

.split__body h2 {
  margin-bottom: 26px;
}

.split__body .lead + .lead,
.split__body p + p {
  margin-top: 16px;
}

.split__body .btn-row,
.split__body .link-arrow {
  margin-top: 36px;
}

.check-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--copper);
  transform: translateY(-2px);
}

.section--night .check-list {
  border-top-color: var(--line-dark);
}

.section--night .check-list li {
  border-bottom-color: var(--line-dark);
}

.section--night .check-list li::before {
  background: var(--copper-light);
}

.media-badge {
  position: absolute;
  left: clamp(-28px, -2vw, -16px);
  bottom: 32px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 24px 48px -24px rgba(17, 15, 13, 0.45);
  display: grid;
  gap: 2px;
  max-width: 240px;
}

.media-badge b {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--copper);
}

.media-badge span {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* painel de marca (sem fotografia) */
.brand-panel {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  background: var(--copper-grad);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 44px);
  isolation: isolate;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
}

.brand-panel > .icon {
  width: clamp(88px, 10vw, 140px);
  height: clamp(88px, 10vw, 140px);
  opacity: 0.95;
}

.brand-panel__caption {
  display: grid;
  gap: 4px;
}

.brand-panel__caption b {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-panel__caption span {
  font-size: 15px;
  opacity: 0.85;
}

/* ---------- faixa catalogo ---------- */

.cta-band {
  background: var(--copper-grad);
  color: var(--white);
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::after {
  content: "ncas";
  position: absolute;
  right: -0.04em;
  bottom: -0.26em;
  z-index: -1;
  font-size: clamp(180px, 30vw, 440px);
  font-weight: 200;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 40px 64px;
  align-items: end;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  max-width: 16ch;
}

.cta-band p {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
}

/* ---------- certificacoes (qualidade) ---------- */

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

.cert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
}

.cert-card__mark {
  width: 104px;
  height: 104px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--copper);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cert-card__mark img {
  width: 88px;
  height: 88px;
}

.cert-card h3 {
  margin-bottom: 12px;
}

.cert-card p {
  color: var(--ink-soft);
}

.norm-list {
  border-top: 1px solid var(--line);
}

.norm {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px 48px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.norm h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 300;
}

.norm p {
  color: var(--ink-soft);
  font-size: 17px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card .value-card__icon {
  margin-bottom: 20px;
}

.info-card p {
  color: var(--ink-soft);
  font-size: 16px;
}

.info-card .link-arrow {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  font-size: 15.5px;
}

/* ---------- valores, setores, passos ---------- */

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

.mv article {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.4vw, 56px);
}

.mv h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

.mv p {
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 32px 28px 8px 0;
}

.feature + .feature {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.feature .icon {
  width: 34px;
  height: 34px;
  color: var(--copper);
}

.feature h3 {
  margin: 26px 0 10px;
  font-size: 24px;
  font-weight: 400;
}

.feature p {
  font-size: 16px;
  color: var(--ink-soft);
}

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

.section--night .feature-grid {
  border-top-color: var(--line-dark);
}

.section--night .feature + .feature {
  border-left-color: var(--line-dark);
}

.section--night .feature .icon {
  color: var(--copper-light);
}

.section--night .feature p {
  color: var(--on-night-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 20px;
  counter-reset: passo;
}

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.step__num {
  font-size: 64px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--copper);
}

.step .icon {
  width: 30px;
  height: 30px;
  margin-top: 56px;
  color: var(--ink-soft);
}

.step h3 {
  margin: 22px 0 10px;
  font-size: 24px;
  font-weight: 400;
}

.step p {
  font-size: 16px;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15.5px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

a.chip:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.chip .icon {
  width: 15px;
  height: 15px;
}

.section--night .chip {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--on-night);
}

.recognition {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
}

.recognition img {
  width: 96px;
  height: 96px;
}

.recognition h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin-bottom: 8px;
}

/* ---------- contacto ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list .value-card__icon {
  width: 52px;
  height: 52px;
  margin: 0;
}

.contact-list .value-card__icon .icon {
  width: 22px;
  height: 22px;
}

.contact-list small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact-list a,
.contact-list span {
  font-size: 20px;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--copper);
}

.note-card {
  margin-top: 32px;
  background: var(--night);
  color: var(--on-night);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  gap: 14px;
}

.note-card h2 {
  font-size: 24px;
  font-weight: 400;
}

.note-card p {
  color: var(--on-night-soft);
  font-size: 16px;
}

.note-card .btn-catalogo {
  justify-self: start;
  margin-top: 6px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 52px);
}

.form-card h2 {
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 10px;
}

.form-card > p {
  color: var(--ink-soft);
  margin-bottom: 32px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label,
.field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s, background-color 0.2s;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b3261e;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.segmented input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.form-hint {
  grid-column: 1 / -1;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.form-hint a {
  color: var(--copper);
  font-weight: 600;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink-faint);
}

.form-status {
  grid-column: 1 / -1;
  font-size: 15px;
  color: #b3261e;
}

.form-status:empty {
  display: none;
}

/* ---------- rodape (tom claro) ---------- */

.site-footer {
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: clamp(72px, 8vw, 110px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 40px;
  padding-bottom: clamp(56px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  height: 46px;
  width: auto;
}

.footer-brand p {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.footer-pme {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-pme img {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.footer-col--contact a {
  white-space: nowrap;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--copper);
}

.footer-col .btn-catalogo {
  margin-top: 22px;
  color: var(--white);
}

.footer-col .btn-catalogo:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 26px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.footer-bottom a {
  color: var(--ink-soft);
}

.footer-bottom a:hover {
  color: var(--copper);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ---------- seletor de idioma ---------- */

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lang__btn::-webkit-details-marker {
  display: none;
}

.lang__btn:hover,
.lang[open] .lang__btn {
  border-color: currentColor;
}

.lang__btn .icon {
  width: 17px;
  height: 17px;
}

.lang__btn .lang__chev {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.lang[open] .lang__chev {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 70;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -20px rgba(17, 15, 13, 0.35);
}

.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 15.5px;
  text-decoration: none;
}

.lang__menu a:hover {
  background: var(--cream);
}

.lang__menu a[aria-current="true"] {
  color: var(--copper);
  font-weight: 600;
}

.lang__menu a[aria-current="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--copper);
}

/* ---------- contactos do rodape ---------- */

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-contact__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--copper);
}

.footer-contact__icon .icon {
  width: 17px;
  height: 17px;
}

.footer-contact__icon--wa {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
}

/* ---------- outras linguas ---------- */

html[lang^="zh"] {
  --font: "Hanken Grotesk", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
}

html[lang="de"] :is(h1, h2, h3),
html[lang="pl"] :is(h1, h2, h3) {
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ---------- animacao de entrada ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__media img {
    animation: none;
    transform: none;
  }
}

/* ---------- responsivo ---------- */

@media (max-width: 1100px) {
  .nav {
    gap: 22px;
  }

  .nav a {
    font-size: 15px;
  }

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

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

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

  .feature:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .feature:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section--night .feature:nth-child(n + 3) {
    border-top-color: var(--line-dark);
  }

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

  .footer-brand {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-pme {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav,
  .header-divider {
    display: none;
  }

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

  .site-header__inner {
    gap: 12px;
  }

  .section-head,
  .statement,
  .split,
  .cta-band__inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-head .lead {
    justify-self: start;
  }

  .statement__text {
    grid-column: 1;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media img,
  .brand-panel {
    aspect-ratio: 4 / 3;
  }

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

  .line-card {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }

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

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 28px;
  }

  .carousel__track {
    grid-auto-columns: calc((100% - 20px) / 1.6);
  }

  .cert-grid,
  .info-grid,
  .mv {
    grid-template-columns: 1fr;
  }

  .norm {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recognition {
    grid-template-columns: auto 1fr;
  }

  .recognition .btn,
  .recognition .link-arrow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .media-badge {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  :root {
    --header-h: 72px;
  }

  .brand img {
    height: 36px;
  }

  .site-header .btn-catalogo {
    height: 42px;
    padding: 0 14px;
    font-size: 14.5px;
    gap: 7px;
  }

  .site-header .btn-catalogo .icon--arrow {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

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

  .hero__facts div,
  .hero__facts div + div {
    padding: 14px 0;
    border-left: 0;
  }

  .hero__facts div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero .btn-row .btn {
    flex: 1 1 100%;
  }

  .ranges,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .range {
    min-height: 0;
  }

  .range h3 {
    margin-top: 28px;
  }

  .feature,
  .feature + .feature {
    padding: 28px 0 24px;
    border-left: 0;
  }

  .feature + .feature {
    border-top: 1px solid var(--line);
  }

  .section--night .feature + .feature {
    border-top-color: var(--line-dark);
  }

  .feature h3 {
    margin-top: 18px;
  }

  .step {
    min-height: 0;
  }

  .step .icon {
    margin-top: 28px;
  }

  .carousel__track {
    grid-auto-columns: 86%;
  }

  .carousel__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .value-card {
    min-height: 300px;
  }

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

  .stat,
  .stat + .stat,
  .stat:nth-child(3) {
    padding: 24px 0 0;
    border-left: 0;
  }

  .stat + .stat {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }

  .page-figure img {
    aspect-ratio: 4 / 3;
  }

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

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

  .form-actions .btn {
    flex: 1 1 100%;
  }

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

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

  .footer-col--contact {
    grid-column: 1 / -1;
  }

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

  .lang__btn {
    height: 42px;
    padding: 0 11px;
    gap: 5px;
  }

  .lang__btn > .icon:first-child {
    display: none;
  }
}

/* telemoveis estreitos: logotipo + Catalogo + idioma + menu cabem sem apertar o botao do menu */
@media (max-width: 400px) {
  .site-header__inner {
    gap: 8px;
  }

  .menu-toggle {
    flex: none;
  }
}

/* telemoveis muito pequenos (320px): cabecalho mais compacto */
@media (max-width: 360px) {
  .site-header__inner {
    padding-inline: 14px;
    gap: 7px;
  }

  .brand img,
  .site-header.is-solid .brand img {
    height: 30px;
  }

  .site-header .btn-catalogo {
    padding: 0 12px;
  }

  .site-header .btn-catalogo .icon,
  .site-header .lang__chev {
    display: none;
  }

  .site-header .lang__btn {
    padding: 0 10px;
  }
}

/* ---------- paginas das areas de negocio ---------- */

.ranges--3,
.steps--3 {
  --cols: 3;
}

.steps--3 .step {
  min-height: 300px;
}

.area-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 72px;
  align-items: start;
}

.area-intro .lead + .lead {
  margin-top: 18px;
}

@media (max-width: 960px) {
  .area-intro {
    grid-template-columns: 1fr;
  }
}
section[id] {
  scroll-margin-top: 72px;
}

/* secao escura em castanho (fornecedores) */
.section--brown {
  background:
    radial-gradient(circle at 88% 12%, rgba(196, 138, 99, 0.22), transparent 55%),
    linear-gradient(160deg, #2c1b13 0%, #3d2519 100%);
}

.section--brown .lead {
  color: #cdbcac;
}

.section--brown .check-list,
.section--brown .check-list li {
  border-color: rgba(255, 236, 220, 0.16);
}

@media (max-width: 1100px) and (min-width: 961px) {
  .lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .line-card {
    aspect-ratio: 4 / 3;
  }
}

/* morada no rodape: pode ocupar duas linhas */
.footer-col--contact a.footer-contact--morada {
  white-space: normal;
  align-items: flex-start;
  max-width: 300px;
}


/* telemoveis: nada pode alargar a pagina (textos longos em alemao, polaco, italiano...) */
.footer-col h4 {
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (max-width: 960px) {
  .section-head,
  .statement,
  .split,
  .cta-band__inner,
  .contact-layout,
  .lines {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .ranges,
  .steps,
  .feature-grid,
  .stats,
  .cert-grid,
  .info-grid,
  .mv,
  .form-grid,
  .recognition,
  .cert-card,
  .norm {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-brand {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding-block: 12px;
  }

  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
  }

  .contact-list li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .contact-list .value-card__icon {
    width: 44px;
    height: 44px;
  }

  .contact-list a,
  .contact-list span {
    overflow-wrap: anywhere;
  }
}

.breadcrumb {
  flex-wrap: wrap;
  row-gap: 4px;
}


/* logotipo: branco sobre a fotografia do inicio (cabecalho transparente), cobre no cabecalho claro */
.brand .brand__branco {
  display: none;
}

.site-header:not(.is-solid) .brand .brand__cor {
  display: none;
}

.site-header:not(.is-solid) .brand .brand__branco {
  display: block;
}

/* cartoes das areas: seta no canto superior direito, o titulo usa a largura toda */
.line-card__body {
  grid-template-columns: minmax(0, 1fr);
}

.line-card .circle-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(17, 15, 13, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.line-card__title h3 {
  overflow-wrap: break-word;
}

/* contactos do rodape: icones todos alinhados ao topo, com o mesmo espaco entre eles */
.footer-col--contact ul {
  gap: 14px;
}

.footer-contact,
.footer-col--contact a.footer-contact--morada {
  align-items: flex-start;
}

.footer-contact__txt {
  padding-top: 6px;
  line-height: 1.4;
}