/* ==========================================================================
   Geist auto-hospedada (licença OFL) — substitui o Google Fonts (Track 2)
   ========================================================================== */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geistmono-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geistmono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Reset — equivalente ao preflight do Tailwind v4 (o site original o usava
   apenas para normalizacao; nenhuma classe utilitaria era aplicada no markup)
   ========================================================================== */
*,
::before,
::after,
::backdrop {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button, input, optgroup, select, textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
}
button, select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}
button:not(:disabled),
[role="button"] {
  cursor: pointer;
}
:-moz-focusring {
  outline: auto;
}
progress {
  vertical-align: baseline;
}
ol, ul, menu {
  list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentColor 50%, transparent);
}
[hidden] {
  display: none;
}

/* Fontes (Next carregava Geist/Geist Mono via next/font; aqui via Google Fonts) */
:root {
  --font-geist: "Geist";
  --font-mono: "Geist Mono";
}

:root {
  --ink: #13231f;
  --muted: #5d6d68;
  --paper: #f8f7f2;
  --white: #ffffff;
  --line: #d9e2de;
  --green-950: #082d27;
  --green-900: #0a3b32;
  --green-800: #0e4a3e;
  --green-700: #11614e;
  --green-100: #dcece5;
  --green-50: #edf5f1;
  --red: #c6172c;
  --red-dark: #9f1021;
  --red-soft: #f6e2e5;
  --shadow: 0 24px 70px rgba(8, 45, 39, 0.13);

  /* ---- Tokens semanticos (Fase 0 do merge) ----
     Por enquanto sao apelidos das cores atuais, entao o visual NAO muda.
     Componentes novos usam estes tokens; no tema escuro (Fase 6) basta
     sobrescreve-los aqui e migrar o CSS legado. */
  --bg: var(--paper);
  --surface: var(--white);
  --surface-2: var(--green-50);
  --panel-dark: var(--green-950);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --accent: var(--green-700);
  --accent-strong: var(--green-900);
  --accent-contrast: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist), Arial, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #fff;
  background: var(--green-700);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 118px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(217, 226, 222, 0.8);
  background: rgba(248, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}

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

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

.brand img {
  width: 100%;
  height: auto;
}

.brand--compact {
  width: 160px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #324640;
  font-size: 0.93rem;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--green-700);
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  padding: 0 26px;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  background: var(--green-800);
  box-shadow: 0 13px 30px rgba(14, 74, 62, 0.2);
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  border-radius: 6px;
  outline: 3px solid #ef9eaa;
  outline-offset: 4px;
}

.button--small {
  min-height: 46px;
  padding-inline: 21px;
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--green-950);
}

.button--light:hover {
  border-color: var(--green-50);
  background: var(--green-50);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.button--outline-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--green-950);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--paper);
}

.hero-wash {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 65vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 97, 78, 0.14), rgba(237, 245, 241, 0) 69%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 58px;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

.hero-copy {
  padding-bottom: 86px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(198, 23, 44, 0.09);
}

.hero h1,
.section-heading h2,
.manifesto h2,
.standards h2,
.atendexpress h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(3.6rem, 6.15vw, 6.1rem);
  font-weight: 590;
  letter-spacing: -0.073em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--red);
}

.hero-copy > p {
  max-width: 670px;
  margin: 32px 0 36px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-size: 0.93rem;
  font-weight: 700;
}

.text-link:hover span {
  transform: translateY(3px);
}

.text-link span {
  transition: transform 200ms ease;
}

.hero-proof {
  display: grid;
  max-width: 650px;
  padding-top: 38px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.hero-proof > div {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.hero-proof > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--green-800);
  font-size: 1.1rem;
  font-weight: 760;
}

.hero-proof span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 690px;
}

.hero-image-frame {
  position: absolute;
  inset: 0 0 0 7%;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  background: var(--green-100);
  box-shadow: var(--shadow);
}

.hero-image-frame img {
  position: absolute;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 45, 39, 0) 60%, rgba(8, 45, 39, 0.16));
  content: "";
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(8, 45, 39, 0.15);
  backdrop-filter: blur(14px);
}

.floating-card--top {
  top: 19%;
  left: -2%;
  flex-direction: column;
  padding: 18px 21px;
  border-radius: 16px;
}

.floating-card--top strong {
  font-size: 0.95rem;
}

.micro-label {
  margin-bottom: 5px;
  color: var(--green-700);
  font-family: var(--font-mono), monospace;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card--bottom {
  right: -3%;
  bottom: 8%;
  align-items: center;
  gap: 13px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
}

.floating-card--bottom > span:last-child {
  display: flex;
  flex-direction: column;
}

.floating-card--bottom strong {
  font-size: 0.84rem;
}

.floating-card--bottom small {
  color: var(--muted);
  font-size: 0.71rem;
}

.score-ring {
  display: grid;
  width: 48px;
  height: 48px;
  border: 4px solid #55a98d;
  border-radius: 50%;
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 800;
  place-items: center;
}

.hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 26px;
}

.hero-rating-avatars {
  display: flex;
  align-items: center;
}

.hero-rating-avatars span {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  border: 2px solid var(--bg);
  border-radius: 50%;
}

.hero-rating-avatars span:first-child {
  margin-left: 0;
}

.hero-rating-avatars span:nth-child(1) {
  background: #d98c87;
}

.hero-rating-avatars span:nth-child(2) {
  background: #5fb89a;
}

.hero-rating-avatars span:nth-child(3) {
  background: #e6b45a;
}

.hero-rating-avatars b {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  margin-left: -10px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  font-weight: 700;
  place-items: center;
}

.hero-rating-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-rating-stars {
  color: #e0a500;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.hero-rating-text > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 560;
}

.hero-rating-text:hover > span:last-child {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.specialty-rail {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.specialty-track {
  display: flex;
  width: max-content;
  animation: rail 36s linear infinite;
}

.specialty-track span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 21px 18px;
  color: #566c64;
  font-size: 0.85rem;
  font-weight: 660;
  white-space: nowrap;
}

.specialty-track i {
  color: var(--red);
  font-style: normal;
}

@keyframes rail {
  to {
    transform: translateX(-50%);
  }
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #9ed7c1;
}

.manifesto-grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  grid-template-columns: 1fr minmax(320px, 440px);
  align-items: center;
}

.manifesto-visual {
  align-self: stretch;
}

.manifesto-frame {
  display: grid;
  min-height: 380px;
  height: 100%;
  place-items: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--green-50), var(--green-100));
  color: var(--accent-strong);
}

.manifesto-frame:has(img) {
  padding: 0;
  border: 0;
  background: none;
}

.manifesto-frame img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.manifesto-frame-icon {
  width: 40px;
  height: 40px;
  opacity: 0.65;
}

.manifesto-frame span {
  font-size: 0.9rem;
  font-weight: 650;
}

.manifesto-frame small {
  font-family: var(--font-mono), monospace;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.manifesto h2 {
  max-width: 930px;
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
}

.manifesto h2 em {
  color: var(--green-700);
  font-style: normal;
}

.lead {
  max-width: 750px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
}

.trust-grid {
  display: grid;
  gap: 0;
  margin-top: 90px;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid article {
  padding: 38px 42px 42px 0;
}

.trust-grid article + article {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.trust-grid span,
.method-grid span {
  color: var(--red);
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
}

.trust-grid h3,
.method-grid h3 {
  margin: 35px 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.trust-grid p,
.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.trust-grid .trust-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--accent);
}

.trust-grid .trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-grid h3 {
  margin-top: 18px;
}

.services-preview {
  background: var(--white);
}

.section-heading {
  max-width: 950px;
  margin-bottom: 64px;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.section-heading--split {
  display: grid;
  max-width: none;
  align-items: end;
  gap: 80px;
  grid-template-columns: 1fr 340px;
}

.section-heading--split > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.service-row {
  display: grid;
  min-height: 190px;
  align-items: center;
  gap: 34px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 60px minmax(0, 1fr) 215px 36px;
  transition: background 220ms ease, padding 220ms ease;
}

.service-row:hover {
  padding-inline: 20px;
  background: var(--green-50);
}

.service-number {
  align-self: start;
  padding-top: 7px;
  color: var(--red);
  font-family: var(--font-mono), monospace;
  font-size: 0.74rem;
}

.service-row h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  font-weight: 610;
  letter-spacing: -0.045em;
}

.service-row p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.service-meta {
  color: var(--green-700);
  font-family: var(--font-mono), monospace;
  font-size: 0.69rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.service-arrow {
  font-size: 1.45rem;
  transition: transform 200ms ease;
}

.service-row:hover .service-arrow {
  transform: translate(4px, -4px);
}

.section-link {
  display: flex;
  justify-content: flex-end;
  padding-top: 34px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
}

.arrow-link span:last-child {
  transition: transform 200ms ease;
}

.arrow-link:hover span:last-child {
  transform: translate(4px, -4px);
}

.arrow-link--light {
  border-color: #fff;
  color: #fff;
}

.standards {
  overflow: hidden;
  background: var(--green-950);
  color: #fff;
}

.standards-grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: 0.9fr 1.1fr;
}

.standards-copy h2 {
  max-width: 590px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.standards-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0 36px;
  color: #bed2cb;
  font-size: 1.04rem;
  line-height: 1.75;
}

.standards-dashboard {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(17, 97, 78, 0.46), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.score-panel,
.standard-cards > div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(5, 34, 29, 0.58);
}

.score-panel {
  padding: 30px;
}

.score-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 16px 0 28px;
}

.score-value strong {
  font-size: 5.8rem;
  font-weight: 570;
  letter-spacing: -0.08em;
  line-height: 1;
}

.score-value span {
  color: #8ed0b6;
  font-family: var(--font-mono), monospace;
}

.score-bars {
  display: grid;
  gap: 8px;
}

.score-bars i {
  height: 4px;
  border-radius: 99px;
  background: #67c6a1;
}

.score-panel small,
.standard-cards small {
  display: block;
  margin-top: 18px;
  color: #a6bdb5;
  font-size: 0.73rem;
}

.standard-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.standard-cards > div {
  padding: 24px;
}

.standard-cards span {
  display: block;
  margin-bottom: 22px;
  color: #89b7a5;
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.standard-cards strong {
  display: block;
  font-size: 1.35rem;
}

.atendexpress {
  background: var(--green-50);
}

.atendexpress-grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: 1fr 0.9fr;
}

.product-demo {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: 74px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(150deg, #0b4337, #11614e);
  place-items: center;
}

.product-demo::before,
.product-demo::after {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.product-demo::before {
  top: -180px;
  right: -80px;
}

.product-demo::after {
  bottom: -220px;
  left: -60px;
}

.product-window {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  min-height: 470px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  background: #f7f8f5;
  box-shadow: 0 40px 80px rgba(3, 27, 22, 0.34);
  transform: rotate(-2.5deg);
}

.product-window-head {
  display: grid;
  align-items: center;
  padding: 7px 6px 18px;
  border-bottom: 1px solid #dfe5e2;
  color: var(--ink);
  grid-template-columns: 42px 1fr auto;
}

.product-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 750;
  place-items: center;
}

.product-window-head strong,
.product-window-head span {
  display: block;
}

.product-window-head strong {
  font-size: 0.83rem;
}

.product-window-head div span {
  color: var(--muted);
  font-size: 0.66rem;
}

.product-window-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #43a97d;
}

.chat-bubble {
  position: relative;
  max-width: 81%;
  padding: 13px 15px 24px;
  margin-top: 24px;
  border-radius: 16px;
  color: #334640;
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-bubble time {
  position: absolute;
  right: 12px;
  bottom: 7px;
  color: #7d8d87;
  font-size: 0.56rem;
}

.chat-bubble--patient {
  margin-left: auto;
  background: #dff3e8;
  border-bottom-right-radius: 4px;
}

.chat-bubble--agent {
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 8px 25px rgba(8, 45, 39, 0.08);
}

.booking-toast {
  position: absolute;
  right: -50px;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 280px;
  padding: 15px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(8, 45, 39, 0.18);
}

.booking-toast > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 850;
  place-items: center;
}

.booking-toast strong,
.booking-toast small {
  display: block;
}

.booking-toast strong {
  font-size: 0.71rem;
}

.booking-toast small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.62rem;
}

.atendexpress-copy h2 {
  margin-top: 22px;
  font-size: clamp(2.8rem, 4.5vw, 4.6rem);
}

.product-pill {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 99px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 760;
}

.atendexpress-copy > p:not(.eyebrow) {
  margin: 27px 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.atendexpress-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
}

.atendexpress-copy li {
  color: #3f534c;
  font-size: 0.93rem;
}

.atendexpress-copy li span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 850;
  place-items: center;
}

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

.method-grid {
  display: grid;
  border-block: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.method-grid article {
  min-height: 340px;
  padding: 34px;
}

.method-grid article:first-child {
  padding-left: 0;
}

.method-grid article + article {
  border-left: 1px solid var(--line);
}

.method-grid h3 {
  margin-top: 80px;
  font-size: 1.55rem;
}

.selected-work {
  background: #f2f0e9;
}

.selected-work .section-heading--split {
  grid-template-columns: 1fr auto;
}

.work-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.35fr 0.65fr;
}

.work-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.work-visual {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.work-card--large .work-visual {
  min-height: 560px;
}

.work-visual--atend {
  display: grid;
  background: linear-gradient(150deg, #0a3b32, #16745e);
  place-items: center;
}

.browser-mock {
  width: 78%;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: #f9faf7;
  box-shadow: 0 35px 70px rgba(3, 27, 22, 0.35);
  transform: rotate(-4deg);
}

.browser-dots {
  margin-bottom: 60px;
  color: #bcc8c3;
  font-size: 0.65rem;
  letter-spacing: 5px;
}

.browser-mock > strong {
  color: var(--red);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.browser-mock h3 {
  max-width: 420px;
  margin: 18px 0 32px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.browser-mock > span {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 99px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.71rem;
  font-weight: 750;
}

.browser-shot {
  width: 86%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 35px 70px rgba(3, 27, 22, 0.35);
}

.browser-shot .browser-dots {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #e7ece9;
  color: #c3cdc8;
  font-size: 0.6rem;
  letter-spacing: 4px;
}

.browser-screen {
  overflow: hidden;
}

.browser-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.work-visual--portal {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  background: var(--red);
  color: #fff;
}

.portal-line {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.work-visual--portal > strong {
  max-width: 340px;
  font-size: 2.65rem;
  font-weight: 570;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.portal-cards {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.portal-cards i {
  width: 33%;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.work-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
}

.work-caption span {
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-caption h3 {
  margin: 8px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.work-caption p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.final-cta {
  background: var(--paper);
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  padding: 100px;
  border-radius: 36px;
  background: var(--green-950);
  color: #fff;
}

.final-cta-card h2 {
  position: relative;
  max-width: 920px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
}

.final-cta-card > p:not(.eyebrow) {
  position: relative;
  max-width: 620px;
  margin: 28px 0 36px;
  color: #bad0c8;
  font-size: 1.04rem;
  line-height: 1.75;
}

.final-cta-card .button {
  position: relative;
}

.final-cta-orbit {
  position: absolute;
  right: -130px;
  bottom: -300px;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.final-cta-orbit::before,
.final-cta-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.final-cta-orbit::before {
  inset: 90px;
}

.final-cta-orbit::after {
  inset: 180px;
  background: rgba(198, 23, 44, 0.28);
}

.site-footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top {
  display: grid;
  gap: 90px;
  grid-template-columns: 1fr 1fr;
}

.footer-top > div:first-child p {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

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

.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav strong {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #3c514a;
  font-size: 0.85rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 65px;
  border-top: 1px solid var(--line);
  color: #7b8984;
  font-size: 0.73rem;
}

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

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

  .hero h1 {
    font-size: clamp(3.4rem, 6.8vw, 5.5rem);
  }

  .hero-visual {
    min-height: 590px;
  }

  .standards-grid,
  .atendexpress-grid {
    gap: 55px;
  }
}

/* Hero cabe na primeira dobra (desktop): menu no topo → barra de
   especialidades encostada na base do navegador, sem rolar. */
@media (min-width: 901px) {
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 5.5vw, 5.4rem);
  }
  .hero-grid {
    min-height: calc(100svh - 148px); /* 100vh − header (~85) − rail (~63) */
    align-content: center;
    padding-block: 8px;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero-visual {
    min-height: 0;
    align-self: stretch;
  }
  /* Compacta o texto para caber sem rolar */
  .hero-kicker {
    margin-bottom: 20px;
  }
  .hero-copy > p {
    margin: 20px 0 24px;
  }
  .hero-proof {
    padding-top: 22px;
    margin-top: 22px;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: grid;
    width: 48px;
    height: 48px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 7px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-950);
    transition: transform 180ms ease;
  }

  .mobile-menu[open] summary span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .mobile-menu[open] summary span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-menu summary {
    position: relative;
    z-index: 60;
  }

  /* Fundo borrado atrás do drawer */
  .mobile-menu::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(8, 45, 39, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-menu[open]::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer que desliza da direita */
  .mobile-menu-panel {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 50;
    width: min(330px, 84vw);
    padding: 96px 26px 34px;
    border-left: 1px solid var(--line);
    background: var(--paper);
    box-shadow: -24px 0 60px rgba(8, 45, 39, 0.18);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .mobile-menu[open] .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-panel nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-menu-panel a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    font-weight: 680;
  }

  /* CTA verde com ícone */
  .mobile-menu-panel a.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding: 16px 20px;
    border: 0;
    border-radius: 14px;
    background: var(--green-700);
    color: #fff;
  }

  .mobile-menu-panel a.mobile-cta:hover {
    background: var(--green-800);
  }

  .mobile-menu-panel a.mobile-cta svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 66px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 690px;
  }

  .manifesto-grid,
  .standards-grid,
  .atendexpress-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-grid {
    gap: 26px;
  }

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

  .trust-grid article,
  .trust-grid article + article {
    padding: 32px 0;
    border-left: 0;
  }

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

  .section-heading--split {
    align-items: start;
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .section-heading--split > p {
    max-width: 570px;
  }

  .service-row {
    grid-template-columns: 50px minmax(0, 1fr) 32px;
  }

  .service-meta {
    display: none;
  }

  .standards-dashboard {
    padding: 28px;
  }

  .atendexpress-grid {
    gap: 65px;
  }

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

  .method-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .method-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .work-card:not(.work-card--large) .work-visual {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 32px, 1240px);
  }

  .section {
    padding-block: 82px;
  }

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

  .brand {
    width: 145px;
  }

  .mobile-menu-panel {
    top: 74px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.3rem);
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof > div + div {
    padding-left: 18px;
  }

  .hero-proof > div:nth-child(3) {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 510px;
  }

  .hero-image-frame {
    left: 0;
    border-radius: 170px 170px 22px 22px;
  }

  .floating-card--top {
    top: 10%;
    left: -1%;
  }

  .floating-card--bottom {
    right: -1%;
    bottom: 5%;
  }

  .manifesto h2,
  .section-heading h2,
  .standards h2,
  .atendexpress h2,
  .final-cta h2 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .lead {
    font-size: 1rem;
  }

  .trust-grid {
    margin-top: 58px;
  }

  .service-row {
    min-height: 0;
    align-items: start;
    gap: 12px;
    padding: 26px 0;
    grid-template-columns: 32px 1fr;
  }

  .service-arrow {
    display: none;
  }

  .service-row h3 {
    font-size: 1.45rem;
  }

  .section-link {
    justify-content: flex-start;
  }

  .standards-grid {
    gap: 54px;
  }

  .standards-dashboard {
    padding: 18px;
    border-radius: 24px;
  }

  .score-value strong {
    font-size: 4.2rem;
  }

  .standard-cards {
    grid-template-columns: 1fr;
  }

  .product-demo {
    min-height: 520px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .product-window {
    transform: rotate(-1deg);
  }

  .booking-toast {
    right: -10px;
    width: 245px;
  }

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

  .method-grid article,
  .method-grid article:first-child {
    min-height: auto;
    padding: 28px 0 34px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-grid article:first-child {
    border-top: 0;
  }

  .method-grid h3 {
    margin-top: 34px;
  }

  .selected-work .section-heading--split {
    grid-template-columns: 1fr;
  }

  .work-card--large .work-visual,
  .work-card:not(.work-card--large) .work-visual {
    min-height: 410px;
  }

  .browser-mock {
    width: 88%;
    padding: 25px;
  }

  .browser-dots {
    margin-bottom: 40px;
  }

  .work-visual--portal {
    padding: 32px;
  }

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

  .final-cta-card {
    padding: 56px 26px;
    border-radius: 26px;
  }

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

  .footer-nav {
    gap: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* INNER PAGES */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 122px 0 105px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.inner-hero-wash {
  position: absolute;
  top: -220px;
  right: -150px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 97, 78, 0.14), rgba(237, 245, 241, 0) 68%);
  pointer-events: none;
}

.inner-hero-grid {
  position: relative;
  display: grid;
  align-items: end;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) 350px;
}

.inner-hero--image .inner-hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
}

.inner-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.7rem, 7vw, 7.1rem);
  font-weight: 580;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.inner-hero h1 span {
  color: var(--red);
}

.inner-hero-grid > div:first-child > p:last-child {
  max-width: 750px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.72;
}

.inner-hero-index {
  display: grid;
  gap: 0;
  align-self: end;
  border-top: 1px solid var(--line);
}

.inner-hero-index span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #51655e;
  font-size: 0.75rem;
  font-weight: 680;
}

.inner-hero-index span::after {
  color: var(--red);
  content: "↗";
}

.inner-hero-image {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  background: var(--green-100);
  box-shadow: var(--shadow);
}

.inner-hero-image img {
  position: absolute;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-section {
  padding-block: 112px;
}

.catalog-intro {
  display: grid;
  align-items: start;
  gap: 26px 70px;
  margin-bottom: 70px;
  grid-template-columns: 180px minmax(0, 1fr) 360px;
}

.catalog-intro h2,
.engineering h2,
.product-callout h2,
.story h2,
.for-who h2,
.division h2,
.contact-section h2,
.portfolio-feature h2,
.confidentiality h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4.7vw, 4.9rem);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.catalog-intro > p:last-child {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.catalog-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.catalog-card {
  min-height: 450px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  transition: background 200ms ease, transform 200ms ease;
}

.catalog-card:hover {
  position: relative;
  z-index: 2;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 45, 39, 0.1);
  transform: translateY(-5px);
}

.catalog-card > span {
  color: var(--red);
  font-family: var(--font-mono), monospace;
  font-size: 0.72rem;
}

.catalog-card h3 {
  margin: 65px 0 16px;
  font-size: 1.8rem;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.catalog-card > p {
  min-height: 106px;
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.67;
}

.catalog-card ul {
  display: grid;
  gap: 9px;
  padding: 26px 0 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.catalog-card li {
  color: #435851;
  font-size: 0.78rem;
}

.catalog-card li::before {
  margin-right: 8px;
  color: var(--green-700);
  content: "—";
}

.catalog-card--flagship {
  position: relative;
  background: var(--green-50);
}

.catalog-card .catalog-flag {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-mono), monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-callout-ui .browser-shot {
  width: 100%;
}

.engineering {
  background: var(--green-950);
  color: #fff;
}

.engineering-grid {
  display: grid;
  gap: 105px;
  grid-template-columns: 0.85fr 1.15fr;
}

.engineering-grid > div:first-child {
  position: sticky;
  top: 130px;
  align-self: start;
}

.engineering-grid > div:first-child > p:last-child {
  max-width: 560px;
  margin: 28px 0 0;
  color: #b7cec5;
  line-height: 1.75;
}

.engineering-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.engineering-list article {
  display: grid;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 92px 1fr;
}

.engineering-list article > strong {
  color: #82c9ac;
  font-family: var(--font-mono), monospace;
  font-size: 1rem;
}

.engineering-list h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.engineering-list p {
  margin: 0;
  color: #9fb9af;
  font-size: 0.88rem;
  line-height: 1.65;
}

.product-callout {
  background: var(--green-50);
}

.product-callout-card {
  display: grid;
  align-items: center;
  gap: 85px;
  padding: 80px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(8, 45, 39, 0.1);
  grid-template-columns: 1fr 0.78fr;
}

.product-callout-card > div:first-child > p:not(.eyebrow) {
  max-width: 640px;
  margin: 26px 0 34px;
  color: var(--muted);
  line-height: 1.75;
}

.product-callout-ui {
  display: flex;
  min-height: 450px;
  justify-content: center;
  flex-direction: column;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(150deg, #0a3b32, #16745e);
}

.product-callout-ui > span {
  margin-bottom: 40px;
  color: #a8d5c3;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-callout-ui > div {
  max-width: 82%;
  padding: 15px 17px;
  margin-bottom: 13px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8rem;
  box-shadow: 0 12px 28px rgba(3, 27, 22, 0.18);
}

.product-callout-ui > div:nth-of-type(2) {
  align-self: flex-end;
  background: #dff3e8;
}

.product-callout-ui i {
  align-self: center;
  padding: 8px 12px;
  margin-top: 25px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #c9e1d8;
  font-size: 0.63rem;
  font-style: normal;
}

.cross-link {
  background: var(--white);
}

.cross-link-card {
  display: grid;
  align-items: center;
  gap: 42px;
  padding-block: 36px;
  border-block: 1px solid var(--line);
  grid-template-columns: 220px 1fr auto;
}

.cross-link-card > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cross-link-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 590;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.story {
  background: #fff;
}

.story-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 190px 1fr;
}

.story-grid > div {
  max-width: 910px;
}

.story-grid > div > p {
  max-width: 750px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.principles {
  background: var(--paper);
}

.principles-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.principles-grid article {
  min-height: 310px;
  padding: 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles-grid span {
  color: var(--red);
  font-family: var(--font-mono), monospace;
  font-size: 0.7rem;
}

.principles-grid h3 {
  margin: 22px 0 12px;
  font-size: 1.6rem;
  letter-spacing: -0.045em;
}

.principles-grid .principle-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 20px;
  color: var(--accent);
}

.principles-grid .principle-icon svg {
  width: 100%;
  height: 100%;
}

.principles-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.for-who {
  background: var(--green-950);
  color: #fff;
}

.for-who-grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: 0.85fr 1.15fr;
}

.audience-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.audience-cloud span {
  padding: 13px 19px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: #d7e9e2;
  font-size: 0.82rem;
}

.audience-cloud span:nth-child(3n) {
  background: rgba(126, 199, 171, 0.13);
  color: #a9ddc9;
}

.division {
  background: #fff;
}

.division-card {
  display: grid;
  align-items: center;
  gap: 90px;
  padding: 70px;
  border-radius: 32px;
  background: #f2f0e9;
  grid-template-columns: 300px 1fr;
}

.division-mark {
  display: grid;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 4.2rem;
  font-weight: 680;
  letter-spacing: -0.08em;
  place-items: center;
}

.division-card > div:last-child > p:not(.eyebrow) {
  max-width: 670px;
  margin: 25px 0;
  color: var(--muted);
  line-height: 1.75;
}

.division-card a {
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 750;
}

.plans {
  background: #fff;
}

.plans-grid {
  display: grid;
  align-items: stretch;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.plan-card {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
}

.plan-card--featured {
  border-color: var(--green-950);
  background: var(--green-950);
  color: #fff;
  box-shadow: 0 28px 80px rgba(8, 45, 39, 0.2);
  transform: translateY(-18px);
}

.plan-label {
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 99px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.plan-card--featured .plan-label {
  background: rgba(255, 255, 255, 0.1);
  color: #a8dbc7;
}

.plan-card h2 {
  margin: 55px 0 18px;
  font-size: 2.1rem;
  letter-spacing: -0.055em;
}

.plan-card > p {
  min-height: 110px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.plan-card--featured > p {
  color: #b9d0c7;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  padding: 28px 0;
  margin: 28px 0 36px;
  border-block: 1px solid var(--line);
  list-style: none;
}

.plan-card--featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}

.plan-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #41564f;
  font-size: 0.84rem;
}

.plan-card--featured li {
  color: #d4e5df;
}

.plan-card li span {
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.63rem;
  place-items: center;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.plans-note {
  display: grid;
  gap: 30px;
  padding: 40px 0 0;
  grid-template-columns: 290px 1fr;
}

.plans-note strong {
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plans-note p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.comparison {
  background: var(--green-50);
}

.comparison-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.comparison-grid article {
  min-height: 190px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.comparison-grid h3 {
  margin: 0 0 20px;
  font-size: 1.15rem;
}

.comparison-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.68;
}

.plan-faq {
  background: #fff;
}

.plan-faq-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.72fr 1.28fr;
}

.plan-faq h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  font-weight: 580;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

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

.plan-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.plan-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  cursor: pointer;
  font-weight: 690;
  list-style: none;
}

.plan-faq summary::-webkit-details-marker {
  display: none;
}

.plan-faq summary::after {
  color: var(--green-700);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}

.plan-faq details[open] summary::after {
  content: "−";
}

.plan-faq details p {
  max-width: 680px;
  padding: 0 40px 26px 0;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-feature {
  background: #fff;
}

.portfolio-feature-grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: 1fr 0.85fr;
}

.portfolio-product-ui {
  min-height: 650px;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(150deg, #0a3b32, #16745e);
  color: #fff;
  box-shadow: var(--shadow);
}

.portfolio-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-ui-head strong {
  font-size: 1rem;
}

.portfolio-ui-head span {
  padding: 7px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  color: #b7decf;
  font-size: 0.65rem;
}

.portfolio-ui-body {
  display: grid;
  gap: 16px;
  padding-top: 50px;
  grid-template-columns: 1fr 1fr;
}

.portfolio-ui-body > span {
  color: #9bcbb9;
  font-size: 0.7rem;
  grid-column: 1 / -1;
}

.portfolio-ui-body > div {
  display: flex;
  min-height: 175px;
  justify-content: flex-end;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.portfolio-ui-body strong {
  font-size: 3.2rem;
  font-weight: 570;
  letter-spacing: -0.07em;
}

.portfolio-ui-body small {
  color: #b7cfc6;
}

.portfolio-ui-body .portfolio-message {
  min-height: 145px;
  justify-content: center;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.portfolio-lead {
  margin: 25px 0 36px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.portfolio-feature dl {
  margin: 0 0 35px;
}

.portfolio-feature dl > div {
  display: grid;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 90px 1fr;
}

.portfolio-feature dl > div:last-child {
  border-bottom: 1px solid var(--line);
}

.portfolio-feature dt {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-feature dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.portfolio-collection {
  background: #f2f0e9;
}

.portfolio-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 38px;
  border-radius: 25px;
}

.portfolio-card > span {
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  max-width: 320px;
  margin: 56px 0 16px;
  font-size: 2.2rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.portfolio-card > p {
  max-width: 330px;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.portfolio-card--green {
  background: var(--green-900);
  color: #fff;
}

.portfolio-card--green > span {
  color: #9fd2be;
}

.portfolio-card--green > p {
  color: #bbd0c8;
}

.portfolio-card--red {
  background: var(--red);
  color: #fff;
}

.portfolio-card--red > span,
.portfolio-card--red > p {
  color: #f8d7dc;
}

.portfolio-card--paper {
  border: 1px solid var(--line);
  background: #fff;
}

.portfolio-card--paper > span {
  color: var(--red);
}

.portfolio-card--paper > p {
  color: var(--muted);
}

.portfolio-card-screen {
  position: absolute;
  right: 35px;
  bottom: -30px;
  left: 35px;
  display: grid;
  gap: 12px;
  padding: 25px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  grid-template-columns: 1.5fr 1fr;
}

.portfolio-card-screen i {
  height: 100px;
  border-radius: 9px;
  background: var(--green-100);
}

.portfolio-card-screen i:first-child {
  height: 175px;
  grid-row: 1 / 3;
}

.portfolio-card-screen i:last-child {
  background: var(--red-soft);
}

.portfolio-type {
  position: absolute;
  right: 38px;
  bottom: 55px;
  left: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 5rem;
  font-weight: 580;
  letter-spacing: -0.09em;
}

.portfolio-type span {
  max-width: 130px;
  padding-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
}

.portfolio-data {
  position: absolute;
  right: 38px;
  bottom: 45px;
  left: 38px;
  display: grid;
  gap: 10px;
}

.portfolio-data strong {
  padding: 22px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 1.5rem;
  font-weight: 570;
  letter-spacing: -0.04em;
}

.confidentiality {
  background: #fff;
}

.confidentiality-grid {
  display: grid;
  align-items: end;
  gap: 100px;
  grid-template-columns: 1fr 0.55fr;
}

.confidentiality-grid > p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: 100px;
  grid-template-columns: 0.7fr 1.3fr;
}

.contact-grid aside {
  position: sticky;
  top: 125px;
}

.contact-section aside > ol {
  padding: 25px 0 0;
  margin: 34px 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-section aside li {
  display: grid;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 35px 1fr;
}

.contact-section aside li > span {
  color: var(--red);
  font-family: var(--font-mono), monospace;
  font-size: 0.66rem;
}

.contact-section aside li strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.contact-section aside li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-mini-card {
  padding: 26px;
  border-radius: 18px;
  background: var(--green-50);
}

.contact-mini-card strong {
  font-size: 0.92rem;
}

.contact-mini-card p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-mini-card a {
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 750;
}

.contact-form-wrap {
  padding: 55px;
  border-radius: 28px;
  background: var(--paper);
}

.form-step {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-wrap > h2 {
  max-width: 640px;
  margin: 20px 0 42px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.contact-form {
  display: grid;
  gap: 22px;
}

.field-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #344943;
  font-size: 0.75rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdad6;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 450;
  padding: 15px 16px;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(17, 97, 78, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #91a09b;
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--green-700);
}

.contact-form .button {
  justify-self: start;
}

.form-note {
  margin: 0;
  color: #778883;
  font-size: 0.7rem;
  line-height: 1.55;
}

@media (max-width: 950px) {
  .inner-hero-grid,
  .inner-hero--image .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero-index {
    max-width: 500px;
  }

  .inner-hero-image {
    min-height: 620px;
  }

  .catalog-intro {
    grid-template-columns: 1fr;
  }

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

  .engineering-grid,
  .product-callout-card,
  .for-who-grid,
  .portfolio-feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .engineering-grid > div:first-child,
  .contact-grid aside {
    position: static;
  }

  .cross-link-card {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .story-grid {
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .division-card {
    grid-template-columns: 220px 1fr;
  }

  .division-mark {
    width: 200px;
    height: 200px;
  }

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

  .plan-card {
    min-height: 0;
  }

  .plan-card--featured {
    transform: none;
  }

  .plan-card > p {
    min-height: 0;
  }

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

  .plan-faq-grid,
  .confidentiality-grid {
    grid-template-columns: 1fr;
  }

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

  .portfolio-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .inner-hero {
    padding: 80px 0 72px;
  }

  .inner-hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.4rem);
  }

  .inner-hero-grid > div:first-child > p:last-child {
    font-size: 1rem;
  }

  .inner-hero-image {
    min-height: 470px;
    border-radius: 160px 160px 22px 22px;
  }

  .inner-section {
    padding-block: 80px;
  }

  .catalog-intro h2,
  .engineering h2,
  .product-callout h2,
  .story h2,
  .for-who h2,
  .division h2,
  .contact-section h2,
  .portfolio-feature h2,
  .confidentiality h2 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .catalog-grid,
  .principles-grid,
  .comparison-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    min-height: 0;
    padding: 30px;
  }

  .catalog-card h3 {
    margin-top: 42px;
  }

  .catalog-card > p {
    min-height: 0;
  }

  .engineering-grid {
    gap: 58px;
  }

  .engineering-list article {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .product-callout-card {
    gap: 55px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .product-callout-ui {
    min-height: 410px;
    padding: 24px;
  }

  .principles-grid article {
    min-height: 270px;
    padding: 30px;
  }

  .for-who-grid {
    gap: 55px;
  }

  .audience-cloud {
    justify-content: flex-start;
  }

  .division-card {
    gap: 44px;
    padding: 38px 24px;
    grid-template-columns: 1fr;
  }

  .division-mark {
    width: 140px;
    height: 140px;
    font-size: 3rem;
  }

  .plan-card {
    padding: 30px 24px;
  }

  .plans-note {
    grid-template-columns: 1fr;
  }

  .comparison-grid article {
    min-height: 165px;
  }

  .portfolio-product-ui {
    min-height: 560px;
    padding: 24px;
  }

  .portfolio-ui-body {
    grid-template-columns: 1fr;
  }

  .portfolio-ui-body .portfolio-message {
    grid-column: auto;
  }

  .portfolio-card,
  .portfolio-card:last-child {
    min-height: 510px;
    padding: 30px;
    grid-column: auto;
  }

  .contact-form-wrap {
    padding: 34px 22px;
  }

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

  .contact-form .button {
    justify-self: stretch;
  }
}

/* ==========================================================================
   Calculadora de ROI — merge Fase 1
   ========================================================================== */
.roi-calc {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.roi-intro h2 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 590;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.roi-intro h2 span {
  color: var(--red);
}

.roi-intro > p {
  max-width: 480px;
  margin: 22px 0 34px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.roi-controls {
  display: grid;
  gap: 26px;
}

.roi-field {
  display: grid;
  gap: 12px;
}

.roi-field-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 560;
}

.roi-field-top strong {
  color: var(--accent-strong);
  font-family: var(--font-mono), monospace;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--fill, 50%),
    var(--border) var(--fill, 50%),
    var(--border) 100%
  );
  cursor: pointer;
  outline-offset: 4px;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 4px 12px rgba(8, 45, 39, 0.25);
  cursor: pointer;
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 4px 12px rgba(8, 45, 39, 0.25);
  cursor: pointer;
}

.roi-slider:focus-visible {
  outline: 2px solid var(--accent);
}

.roi-result-card {
  padding: clamp(30px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: var(--panel-dark);
  color: #eaf3ef;
  box-shadow: var(--shadow);
}

.roi-result-card .micro-label {
  color: #8ed0b6;
}

.roi-amount {
  display: block;
  margin: 14px 0 6px;
  font-family: var(--font-mono), monospace;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
}

.roi-monthly {
  margin: 0;
  color: #a6bdb5;
  font-size: 0.95rem;
}

.roi-monthly span {
  color: #c9e3d8;
  font-family: var(--font-mono), monospace;
}

.roi-note {
  margin: 24px 0 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a6bdb5;
  font-size: 0.86rem;
  line-height: 1.55;
}

.roi-result-card .button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roi-amount,
  .roi-monthly span {
    transition: none;
  }
}

/* ==========================================================================
   Chat interativo do Atendente IA — merge Fase 2
   ========================================================================== */
.chat-log {
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  margin-top: 24px;
  padding: 15px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(8, 45, 39, 0.08);
}

.chat-typing[hidden] {
  display: none;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9bb3aa;
  animation: aurora-dot 1s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aurora-dot {
  0%, 60%, 100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.chat-bubble.is-new {
  animation: aurora-in 0.35s ease both;
}

.booking-toast.is-new {
  animation: aurora-in 0.4s ease both;
}

@keyframes aurora-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 560;
}

.chat-hint[hidden] {
  display: none;
}

.chat-hint-icon {
  display: inline-block;
  animation: chat-hint-bob 1.4s ease-in-out infinite;
}

@keyframes chat-hint-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 6px;
}

.chat-quick button {
  padding: 9px 14px;
  border: 1px solid var(--green-100);
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.chat-quick button:hover {
  border-color: var(--green-800);
  background: var(--green-50);
}

.chat-quick button:active {
  transform: translateY(1px);
}

.chat-quick-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}

@media (prefers-reduced-motion: reduce) {
  .chat-typing span,
  .chat-bubble.is-new,
  .booking-toast.is-new,
  .chat-hint-icon {
    animation: none;
  }
}

/* ==========================================================================
   Sucesso do formulário de contato — merge Fase 5
   ========================================================================== */
.contact-form button[disabled] {
  opacity: 0.6;
  cursor: default;
}

.form-success {
  display: grid;
  gap: 14px;
  padding: 34px 0;
  animation: aurora-in 0.4s ease both;
}

.form-success-check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 1.6rem;
  font-weight: 700;
}

.form-success h3 {
  font-size: 1.6rem;
  font-weight: 590;
  letter-spacing: -0.03em;
}

.form-success p {
  max-width: 460px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-success .button {
  justify-self: start;
  margin-top: 8px;
}

/* ==========================================================================
   Tema escuro (Fase 6) — bloco PURAMENTE ADITIVO.
   O tema claro nao e alterado: apenas sobrescrevemos variaveis-base e as
   poucas superficies/textos hardcoded sob :root[data-theme="dark"].
   ========================================================================== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8f1ec;
  --muted: #9fb4ac;
  --paper: #0a1613;
  --white: #10201b;
  --line: #26372f;
  --green-50: #0f1f1a;
  --green-100: #17322b;
  --red: #ff5c6e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --surface-2: #0e1c18;
  --accent: #46c39c;
  --accent-strong: #74d6b6;
}

/* Superficies elevadas (eram brancas) → surface escura */
:root[data-theme="dark"] .floating-card,
:root[data-theme="dark"] .product-window,
:root[data-theme="dark"] .chat-bubble--agent,
:root[data-theme="dark"] .booking-toast,
:root[data-theme="dark"] .work-card,
:root[data-theme="dark"] .browser-mock,
:root[data-theme="dark"] .catalog-card:hover,
:root[data-theme="dark"] .product-callout-card,
:root[data-theme="dark"] .product-callout-ui > div,
:root[data-theme="dark"] .division-card,
:root[data-theme="dark"] .portfolio-card--paper,
:root[data-theme="dark"] .portfolio-card-screen,
:root[data-theme="dark"] .portfolio-ui-body .portfolio-message,
:root[data-theme="dark"] .chat-typing,
:root[data-theme="dark"] .chat-quick button,
:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form textarea {
  background: var(--white);
}

/* Superficies translucidas (eram branco translucido sobre claro) */
:root[data-theme="dark"] .specialty-rail,
:root[data-theme="dark"] .catalog-card,
:root[data-theme="dark"] .comparison-grid article {
  background: rgba(255, 255, 255, 0.03);
}

/* Tints verdes (bolhas de paciente) */
:root[data-theme="dark"] .chat-bubble--patient,
:root[data-theme="dark"] .product-callout-ui > div:nth-of-type(2) {
  background: #16302a;
}

/* Faixas de secao claras → tons escuros (mantem o leve "banding") */
:root[data-theme="dark"] .story,
:root[data-theme="dark"] .division,
:root[data-theme="dark"] .plans,
:root[data-theme="dark"] .plan-faq,
:root[data-theme="dark"] .portfolio-feature,
:root[data-theme="dark"] .confidentiality,
:root[data-theme="dark"] .contact-section {
  background: #0d1a16;
}
:root[data-theme="dark"] .selected-work,
:root[data-theme="dark"] .portfolio-collection {
  background: #0c1713;
}

/* Header e bordas hardcoded */
:root[data-theme="dark"] .site-header {
  background: rgba(10, 22, 19, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .product-window-head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Textos escuros hardcoded (em superficies claras) → claros */
:root[data-theme="dark"] .desktop-nav a,
:root[data-theme="dark"] .chat-bubble,
:root[data-theme="dark"] .footer-nav a,
:root[data-theme="dark"] .inner-hero-index span,
:root[data-theme="dark"] .contact-form label {
  color: var(--ink);
}
:root[data-theme="dark"] .specialty-track span,
:root[data-theme="dark"] .atendexpress-copy li,
:root[data-theme="dark"] .catalog-card li,
:root[data-theme="dark"] .plan-card li {
  color: var(--muted);
}

/* Botao de alternancia de tema */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--green-100);
  background: var(--green-50);
}

.theme-toggle .theme-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-toggle .theme-icon--sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .theme-icon--moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .theme-icon--sun {
  display: block;
}

/* ==========================================================================
   Seletor de idioma (Fase 7)
   ========================================================================== */
.lang-select {
  position: relative;
  flex: 0 0 auto;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-current:hover {
  border-color: var(--green-100);
  background: var(--green-50);
}

.lang-caret {
  width: 13px;
  height: 13px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 2px;
  min-width: 158px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 60;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  text-align: left;
  transition: background 0.15s ease;
}

.lang-menu button:hover {
  background: var(--green-50);
}

/* ==========================================================================
   Checks das listas → ícone Lucide via mask (Track 3) — sem editar os <li>
   ========================================================================== */
.plan-card li span,
.atendexpress-copy li span {
  font-size: 0;
}

.plan-card li span::after,
.atendexpress-copy li span::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--green-800);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

