:root {
  --bg: #f0f2f0;
  --surface: #ffffff;
  --ink: #090a09;
  --muted: #5d615d;
  --line: #d2d6d2;
  --coffee: #2b2118;
  --espresso: #050605;
  --red: #5f645f;
  --red-dark: #303330;
  --silver: #d3d7d3;
  --silver-dark: #777c77;
  --graphite: #181a18;
  --graphite-soft: #393d39;
  --paper: #f7f8f7;
  --shadow: 0 24px 70px rgba(9, 10, 9, 0.18);
  --radius: 8px;
  --content: min(1160px, calc(100vw - 40px));
  --scroll-progress: 0;
  --hero-x: 0;
  --hero-y: 0;
  --hero-scroll: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, "Avenir Next", Arial, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

:where(a, button, summary):focus-visible {
  outline: 3px solid rgba(119, 124, 119, 0.78);
  outline-offset: 4px;
}

#topo,
#orcamento,
#beneficios,
#servicos,
#experiencia,
#eventos,
#faq {
  scroll-margin-top: 86px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(116deg, transparent 0 13%, rgba(255, 255, 255, 0.055) 13% 19%, transparent 19% 72%, rgba(152, 158, 152, 0.1) 72% 82%, transparent 82%),
    rgba(7, 8, 7, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: padding 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header::after {
  position: absolute;
  right: 6%;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #f4f5f4, var(--silver-dark), #3a3e3a);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

body.is-scrolled .site-header {
  padding-top: 10px;
  padding-bottom: 10px;
  background:
    linear-gradient(116deg, transparent 0 13%, rgba(255, 255, 255, 0.05) 13% 19%, transparent 19% 72%, rgba(152, 158, 152, 0.08) 72% 82%, transparent 82%),
    rgba(7, 8, 7, 0.98);
  box-shadow: 0 16px 38px rgba(5, 6, 5, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(208px, 19vw, 258px);
  height: clamp(50px, 5vw, 60px);
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--espresso);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 22px rgba(16, 16, 15, 0.18);
  font-size: 0;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  inset: 4px;
  content: "";
}

.brand-mark::before {
  background:
    linear-gradient(112deg, transparent 0 8%, #6f7069 8% 27%, transparent 27% 38%, #2e2f2c 38% 55%, transparent 55% 65%, #8a8b82 65% 84%, transparent 84%);
  transform: skewX(-5deg);
}

.brand-mark::after {
  inset: 8px 11px 7px;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.9) 36% 48%, transparent 48% 100%);
  opacity: 0.78;
}

.brand-word {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-word strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.brand-word small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.footer-link:hover {
  color: #ffffff;
}

.main-nav a {
  position: relative;
}

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

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

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--surface);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-icon-link:hover {
  border-color: var(--surface);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.header-icon-link svg,
.footer-contact-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-icon-link .icon-dot,
.footer-contact-link .icon-dot {
  fill: currentColor;
  stroke: none;
}

.header-cta {
  padding: 0 16px;
  background: #f5f6f5;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.header-cta:hover,
.button:hover,
.icon-button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(48, 51, 48, 0.28);
}

.section-panel {
  width: var(--content);
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 92px));
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 32px;
  padding-top: 54px;
  padding-bottom: 48px;
  perspective: 1200px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.9;
  font-family: HelveticaNeue-UltraLight, HelveticaNeue-Thin, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  letter-spacing: 0.015em;
}

h1 span {
  display: block;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.94;
  font-family: HelveticaNeue-UltraLight, HelveticaNeue-Thin, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  letter-spacing: 0.015em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1;
  font-family: HelveticaNeue-UltraLight, HelveticaNeue-Thin, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  letter-spacing: 0.015em;
}

.title-initial {
  display: inline-block;
  margin-right: -0.025em;
  font-family: HelveticaNeue-Medium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.055em;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy {
  min-width: 0;
}

.hero-text {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

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

.hero-cases-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--silver-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.button {
  padding: 0 22px;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, #777c77, var(--red-dark));
  color: var(--surface);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-product {
  position: relative;
  min-width: 0;
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  transform: translate3d(
    calc(var(--hero-x) * -0.25px),
    calc((var(--hero-y) * -0.2px) + (var(--hero-scroll) * -0.025px)),
    0
  );
  transition: transform 160ms ease-out;
  will-change: transform;
}

.hero-product::before {
  position: absolute;
  inset: 7% 4% 6%;
  content: "";
  background:
    linear-gradient(118deg, #080908 0 18%, #3c403c 18% 34%, #171917 34% 51%, #757a75 51% 60%, #242724 60% 76%, #090a09 76% 100%);
  border-radius: 8px;
  transform: skewY(-4deg);
  box-shadow: var(--shadow);
  animation: panel-glow 5.8s ease-in-out infinite;
}

.hero-product::after {
  position: absolute;
  inset: 15% 9% 14%;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 10%, rgba(211, 215, 211, 0.17) 10% 24%, transparent 24% 38%, rgba(255, 255, 255, 0.07) 38% 52%, transparent 52% 64%, rgba(211, 215, 211, 0.14) 64% 78%, transparent 78%);
  border-radius: var(--radius);
  opacity: 0.74;
  pointer-events: none;
  transform: skewY(-4deg);
}

.product-stage {
  position: absolute;
  top: 46px;
  bottom: 108px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 60%;
  min-height: 0;
  margin: 0;
  padding-top: 42px;
  filter: drop-shadow(0 36px 32px rgba(0, 0, 0, 0.32));
  transform: translate3d(
    calc(var(--hero-x) * 0.45px),
    calc((var(--hero-y) * 0.35px) + (var(--hero-scroll) * -0.04px)),
    0
  ) rotateX(calc(var(--hero-y) * -0.035deg)) rotateY(calc(var(--hero-x) * 0.035deg));
  transition: transform 120ms ease-out;
  will-change: transform;
}

.product-stage-primary {
  left: -1%;
  z-index: 4;
}

.product-stage-secondary {
  right: 6%;
  z-index: 3;
  filter: drop-shadow(0 36px 32px rgba(0, 0, 0, 0.32));
}

.product-stage figcaption {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  padding: 8px 12px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.product-stage-secondary figcaption {
  top: 0;
}

.product-stage figcaption.product-logo-badge {
  display: grid;
  width: 142px;
  min-height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-stage figcaption .product-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  animation: none;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.72));
  will-change: auto;
}

.product-stage figcaption .product-brand-logo-nespresso {
  width: auto;
  height: 32px;
  max-height: 32px;
}

.product-stage figcaption .product-brand-logo-tres {
  width: auto;
  height: 27px;
  max-height: 27px;
}

.product-stage.image-error {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.product-stage.image-error::after {
  padding: 12px 16px;
  background: var(--surface);
  color: var(--red-dark);
  border-radius: var(--radius);
  content: "Imagem da cafeteira indisponível";
  font-weight: 900;
}

.product-stage img {
  width: auto;
  max-width: none;
  height: 420px;
  max-height: 420px;
  object-fit: contain;
  animation: product-float 5.2s ease-in-out infinite;
  will-change: transform;
}

.product-stage-secondary img {
  height: 420px;
  max-height: 420px;
  animation-delay: 520ms;
}

.hero-specs {
  position: absolute;
  z-index: 4;
  right: 5%;
  bottom: 22px;
  left: 5%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(22, 19, 15, 0.16);
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 800;
  transform: translate3d(calc(var(--hero-x) * -0.28px), calc(var(--hero-y) * -0.18px), 0);
  transition: transform 160ms ease-out;
}

.hero-specs span {
  display: grid;
  min-height: 56px;
  place-items: center;
  padding: 12px 14px;
  text-align: center;
}

.hero-specs span + span {
  border-left: 1px solid var(--line);
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  padding: 34px 20px;
  background:
    linear-gradient(112deg, rgba(211, 215, 211, 0.08) 0 15%, transparent 15% 34%, rgba(119, 124, 119, 0.18) 34% 48%, transparent 48%),
    var(--ink);
  color: var(--surface);
  text-align: center;
}

.intro-strip p {
  width: min(980px, 100%);
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.social-proof {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.social-proof-inner {
  display: grid;
  width: var(--content);
  min-height: 126px;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2fr);
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.social-proof-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brand-marquee-track,
.brand-marquee-set {
  display: flex;
  align-items: center;
}

.brand-marquee-track {
  width: max-content;
  animation: brand-marquee 48s linear infinite;
}

.brand-marquee-set {
  flex: none;
  gap: 18px;
  padding-right: 18px;
}

.brand-logo-item {
  display: grid;
  width: clamp(150px, 14vw, 190px);
  height: 82px;
  flex: none;
  place-items: center;
  overflow: hidden;
  padding: 17px 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.brand-logo-item img {
  width: 100%;
  height: 100%;
  max-width: 154px;
  max-height: 48px;
  object-fit: contain;
}

.brand-logo-item-text {
  color: var(--graphite);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-logo-item-dark {
  border-color: #171a17;
  background: #171a17;
}

.brand-logo-item-eurofarma img {
  transform: scale(1.72);
}

.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}

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

.quote-builder {
  padding-top: 104px;
}

.quote-builder-action {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.quote-builder-action p { margin: 0; color: var(--muted); }

.quote-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 24px 60px rgba(9, 10, 9, 0.08);
}

.quote-preview span {
  min-height: 84px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quote-modal[hidden] { display: none; }
.quote-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(5, 6, 5, .78); backdrop-filter: blur(8px); }
.quote-modal-panel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: clamp(24px, 4vw, 46px); border-radius: var(--radius); background: var(--surface); box-shadow: 0 34px 90px rgba(0,0,0,.42); }
.quote-modal-heading { padding-right: 52px; margin-bottom: 28px; }
.quote-modal-heading h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.quote-modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; font-size: 1.8rem; line-height: 1; }
body.quote-modal-open { overflow: hidden; }

.quote-form {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--silver-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(211, 215, 211, 0.17), transparent 36%),
    var(--surface);
  box-shadow: none;
}

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

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-field > span,
.preference-fieldset legend {
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-field :is(input, select) {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border: 1px solid #c8ccc8;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.form-field textarea {
  width: 100%;
  min-height: 114px;
  padding: 14px;
  resize: vertical;
  border: 1px solid #c8ccc8;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-field :is(input, select, textarea):focus {
  border-color: var(--graphite);
  outline: 3px solid rgba(119, 124, 119, 0.2);
}

.form-field-description {
  grid-column: 1 / -1;
}

.preference-fieldset {
  min-width: 0;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.preference-fieldset legend {
  margin-bottom: 10px;
}

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

.preference-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.preference-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.preference-options span {
  display: grid;
  min-height: 50px;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--graphite);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.preference-options input:checked + span {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--surface);
}

.preference-options input:focus-visible + span {
  outline: 3px solid rgba(119, 124, 119, 0.46);
  outline-offset: 3px;
}

.quote-reference {
  width: fit-content;
  margin: 18px 0 0;
  padding: 9px 12px;
  border-left: 3px solid var(--silver-dark);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quote-form-actions p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

.section-heading {
  margin-bottom: 42px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: end;
  gap: 36px;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.benefit-grid article,
.event-grid article,
.machine-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.benefit-grid article,
.event-grid article {
  border-top: 3px solid var(--silver-dark);
  background:
    linear-gradient(145deg, rgba(211, 215, 211, 0.14), transparent 38%),
    var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.benefit-grid article:hover,
.event-grid article:hover {
  border-top-color: var(--ink);
  box-shadow: 0 18px 38px rgba(9, 10, 9, 0.09);
  transform: translateY(-3px);
}

.benefit-grid article {
  min-height: 250px;
  padding: 28px;
}

.benefit-grid p,
.event-grid p,
.machine-card p,
.faq p,
.site-footer p {
  color: var(--muted);
}

.benefit-number {
  display: block;
  margin-bottom: 52px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(118deg, transparent 0 22%, rgba(119, 124, 119, 0.22) 22% 34%, transparent 34% 76%, rgba(255, 255, 255, 0.06) 76% 86%, transparent 86%),
    var(--graphite);
  color: var(--surface);
}

.process-strip article {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 28px;
}

.process-strip article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.process-strip article > span {
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.process-strip h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.process-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.service-includes {
  padding-top: 24px;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.includes-grid article {
  min-height: 245px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--silver-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(211, 215, 211, 0.16), transparent 42%),
    var(--surface);
}

.includes-grid article > span {
  display: block;
  margin-bottom: 56px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.includes-grid h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
}

.includes-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.92rem;
  font-weight: 800;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-links a:hover {
  border-color: var(--silver-dark);
  box-shadow: 0 14px 30px rgba(9, 10, 9, 0.08);
  transform: translateY(-2px);
}

.service-links span {
  color: var(--silver-dark);
  font-size: 1.25rem;
}

.service-page .site-header {
  position: relative;
}

.service-hero {
  display: grid;
  min-height: 580px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
}

.service-hero h1 {
  max-width: 640px;
  font-size: clamp(3.4rem, 6.5vw, 5.7rem);
}

.service-hero h1 .title-initial {
  opacity: 1;
  transform: none;
}

.service-lead {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.service-hero > img {
  width: 100%;
  height: min(62vw, 540px);
  min-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.service-content {
  padding-top: 28px;
}

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

.service-points article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--silver-dark);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-points h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.service-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: var(--content);
  margin: 0 auto 88px;
  padding: 42px;
  border-radius: var(--radius);
  background:
    linear-gradient(116deg, transparent 0 26%, rgba(255, 255, 255, 0.1) 26% 38%, transparent 38% 74%, rgba(119, 124, 119, 0.44) 74% 90%, transparent 90%),
    var(--graphite);
  color: var(--surface);
}

.service-band .eyebrow {
  color: var(--silver);
}

.service-band h2 {
  max-width: 700px;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
}

.visual-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows:
    clamp(340px, 30vw, 410px)
    clamp(380px, 33vw, 450px)
    clamp(300px, 26vw, 360px);
  gap: 18px;
}

.visual-card {
  position: relative;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--coffee);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.visual-card-detail {
  grid-area: 1 / 1 / 2 / 7;
}

.visual-card-station {
  grid-area: 1 / 7 / 2 / 13;
}

.visual-card-portrait {
  grid-area: 2 / 1 / 3 / 5;
}

.visual-card-libre {
  grid-area: 2 / 5 / 3 / 13;
}

.visual-card-mantecorp {
  grid-area: 3 / 1 / 4 / 7;
}

.visual-card-atendimento {
  grid-area: 3 / 7 / 4 / 13;
}

.visual-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(22, 19, 15, 0) 32%, rgba(22, 19, 15, 0.72)),
    linear-gradient(90deg, rgba(22, 19, 15, 0.24), rgba(22, 19, 15, 0));
  content: "";
  pointer-events: none;
}

.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
}

.visual-card-detail img {
  object-position: center 58%;
}

.visual-card-station img {
  object-position: center 54%;
}

.visual-card-portrait img {
  object-position: center 44%;
}

.visual-card-libre img,
.visual-card-mantecorp img,
.visual-card-atendimento img {
  object-position: center;
}

.visual-card:hover img,
.visual-card:focus-within img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.visual-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.visual-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--surface);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.visual-card.image-error::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  content: "Imagem indisponível";
  font-weight: 900;
}

.case-carousel {
  position: relative;
}

.case-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.case-carousel-toolbar > p {
  min-width: 68px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.case-carousel-toolbar > p strong {
  color: var(--ink);
  font-size: 1rem;
}

.case-carousel-controls {
  display: flex;
  gap: 8px;
}

.case-carousel-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.case-carousel-controls button:hover:not(:disabled) {
  background: var(--graphite);
  color: var(--surface);
  transform: translateY(-2px);
}

.case-carousel-controls button:disabled {
  cursor: default;
  opacity: 0.34;
}

.case-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.case-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.case-carousel-track {
  display: grid;
  grid-auto-columns: calc((100% - 18px) / 2);
  grid-auto-flow: column;
  gap: 18px;
}

.case-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-snap-align: start;
}

.case-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 54%;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 620ms ease;
}

.case-card:nth-child(1) > img {
  object-position: center 54%;
}

.case-card:nth-child(2) > img {
  object-position: center 53%;
}

.case-card:nth-child(3) > img {
  object-position: center 52%;
}

.case-card:nth-child(4) > img {
  object-position: center 57%;
}

.case-card:nth-child(5) > img {
  object-position: center 47%;
}

.case-card:nth-child(6) > img {
  object-position: center 55%;
}

.case-card:nth-child(7) > img {
  object-position: center 55%;
}

.case-card:nth-child(8) > img {
  object-position: center 57%;
}

.case-card:hover > img,
.case-card:focus-within > img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.025);
}

.case-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.case-card-copy > p {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-card-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.case-card-copy > span {
  color: var(--muted);
  font-size: 0.92rem;
}

.case-cta {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--silver-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.case-carousel-conversion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.case-carousel-conversion p {
  margin: 0;
  font-weight: 700;
}

.mobile-quote-bar {
  display: none;
}

.carousel {
  --carousel-index: 0;
}

.carousel-shell {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transform: translateX(calc(var(--carousel-index) * -100%));
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-item {
  min-width: 100%;
}

.machine-card {
  display: grid;
  min-height: 550px;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 5vw, 58px);
  overflow: hidden;
}

.image-shell {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(216, 217, 218, 0.34), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.image-shell::after {
  position: absolute;
  inset: auto 18px 18px;
  display: none;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  content: "Imagem indisponível";
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.image-shell.image-error::after {
  display: block;
}

.machine-image {
  min-height: 430px;
}

.machine-image img {
  width: min(86%, 480px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 26px 24px rgba(22, 19, 15, 0.2));
  transform: translateY(10px) scale(0.96);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 620ms ease;
}

.carousel-item.is-active .machine-image img {
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 34px 30px rgba(22, 19, 15, 0.24));
  animation: product-float-small 5.6s ease-in-out infinite 620ms;
}

.machine-brand {
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

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

.icon-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 80px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5cac5;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
}

.carousel-dots button[aria-current="true"] {
  width: 26px;
  border-radius: 999px;
  background: var(--red);
}

.carousel-dots button:hover {
  transform: scale(1.18);
}

.capsules {
  width: 100%;
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(211, 215, 211, 0.08) 18% 28%, transparent 28% 58%, rgba(119, 124, 119, 0.16) 58% 70%, transparent 70%),
    var(--espresso);
  color: var(--surface);
}

.capsules .split-heading > p,
.capsules .capsule-showcase-copy p,
.capsule-pro-note p {
  color: rgba(255, 255, 255, 0.72);
}

.capsule-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 20px;
  margin-top: 38px;
}

.capsule-showcase-copy,
.capsule-reel-wrap,
.capsule-pro-note {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.capsule-showcase-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(150deg, rgba(119, 124, 119, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
}

.capsule-showcase-copy::after {
  position: absolute;
  right: -12px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.06);
  content: "51";
  font-size: clamp(8rem, 24vw, 17rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.capsule-showcase-copy > * {
  position: relative;
  z-index: 1;
}

.capsule-showcase-copy h3 {
  font-size: clamp(2.3rem, 6vw, 4.6rem);
}

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

.capsule-stats span {
  display: grid;
  gap: 4px;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.capsule-stats strong {
  color: var(--surface);
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1;
}

.capsule-reel-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 26px 0 28px 26px;
  background:
    linear-gradient(150deg, rgba(119, 124, 119, 0.2), rgba(211, 215, 211, 0.12)),
    #1b1b19;
}

.capsule-reel-wrap::before,
.capsule-reel-wrap::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 58px;
  pointer-events: none;
  content: "";
}

.capsule-reel-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #1b1b19, rgba(27, 27, 25, 0));
}

.capsule-reel-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #1b1b19, rgba(27, 27, 25, 0));
}

.capsule-reel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  overflow-x: auto;
  min-height: 100%;
  padding: 8px 34px 18px 0;
  scroll-padding-left: 26px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--red) rgba(255, 255, 255, 0.12);
}

.capsule-card {
  position: relative;
  display: grid;
  flex: 0 0 clamp(210px, 18vw, 252px);
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 430px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  color: var(--surface);
  isolation: isolate;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.capsule-card::before {
  position: absolute;
  inset: 42% 18px 20px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(119, 124, 119, 0.16), rgba(0, 0, 0, 0.24));
  content: "";
}

.capsule-card:hover,
.capsule-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.capsule-chip {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.capsule-card img {
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.35));
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.capsule-card:nth-child(3n + 1) img {
  animation: product-float-small 6.8s ease-in-out infinite;
}

.capsule-card:nth-child(3n + 2) img {
  animation: product-float-small 7.4s ease-in-out infinite 420ms;
}

.capsule-card:nth-child(3n) img {
  animation: product-float-small 8s ease-in-out infinite 860ms;
}

.capsule-card:hover img,
.capsule-card:focus-visible img {
  transform: translateY(-6px) scale(1.04);
}

.capsule-card strong {
  min-height: 48px;
  color: var(--surface);
  font-size: 1rem;
  line-height: 1.16;
}

.capsule-card.image-error {
  justify-items: start;
}

.capsule-card.image-error::after {
  align-self: center;
  justify-self: center;
  color: rgba(255, 255, 255, 0.72);
  content: "Imagem indisponível";
  font-weight: 900;
}

.capsule-pro-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.06);
}

.capsule-pro-note h3 {
  max-width: 640px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.capsule-pro-note img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.36));
}

.capsule-pro-note.image-error img {
  display: none;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.event-grid article {
  min-height: 210px;
  padding: 24px;
}

.event-grid h3 {
  font-size: 1.45rem;
}

.quote-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 72px max(20px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.1) 0 14%, transparent 14% 32%, rgba(119, 124, 119, 0.28) 32% 44%, transparent 44% 72%, rgba(255, 255, 255, 0.05) 72% 82%, transparent 82%),
    var(--ink);
  color: var(--surface);
}

.quote-band h2 {
  max-width: 840px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.quote-band .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.quote-band .button-primary {
  background: var(--surface);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

summary {
  min-height: 68px;
  padding: 21px 24px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

summary::after {
  float: right;
  content: "+";
  color: var(--red);
  font-size: 1.35rem;
  line-height: 1;
}

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

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 44px max(20px, calc((100vw - 1160px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(118deg, transparent 0 58%, rgba(119, 124, 119, 0.12) 58% 72%, transparent 72%),
    var(--espresso);
  color: var(--surface);
}

.footer-actions {
  display: grid;
  gap: 8px;
  align-self: center;
  justify-items: end;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-link {
  align-self: center;
  font-weight: 900;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.footer-contact-link:hover {
  color: var(--surface);
}

.brandbook-page {
  background:
    linear-gradient(112deg, rgba(119, 124, 119, 0.08) 0 12%, transparent 12% 46%, rgba(211, 215, 211, 0.16) 46% 58%, transparent 58%),
    var(--bg);
}

.brandbook-main {
  overflow: hidden;
}

.brandbook-hero {
  display: grid;
  min-height: calc(100vh - 67px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 42px;
  padding-top: 58px;
}

.brandbook-copy h1 {
  font-size: clamp(4rem, 8vw, 7rem);
}

.brand-reference {
  position: relative;
  height: min(680px, 78vh);
  min-height: min(680px, 78vh);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 15, 0.12);
  border-radius: var(--radius);
  background: var(--espresso);
  box-shadow: var(--shadow);
}

.brand-reference::before,
.brand-reference::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.brand-reference::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0) 42%, rgba(8, 8, 8, 0.86)),
    linear-gradient(112deg, transparent 0 14%, rgba(214, 213, 204, 0.14) 14% 28%, transparent 28% 52%, rgba(255, 255, 255, 0.08) 52% 62%, transparent 62%);
}

.brand-reference::after {
  right: -22%;
  bottom: -18%;
  z-index: 2;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 213, 204, 0.18);
  background: rgba(214, 213, 204, 0.05);
  transform: rotate(20deg) skewX(-12deg);
}

.brand-reference img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--espresso);
  filter: contrast(1.06) saturate(0.9);
}

.brand-reference figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 3;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.brandbook-section {
  border-top: 1px solid rgba(16, 16, 15, 0.08);
}

.brandbook-section[id] {
  scroll-margin-top: 100px;
}

.principle-grid,
.usage-grid,
.swatch-grid,
.photo-rules {
  display: grid;
  gap: 16px;
}

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

.principle-grid article,
.usage-grid article,
.type-specimen,
.photo-rules article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.principle-grid article,
.usage-grid article,
.type-specimen {
  border-top: 3px solid var(--silver-dark);
}

.principle-grid article {
  min-height: 270px;
  padding: 24px;
}

.principle-grid span {
  display: block;
  margin-bottom: 70px;
  color: var(--red);
  font-weight: 900;
}

.principle-grid p,
.usage-grid p,
.type-specimen p,
.photo-rules p,
.brandbook-duo p,
.split-heading > p {
  color: var(--muted);
}

.brandbook-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  align-items: stretch;
  gap: 22px;
}

.brandbook-duo > div:first-child {
  display: grid;
  align-content: center;
}

.brandbook-duo h2 + p {
  margin-top: 22px;
}

.logo-specimen {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(118deg, #080908 0 20%, #343834 20% 35%, #171917 35% 50%, #747974 50% 59%, #202320 59% 75%, #090a09 75% 100%),
    var(--espresso);
  color: var(--surface);
}

.logo-specimen::after {
  content: none;
}

.logo-specimen .logo-lockup {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
}

.usage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.usage-grid article {
  min-height: 190px;
  padding: 22px;
}

.swatch-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 36px;
}

.brand-swatch {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  padding: 18px;
  border: 1px solid rgba(16, 16, 15, 0.1);
  border-radius: var(--radius);
  background: var(--swatch);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(16, 16, 15, 0.08);
}

.brand-swatch.dark {
  color: var(--surface);
}

.brand-swatch strong,
.brand-swatch span {
  font-weight: 900;
}

.brand-swatch span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.type-specimen {
  display: grid;
  min-height: 320px;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 48px);
}

.type-specimen span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.type-specimen strong {
  font-size: clamp(3rem, 7vw, 6rem);
  font-family: AvenirNextCondensed-DemiBold, "Avenir Next Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.86;
}

.photo-rules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.photo-rules article {
  overflow: hidden;
}

.photo-rules img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-rules h3,
.photo-rules p {
  padding-inline: 20px;
}

.photo-rules h3 {
  margin-top: 20px;
}

.photo-rules p {
  padding-bottom: 20px;
}

.brandbook-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 72px max(20px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.1) 0 16%, transparent 16% 38%, rgba(119, 124, 119, 0.26) 38% 52%, transparent 52% 78%, rgba(255, 255, 255, 0.05) 78% 88%, transparent 88%),
    var(--ink);
  color: var(--surface);
}

.brandbook-close h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.js-ready .hero-copy .eyebrow,
.js-ready h1 span,
.js-ready .hero-text,
.js-ready .hero-actions,
.js-ready .hero-product {
  opacity: 0;
  transform: translateY(34px);
}

.js-ready body.is-loaded .hero-copy .eyebrow,
.js-ready body.is-loaded h1 span,
.js-ready body.is-loaded .hero-text,
.js-ready body.is-loaded .hero-actions,
.js-ready body.is-loaded .hero-product {
  opacity: 1;
  transform: translate3d(
    calc(var(--hero-x) * -0.25px),
    calc((var(--hero-y) * -0.2px) + (var(--hero-scroll) * -0.025px)),
    0
  );
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready body.is-loaded h1 span:nth-child(1) {
  transition-delay: 60ms;
}

.js-ready body.is-loaded h1 span:nth-child(2) {
  transition-delay: 120ms;
}

.js-ready body.is-loaded h1 span:nth-child(3) {
  transition-delay: 180ms;
}

.js-ready body.is-loaded .hero-text {
  transition-delay: 250ms;
}

.js-ready body.is-loaded .hero-actions {
  transition-delay: 330ms;
}

.js-ready body.is-loaded .hero-product {
  transition-delay: 140ms;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.98);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .visual-card.reveal,
.js-ready .visual-card.reveal.is-visible {
  transform: none;
}

.js-ready .visual-card.reveal.is-visible {
  transition-property: opacity;
}

@keyframes product-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(-0.7deg);
  }
}

@keyframes product-float-small {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.01);
  }
}

@keyframes panel-glow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }

  50% {
    box-shadow: 0 30px 86px rgba(119, 124, 119, 0.28);
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  h1 {
    max-width: calc(100vw - 40px);
    font-size: clamp(3.25rem, 8vw, 4.7rem);
    line-height: 0.9;
  }

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

  .hero-product {
    min-height: 560px;
  }

  .product-stage {
    top: 40px;
    bottom: 108px;
    width: 58%;
  }

  .product-stage-primary {
    left: 0;
  }

  .product-stage-secondary {
    right: 0;
  }

  .product-stage img,
  .product-stage-secondary img {
    height: 390px;
    max-height: 390px;
  }

  .split-heading,
  .brandbook-hero,
  .brandbook-duo {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .photo-rules {
    grid-template-columns: 1fr;
  }

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

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

  .service-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .service-hero > img {
    height: min(104vw, 620px);
  }

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

  .case-carousel-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

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

  .visual-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .visual-card-detail,
  .visual-card-station,
  .visual-card-portrait,
  .visual-card-libre,
  .visual-card-mantecorp,
  .visual-card-atendimento {
    grid-area: auto;
    height: auto;
    min-height: 0;
  }

  .visual-card-detail,
  .visual-card-station {
    aspect-ratio: 4 / 3;
  }

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

  .visual-card-libre,
  .visual-card-mantecorp,
  .visual-card-atendimento {
    aspect-ratio: 16 / 9;
  }

  .quote-band,
  .brandbook-close,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --content: min(100vw - 28px, 1160px);
  }

  .site-header {
    position: relative;
    gap: 8px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: min(154px, 50vw);
    height: 44px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-icon-link {
    width: 38px;
    height: 38px;
  }

  .header-icon-link svg {
    width: 17px;
    height: 17px;
  }

  .section-panel {
    padding: 62px 0;
  }

  body {
    padding-bottom: 74px;
  }

  .hero.section-panel {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brandbook-hero.section-panel {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .brandbook-hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: clamp(2.75rem, 12vw, 3.45rem);
    line-height: 0.94;
  }

  .hero-copy,
  .hero-text {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 340px;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-cases-link {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-product {
    min-height: 225px;
    padding-right: 0;
    padding-left: 0;
  }

  .js-ready .hero-copy .eyebrow,
  .js-ready h1 span,
  .js-ready .hero-text,
  .js-ready .hero-actions,
  .js-ready .hero-product {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-stage img,
  .product-stage-secondary img {
    animation: none !important;
  }

  .hero-product::before {
    inset: 5% 0;
  }

  .product-stage {
    top: 10px;
    bottom: 10px;
    width: 60%;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 34px;
  }

  .product-stage-primary {
    left: -4%;
    z-index: 5;
  }

  .product-stage-secondary {
    right: 10%;
    z-index: 4;
  }

  .product-stage img,
  .product-stage-secondary img {
    height: 140px;
    max-height: 140px;
  }

  .product-stage figcaption {
    top: auto;
    bottom: 0;
    left: 47%;
    padding: 7px 9px;
    font-size: 0.56rem;
    transform: translateX(-50%);
  }

  .product-stage figcaption.product-logo-badge {
    width: 112px;
    min-height: 38px;
    padding: 0;
  }

  .product-stage-secondary figcaption {
    top: auto;
    right: auto;
    bottom: 0;
    left: 47%;
    transform: translateX(-50%);
  }

  .hero-specs {
    display: none;
  }

  .intro-strip p {
    font-size: clamp(1.55rem, 9vw, 2.4rem);
  }

  .social-proof-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .brand-logo-item {
    width: 144px;
    height: 72px;
    padding: 14px 18px;
  }

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

  .service-links,
  .service-points {
    grid-template-columns: 1fr;
  }

  .service-page {
    padding-bottom: 0;
  }

  .service-hero {
    gap: 28px;
    padding-top: 38px;
  }

  .service-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.45rem);
  }

  .service-hero > img {
    height: 112vw;
    min-height: 0;
  }

  .service-points article {
    min-height: 0;
  }

  .service-band {
    align-items: stretch;
    flex-direction: column;
    width: calc(100vw - 28px);
    margin-bottom: 62px;
    padding: 28px 20px;
  }

  .includes-grid article {
    min-height: 0;
  }

  .includes-grid article > span {
    margin-bottom: 32px;
  }

  .proof-names span {
    flex: 0 0 126px;
    min-height: 46px;
    padding: 6px 10px;
  }

  .quote-builder {
    padding-top: 72px;
  }

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

  .quote-preview span {
    min-height: 64px;
    padding: 10px 14px;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
  }

  .quote-form {
    padding: 22px 18px;
  }

  .quote-form-grid,
  .preference-options {
    grid-template-columns: 1fr;
  }

  .quote-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-form-actions p {
    text-align: left;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .case-carousel-toolbar {
    justify-content: space-between;
  }

  .case-carousel-track {
    grid-auto-columns: 86%;
    gap: 12px;
  }

  .case-card-copy {
    padding: 20px;
  }

  .case-carousel-conversion {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-quote-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 6, 5, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  body.is-scrolled .mobile-quote-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-quote-bar a {
    display: grid;
    width: 100%;
    min-height: 50px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
  }

  .visual-gallery {
    grid-auto-rows: auto;
    gap: 14px;
  }

  .brand-reference,
  .brand-reference img {
    height: 420px;
    min-height: 420px;
  }

  .principle-grid,
  .usage-grid,
  .swatch-grid,
  .photo-rules {
    grid-template-columns: 1fr;
  }

  .principle-grid article,
  .usage-grid article,
  .brand-swatch,
  .type-specimen {
    min-height: auto;
  }

  .principle-grid span {
    margin-bottom: 36px;
  }

  .logo-specimen {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .logo-specimen .logo-lockup {
    width: min(100%, 330px);
  }

  .visual-card figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .event-grid article {
    min-height: auto;
  }

  .quote-band,
  .brandbook-close {
    padding: 56px 14px;
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .site-header {
    position: relative;
  }

  .hero-cases-link {
    display: none;
  }

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

  .quote-preview span {
    min-height: 64px;
    padding: 10px 14px;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
  }
}

/* Composição única das máquinas e marcas em todos os breakpoints. */
.hero-product {
  min-height: 620px;
}

.product-stage,
.product-stage-secondary {
  top: 34px;
  right: auto;
  bottom: 98px;
  display: flex;
  width: 50%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  transform: none;
}

.product-stage-primary {
  right: auto;
  left: 0;
}

.product-stage-secondary {
  right: 0;
  left: auto;
}

.product-stage > img,
.product-stage-secondary > img {
  width: auto;
  max-width: 90%;
  height: 380px;
  max-height: calc(100% - 52px);
  flex: 0 1 auto;
  object-fit: contain;
}

.product-stage figcaption,
.product-stage-secondary figcaption,
.product-stage figcaption.product-logo-badge {
  position: static;
  display: grid;
  width: 110px;
  min-height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.product-stage figcaption .product-brand-logo-nespresso {
  width: auto;
  height: 30px;
  max-height: 30px;
}

.product-stage figcaption .product-brand-logo-tres {
  width: auto;
  height: 25px;
  max-height: 25px;
}

@media (max-width: 980px) {
  .hero-product {
    min-height: 500px;
  }

  .product-stage,
  .product-stage-secondary {
    top: 28px;
    bottom: 90px;
    width: 50%;
    padding: 0 8px;
  }

  .product-stage-primary {
    right: auto;
    left: 0;
  }

  .product-stage-secondary {
    right: 0;
    left: auto;
  }

  .product-stage > img,
  .product-stage-secondary > img {
    height: 320px;
    max-height: calc(100% - 48px);
  }
}

@media (max-width: 767px) {
  .hero-product {
    min-height: 320px;
  }

  .hero-product::before {
    inset: 5% 0;
  }

  .product-stage,
  .product-stage-secondary {
    top: 12px;
    bottom: 12px;
    width: 50%;
    gap: 8px;
    padding: 0 4px;
  }

  .product-stage-primary {
    right: auto;
    left: 0;
  }

  .product-stage-secondary {
    right: 0;
    left: auto;
  }

  .product-stage > img,
  .product-stage-secondary > img {
    width: auto;
    max-width: 92%;
    height: 220px;
    max-height: calc(100% - 38px);
    animation: none !important;
  }

  .product-stage-primary > img {
    height: 215px;
    max-height: calc(100% - 38px);
  }

  .product-stage-secondary > img {
    max-width: 110%;
    height: 220px;
    max-height: calc(100% - 38px);
  }

  .product-stage figcaption,
  .product-stage-secondary figcaption,
  .product-stage figcaption.product-logo-badge {
    position: static;
    width: 92px;
    min-height: 30px;
    flex-basis: 30px;
    transform: translateX(-5px);
  }

  .product-stage figcaption .product-brand-logo-nespresso {
    height: 26px;
    max-height: 26px;
  }

  .product-stage figcaption .product-brand-logo-tres {
    height: 22px;
    max-height: 22px;
  }

  .hero-specs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .js-ready .hero-copy .eyebrow,
  .js-ready h1 span,
  .js-ready .hero-text,
  .js-ready .hero-actions,
  .js-ready .hero-product,
  .js-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
