:root {
  --green: #8aa33a;
  --green-dark: #53631f;
  --green-deep: #303b17;
  --sage: #eef2df;
  --paper: #fbf7ef;
  --sand: #f3eadc;
  --white: #ffffff;
  --espresso: #3d322e;
  --clay: #a8662c;
  --muted: #746b62;
  --line: rgba(61, 50, 46, 0.14);
  --shadow: 0 22px 60px rgba(61, 50, 46, 0.11);
  --black: #1c1c1c;
  --header: rgba(0, 0, 0, 0.88);
  --orange: #af6825;
  --orange-dark: #8e5319;
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hero";
  src: url("assets/HeroLight-Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--espresso);
  background: #ffffff;
  font-family: "Hero", "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.44;
}

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

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

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

p {
  margin-bottom: 12px;
}

section[id],
main[id] {
  scroll-margin-top: 112px;
}

.container {
  width: min(1276px, calc(100vw - 10%));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 100px;
  padding: 20px 5%;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 214px;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  opacity: 0.96;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #d29757;
  opacity: 1;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 3px;
  background: #ffffff;
}

.nav-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-weight: 600;
  opacity: 1 !important;
}

.nav-button:hover {
  background: var(--orange-dark);
  color: #ffffff;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-button span {
  display: block;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 72px 0;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.28) 100%),
    url("assets/edge-hero-glass-building.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -190px;
  z-index: -1;
  width: 560px;
  height: 560px;
  background: url("assets/pinha-cream.png") center / contain no-repeat;
  opacity: 0.08;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(42px, 8vw, 116px);
  align-items: center;
  min-height: 620px;
}

.hero-copy,
.hero-panel,
.value-map article,
.cert-card,
.process-step,
.stats-grid article,
.objective-button,
.recommendation-grid span,
.hygge-form {
  min-width: 0;
  overflow-wrap: break-word;
}

.eyebrow,
.section-kicker,
.client-eyebrow,
.cert-name,
.text-link,
.tag-row span,
.matrix-wrap th,
.process-step span {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  display: block;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 600;
}

.hero-section .eyebrow {
  color: #ffffff;
  opacity: 0.86;
}

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  color: #ffffff;
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 20px;
  color: var(--espresso);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 11px;
  color: var(--espresso);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.28;
}

.hero-lead {
  max-width: 790px;
  margin-bottom: 34px;
  color: #ffffff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 15px 25px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.section-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
  display: grid;
  gap: 10px;
  align-self: stretch;
  align-content: center;
  justify-self: end;
  width: 100%;
  max-width: 320px;
}

.hero-panel span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-left: 2px solid rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.24);
  color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  backdrop-filter: blur(10px);
}

section {
  padding: 76px 0;
}

.client-strip {
  padding: 42px 0 46px;
  background: #ffffff;
  color: #767676;
}

.client-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.22fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px clamp(28px, 5vw, 64px);
}

.client-eyebrow {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 34px;
}

.client-logo {
  width: auto;
  max-height: 30px;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.client-logo--tall {
  max-height: 46px;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.client-strip-cta {
  min-height: 40px;
  padding: 12px 18px;
  font-size: 12px;
  white-space: nowrap;
}

.why-section,
.faq-section {
  background: #ececec;
}

.why-section {
  padding: 58px 0;
}

.compare-cta-section {
  padding: 46px 0;
  background: #f2f2f2;
}

.cert-section,
.process-section {
  background: #ffffff;
}

.section-title {
  max-width: 920px;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.why-copy h2 {
  margin-bottom: 16px;
}

.why-copy p {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
}

.section-title p,
.timing-grid p,
.hygge-grid p,
.cta-grid p,
.objective-copy p,
.compare-cta p,
.cert-card p,
.process-step p,
.value-map p,
.faq-list p {
  color: var(--muted);
}

.value-map {
  display: grid;
  background: transparent;
  border-top: 1px solid rgba(61, 50, 46, 0.16);
  border-bottom: 1px solid rgba(61, 50, 46, 0.16);
}

.value-map article {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 54px minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.value-map article:last-child {
  border-bottom: 0;
}

.value-map span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.7);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.value-map h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.value-map p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.38;
}

.cert-grid {
  display: grid;
  gap: 18px;
}

.cert-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7f7f7;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cert-card:hover,
.cert-card.is-recommended {
  border-color: rgba(138, 163, 58, 0.46);
  background: #ffffff;
  transform: translateY(-2px);
}

.cert-card.is-recommended {
  box-shadow: inset 4px 0 0 var(--green);
}

.cert-mark {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cert-mark-image img {
  width: 112px;
  max-height: 126px;
  object-fit: contain;
}

.cert-mark-type {
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cert-name {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  background: var(--sage);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 38px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
  transition: width 0.2s ease;
}

.text-link:hover::after {
  width: 56px;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.compare-matrix {
  width: 100%;
  min-width: 890px;
  border-collapse: collapse;
}

.compare-matrix th,
.compare-matrix td {
  height: 58px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #121010;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.compare-matrix tbody th {
  width: 270px;
  background: #ffffff;
  color: var(--espresso);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 999px;
  color: transparent;
  white-space: nowrap;
}

.dot.main {
  background: var(--green);
}

.dot.present {
  background: #ffffff;
}

.compare-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 30px;
  background: #ffffff;
  border-left: 4px solid var(--orange);
}

.compare-cta-section .compare-cta {
  margin-top: 0;
}

.objectives-grid,
.timing-grid,
.hygge-grid,
.cta-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 98px);
  align-items: start;
}

.objective-section {
  background: #121010;
  color: #ffffff;
}

.objective-section .section-kicker,
.objective-section h2,
.objective-section p,
.objective-section .disclaimer {
  color: #ffffff;
}

.objective-copy p {
  opacity: 0.82;
}

.disclaimer {
  max-width: 560px;
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.26);
  font-size: 15px;
}

.objective-panel {
  display: grid;
  gap: 24px;
}

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

.objective-button {
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.22;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.objective-button:hover,
.objective-button.is-active {
  border-color: #d29757;
  background: var(--paper);
  color: var(--espresso);
  transform: translateY(-1px);
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.recommendation-grid span {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(238, 242, 223, 0.08);
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.recommendation-grid span.is-recommended {
  background: var(--orange);
  color: #ffffff;
}

.timing-section {
  background: #ffffff;
}

.timing-grid {
  align-items: center;
}

.project-window {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr 0.85fr 0.85fr;
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  background: transparent;
  counter-reset: phase;
}

.project-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 10px;
  background: rgba(61, 50, 46, 0.1);
}

.project-window li {
  position: relative;
  min-height: 124px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 66px 20px 0 0;
  border-right: 0;
  counter-increment: phase;
}

.project-window li::before {
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(61, 50, 46, 0.16);
  background: #ffffff;
  color: rgba(61, 50, 46, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.project-window li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  z-index: 1;
  height: 10px;
  background: rgba(61, 50, 46, 0.1);
}

.project-window li.is-early::after {
  background: rgba(138, 163, 58, 0.34);
}

.project-window li.is-ideal::after {
  background: var(--orange);
}

.project-window li.is-ideal::before {
  border-color: var(--orange);
  background: var(--orange);
  color: #ffffff;
}

.project-window li.is-possible::after {
  background: rgba(168, 102, 44, 0.34);
}

.project-window li.is-late::after {
  background: rgba(61, 50, 46, 0.18);
}

.project-window span,
.project-window small {
  display: block;
}

.project-window span {
  color: var(--espresso);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.project-window small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  padding-top: 54px;
  background: transparent;
}

.process-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  border-top: 2px dashed rgba(168, 102, 44, 0.46);
}

.process-step {
  position: relative;
  min-height: 178px;
  padding: 24px 26px 0 0;
  background: transparent;
}

.process-step span {
  position: absolute;
  left: 0;
  top: -54px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 8px #ffffff;
}

.process-step h3 {
  max-width: 160px;
}

.process-step p {
  max-width: 185px;
  font-size: 15px;
  line-height: 1.42;
}

.hygge-section {
  background: #ececec;
}

.hygge-grid {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  align-items: center;
}

.hygge-image {
  margin: 0;
  overflow: hidden;
  background: #dcdcdc;
}

.hygge-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 28px;
}

.stats-grid article {
  min-height: 132px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.stats-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
}

.cta-section {
  position: relative;
  isolation: isolate;
  background: #121010;
  color: #ffffff;
  overflow: hidden;
}

.cta-section::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -230px;
  z-index: -1;
  width: 620px;
  height: 620px;
  background: url("assets/pinha-cream.png") center / contain no-repeat;
  opacity: 0.06;
}

.cta-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 560px);
  align-items: start;
}

.cta-section .section-kicker,
.cta-section h2,
.cta-section p,
.cta-section strong {
  color: #ffffff;
}

.cta-section p {
  opacity: 0.86;
}

.cta-section strong {
  display: block;
  margin-top: 18px;
  color: var(--sage);
  font-size: 24px;
  font-weight: 500;
}

.hygge-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.form-field,
.form-select {
  display: grid;
  gap: 8px;
}

.form-field input,
.form-select select {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--espresso);
  font: inherit;
  font-size: 16px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-select select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(175, 104, 37, 0.2);
}

.form-label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.form-select,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.form-status.is-ok {
  color: #d3dca7;
}

.form-status.is-erro {
  color: #f1c0aa;
}

.faq-grid {
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--espresso);
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--green);
  font-size: 25px;
  font-weight: 400;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 820px;
  margin: -6px 0 24px;
}

.site-footer {
  background: #1c1c1c;
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  padding: 5%;
  color: #ffffff;
}

.footer-brand img {
  width: 60%;
  max-width: 214px;
}

.footer-column h2,
.footer-copy h2,
.social-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.footer-contact a,
.footer-copy p {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.footer-copy {
  align-self: end;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

.legal-note {
  max-width: none;
  margin: -2% 5% 0;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1160px) {
  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  h1 {
    font-size: 46px;
  }

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

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

}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
    padding: 16px 20px;
  }

  .brand img {
    width: 154px;
  }

  .nav-toggle-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: max-height 0.25s ease;
  }

  .main-nav a {
    padding: 17px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a.active::after {
    display: none;
  }

  .nav-button {
    margin: 12px 20px 18px;
  }

  .nav-toggle:checked ~ .nav-toggle-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 760px;
  }

  .hero-section {
    min-height: auto;
    background-attachment: scroll;
  }

  .hero-grid,
  .client-row,
  .why-grid,
  .objectives-grid,
  .timing-grid,
  .hygge-grid,
  .cta-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 620px;
  }

  .hero-panel {
    max-width: none;
    justify-self: stretch;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero-panel span {
    min-height: 58px;
    justify-content: center;
    padding: 0 8px;
    font-size: 17px;
    text-align: center;
  }

  .cert-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .cert-mark {
    min-height: 130px;
  }

  .cert-mark-image img {
    width: 92px;
  }

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

  .cta-grid {
    gap: 34px;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 58px;
  }

  .process-grid::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    height: auto;
    border-top: 0;
    border-left: 2px dashed rgba(168, 102, 44, 0.46);
  }

  .process-step {
    min-height: 0;
    padding: 0 0 34px;
  }

  .process-step span {
    left: -58px;
    top: -4px;
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 8px #ffffff;
  }

  .process-step h3,
  .process-step p {
    max-width: none;
  }

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

  .footer-copy {
    text-align: left;
  }
}

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

  .container {
    width: calc(100vw - 48px);
    max-width: 360px;
    margin-left: 18px;
    margin-right: auto;
  }

  section {
    padding: 58px 0;
  }

  h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  h2 {
    font-size: 24px;
    line-height: 1.16;
  }

  h3 {
    font-size: 20px;
  }

  h1,
  h2,
  h3,
  p,
  span,
  a,
  button,
  summary {
    overflow-wrap: anywhere;
  }

  .hero-section {
    padding: 72px 0 58px;
    background-position: center top;
  }

  .why-grid {
    gap: 28px;
  }

  .why-copy h2 {
    font-size: 24px;
  }

  .hero-grid {
    min-height: auto;
    gap: 34px;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.52;
  }

  .hero-actions,
  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

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

  .hero-panel span {
    font-size: 16px;
  }

  .client-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    align-items: center;
  }

  .client-logo,
  .client-logo--tall {
    width: auto;
    max-width: 100%;
    max-height: 42px;
  }

  .value-map,
  .cert-card,
  .objective-buttons,
  .recommendation-grid,
  .stats-grid,
  .hygge-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-map article,
  .value-map article:nth-child(2n),
  .value-map article:nth-last-child(-n + 2) {
    min-height: auto;
    grid-template-columns: 38px 1fr;
    gap: 12px 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .value-map article:last-child {
    border-bottom: 0;
  }

  .value-map p {
    grid-column: 2;
  }

  .cert-card {
    min-height: auto;
    padding: 22px;
  }

  .cert-mark {
    width: 150px;
    min-height: 120px;
    justify-content: center;
  }

  .cert-mark-type {
    font-size: 24px;
  }

  .compare-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .project-window {
    grid-template-columns: 1fr;
    padding-left: 48px;
  }

  .project-window::before {
    left: 16px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 10px;
    height: auto;
  }

  .project-window li,
  .project-window li:nth-child(3) {
    min-height: 76px;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 0;
  }

  .project-window li::before {
    left: -48px;
    top: -6px;
  }

  .project-window li::after {
    left: -32px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 10px;
    height: auto;
  }

  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0 58px;
  }

  .process-grid::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    height: auto;
    border-top: 0;
    border-left: 2px dashed rgba(168, 102, 44, 0.46);
  }

  .process-step {
    min-height: 0;
    padding: 0 0 34px;
  }

  .process-step span {
    left: -58px;
    top: -4px;
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 8px #ffffff;
  }

  .process-step h3,
  .process-step p {
    max-width: none;
  }

  .hygge-image img {
    min-height: 300px;
  }

  .hygge-form {
    padding: 18px;
  }

  .footer-grid {
    gap: 34px;
    padding: 12% 5%;
  }

  .footer-brand img {
    width: 190px;
  }

  .legal-note {
    margin: 0 5%;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .main-nav,
  .nav-toggle,
  .nav-toggle-button {
    display: none;
  }

  section {
    break-inside: avoid;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
  .whatsapp-float:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* ---------------------------------------------------------------------
   Menu: as cinco certificacoes agrupadas dentro de "Certificacoes"

   Sem JavaScript. No desktop o submenu abre por :hover e por
   :focus-within, que e o que faz o menu funcionar tambem para quem
   navega por teclado.

   Limitacao assumida: Esc nao fecha o submenu, porque ouvir tecla
   exigiria script. Pela leitura conservadora do WCAG 2.1 SC 1.4.13 isso
   e falha no criterio "dispensavel"; as outras duas exigencias do
   criterio, poder passar o ponteiro por cima e permanecer visivel,
   estao atendidas.
   --------------------------------------------------------------------- */

/* Estica o menu inteiro ate a caixa de conteudo do cabecalho. Sem isto o
   menu fica centrado num header de altura minima e sobra mais que o
   padding embaixo, entao os 20px do submenu ficavam 1 a 3,5px curtos e
   ele nascia por dentro da faixa escura -- variando de pagina para
   pagina, porque a altura do menu muda com o tamanho do botao de CTA. */
.main-nav {
  align-self: stretch;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* Estica ate a altura da linha do menu. Com isso o submenu, ancorado
     em top:100%, fica sempre a mesma distancia da borda do cabecalho:
     o que resta e o padding do header, que nao muda quando o menu
     quebra em duas linhas. Com margem fixa, nas larguras em que o menu
     quebra o cabecalho crescia de 100px para 116px e o submenu nascia
     7px por dentro da faixa escura. */
  align-self: stretch;
}

/* Ponte invisivel sobre o vao entre o rotulo e o submenu: sem ela o
   ponteiro sai do :hover no meio do caminho e o submenu fecha antes de
   ser alcancado.

   Fica presa ao grupo, e nao ao submenu, de proposito: o submenu tem
   232px contra os ~141px do rotulo, e a ponte com a largura dele
   cobria o canto de baixo do "Quem Somos" e roubava o clique em toda a
   faixa de 981px a 1082px, onde o menu quebra em duas linhas. */
.nav-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 20px;
}

.nav-group-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* A seta vai no ::before porque o ::after ja desenha o sublinhado do
   item ativo. O order manda ela para depois do texto. */
.nav-group-label::before {
  content: "";
  order: 2;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-group:hover .nav-group-label::before,
.nav-group:focus-within .nav-group-label::before {
  transform: translateY(1px) rotate(-135deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 232px;
  margin-top: 20px;
  padding: 8px 0;
  background: rgba(0, 0, 0, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.main-nav .nav-submenu a {
  padding: 11px 20px;
  opacity: 0.92;
  white-space: nowrap;
}

.main-nav .nav-submenu a:hover,
.main-nav .nav-submenu a.active {
  color: #d29757;
  opacity: 1;
}

/* O sublinhado do item ativo pertence ao menu de cima; dentro do
   submenu ele apareceria cortando a lista no meio. */
.main-nav .nav-submenu a.active::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .nav-submenu,
  .nav-group-label::before {
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav-group {
    display: block;
    align-self: auto;
  }

  .nav-group::after {
    display: none;
  }

  /* Vira uma linha inteira do menu, como os demais itens. */
  .nav-group-label {
    display: flex;
  }

  .nav-group-label::before {
    display: none;
  }

  /* O submenu ja vem aberto dentro da sanfona que o checkbox controla.

     Os tres seletores precisam repetir a especificidade da regra de
     abertura do desktop, que e (0,3,0). Media query nao soma
     especificidade: so ".nav-submenu { transform: none }" perdia para
     ".nav-group:focus-within .nav-submenu", o translateX(-50%) do
     desktop continuava valendo aqui, e o bloco inteiro pulava meia
     largura para fora da tela assim que um item recebia foco -- o que
     no celular acontece ao simples toque. Com overflow-x escondido nao
     havia nem barra de rolagem: o texto sumia. */
  .nav-submenu,
  .nav-group:hover .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .main-nav .nav-submenu a {
    padding: 15px 24px 15px 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Aqui o sublinhado do rotulo ativo cairia por cima da primeira linha
     do submenu. */
  .main-nav .nav-group-label.active::after {
    display: none;
  }

  /* O menu ganhou cinco linhas; sem subir o teto as ultimas ficariam
     cortadas quando a sanfona abre. */
  .nav-toggle:checked ~ .main-nav {
    max-height: 900px;
  }
}

/* ---------- Seletor de idioma ----------
   Gerado por i18n/gerar_idiomas.py no fim do menu principal.
   Usa currentColor para herdar a cor do cabecalho de cada pagina. */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.lang-switch a {
  padding: 4px 7px;
  border-radius: 4px;
  color: currentColor;
  opacity: 0.62;
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  opacity: 1;
}

.lang-switch a.lang-atual {
  opacity: 1;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .lang-switch {
    margin: 14px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: center;
  }
}
