/* =========================================================
   WERTFLUSS — V2
   Editorial / 100vh / fluxo contínuo
   ========================================================= */

:root {
  --black: #000000;
  --carbon: #111111;
  --carbon-2: #1a1a1a;
  --green: #7EE62A;
  --white: #FFFFFF;
  --gray: #2a2a2a;
  --paper: #f3f3ef;

  --text-soft: rgba(255,255,255,.58);
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(0,0,0,.14);

  --header-h: 72px;
  --page-x: clamp(24px, 4.7vw, 80px);
  --max: 1560px;

  --display: "Inter Tight", "Inter", sans-serif;
  --body: "Inter", sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
}

/* =========================================================
   CONSENTIMENTO LGPD / COOKIES
   ========================================================= */

body.consent-open {
  overflow: hidden;
}

.consent-overlay[hidden],
.consent-preferences[hidden],
.consent-button[hidden] {
  display: none !important;
}

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(12px);
  animation: consent-fade .28s ease both;
}

.consent-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(126,230,42,.11), transparent 36%),
    var(--carbon-2);
  box-shadow: 0 30px 100px rgba(0,0,0,.62);
  animation: consent-rise .34s cubic-bezier(.2,.8,.2,1) both;
}

.consent-accent {
  position: absolute;
  top: 0;
  left: clamp(28px, 5vw, 54px);
  width: 88px;
  height: 4px;
  background: var(--green);
}

.consent-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.consent-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 70px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.consent-copy h2 span {
  color: var(--green);
}

.consent-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.65;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.consent-button {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.consent-button:hover {
  transform: translateY(-2px);
}

.consent-button:focus-visible,
.consent-switch:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.consent-button--primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: #000;
}

.consent-button--secondary {
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: var(--white);
}

.consent-button--secondary:hover {
  border-color: rgba(255,255,255,.6);
}

.consent-button--text {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.54);
}

.consent-save {
  width: 100%;
}

.consent-legal {
  margin: 18px 0 0;
  color: rgba(255,255,255,.38);
  font-size: 10px;
  line-height: 1.55;
}

.consent-legal a {
  color: rgba(255,255,255,.78);
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

.consent-preferences {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.09);
}

.consent-option {
  min-height: 72px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--carbon);
}

label.consent-option {
  cursor: pointer;
}

.consent-option div {
  display: grid;
  gap: 4px;
}

.consent-option strong {
  color: rgba(255,255,255,.9);
  font-size: 11px;
}

.consent-option span {
  color: rgba(255,255,255,.42);
  font-size: 9px;
  line-height: 1.4;
}

.consent-status {
  flex: none;
  color: var(--green) !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.consent-switch {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: #252525;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  transition: transform .2s ease, background-color .2s ease;
}

.consent-switch:checked {
  border-color: var(--green);
  background: var(--green);
}

.consent-switch:checked::after {
  background: #000;
  transform: translateX(18px);
}

@keyframes consent-fade {
  from { opacity: 0; }
}

@keyframes consent-rise {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
}

@media (max-width: 640px) {
  .consent-overlay {
    place-items: end center;
    padding: 10px;
  }

  .consent-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 30px 22px 24px;
    border-radius: 16px;
  }

  .consent-copy h2 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .consent-copy p {
    margin-top: 18px;
    font-size: 12px;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .consent-button {
    width: 100%;
  }

  .consent-option {
    min-height: 68px;
    padding: 13px 14px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .consent-overlay,
  .consent-dialog {
    animation: none;
  }
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  color: var(--black);
  background: var(--green);
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.20) 80%,
      transparent 100%
    );
}

.logo {
  width: 146px;
  justify-self: start;
}

.logo img {
  width: 100%;
}

.nav {
  display: flex;
  gap: 38px;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.66);
  margin-left: auto; 
  margin-right: 40px;
}

.nav a,
.footer-links a {
  transition: color .25s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  color: var(--white);

  transition:
    background .25s ease,
    color .25s ease,
    transform .3s var(--ease);
}

.header-cta:hover {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* =========================================================
   FLOW LAYER
   ========================================================= */

.flow-layer {
  position: fixed;
  z-index: 30;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  mix-blend-mode: screen;
  opacity: .52;
}

.flow-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  vector-effect: non-scaling-stroke;
  animation: dash-flow 15s linear infinite;
}

.flow-path--2 {
  opacity: .46;
  animation-duration: 21s;
  animation-direction: reverse;
}

.flow-path--3 {
  opacity: .25;
  animation-duration: 27s;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -400; }
}

/* =========================================================
   100VH SNAP SYSTEM
   ========================================================= */

.snap {
  width: 100%;
  max-width: 100%;
  height: 100svh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

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

.section {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-grid {
  position: relative;
  z-index: 10;
  width: min(100%, var(--max));
  height: 100%;
  margin: 0 auto;
  padding:
    calc(var(--header-h) + clamp(32px, 4.6vh, 58px))
    var(--page-x)
    clamp(30px, 4vh, 52px);
}

.section-grid > *,
.solution-line > *,
.process-list li > *,
.contact-channel > * {
  min-width: 0;
}

.section--hero,
.section--contact {
  background: var(--black);
}

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

.section--light {
  background: var(--paper);
  color: var(--black);
}

.section--green {
  background: var(--green);
  color: var(--black);
}

.section--cases {
  background: var(--black);
}

.section-mark {
  position: absolute;
  z-index: 2;
  right: -1vw;
  bottom: -5vh;
  font-family: var(--display);
  font-size: clamp(180px, 26vw, 420px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.09em;
  color: rgba(255,255,255,.025);
  user-select: none;
}

.section-mark--dark {
  color: rgba(0,0,0,.035);
}

/* =========================================================
   TYPOGRAPHY / SHARED
   ========================================================= */

.display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 8vw, 128px);
  line-height: .82;
  letter-spacing: -.05em;
  font-weight: 900;
  text-transform: uppercase;
}

.display span {
  color: var(--green);
}

.display em {
  font-style: normal;
  color: var(--green);
}

.display--dark {
  color: var(--black);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.56);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
}

.index {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
}

.index--dark {
  color: rgba(0,0,0,.4);
}

.side-label {
  grid-area: side;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 7px;

  color: rgba(255,255,255,.38);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.section--light .side-label,
.side-label--green {
  color: rgba(0,0,0,.45);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 750;
  line-height: 1;

  transition:
    transform .3s var(--ease),
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--green {
  color: var(--black);
  background: var(--green);
}

.button--line {
  border: 1px solid rgba(255,255,255,.20);
  color: var(--white);
  background: transparent;
}

.button--line:hover {
  border-color: rgba(255,255,255,.50);
}

.button--black {
  background: var(--black);
  color: var(--white);
}

.lead-dark {
  color: var(--black) !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em;
}

/* =========================================================
   01 / HERO
   ========================================================= */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: center;
}

.hero-main {
  align-self: center;
  max-width: 1030px;
}

.hero-main .display {
  margin-top: 24px;
  font-size: clamp(72px, 8.9vw, 146px);
}

.hero-bottom {
  margin-top: clamp(28px, 4vh, 46px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.hero-bottom p {
  max-width: 540px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.hero-side {
  align-self: stretch;
  padding: 8px 0 0 clamp(26px, 3vw, 46px);
  border-left: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-word {
  font-family: var(--display);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.065em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
}

.hero-word span {
  color: rgba(255,255,255,.18);
}

.hero-word strong {
  color: var(--green);
}

.hero-side-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,.32);
  font-size: 10px;
  line-height: 1.3;
}

/* =========================================================
   02 / POSITIONING
   ========================================================= */

.editorial-grid {
  display: grid;
  grid-template-columns: 120px minmax(0,1.15fr) minmax(320px,.85fr);
  grid-template-areas: "side title copy";
  gap: clamp(36px, 6vw, 94px);
  align-items: center;
}

.editorial-title {
  grid-area: title;
}

.editorial-title .display {
  font-size: clamp(58px, 6.7vw, 104px);
}

.editorial-copy {
  grid-area: copy;
  max-width: 600px;
}

.editorial-copy > p {
  margin: 0;
  color: rgba(0,0,0,.52);
  font-size: 16px;
  line-height: 1.55;
}

.editorial-copy > p + p {
  margin-top: 26px;
}

.keyword-row {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 20px;
  justify-content: space-between;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
}

/* =========================================================
   03 / FLOW
   ========================================================= */

.flow-section-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "side head"
    "side sequence";
  gap: 30px clamp(36px, 6vw, 94px);
  align-items: start;
}

.flow-head {
  grid-area: head;
  display: grid;
  grid-template-columns: 1fr minmax(300px,.55fr);
  gap: 54px;
  align-items: end;
}

.flow-head .display {
  font-size: clamp(58px, 6.7vw, 104px);
}

.flow-head > p {
  margin: 0 0 10px;
  max-width: 480px;
  color: rgba(255,255,255,.48);
  font-size: 16px;
  line-height: 1.55;
}

.flow-sequence {
  grid-area: sequence;
  align-self: end;

  display: grid;
  grid-template-columns: repeat(7,1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.flow-step {
  min-height: 240px;
  padding: 18px 16px 18px 0;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step > span {
  color: rgba(255,255,255,.30);
  font-size: 10px;
  font-weight: 700;
}

.flow-step strong {
  font-family: var(--display);
  font-size: clamp(16px, 1.55vw, 25px);
  line-height: .95;
  letter-spacing: -.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-end;
}

.flow-step--active {
  padding-left: 16px;
  background: var(--green);
  color: var(--black);
}

.flow-step--active > span {
  color: rgba(0,0,0,.45);
}

/* =========================================================
   04 / SOLUTIONS
   ========================================================= */

.solutions-grid {
  display: grid;
  grid-template-columns: 120px minmax(300px,.72fr) minmax(0,1.28fr);
  grid-template-areas: "side intro list";
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.solutions-title {
  grid-area: intro;
  align-self: center;
}

.solutions-title .display {
  font-size: clamp(54px, 5.7vw, 90px);
}

.solutions-title > p {
  margin: 28px 0 0;
  max-width: 440px;
  color: rgba(0,0,0,.48);
  font-size: 15px;
  line-height: 1.55;
}

.solutions-list {
  grid-area: list;
  border-top: 1px solid var(--line-light);
}

.solution-line {
  display: grid;
  grid-template-columns: 44px 1fr 1.15fr;
  gap: 20px;
  align-items: center;

  position: relative;
  overflow: hidden;
  min-height: 90px;
  border-bottom: 1px solid var(--line-light);

  color: inherit;
  text-decoration: none;
  cursor: pointer;

  transition:
    padding .3s var(--ease),
    background-color .3s ease;
}

.solution-line:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(126,230,42,.16), rgba(126,230,42,.85) 45%, var(--green));
}

.solution-line > span {
  font-size: 9px;
  font-weight: 800;
  color: rgba(0,0,0,.30);
  transition: color .3s ease;
}

.solution-line:hover > span {
  color: rgba(0,0,0,.5);
}

.solution-line h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 29px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--black);
}

.solution-line p,
.solution-cta {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.solution-line p {
  color: rgba(0,0,0,.42);
}

.solution-cta {
  display: none;
  font-weight: 750;
  color: var(--black);
}

.solution-cta i {
  font-style: normal;
}

.solution-line:hover p {
  display: none;
}

.solution-line:hover .solution-cta {
  display: block;
}

/* =========================================================
   05 / CASES
   ========================================================= */

.cases-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "side title"
    "side cases";
  gap: 24px clamp(36px, 6vw, 94px);
}

.cases-title {
  grid-area: title;
}

.cases-title .display {
  font-size: clamp(58px, 6.3vw, 100px);
}

.cases-intro {
  margin-top: 18px;
  max-width: 520px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.55;
}

.case-editorial {
  grid-area: cases;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
}

.case-piece {
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}

.case-image {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.case-image--green {
  background: var(--green);
}

.case-image--black {
  background:
    radial-gradient(circle at 50% 50%, rgba(126,230,42,.11), transparent 40%),
    var(--carbon-2);
  border: 1px solid rgba(255,255,255,.08);
}

.case-image--video {
  background: var(--carbon-2);
  border: 1px solid rgba(255,255,255,.08);
}

.case-image--print {
  background: var(--carbon-2);
  border: 1px solid rgba(255,255,255,.08);
}

.case-image--print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.case-piece--video-link {
  color: inherit;
}

.case-image--video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.52), transparent 34%, rgba(0,0,0,.08));
}

.case-image--video .case-label {
  z-index: 2;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0,0,0,.65);
}

.case-label {
  position: absolute;
  top: 20px;
  left: 20px;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(0,0,0,.52);
}

.case-image--black .case-label {
  color: rgba(255,255,255,.34);
}

.case-window {
  position: absolute;
  width: 70%;
  aspect-ratio: 1.35/1;
  left: 14%;
  bottom: -15%;
  background: var(--paper);
  border: 2px solid var(--black);
  border-radius: 14px 14px 0 0;
  transform: rotate(-4deg);
  box-shadow: 0 40px 100px rgba(0,0,0,.22);
}

.case-window-top {
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-window-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
}

.case-window-body {
  position: absolute;
  inset: 30px 0 0;
  display: grid;
  place-items: center;
}

.case-window-body strong {
  display: grid;
  place-items: center;
  width: 54%;
  aspect-ratio: 1;
  background: var(--black);
  color: var(--green);

  font-family: var(--display);
  font-size: clamp(80px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -.08em;
}

.case-arrow {
  position: absolute;
  right: 8%;
  bottom: 7%;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(100px, 14vw, 230px);
  line-height: .7;
  font-weight: 300;
}

.case-caption {
  padding-top: 16px;
}

.case-caption span {
  color: rgba(255,255,255,.35);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.case-caption h3 {
  margin: 8px 0 0;
  max-width: 690px;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.case-video--youtube {
  pointer-events: none;
  border: 0;
}

.case-carousel {
  grid-area: cases;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.case-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform .55s cubic-bezier(.65,0,.35,1);
  cursor: grab;
}

.case-carousel-track:active {
  cursor: grabbing;
}

.case-carousel .case-editorial.case-slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
}

.case-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
}

.case-carousel-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}

.case-carousel-arrow:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.32);
}

.case-carousel-arrow:active {
  transform: scale(.92);
}

.case-carousel-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.case-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.case-carousel-dot.is-active {
  background: var(--green);
  transform: scale(1.35);
}

/* =========================================================
   06 / PROCESS
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: 120px minmax(300px,.72fr) minmax(0,1.28fr);
  grid-template-areas: "side intro list";
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.process-title {
  grid-area: intro;
}

.process-title .display {
  font-size: clamp(54px, 5.8vw, 92px);
}

.process-title > p {
  margin: 28px 0 0;
  max-width: 440px;
  color: rgba(255,255,255,.44);
  font-size: 15px;
  line-height: 1.55;
}

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

.process-list li {
  min-height: 84px;
  display: grid;
  grid-template-columns: 46px 1fr 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);

  transition:
    padding .3s var(--ease),
    background .25s ease;
}

.process-list li:hover {
  padding-left: 12px;
  background: rgba(255,255,255,.025);
}

.process-list li > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.process-list strong {
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1;
  letter-spacing: -.04em;
}

.process-list p {
  margin: 0;
  color: rgba(255,255,255,.36);
  font-size: 12px;
}

/* =========================================================
   07 / ABOUT
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 120px minmax(0,1.05fr) minmax(300px,.55fr);
  grid-template-areas: "side title copy";
  gap: clamp(36px, 6vw, 94px);
  align-items: center;
}

.about-title {
  grid-area: title;
  position: relative;
  z-index: 3;
}

.about-title .display {
  font-size: clamp(56px, 6.5vw, 102px);
}

.about-title .display span {
  color: rgba(0,0,0,.30);
}

.about-copy {
  grid-area: copy;
  position: relative;
  z-index: 3;
  max-width: 540px;
}

.about-copy > p {
  margin: 0;
  color: rgba(0,0,0,.52);
  font-size: 15px;
  line-height: 1.55;
}

.about-copy > p + p {
  margin-top: 24px;
}

.about-copy .button {
  margin-top: 34px;
}

.about-visual {
  position: absolute;
  z-index: 1;
  right: -3vw;
  bottom: -16vh;
  opacity: .08;
}

.about-visual span {
  font-family: var(--display);
  font-size: min(72vw, 980px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.12em;
}

/* =========================================================
   08 / CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-areas:
    "side main"
    "footer footer";
  grid-template-rows: 1fr auto;
  gap: 30px clamp(36px, 6vw, 94px);
  align-items: center;
}

.contact-main {
  grid-area: main;
  max-width: 1180px;
}

.contact-main .display {
  margin-top: 24px;
  font-size: clamp(68px, 8.2vw, 132px);
}

.contact-link {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.22);

  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 600;

  transition:
    color .25s ease,
    border-color .25s ease;
}

.contact-link span {
  color: var(--green);
}

.contact-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* =========================================================
   09 / CONTACT CHANNELS — editorial list
   ========================================================= */

.contact-channels {
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
}

.contact-channel {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 0 0 0 0;
  border-bottom: 1px solid var(--line-dark);
  transition:
    padding .3s var(--ease),
    background .25s ease;
}

.contact-channel:hover {
  padding-left: 14px;
  background: rgba(255,255,255,.025);
}

.contact-channel:hover .contact-channel-arrow {
  color: var(--green);
  transform: translate(3px, -3px);
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(126,230,42,.10);
  color: var(--green);
  flex-shrink: 0;
  transition: background .25s ease;
}

.contact-channel:hover .contact-channel-icon {
  background: rgba(126,230,42,.18);
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-channel-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  color: rgba(255,255,255,.35);
  display: block;
  white-space: nowrap;
  grid-column: 2;
}

/* reflow label + value stacked */
.contact-channel {
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
}

.contact-channel-icon {
  grid-row: span 2;
}

.contact-channel-label {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.contact-channel-value {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1;
}

.contact-channel-arrow {
  grid-column: 3;
  grid-row: span 2;
  align-self: center;
  font-size: clamp(22px, 2vw, 32px);
  color: rgba(255,255,255,.25);
  transition:
    color .25s ease,
    transform .3s var(--ease);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  grid-area: footer;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);

  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 40px;
  align-items: end;
}

.footer img {
  width: 120px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,.38);
  font-size: 11px;
}

.footer-center strong {
  color: rgba(255,255,255,.72);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: rgba(255,255,255,.42);
  font-size: 11px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1120px) {
  :root {
    --page-x: clamp(22px, 4vw, 48px);
  }

  .editorial-grid,
  .solutions-grid,
  .process-grid,
  .about-grid {
    grid-template-columns: 86px minmax(0,1fr) minmax(280px,.72fr);
    gap: 34px;
  }

  .flow-section-grid,
  .cases-grid {
    grid-template-columns: 86px 1fr;
    gap: 28px 34px;
  }

  .solution-line,
  .process-list li {
    grid-template-columns: 38px 1fr;
  }

  .process-list p {
    display: none;
  }

  .solution-line {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    padding: 9px 0;
  }

  .solution-line > span {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 3px;
  }

  .solution-line h3 {
    grid-column: 2;
    grid-row: 1;
  }

  .solution-line p {
    display: block;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .header {
    grid-template-columns: 1fr auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .logo {
    width: 128px;
  }

  .nav {
    display: none;
  }

  .flow-layer {
    opacity: .33;
  }

  .section-grid {
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 26px;
  }

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

  .hero-side {
    display: none;
  }

  .hero-main .display {
    font-size: clamp(62px, 14.5vw, 102px);
  }

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

  .hero-actions {
    flex-wrap: wrap;
  }

  .editorial-grid,
  .solutions-grid,
  .process-grid,
  .about-grid,
  .flow-section-grid,
  .cases-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    min-width: 0;
    max-width: 100%;
  }

  .diag-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .display,
  .contact-channel-value {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .side-label {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .editorial-title,
  .editorial-copy,
  .flow-head,
  .flow-sequence,
  .solutions-title,
  .solutions-list,
  .cases-title,
  .case-editorial,
  .process-title,
  .process-list,
  .about-title,
  .about-copy,
  .contact-main,
  .diag-left,
  .diag-right,
  .footer {
    width: 100%;
  }

  .editorial-title .display,
  .flow-head .display,
  .solutions-title .display,
  .process-title .display,
  .about-title .display,
  .cases-title .display {
    font-size: clamp(48px, 10.4vw, 70px);
  }

  .editorial-copy {
    max-width: none;
  }

  .keyword-row {
    margin-top: 28px;
  }

  .flow-head {
    display: block;
  }

  .flow-head > p {
    margin-top: 20px;
  }

  .flow-sequence {
    grid-template-columns: repeat(7,1fr);
  }

  .flow-step {
    min-height: 160px;
  }

  .flow-step strong {
    font-size: 15px;
  }

  .solutions-title > p,
  .process-title > p,
  .cases-intro {
    display: none;
  }

  .solution-line {
    min-height: 0;
  }

  .case-editorial {
    min-height: 50vh;
  }

  .process-list li {
    min-height: 60px;
  }

  .about-visual {
    right: -20vw;
  }

  .contact-main .display {
    font-size: clamp(58px, 13vw, 88px);
  }

  .contact-grid {
    justify-content: center;
  }

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

  .footer-center {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-cta span {
    display: none;
  }

  .display {
    letter-spacing: -.06em;
  }

  .hero-main .display {
    font-size: clamp(56px, 15vw, 78px);
  }

  .hero-bottom {
    gap: 24px;
    margin-top: 28px;
  }

  .hero-bottom p {
    font-size: 15px;
  }

  .button {
    min-height: 44px;
  }

  .editorial-title .display,
  .flow-head .display,
  .solutions-title .display,
  .process-title .display,
  .about-title .display,
  .cases-title .display {
    font-size: clamp(43px, 11.5vw, 62px);
  }

  .lead-dark {
    font-size: 21px !important;
  }

  .editorial-copy > p {
    font-size: 14px;
  }

  .keyword-row {
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .flow-sequence {
    grid-template-columns: repeat(4,1fr);
    border-bottom: 0;
  }

  .flow-step {
    min-height: 90px;
    border-bottom: 1px solid var(--line-dark);
  }

  .flow-step strong {
    writing-mode: initial;
    transform: none;
    align-self: flex-start;
    font-size: 13px;
  }

  .flow-step--active {
    grid-column: span 2;
  }

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

  .solution-line {
    min-height: 0;
  }

  .solution-line h3 {
    font-size: 18px;
  }

  .solutions-grid {
    gap: 18px;
  }

  .solutions-title > p {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
  }

  .solution-line p {
    font-size: 9px;
  }

  .case-editorial {
    display: block;
    min-height: 52vh;
  }

  .case-piece--wide {
    display: none;
  }

  .case-piece--video-link {
    display: grid;
    height: 52vh;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .case-piece--video-link .case-image {
    min-height: 0;
  }

  .case-piece--video-link .case-caption {
    display: block;
  }

  .process-list li {
    min-height: 56px;
  }

  .process-list strong {
    font-size: 18px;
  }

  .about-copy > p {
    font-size: 14px;
  }

  .contact-main .display {
    font-size: clamp(50px, 13.5vw, 72px);
  }

  .contact-link {
    margin-top: 30px;
    font-size: 14px;
  }

  .footer-links {
    gap: 14px;
  }

  .contact-channel {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .contact-channel-value {
    font-size: 16px;
  }
}

/* Garantias finais: vídeo completo e descrições visíveis em telas menores */
.case-piece--video-link .case-image--video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.case-piece--video-link .case-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
}

@media (max-width: 860px) {
  .solutions-grid {
    justify-content: center;
    gap: 14px;
  }

  .solutions-title > p {
    display: block !important;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .solutions-list {
    display: block;
    width: 100%;
  }

  .solution-line {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 3px 10px;
    min-height: 0;
    padding: 8px 0;
  }

  .solution-line > span {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .solution-line h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 17px;
  }

  .solution-line p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: rgba(0,0,0,.58);
    font-size: 10px;
    line-height: 1.3;
  }

  .case-piece--video-link .case-image--video {
    width: 100%;
    height: 100%;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  :root {
    --header-h: 62px;
  }

  .section-grid {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 24px;
  }

  .hero-main .display {
    font-size: clamp(64px, 7.8vw, 116px);
  }

  .flow-step {
    min-height: 190px;
  }

  .solution-line {
    min-height: 72px;
  }

  .process-list li {
    min-height: 68px;
  }

  .case-editorial {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   CUSTOM CURSOR + FLOATING WHATSAPP
   ========================================================= */

#cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* =========================================================
   08 / DIAGNÓSTICO — FORM + MAP
   ========================================================= */

.diag-grid {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  grid-template-areas: "side left right";
  gap: clamp(16px, 2.4vw, 40px);
  align-items: stretch;
  overflow: hidden;
}

.diag-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
  min-height: 0;
}

.diag-title {
  margin-top: clamp(8px, 1.4vh, 18px);
  font-size: clamp(34px, 3.8vw, 62px) !important;
  line-height: .86;
}

.diag-desc {
  margin: clamp(10px, 1.2vh, 16px) 0 clamp(10px, 1.2vh, 18px);
  color: rgba(255,255,255,.52);
  font-size: 13px;
  line-height: 1.5;
  max-width: 420px;
}

.diag-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diag-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  transition: color .2s ease;
}

.diag-contact-item:hover {
  color: var(--green);
}

.diag-contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(126,230,42,.14);
  flex-shrink: 0;
  color: var(--green);
}

.diag-contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.diag-map {
  position: relative;
  flex: 1 1 0;
  min-height: 80px;
  max-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  margin-top: clamp(8px, 1.2vh, 14px);
}

.diag-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: invert(90%) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.9);
}

.diag-map-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,.72);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: color .2s ease;
}

.diag-map-label:hover {
  color: var(--green);
}

.diag-right {
  grid-area: right;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.diag-form-card {
  background: var(--carbon-2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 28px);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.diag-form-title {
  margin: 0 0 clamp(10px, 1.4vh, 18px);
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.diag-form {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1.1vh, 12px);
  flex: 1;
}

.diag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diag-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.diag-field label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.42);
}

.diag-field input,
.diag-field select,
.diag-field textarea {
  background: var(--carbon);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  padding: clamp(8px, 1.1vh, 11px) 14px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color .2s ease;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.diag-field input::placeholder,
.diag-field textarea::placeholder {
  color: rgba(255,255,255,.25);
}

.diag-field input:focus,
.diag-field select:focus,
.diag-field textarea:focus {
  border-color: var(--green);
}

.diag-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.4) 50%),
    linear-gradient(135deg, rgba(255,255,255,.4) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position:
    calc(100% - 18px) calc(50% - 1px),
    calc(100% - 12px) calc(50% - 1px);
  padding-right: 36px;
  color: rgba(255,255,255,.35);
}

.diag-field select option {
  background: var(--carbon);
  color: var(--white);
}

.diag-field textarea {
  min-height: clamp(42px, 6vh, 68px);
}

.diag-consents {
  display: grid;
  gap: 10px;
  margin: 2px 0 2px;
}

.diag-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.diag-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: var(--carbon);
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.diag-consent input::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(-45deg) translateY(-1px) scale(0);
  transition: transform .15s ease;
}

.diag-consent input:checked {
  background: var(--green);
  border-color: var(--green);
}

.diag-consent input:checked::after {
  transform: rotate(-45deg) translateY(-1px) scale(1);
}

.diag-consent input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.diag-consent a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 2px;
}

.diag-consent strong,
.diag-consent em {
  margin-left: 4px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.diag-consent strong {
  color: var(--green);
}

.diag-consent em {
  color: rgba(255,255,255,.36);
}

.diag-submit {
  width: 100%;
  margin-top: auto;
  font-size: 14px;
  font-weight: 800;
  min-height: clamp(44px, 6vh, 52px);
  border-radius: 10px;
  letter-spacing: .01em;
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 861px) and (max-height: 900px) {
  .diag-grid {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 16px;
    gap: clamp(14px, 2vw, 32px);
  }

  .diag-title {
    margin-top: 10px;
    font-size: clamp(32px, 3.8vw, 54px) !important;
  }

  .diag-desc {
    margin: 8px 0 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .diag-form-card {
    padding: 18px 22px;
  }

  .diag-form-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .diag-form {
    gap: 7px;
  }

  .diag-field {
    gap: 4px;
  }

  .diag-field label {
    font-size: 10px;
  }

  .diag-field input,
  .diag-field select,
  .diag-field textarea {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
  }

  .diag-field textarea {
    min-height: 48px;
  }

  .diag-consents {
    gap: 7px;
  }

  .diag-consent {
    font-size: 10.5px;
    line-height: 1.4;
  }

  .diag-submit {
    min-height: 44px;
    font-size: 13px;
  }
}

/* Desktop com pouca altura: mantém mapa e formulário inteiros em uma tela. */
@media (min-width: 861px) and (max-height: 720px) {
  .diag-grid {
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: 12px;
    gap: clamp(12px, 1.8vw, 26px);
  }

  .diag-title {
    margin-top: 6px;
    font-size: clamp(30px, 3.5vw, 46px) !important;
    line-height: .84;
  }

  .diag-desc {
    max-width: 440px;
    margin: 6px 0 6px;
    font-size: 12px;
    line-height: 1.4;
  }

  .diag-form-card {
    min-height: 0;
    padding: 14px 18px;
    border-radius: 14px;
  }

  .diag-form-title {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1;
  }

  .diag-form {
    min-height: 0;
    gap: 6px;
  }

  .diag-row {
    gap: 8px;
  }

  .diag-field {
    gap: 3px;
  }

  .diag-field label {
    font-size: 9px;
    line-height: 1.2;
  }

  .diag-field input,
  .diag-field select,
  .diag-field textarea {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
    line-height: 1.2;
  }

  .diag-field textarea {
    min-height: 40px;
    height: 40px;
  }

  .diag-field--message {
    flex: 1;
    min-height: 0;
  }

  .diag-field--message textarea {
    flex: 1;
    height: auto;
  }

  .diag-consents {
    gap: 6px;
  }

  .diag-consent {
    grid-template-columns: 16px 1fr;
    gap: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .diag-consent input {
    width: 15px;
    height: 15px;
    margin-top: 0;
  }

  .diag-consent strong,
  .diag-consent em {
    font-size: 8px;
  }

  .diag-submit {
    min-height: 40px;
    height: 40px;
    margin-top: 0;
    font-size: 13px;
  }
}

/* Em alturas extremas, a seção continua acessível sem esconder conteúdo. */
@media (min-width: 861px) and (max-height: 500px) {
  .section--contact#contato {
    overflow-y: auto;
  }

  .section--contact#contato .diag-grid {
    height: auto;
    min-height: 100%;
  }
}

/* =========================================================
   FLOATING WHATSAPP — circle icon
   ========================================================= */

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 2vw, 32px);
  bottom: clamp(18px, 2vw, 32px);
  z-index: 9998;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--black);
  border: none;
  box-shadow: 0 8px 32px rgba(126,230,42,.35), 0 4px 16px rgba(0,0,0,.30);
  transition:
    transform .28s var(--ease),
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

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

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 44px rgba(126,230,42,.45), 0 6px 20px rgba(0,0,0,.36);
}

.whatsapp-float.is-inverted {
  background: var(--black);
  color: var(--green);
  box-shadow: 0 8px 32px rgba(0,0,0,.40);
}

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  a,
  button,
  [role="button"] {
    cursor: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  #cursor-canvas {
    display: none;
  }
}

@media (max-width: 1120px) {
  .diag-grid {
    grid-template-columns: 86px 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .diag-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    overflow-y: auto;
  }

  .diag-left,
  .diag-right {
    width: 100%;
  }

  .diag-map {
    flex: none;
    width: 100%;
    height: 180px;
    min-height: 180px;
    margin-top: 10px;
    isolation: isolate;
  }

  .diag-left {
    flex: none;
    min-height: auto;
  }

  .diag-right {
    position: relative;
    z-index: 2;
    flex: none;
    height: auto;
  }

  .diag-form-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .diag-row {
    grid-template-columns: 1fr;
  }

  .diag-title {
    font-size: clamp(38px, 10vw, 56px) !important;
  }

  .contact-channel-value {
    font-size: 18px;
  }

  .contact-channel {
    min-height: 70px;
    gap: 14px;
  }
}
/* =========================================================
   REFINAMENTO DESKTOP — CASES E DIAGNÓSTICO
   Mais área útil, leitura confortável e sem compressão excessiva.
   ========================================================= */

@media (min-width: 1121px) {
  .cases-grid {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 46px);
    row-gap: 18px;
  }

  .cases-title .display {
    font-size: clamp(62px, 6.5vw, 100px);
  }

  .case-editorial {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    gap: clamp(18px, 2vw, 30px);
  }

  .case-caption {
    padding-top: 18px;
  }

  .case-caption span,
  .case-label {
    font-size: 10px;
  }

  .case-caption h3 {
    margin-top: 9px;
    font-size: clamp(20px, 1.65vw, 28px);
  }

  .diag-grid {
    grid-template-columns: 88px minmax(420px, 1fr) minmax(440px, 1fr);
    gap: clamp(22px, 2.6vw, 44px);
  }

  .diag-title {
    font-size: clamp(54px, 5.2vw, 82px) !important;
  }

  .diag-desc {
    max-width: 520px;
    font-size: 14px;
  }

  .diag-form-card {
    padding: clamp(24px, 2.2vw, 34px);
  }

  .diag-form-title {
    font-size: clamp(22px, 1.8vw, 28px);
  }

  .diag-field label {
    font-size: 10px;
  }

  .diag-field input,
  .diag-field select,
  .diag-field textarea {
    min-height: 44px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .diag-field textarea {
    min-height: 84px;
  }

  .diag-consent {
    grid-template-columns: 18px 1fr;
    gap: 10px;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .diag-consent input {
    width: 17px;
    height: 17px;
  }

  .diag-consent strong,
  .diag-consent em {
    font-size: 8px;
  }

  .diag-submit {
    min-height: 50px;
    height: auto;
    font-size: 14px;
  }
}

/* Diagnóstico cabe integralmente na mesma tela em notebooks e janelas baixas. */
@media (min-width: 1121px) and (max-height: 720px) {
  .section--contact#contato {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
  }

  .section--contact#contato .diag-grid {
    height: 100%;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 14px;
    gap: clamp(20px, 2.2vw, 32px);
  }

  .section--contact#contato .diag-title {
    margin-top: 8px;
    font-size: clamp(42px, 4.2vw, 58px) !important;
    line-height: .8;
  }

  .section--contact#contato .diag-desc {
    max-width: 500px;
    margin: 7px 0 8px;
    font-size: 12px;
    line-height: 1.4;
  }

  .section--contact#contato .diag-map {
    min-height: 0;
    margin-top: 6px;
  }

  .section--contact#contato .diag-form-card {
    min-height: 0;
    height: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    overflow-y: auto;
  }

  .section--contact#contato .diag-form-title {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1;
  }

  .section--contact#contato .diag-form {
    min-height: 0;
    gap: 9px;
  }

  .section--contact#contato .diag-row {
    gap: 10px;
  }

  .section--contact#contato .diag-field {
    gap: 4px;
  }

  .section--contact#contato .diag-field label {
    font-size: 8.5px;
    line-height: 1.2;
  }

  .section--contact#contato .diag-field input,
  .section--contact#contato .diag-field select,
  .section--contact#contato .diag-field textarea {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12.5px;
    line-height: 1.2;
  }

  .section--contact#contato .diag-field--message {
    flex: initial;
  }

  .section--contact#contato .diag-field--message textarea,
  .section--contact#contato .diag-field textarea {
    height: 50px;
    min-height: 50px;
  }

  .section--contact#contato .diag-consents {
    gap: 10px;
    margin: 4px 0 2px;
  }

  .section--contact#contato .diag-consent {
    grid-template-columns: 16px 1fr;
    gap: 9px;
    font-size: 10px;
    line-height: 1.5;
  }

  .section--contact#contato .diag-consent input {
    width: 15px;
    height: 15px;
    margin-top: 1px;
  }

  .section--contact#contato .diag-consent strong,
  .section--contact#contato .diag-consent em {
    margin-left: 5px;
    font-size: 8px;
  }

  .section--contact#contato .diag-submit {
    min-height: 44px;
    height: 44px;
    margin-top: auto;
    font-size: 13px;
  }
}

/* Cases permanece exatamente dentro da tela, inclusive em notebooks baixos. */
@media (min-width: 1121px) and (max-height: 720px) {
  .section--cases {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }

  .section--cases .cases-grid {
    height: 100%;
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: 18px;
    row-gap: 10px;
  }

  .section--cases .cases-title .display {
    font-size: clamp(56px, 6vw, 82px);
    line-height: .82;
  }

  .section--cases .case-editorial,
  .section--cases .case-piece,
  .section--cases .case-image {
    min-height: 0;
  }

  .section--cases .case-editorial {
    height: 100%;
  }

  .section--cases .case-piece {
    overflow: hidden;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .section--cases .case-caption {
    padding-top: 10px;
  }

  .section--cases .case-caption span,
  .section--cases .case-label {
    font-size: 8px;
  }

  .section--cases .case-caption h3 {
    margin-top: 5px;
    font-size: 17px;
    line-height: 1.18;
  }

  .section--cases .case-image--video {
    display: grid;
    place-items: center;
    background: #000;
  }

  .section--cases .case-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center center;
  }
}
