:root {
  --wine: #780018;
  --wine-deep: #580011;
  --wine-blob: #3a040f;
  --accent-red: #c31432;
  --ink: #090909;
  --paper: #f5f1ed;
  --muted-line: rgba(83, 55, 47, 0.28);
  --font-display: "DM Sans", "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f1ed;
  font-family: "Manrope", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 1080px;
  height: 100svh;
  max-height: 1300px;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  display: none;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 22px;
  left: 4.25%;
  right: 4.25%;
  z-index: 20;
  display: grid;
  grid-template-columns: 270px 1fr 250px;
  align-items: center;
  height: 72px;
  padding: 0 30px 0 21px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 34px rgba(66, 45, 37, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: 225px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(31px, 4.1vw, 63px);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transform: translateX(-92px);
}

.primary-nav a {
  position: relative;
  padding: 10px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #8a0922 0%, #620012 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header-cta {
  justify-self: end;
  min-width: 195px;
  padding: 13px 22px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(92, 0, 18, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.menu-toggle {
  display: none;
}

.hero-copy {
  position: absolute;
  top: clamp(169px, 14.45vh, 157px);
  left: 50%;
  z-index: 8;
  width: min(100% - 40px, 720px);
  text-align: center;
  transform: translateX(-50%);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 15px;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  color: #050505;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(51px, 4.05vw, 66px);
  font-stretch: condensed;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.13;
  transform: translateY(-6px) scaleY(1.12);
  transform-origin: top center;
}

.hero-description {
  margin: 28px auto 20px;
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  min-width: 311px;
  justify-content: space-between;
}

.button-primary svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-secondary {
  min-width: 220px;
  color: var(--wine);
  border-color: rgba(120, 0, 24, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  color: #fff;
  background: var(--wine);
  transform: translateY(-2px);
}

.hands-scene {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hand {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 10px 10px rgba(30, 20, 16, 0.07));
}

.hand-robot {
  top: clamp(492px, 49.3vh, 525px);
  left: 0;
  width: 47.3%;
}

.hand-human {
  top: 461px;
  right: 0;
  width: 47.8%;
}

.signal-wave {
  position: absolute;
  top: clamp(705px, 74.6vh, 800px);
  left: 0;
  z-index: 0;
  width: 100%;
  height: clamp(62px, 8.8vh, 90px);
  opacity: 0.18;
}

.signal-wave path {
  fill: none;
  stroke: #b2877d;
  stroke-width: 0.85;
}

.solutions {
  position: absolute;
  right: 12%;
  bottom: clamp(36px, 4vh, 46px);
  left: 12%;
  z-index: 6;
}

.solutions h2 {
  margin: 0 0 27px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.solution-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.solution-item + .solution-item::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 1px;
  content: "";
  background: var(--muted-line);
}

.solution-icon {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border: 1px solid rgba(116, 0, 22, 0.95);
  border-radius: 19px 19px 8px 19px;
  background: linear-gradient(142deg, #b41d32 0%, #720019 43%, #32000c 100%);
  box-shadow: inset 1px 1px 0 rgba(255, 215, 214, 0.45), inset -5px -7px 10px rgba(33, 0, 8, 0.3), 0 10px 18px rgba(76, 0, 18, 0.2);
  transform: rotate(-7deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.solution-icon::before {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(120, 0, 24, 0.55);
  border-radius: 23px 23px 12px 23px;
}

.solution-icon::after {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #c81f38;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(120, 0, 24, 0.35);
}

.solution-item:nth-child(even) .solution-icon {
  transform: rotate(7deg);
}

.solution-icon svg {
  position: relative;
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #fff9f5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(7deg);
}

.solution-item:nth-child(even) .solution-icon svg {
  transform: rotate(-7deg);
}

.solution-icon .icon-detail {
  opacity: 0.64;
  stroke-width: 1.6;
}

.solution-icon .icon-main {
  stroke-width: 2.5;
}

.solution-icon .icon-point {
  fill: #ffb9b5;
  stroke: none;
}

.solution-item:hover .solution-icon {
  box-shadow: inset 1px 1px 0 rgba(255, 215, 214, 0.55), inset -5px -7px 10px rgba(33, 0, 8, 0.3), 0 15px 24px rgba(76, 0, 18, 0.28);
  transform: rotate(-7deg) translateY(-4px);
}

.solution-item:nth-child(even):hover .solution-icon {
  transform: rotate(7deg) translateY(-4px);
}

.solution-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}

.anchor-target {
  position: absolute;
  bottom: 0;
}

/* ---------- About ---------- */

.about-story {
  position: relative;
  height: 1700px;
}

.about-story > .about {
  position: sticky;
  top: 0;
}

.about {
  --about-progress: 0;
  --loren-opacity: 1;
  --diego-opacity: 0;
  --loren-photo-opacity: 1;
  --diego-photo-opacity: 0;
  --loren-shift: 0px;
  --diego-shift: 22px;
  --loren-blur: 0px;
  --diego-blur: 4px;
  --loren-photo-x: 0px;
  --diego-photo-x: 14px;
  --loren-photo-scale: 1;
  --diego-photo-scale: 1.025;
  --loren-photo-blur: 0px;
  --diego-photo-blur: 3px;
  --loren-badge-x: 0px;
  --diego-badge-x: 10px;
  position: relative;
  width: 100%;
  height: 941px;
  overflow: hidden;
  font-family: var(--font-display);
  color: var(--ink);
  background: transparent;
}

.about::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  display: none;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

.about-copy {
  position: absolute;
  top: 96px;
  left: clamp(64px, 6.35vw, 106px);
  z-index: 5;
  width: 870px;
  will-change: opacity, filter, translate;
}

.about-copy.is-loren,
.about-badge.is-loren {
  opacity: var(--loren-opacity);
}

.about-copy.is-diego,
.about-badge.is-diego {
  opacity: var(--diego-opacity);
}

.about-copy.is-loren {
  filter: blur(var(--loren-blur));
  translate: 0 var(--loren-shift);
}

.about-copy.is-diego {
  filter: blur(var(--diego-blur));
  translate: 0 var(--diego-shift);
}

.about-photo.is-loren {
  opacity: var(--loren-photo-opacity);
  transform: translateX(calc(-50% + var(--loren-photo-x))) scale(var(--loren-photo-scale));
  filter: drop-shadow(0 20px 24px rgba(28, 2, 9, 0.18)) blur(var(--loren-photo-blur));
}

.about-photo.is-diego {
  opacity: var(--diego-photo-opacity);
  transform: translateX(calc(-50% + var(--diego-photo-x))) scale(var(--diego-photo-scale));
  filter: drop-shadow(0 20px 24px rgba(28, 2, 9, 0.18)) blur(var(--diego-photo-blur));
}

.about-badge.is-loren {
  translate: var(--loren-badge-x) 0;
}

.about-badge.is-diego {
  translate: var(--diego-badge-x) 0;
}

.about .eyebrow-dark {
  margin: 0 0 18px;
  justify-content: flex-start;
  color: #3d0b14;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about h2 {
  margin: 0 0 24px;
  color: #060606;
  font-size: clamp(58px, 4.43vw, 74px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  transform: scaleX(1.075);
  transform-origin: left center;
}

.about h2 .accent {
  display: inline-block;
  color: #b52316;
  transform: scaleX(1.15);
  transform-origin: left center;
}

.about-quotes {
  display: grid;
  grid-template-columns: 328px 347px;
  gap: 22px;
  margin-bottom: 30px;
}

.about-quotes blockquote {
  position: relative;
  display: grid;
  place-items: center;
  height: 114px;
  margin: 0;
  padding: 18px 44px;
  border: 1.5px solid rgba(66, 1, 16, 0.72);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.about-quotes blockquote p {
  margin: 0;
}

.quote-mark {
  position: absolute;
  top: 20px;
  left: 20px;
  display: block;
  width: 36px;
  height: 38px;
  overflow: hidden;
  color: #5b0012;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -0.2em;
  line-height: 0.8;
}

.quote-connector {
  position: absolute;
  top: 50%;
  right: -162px;
  z-index: -1;
  width: 162px;
  height: 1px;
  border-top: 3px dotted rgba(181, 35, 22, 0.82);
  transform: translateY(-50%);
}

.quote-connector::after {
  position: absolute;
  top: 50%;
  right: -6px;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid #b52316;
  border-radius: 50%;
  background: var(--paper);
  transform: translateY(-50%);
}

.about-text {
  margin: 0;
  max-width: 690px;
  color: #171313;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.48;
}

.about-text + .about-text {
  margin-top: 24px;
}

.about-highlight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 648px;
  height: 72px;
  margin: 20px 0 0 -16px;
  padding: 0 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #250009 0%, #3a000d 100%);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.highlight-connector {
  display: none;
}

.about-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 966px;
  height: 64px;
  gap: 27px;
  margin: 52px 0 0 -24px;
  padding: 0 41px;
  list-style: none;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #211718;
  white-space: nowrap;
}

.about-tags li {
  position: relative;
  padding-left: 18px;
}

.about-tags li:first-child {
  padding-left: 0;
}

.about-tags li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #b52316;
  transform: translateY(-50%);
}

.about-tags li:first-child::before {
  display: none;
}

.about-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 47%;
}

.about-vertical {
  position: absolute;
  top: 540px;
  right: -224px;
  z-index: 5;
  width: 560px;
  color: transparent;
  font-size: 124px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1;
  text-align: center;
  -webkit-text-stroke: 1.25px rgba(90, 54, 62, 0.62);
  text-stroke: 1.25px rgba(90, 54, 62, 0.62);
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}

.about-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-dots {
  position: absolute;
  top: 97px;
  left: 91px;
  width: 300px;
  height: 285px;
  background-image: radial-gradient(#a91d14 2.4px, transparent 2.75px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(circle at 48% 48%, black 0 54%, transparent 76%);
  mask-image: radial-gradient(circle at 48% 48%, black 0 54%, transparent 76%);
  opacity: 0.95;
}

.about-accent {
  position: absolute;
  top: 80px;
  right: 78px;
  width: 600px;
  height: 830px;
  border-radius: 310px 64px 64px 310px / 390px 64px 64px 390px;
  background: linear-gradient(145deg, #d12b1e 0%, #ae170f 68%);
}

.about-blob {
  position: absolute;
  top: 88px;
  right: 84px;
  width: 600px;
  height: 805px;
  border-radius: 310px 60px 60px 310px / 390px 60px 60px 390px;
  background: linear-gradient(150deg, #3b0010 0%, #2b000b 78%);
}

.about-blob::after {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 156px;
  height: 96px;
  content: "";
  border-top: 8px solid #f5f1ed;
  border-right: 8px solid #f5f1ed;
  border-radius: 0 66px 0 0;
}

.about-corner {
  position: absolute;
  right: 91px;
  bottom: -7px;
  width: 116px;
  height: 41px;
  border-top: 2px solid #b52316;
  border-right: 2px solid #b52316;
  border-radius: 0 42px 0 0;
}

.about-photo {
  position: absolute;
  bottom: -60px;
  left: 50%;
  z-index: 4;
  width: auto;
  height: 1000px;
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 24px rgba(28, 2, 9, 0.18));
}

.about-badge {
  position: absolute;
  top: 248px;
  right: 8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  height: 51px;
  padding: 0 24px;
  border: 1.5px solid rgba(65, 5, 17, 0.82);
  border-radius: 999px;
  background: #faf7f3;
  box-shadow: none;
  color: #40101a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-line {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 38px;
  height: 1px;
  border-top: 1.5px solid #f8f3f0;
  transform: translateY(-50%);
}

.badge-line::before {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: #f8f3f0;
  transform: translateY(-50%);
}

.about-routes {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.about-routes .route {
  fill: none;
  stroke: rgba(65, 7, 18, 0.82);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  vector-effect: non-scaling-stroke;
}

.about-copy.is-diego .about-title-compact {
  height: 235px;
  margin-bottom: -12px;
}

.about-quotes.about-quotes-single {
  grid-template-columns: 697px;
}

.about-copy.is-diego .about-quotes-single {
  margin-bottom: 40px;
  margin-top: 73px;
}

.about-copy.is-diego .about-quotes-single blockquote {
  height: 76px;
}

.about-copy.is-diego .about-text {
  min-height: 96px;
}

.about-copy.is-diego .about-highlight {
  width: 707px;
  height: 72px;
  margin-top: 30px;
  margin-left: -5px;
  padding-right: 30px;
  padding-left: 30px;
  font-size: 19px;
}

.about-copy .about-tags {
  position: absolute;
  top: 738px;
  left: -24px;
  margin: 0;
}

.about-photo.is-diego {
  bottom: -60px;
  height: 1100px;
}

.about-photo,
.about-badge {
  will-change: opacity;
}

/* ---------- Service showcase ---------- */

.service-showcase {
  position: relative;
  isolation: isolate;
  min-height: 940px;
  overflow: hidden;
  padding: 72px 0 54px;
  background: var(--paper);
  font-family: var(--font-display);
}

.service-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.service-scene::after {
  position: absolute;
  right: -8%;
  bottom: 1%;
  left: 28%;
  height: 280px;
  content: "";
  background: radial-gradient(ellipse, rgba(87, 4, 19, 0.18), transparent 68%);
  filter: blur(28px);
}

.service-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.service-orb-glass {
  top: 34%;
  left: -6%;
  width: 270px;
  height: 270px;
  object-fit: contain;
  filter: drop-shadow(20px 30px 18px rgba(62, 15, 17, 0.23));
}

.service-orb-top {
  top: 14px;
  left: 44%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 31% 29%, #e66167 0, #b6122c 23%, #6b0619 64%, #30000b 86%);
  box-shadow: inset -17px -24px 20px rgba(30, 0, 8, 0.5), 16px 23px 26px rgba(64, 0, 12, 0.16);
  filter: blur(3px);
  animation: service-float 7s ease-in-out infinite alternate;
}

.service-orb-center {
  top: 26%;
  left: 54%;
  width: 255px;
  height: 255px;
  background: radial-gradient(circle at 26% 25%, #d67477 0, #800b22 35%, #3d0313 68%, #20000a 88%);
  border: 2px solid rgba(191, 76, 75, 0.55);
  box-shadow: inset -23px -29px 25px rgba(19, 0, 6, 0.48), 24px 32px 29px rgba(72, 8, 17, 0.3);
  animation: service-float 9s ease-in-out -2s infinite alternate-reverse;
}

.service-orb-small {
  top: 19%;
  left: 71%;
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 30% 28%, #e38185, #800a20 53%, #32000c 85%);
  box-shadow: 9px 13px 10px rgba(55, 2, 13, 0.18);
  filter: blur(2px);
  animation: service-float 5.5s ease-in-out -1s infinite alternate;
}

@keyframes service-float {
  from { transform: translateY(-9px); }
  to { transform: translateY(9px); }
}

.service-ribbon {
  position: absolute;
  top: 31%;
  right: -12%;
  width: 610px;
  height: 120px;
  border: 1px solid rgba(48, 0, 9, 0.8);
  background: linear-gradient(180deg, #8b1024, #40000f 55%, #770a1d);
  box-shadow: inset 0 12px 14px rgba(255, 194, 190, 0.16), 0 22px 25px rgba(37, 0, 8, 0.2);
  transform: rotate(-36deg);
}

.service-dotted-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  overflow: visible;
}

.service-dotted-path path {
  fill: none;
  stroke: #bb4650;
  stroke-width: 1.4;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}

.service-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(100% - 12%, 1440px);
  min-height: 244px;
  margin: 0 auto 18px;
}

.service-eyebrow {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-intro h2 {
  margin: 0 0 12px;
  color: #080808;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(38px, 3.05vw, 52px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.service-intro > p:last-child {
  margin: 0;
  color: #363235;
  font-size: 17px;
  line-height: 1.7;
}

.service-controls {
  display: flex;
  align-items: center;
  padding-top: 2px;
}

.service-count {
  margin: 0;
  color: var(--wine);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.service-count span:last-child {
  color: #343033;
  font-weight: 400;
}

.service-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 max(6%, calc((100vw - 1352px) / 2)) 24px;
  scroll-padding-inline: max(6%, calc((100vw - 1352px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

@media (min-width: 841px) {
  .service-carousel { scroll-snap-type: none; }
}

.service-carousel::-webkit-scrollbar {
  display: none;
}

.service-card {
  position: relative;
  display: flex;
  flex: 0 0 430px;
  flex-direction: column;
  min-height: 518px;
  padding: 31px 33px 36px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 29px;
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.29) 56%, rgba(255, 255, 255, 0.45));
  box-shadow: 0 23px 42px rgba(55, 29, 25, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(23px) saturate(115%);
  -webkit-backdrop-filter: blur(23px) saturate(115%);
  scroll-snap-align: start;
}

.service-number {
  margin-bottom: 14px;
  color: var(--wine);
  font-size: 20px;
  font-weight: 500;
}

.service-card h3 {
  margin: 0 0 22px;
  color: #080808;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.12;
}

.service-lead {
  min-height: 91px;
  margin: 0 0 17px;
  color: #101010;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.service-description {
  margin: 0 0 15px;
  color: #343035;
  font-size: 16px;
  line-height: 1.48;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 81px;
  margin: auto 0 16px;
  padding: 0;
  list-style: none;
}

.service-tags li {
  align-self: flex-start;
  padding: 5px 12px 6px;
  border: 1px solid rgba(138, 15, 37, 0.46);
  border-radius: 11px;
  color: var(--wine);
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8a0922, #620012);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-cta:hover,
.service-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(92, 0, 18, 0.2);
}

.service-cta span {
  margin-left: 7px;
  font-size: 22px;
  line-height: 0.7;
}

.service-progress {
  width: min(65%, 1080px);
  height: 6px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
}

.service-progress span {
  display: block;
  width: 16.6667%;
  height: 100%;
  border-radius: inherit;
  background: var(--wine);
  transition: width 250ms ease;
}

@media (max-width: 1100px) and (min-width: 621px) {
  .service-orb-top { left: 60%; }
}

@media (max-width: 900px) {
  .service-showcase {
    min-height: 0;
    padding: 66px 0 65px;
  }

  .service-heading {
    width: calc(100% - 64px);
    min-height: 0;
    margin-bottom: 36px;
  }

  .service-intro h2 {
    font-size: clamp(35px, 5vw, 47px);
  }

  .service-intro > p:last-child {
    font-size: 15px;
  }

  .service-controls {
    align-self: flex-start;
  }

  .service-carousel {
    padding-inline: 32px;
    scroll-padding-inline: 32px;
  }

  .service-card {
    flex-basis: min(430px, 70vw);
  }
}

@media (max-width: 620px) {
  .service-showcase {
    padding-top: 58px;
  }

  .service-heading {
    display: block;
    width: calc(100% - 42px);
    margin-bottom: 24px;
  }

  .service-eyebrow {
    font-size: 13px;
  }

  .service-intro h2 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .service-intro h2 br,
  .service-intro > p:last-child br {
    display: none;
  }

  .service-controls {
    margin-top: 24px;
  }

  .service-count {
    margin-right: auto;
    font-size: 16px;
  }

  .service-carousel {
    gap: 14px;
    padding-inline: 21px;
    scroll-padding-inline: 21px;
  }

  .service-card {
    flex-basis: min(360px, calc(100vw - 56px));
    min-height: 540px;
    padding: 27px 25px 30px;
  }

  .service-card h3 {
    font-size: 27px;
  }

  .service-lead {
    min-height: 0;
    font-size: 16px;
  }

  .service-description {
    font-size: 15px;
  }

  .service-tags li {
    font-size: 12px;
  }

  .service-cta {
    font-size: 13px;
  }

  .service-progress {
    width: calc(100% - 72px);
  }

  .service-orb-glass {
    top: 39%;
    left: -115px;
    width: 215px;
  }

  .service-orb-center {
    top: 37%;
    left: 68%;
    width: 190px;
    height: 190px;
  }

  .service-orb-top {
    top: 14px;
    right: 20px;
    left: auto;
    width: 58px;
    height: 58px;
  }

  .service-orb-small { display: none; }

  .service-ribbon {
    top: 57%;
    right: -60%;
    width: 420px;
    height: 80px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 220px 1fr 190px;
    padding-right: 17px;
  }

  .brand {
    width: 192px;
  }

  .primary-nav {
    gap: 25px;
    font-size: 14px;
    transform: translateX(-20px);
  }

  .header-cta {
    min-width: 170px;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 13px;
  }

  .solutions {
    right: 5%;
    left: 5%;
  }

  .about {
    height: 820px;
  }

  .about-copy {
    top: 67px;
    left: 5%;
    transform: scale(0.78);
    transform-origin: top left;
  }

  .about-visual {
    width: 760px;
    transform: scale(0.87);
    transform-origin: bottom right;
  }
}

@media (max-height: 900px) and (min-width: 841px) {
  .about-story {
    height: auto;
  }

  .about-story > .about {
    position: relative;
    top: auto;
  }

  .hero-copy {
    top: 136px;
  }

  h1 {
    font-size: clamp(48px, 3.8vw, 58px);
    line-height: 1.02;
    transform: none;
  }

  .hero-description {
    margin-top: 13px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hand-robot {
    top: 450px;
  }

  .hand-human {
    top: 461px;
  }

  .signal-wave {
    top: 655px;
  }

  .solutions h2 {
    margin-bottom: 16px;
  }

  .solution-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}

@media (max-width: 840px) {
  .about-story {
    height: auto;
  }

  .about-story > .about {
    position: relative;
    top: auto;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    padding-bottom: 40px;
  }

  .site-header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: flex;
    height: 64px;
    margin: 14px 16px 0;
    padding: 0 17px;
  }

  .brand {
    width: 177px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    place-content: center;
    gap: 6px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--wine);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 19px;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    padding: 19px 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 25px;
    background: rgba(250, 248, 245, 0.96);
    box-shadow: 0 18px 35px rgba(66, 45, 37, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 10px 5px;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 52px 22px 0;
    transform: none;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.085em;
  }

  h1 {
    font-size: clamp(39px, 11.5vw, 58px);
    line-height: 0.98;
    transform: none;
  }

  .hero-description {
    max-width: 570px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  .desktop-break {
    display: none;
  }

  .hands-scene {
    position: relative;
    height: clamp(245px, 55vw, 430px);
    margin-top: 23px;
  }

  .hand-robot {
    top: 11%;
    width: 44%;
  }

  .hand-human {
    top: 7%;
    width: 44%;
  }

  .signal-wave {
    top: 52%;
    height: 72px;
  }

  .solutions {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 6;
    margin: 10px 22px 0;
  }

  .solutions h2 {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .solution-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(84, 55, 47, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.38);
  }

  .solution-item {
    min-height: 92px;
    gap: 12px;
    padding: 12px;
  }

  .solution-item + .solution-item::before {
    inset: 0 auto 0 0;
  }

  .solution-item:nth-child(3)::after,
  .solution-item:nth-child(4)::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    content: "";
    background: var(--muted-line);
  }

  .solution-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .solution-icon svg {
    width: 46px;
    height: 46px;
  }

  .solution-item h3 {
    font-size: 14px;
  }

  .about {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
    padding: 60px 22px 0;
  }

  .about-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .about-copy.is-diego {
    position: absolute;
    top: 60px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .about .eyebrow-dark {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .about h2 {
    margin-bottom: 25px;
    font-size: clamp(39px, 10.7vw, 60px);
    line-height: 1.05;
    transform: none;
  }

  .about h2 .accent {
    transform: none;
  }

  .about-copy.is-diego .about-title-compact {
    height: auto;
  }

  .about-quotes {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .about-quotes.about-quotes-single {
    grid-template-columns: 1fr;
  }

  .about-quotes blockquote {
    width: 100%;
    height: 102px;
    font-size: 17px;
  }

  .about-text {
    max-width: none;
    font-size: 16px;
  }

  .about-copy.is-diego .about-text {
    min-height: 0;
  }

  .about-highlight {
    width: 100%;
    height: auto;
    min-height: 70px;
    margin-left: 0;
    padding: 18px 22px;
    font-size: 17px;
  }

  .about-copy.is-diego .about-highlight {
    width: calc(100% + 10px);
    height: auto;
    min-height: 68px;
    margin-left: -5px;
    padding: 16px 20px;
    font-size: 16px;
  }

  .about-copy.is-diego .about-quotes-single blockquote {
    height: 66px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .about-tags {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 11px 18px;
    margin: 24px 0 0;
    padding: 20px 22px;
    border-radius: 24px;
    font-size: 10px;
    white-space: normal;
  }

  .about-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 44px);
    height: 678px;
    margin: 24px -22px 0;
    transform: none;
  }

  .about-frame {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 780px;
    height: 941px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: bottom center;
  }

  .about-vertical {
    top: 389px;
    right: -52px;
    width: 390px;
    font-size: 80px;
  }

  .quote-connector {
    display: none;
  }

  .highlight-connector {
    display: none;
  }

  .about-routes {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    margin-top: 44px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 11px;
  }

  .button,
  .button-primary,
  .button-secondary {
    width: min(100%, 330px);
    min-width: 0;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-item {
    justify-content: flex-start;
    min-height: 72px;
    padding-left: calc(50% - 84px);
  }

  .solution-item + .solution-item::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .solution-item:nth-child(3)::after,
  .solution-item:nth-child(4)::after {
    display: none;
  }

  .about-visual {
    height: 500px;
  }

  .about-frame {
    transform: translateX(-50%) scale(0.53);
  }
}

/* ---------- Como trabalhamos ---------- */

.flow {
  --flow-grad: linear-gradient(135deg, #580011 0%, #a3122a 55%, #e04b55 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(90px, 10vw, 140px) 0 clamp(80px, 9vw, 130px);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f6 100%);
  font-family: var(--font-display);
}

.flow-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.flow-glow-one { top: -120px; right: -140px; width: 520px; height: 520px; background: rgba(195, 20, 50, 0.13); }
.flow-glow-two { bottom: 80px; left: -180px; width: 460px; height: 460px; background: rgba(224, 75, 85, 0.1); }

.flow-inner { width: min(87.5%, 1320px); margin: 0 auto; }

.flow-header { max-width: 780px; margin: 0 auto 64px; text-align: center; }

.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(163, 18, 42, 0.18);
  border-radius: 999px;
  color: #a3122a;
  background: rgba(163, 18, 42, 0.05);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--flow-grad); box-shadow: 0 0 0 4px rgba(195, 20, 50, 0.12); }

.flow h2 {
  margin: 0 0 18px;
  color: #160307;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.flow-gradient {
  color: #a3122a;
  background: linear-gradient(135deg, #580011 0%, #a3122a 55%, #e04b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow-gradient .reveal-word > span {
  background: linear-gradient(135deg, #580011 0%, #a3122a 55%, #e04b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.has-reveal [data-reveal="words"] .flow-gradient { background: none; }

.flow-intro {
  max-width: 600px;
  margin: 0 auto;
  color: #5d5357;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps::before {
  position: absolute;
  top: 58px;
  right: 10%;
  left: 10%;
  z-index: -1;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(163, 18, 42, 0.35) 50%, transparent 50%);
  background-size: 12px 2px;
  content: "";
}

.flow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 10, 16, 0.04), 0 18px 40px -18px rgba(88, 0, 17, 0.18);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 350ms ease, border-color 350ms ease;
}

.flow-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }

.flow-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--flow-grad);
  box-shadow: 0 12px 24px -10px rgba(163, 18, 42, 0.7);
}

.flow-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.flow-number {
  color: rgba(163, 18, 42, 0.14);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 350ms ease;
}

.flow-card h3 { margin: 0 0 12px; color: #160307; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

.flow-card p { margin: 0; color: #5d5357; font-size: 15px; line-height: 1.6; }

.flow-card .flow-get {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  color: #160307;
  font-size: 14px;
  font-weight: 700;
}

.flow-get svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  fill: none;
  stroke: #a3122a;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(163, 18, 42, 0.1);
}

.flow-card:hover { transform: translateY(-8px); border-color: rgba(163, 18, 42, 0.32); box-shadow: 0 28px 50px -20px rgba(88, 0, 17, 0.35); }
.flow-card:hover .flow-number { color: rgba(163, 18, 42, 0.32); }

.flow-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 56px;
  padding: 34px 44px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(224, 75, 85, 0.45), transparent 55%),
    linear-gradient(120deg, #2a0610, #580011 60%, #7d0d22);
  box-shadow: 0 30px 60px -28px rgba(42, 6, 16, 0.7);
}

.flow-badge { position: relative; width: 112px; height: 112px; }
.flow-badge svg { width: 100%; height: 100%; overflow: visible; animation: flow-spin 18s linear infinite; }
.flow-badge text { fill: rgba(255, 236, 230, 0.85); font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; }
.flow-badge img { position: absolute; top: 50%; left: 47%; width: 46px; height: auto; filter: brightness(0) invert(1); transform: translate(-50%, -50%) rotate(-6deg); }

@keyframes flow-spin { to { transform: rotate(360deg); } }

.flow-banner-title { margin: 0 0 6px; font-size: clamp(20px, 1.7vw, 27px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.flow-banner-text { margin: 0; color: rgba(255, 236, 230, 0.75); font-size: 16px; }

.flow-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 999px;
  color: #580011;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.45);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.flow-banner-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms ease; }
.flow-banner-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.55); }
.flow-banner-cta:hover svg { transform: translateX(4px); }
.flow-banner-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@media (max-width: 1150px) {
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-steps::before { display: none; }
}

@media (max-width: 900px) {
  .flow-banner { grid-template-columns: auto minmax(0, 1fr); padding: 30px; }
  .flow-banner-cta { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  .flow-inner { width: calc(100% - 38px); }
  .flow-header { margin-bottom: 44px; }
  .flow-steps { grid-template-columns: 1fr; gap: 16px; }
  .flow-card { padding: 26px 22px 22px; border-radius: 20px; }
  .flow-banner { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; text-align: left; }
  .flow-badge { width: 92px; height: 92px; }
  .flow-banner-cta { width: 100%; justify-content: space-between; }
}

/* ---------- Por onde começar ---------- */

.starting {
  --pauta-red: #b3162b;
  --pauta-ink: #1d0408;
  position: relative;
  isolation: isolate;
  min-height: 880px;
  margin-top: -4px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, var(--paper) 0%, var(--paper) 1%, rgba(245, 241, 237, 0) 15%),
    radial-gradient(ellipse at 54% 12%, rgba(255, 255, 252, 0.84), transparent 44%),
    radial-gradient(ellipse at 14% 72%, rgba(228, 182, 172, 0.31), transparent 39%),
    linear-gradient(126deg, #f5f1ed 13%, #fbf8f5 53%, #eee3dd 100%);
  font-family: var(--font-display);
}

.starting::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 5px;
  content: "";
  background: var(--paper);
  pointer-events: none;
}

.starting-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.starting-light {
  position: absolute;
  inset: -14% -10% 12%;
  background:
    linear-gradient(131deg, transparent 32%, rgba(255, 255, 255, 0.58) 40%, transparent 48%),
    linear-gradient(41deg, transparent 58%, rgba(255, 255, 255, 0.46) 63%, transparent 69%),
    radial-gradient(ellipse at 78% 38%, rgba(255, 246, 235, 0.74), transparent 48%);
  filter: blur(19px);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
  opacity: 0.85;
}

.starting-symbol {
  position: absolute;
  bottom: -17%;
  left: -5%;
  display: block;
  width: clamp(420px, 44vw, 760px);
  height: auto;
  opacity: 0.07;
  transform: rotate(-6deg);
  user-select: none;
}

@media (max-width: 1050px) {
  .starting-symbol { bottom: -4%; left: auto; right: -18%; width: min(90vw, 560px); }
}

.starting-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 4.6vw, 84px);
  width: min(87.5%, 1400px);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.starting-copy { max-width: 600px; }

.starting {
  background:
    radial-gradient(ellipse at 88% 10%, rgba(195, 20, 50, 0.1), transparent 45%),
    radial-gradient(ellipse at 10% 85%, rgba(224, 75, 85, 0.08), transparent 45%),
    linear-gradient(180deg, #fbf8f6 0%, #ffffff 100%);
}

.starting-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid rgba(163, 18, 42, 0.18);
  border-radius: 999px;
  color: #a3122a;
  background: rgba(163, 18, 42, 0.05);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.starting-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #580011, #e04b55);
  box-shadow: 0 0 0 4px rgba(195, 20, 50, 0.12);
}

.starting h2 {
  margin: 0 0 20px;
  color: #160307;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.starting-intro {
  margin: 0;
  color: #5d5357;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}

.starting-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  color: #160307;
  font-size: 15px;
  font-weight: 600;
}

.starting-hint span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #580011, #e04b55);
}

.starting-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 470px);
  min-height: 62px;
  margin-top: 22px;
  padding: 0 26px 0 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #580011 0%, #a3122a 60%, #c92a3c 100%);
  box-shadow: 0 16px 30px -14px rgba(163, 18, 42, 0.75);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.starting-cta svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms ease;
}

.starting-cta [data-pauta-cta-label] { transition: opacity 220ms ease; }
.starting-cta.is-swapping [data-pauta-cta-label] { opacity: 0; }
.starting-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -14px rgba(163, 18, 42, 0.85); }
.starting-cta:hover svg { transform: translateX(4px); }
.starting-cta:focus-visible { outline: 3px solid #a3122a; outline-offset: 4px; }

/* Situações: cards que abrem com a primeira pergunta */

.pautas { position: relative; }

.pautas-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pauta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(40, 10, 16, 0.04), 0 14px 32px -20px rgba(88, 0, 17, 0.2);
  transition: background 450ms ease, border-color 450ms ease, box-shadow 450ms ease, transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pauta-heading { margin: 0; font: inherit; }

.pauta-toggle {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 18px 22px;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.pauta-toggle::after {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #a3122a;
  background: rgba(163, 18, 42, 0.08);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 400ms ease, background 400ms ease, color 400ms ease;
}

.pauta-toggle:focus-visible { outline: 3px solid #a3122a; outline-offset: -3px; border-radius: 22px; }

.pauta-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  color: #a3122a;
  background: rgba(163, 18, 42, 0.07);
  font-size: 15px;
  font-weight: 800;
  transition: background 450ms ease, color 450ms ease;
}

.pauta-complaint {
  color: #160307;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  transition: color 450ms ease;
}

.pauta-nowrap { white-space: nowrap; }

.pauta-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 550ms cubic-bezier(0.65, 0, 0.35, 1);
}

.pauta-body-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 22px 0 90px;
}

.pauta-note {
  margin: 0 0 8px;
  color: #ff9a92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pauta-question {
  max-width: 600px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.pauta-question em { color: #ff9a92; font-style: normal; }

.pauta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0 0 24px;
  list-style: none;
}

.pauta-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 220, 212, 0.32);
  border-radius: 999px;
  color: rgba(255, 244, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.pauta-note,
.pauta-question,
.pauta-tags {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pauta.is-open {
  border-color: transparent;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(224, 75, 85, 0.4), transparent 55%),
    linear-gradient(125deg, #2a0610, #580011 62%, #7d0d22);
  box-shadow: 0 28px 50px -24px rgba(42, 6, 16, 0.75);
}

.pauta.is-open .pauta-complaint { color: rgba(255, 236, 230, 0.78); }
.pauta.is-open .pauta-number { color: #fff; background: rgba(255, 255, 255, 0.12); }
.pauta.is-open .pauta-toggle::after { color: #580011; background: #fff; transform: rotate(45deg); }
.pauta.is-open .pauta-body { grid-template-rows: 1fr; }
.pauta.is-open .pauta-note,
.pauta.is-open .pauta-question,
.pauta.is-open .pauta-tags { opacity: 1; transform: none; }
.pauta.is-open .pauta-note { transition-delay: 250ms; }
.pauta.is-open .pauta-question { transition-delay: 330ms; }
.pauta.is-open .pauta-tags { transition-delay: 420ms; }

@media (hover: hover) {
  .pauta:not(.is-open):hover { transform: translateY(-3px); border-color: rgba(163, 18, 42, 0.28); box-shadow: 0 22px 40px -22px rgba(88, 0, 17, 0.35); }
  .pauta:not(.is-open) .pauta-toggle:hover::after { color: #fff; background: linear-gradient(135deg, #580011, #c92a3c); }
}

@media (max-width: 1050px) {
  .starting { min-height: 0; }
  .starting-inner { grid-template-columns: 1fr; gap: 48px; width: calc(100% - 64px); padding: 90px 0 110px; }
  .starting-copy { max-width: 690px; }
  .pautas { width: min(100%, 760px); }
}

@media (max-width: 700px) {
  .starting-inner { width: calc(100% - 38px); gap: 40px; padding: 68px 0 90px; }
  .starting-eyebrow { margin-bottom: 18px; font-size: 11px; }
  .starting h2 { font-size: clamp(32px, 8.8vw, 42px); }
  .starting-intro { font-size: 15px; line-height: 1.55; }
  .starting-cta { width: 100%; min-height: 58px; padding: 0 22px; font-size: 15px; }
  .pauta { border-radius: 18px; }
  .pauta-toggle { grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 14px; padding: 15px 16px; }
  .pauta-number { width: 42px; height: 42px; border-radius: 12px; font-size: 13px; }
  .pauta-toggle::after { width: 30px; height: 30px; }
  .pauta-complaint { font-size: 15px; }
  .pauta-body-inner { padding: 0 16px; }
  .pauta-question { font-size: 19px; }
  .pauta-tags li { min-height: 30px; padding: 0 11px; font-size: 12px; }
}

/* ---------- Hero bordô com a joaninha ---------- */

.hero {
  --rx: 0;
  --ry: 0;
  --fly: 0;
  border-radius: 0 0 44px 44px;
  color: #fff6f2;
  background:
    radial-gradient(ellipse at 74% 46%, rgba(224, 75, 85, 0.32), transparent 48%),
    radial-gradient(ellipse at 0% 100%, rgba(120, 0, 24, 0.7), transparent 55%),
    linear-gradient(135deg, #22040b 0%, #4a0612 45%, #6d0b1e 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 220, 212, 0.16) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 70% at 72% 48%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 48%, #000 0%, transparent 75%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 20, 50, 0.28), transparent 62%);
  animation: hero-glow-drift 14s ease-in-out infinite alternate;
}

@keyframes hero-glow-drift {
  to { transform: translate(18vw, 22vh) scale(1.15); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header claro sobre o bordô (desktop) */
.hero .site-header {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

@media (min-width: 841px) {
  .hero .primary-nav a { color: rgba(255, 246, 242, 0.88); }
  .hero .primary-nav a::after { background: #ff8a80; }
}

.hero .header-cta {
  color: #4a0612;
  background: #fff6f2;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

.hero .menu-toggle span { background: #fff6f2; }

/* Texto */
.hero .hero-copy {
  top: 50%;
  left: 6.5%;
  width: min(48%, 700px);
  text-align: left;
  transform: translateY(-58%);
}

.hero .eyebrow {
  display: inline-flex;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 220, 212, 0.22);
  border-radius: 999px;
  color: #ffd5cd;
  background: rgba(255, 255, 255, 0.05);
  letter-spacing: 0.08em;
}

.hero .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2), 0 0 14px rgba(255, 107, 107, 0.8);
}

.hero h1 {
  color: #fff6f2;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.6vw, 80px);
  font-stretch: normal;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  transform: none;
}

.hero .flow-gradient,
.hero .flow-gradient .reveal-word > span {
  background: linear-gradient(120deg, #ffd8cf 0%, #ff8a80 50%, #ff5468 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.has-reveal .hero [data-reveal="words"] .flow-gradient { background: none; }

.hero .hero-description {
  max-width: 520px;
  margin: 26px 0 34px;
  color: rgba(255, 236, 230, 0.76);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}

.hero .desktop-break { display: none; }

.hero .hero-actions { justify-content: flex-start; gap: 14px; }

.hero .button { min-height: 58px; padding: 0 26px; font-size: 15px; font-weight: 700; }

.hero .button-primary {
  min-width: 0;
  gap: 18px;
  color: #4a0612;
  background: #fff6f2;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.6);
}

.hero .button-primary:hover { box-shadow: 0 20px 40px -14px rgba(255, 107, 107, 0.55); }

.hero .button-secondary {
  min-width: 0;
  color: #fff6f2;
  border-color: rgba(255, 220, 212, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.hero .button-secondary:hover { color: #4a0612; background: #fff6f2; border-color: #fff6f2; }

/* Retrato: humano + tecnologia */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  inset: 56px -10px -10px;
  width: calc(100% + 20px);
  height: calc(100% - 46px);
  object-fit: cover;
  object-position: 78% 0%;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%);
  transform: translate3d(calc(var(--rx) * -8px), calc(var(--ry) * -6px + var(--fly) * 50px), 0);
  animation: hero-portrait-in 1800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-portrait-in {
  from { opacity: 0; filter: brightness(0.5); }
  to { opacity: 1; filter: none; }
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, #1d030a 0%, rgba(29, 3, 10, 0.94) 26%, rgba(29, 3, 10, 0.55) 46%, rgba(29, 3, 10, 0) 66%),
    linear-gradient(0deg, rgba(29, 3, 10, 0.85) 0%, rgba(29, 3, 10, 0) 32%),
    linear-gradient(180deg, rgba(29, 3, 10, 0.6) 0%, rgba(29, 3, 10, 0) 18%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(calc(var(--rx) * -8px), calc(var(--ry) * -6px + var(--fly) * 50px), 0);
}

.hero-scan {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: 1;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.hero-scan::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(255, 92, 92, 0.16), transparent);
  animation: hero-scan-move 6s linear infinite;
}

@keyframes hero-scan-move {
  from { top: -120px; }
  to { top: 100%; }
}

.hero-beam {
  position: absolute;
  top: 0;
  left: 30%;
  z-index: 1;
  width: 2px;
  height: 160%;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 107, 0.9), transparent);
  box-shadow: 0 0 18px 4px rgba(255, 70, 80, 0.45);
  transform-origin: top center;
  animation: hero-beam-sweep 9s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes hero-beam-sweep {
  0%, 100% { transform: translateX(0) rotate(32deg); opacity: 0; }
  20% { opacity: 0.75; }
  60% { transform: translateX(55vw) rotate(32deg); opacity: 0.6; }
  80% { opacity: 0; }
}

.hero .hero-copy { z-index: 8; }

.hero-cards {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero-card {
  --depth: 1;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 220, 212, 0.22);
  border-radius: 18px;
  color: #fff6f2;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transform: translate(calc(var(--rx) * var(--depth) * 18px), calc(var(--ry) * var(--depth) * 14px));
  animation: hero-card-float 6s ease-in-out infinite alternate, hero-card-in 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-card i {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #a3122a);
  box-shadow: 0 8px 18px -6px rgba(255, 70, 80, 0.7);
}

.hero-card i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.hero-card strong { display: block; font-size: 14px; font-weight: 800; }
.hero-card small { display: block; margin-top: 3px; color: rgba(255, 236, 230, 0.65); font-size: 12px; }

.hero-card-bar {
  display: block;
  width: 140px;
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-card-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a80, #ff4d5e);
  animation: hero-bar-fill 3.2s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}

@keyframes hero-bar-fill {
  from { width: 18%; }
  to { width: 92%; }
}

.hero-spark-line { width: 120px; height: 40px; overflow: visible; }

.hero-spark-line path {
  fill: none;
  stroke: #ff6b6b;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  filter: drop-shadow(0 0 6px rgba(255, 70, 80, 0.8));
  animation: hero-spark-draw 3.6s ease-in-out infinite;
}

@keyframes hero-spark-draw {
  0% { stroke-dashoffset: 1; }
  55%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

.hero-card-1 { top: 15%; right: 3%; --depth: 1.3; animation-delay: -1s, 500ms; }
.hero-card-2 { top: 58%; left: 49%; --depth: 0.9; animation-delay: -3s, 750ms; }
.hero-card-3 { right: 7%; bottom: 25%; --depth: 1.1; animation-delay: -2s, 1000ms; }

@keyframes hero-card-float {
  from { translate: 0 -7px; }
  to { translate: 0 8px; }
}

@keyframes hero-card-in {
  from { opacity: 0; filter: blur(6px); }
  to { opacity: 1; filter: none; }
}

/* Transição do hero para a página */
.hero {
  z-index: 3;
  box-shadow: 0 40px 70px -30px rgba(88, 0, 17, 0.5);
}

.hero-spill {
  position: relative;
  z-index: 4;
  height: 0;
  pointer-events: none;
}

.hero-notch {
  position: absolute;
  top: -1px;
  left: 50%;
  display: block;
  width: 420px;
  height: 100px;
  overflow: visible;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 22px rgba(88, 0, 17, 0.28));
}

.hero-notch path { fill: #210409; }

.hero-badge {
  position: absolute;
  top: -52px;
  left: 50%;
  display: grid;
  width: 136px;
  height: 136px;
  place-items: center;
  border-radius: 50%;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 190, 178, 0.28);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5a0b19, #2a050d 70%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 212, 0.18), 0 0 30px rgba(224, 75, 85, 0.35);
  content: "";
}

.hero-badge-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: hero-badge-spin 16s linear infinite;
}

.hero-badge-text text {
  fill: rgba(255, 228, 220, 0.85);
  font-family: var(--font-display);
  font-size: 9.6px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

@keyframes hero-badge-spin {
  to { transform: rotate(360deg); }
}

.hero-badge-core {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transition: opacity 300ms ease, transform 300ms ease;
}

.hero-badge-core img {
  width: 38px;
  height: auto;
  filter: brightness(0) invert(1);
  transform: rotate(-6deg);
}

.hero-badge-arrow {
  position: absolute;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff6f2;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.hero-badge:hover { transform: translateX(-50%) scale(1.06); }
.hero-badge:hover .hero-badge-core { opacity: 0; transform: translateY(6px); }
.hero-badge:hover .hero-badge-arrow { opacity: 1; transform: translateY(0); }
.hero-badge:focus-visible { outline: 2px solid #b3162b; outline-offset: 4px; }

@media (max-width: 700px) {
  .hero-notch { width: 280px; height: 67px; }
  .hero-badge { top: -40px; width: 96px; height: 96px; }
  .hero-badge-core img { width: 26px; }
}

.hero-desc-short { display: none; }

/* Faixa de soluções sobre o bordô */
.hero .solutions h2 { color: rgba(255, 236, 230, 0.7); }
.hero .solution-item h3 { color: #fff6f2; }
.hero .solution-item + .solution-item::before { background: rgba(255, 220, 212, 0.16); }
.hero .solution-icon { box-shadow: 0 0 0 1px rgba(255, 220, 212, 0.22), 0 12px 24px -10px rgba(0, 0, 0, 0.5); }

@media (max-width: 1180px) {
  .hero .hero-copy { width: 54%; }
  .hero-card-2 { display: none; }
}

@media (max-width: 840px) {
  .hero { max-height: none; padding-bottom: 84px; border-radius: 0 0 32px 32px; }
  .hero .hero-copy { top: auto; left: auto; width: auto; margin: 48px 22px 0; transform: none; }
  .hero .hero-media,
  .hero .hero-cards,
  .hero .solutions { display: none; }
  .hero {
    display: flex;
    flex-direction: column;
    background: #210409;
  }
  .hero { min-height: 0; padding-bottom: 76px; }
  .hero .hero-copy { margin: 0 22px; padding: 52px 0 0; }
  .hero .hero-backdrop { display: none; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 46px); }
  .hero .hero-desc-full { display: none; }
  .hero .hero-desc-short { display: inline; }
  .hero-media { position: relative; inset: auto; height: clamp(320px, 92vw, 520px); margin-top: 20px; border-radius: 0; }
  .hero-portrait { inset: 0; width: 100%; height: 100%; object-position: 88% 0%; mask-image: none; -webkit-mask-image: none; }
  .hero-media::after { background: linear-gradient(180deg, #2a050d 0%, rgba(42, 5, 13, 0) 22%, rgba(42, 5, 13, 0) 62%, #3b0711 100%); }
  .hero-scan { inset: 0; }
  .hero-beam { display: none; }
  .hero-cards { position: relative; inset: auto; z-index: 6; display: flex; flex-direction: column; gap: 12px; margin: 36px 22px 10px; }
  .hero-card { position: relative; inset: auto; min-width: 0; }
  .hero-card-2 { display: flex; }
  .hero .solutions { margin-top: 10px; }
  .hero .solution-list { border-color: rgba(255, 220, 212, 0.16); background: rgba(255, 255, 255, 0.05); }
  .hero .solution-item:nth-child(3)::after,
  .hero .solution-item:nth-child(4)::after { background: rgba(255, 220, 212, 0.16); }
}

@media (max-width: 560px) {
  .hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; justify-content: space-between; }
}

/* ---------- Soluções: zoom infinito até a tela do serviço ---------- */

.service-card { cursor: pointer; }

button.service-cta {
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

button.service-cta:focus-visible { outline: 3px solid #b3162b; outline-offset: 3px; }

.service-tunnel {
  position: fixed;
  inset: 0;
  z-index: 1997;
  display: none;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.service-tunnel.is-active { display: block; }

.service-morph {
  position: fixed;
  inset: 0;
  z-index: 1992;
  display: none;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(195, 20, 50, 0.1), transparent 46%),
    radial-gradient(ellipse at 6% 92%, rgba(224, 75, 85, 0.08), transparent 48%),
    linear-gradient(142deg, #fcf9f7 0%, #f5eee9 56%, #faf5f2 100%);
  pointer-events: none;
  will-change: clip-path;
}

.service-morph.is-active { display: block; }

.service-morph-edge {
  position: fixed;
  z-index: 1991;
  display: none;
  border: 1px solid rgba(163, 18, 42, 0.18);
  box-shadow: 0 40px 90px -30px rgba(88, 0, 17, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.service-morph-edge.is-active { display: block; }

.service-morph-glass { display: none; }

.service-card-clone {
  position: fixed;
  z-index: 1995;
  margin: 0;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.service-detail {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: auto;
  color: #160307;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(195, 20, 50, 0.1), transparent 46%),
    radial-gradient(ellipse at 6% 92%, rgba(224, 75, 85, 0.08), transparent 48%),
    linear-gradient(142deg, #fcf9f7 0%, #f5eee9 56%, #faf5f2 100%);
  font-family: var(--font-display);
  opacity: 0;
  overscroll-behavior: contain;
}

.service-detail[hidden] { display: none; }

.service-detail-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 70vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 85, 0.1), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.service-detail-inner {
  position: relative;
  width: min(87.5%, 1180px);
  min-height: 100%;
  margin: 0 auto;
  padding: 34px 0 70px;
}

.service-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-detail-kicker {
  margin: 0;
  color: rgba(22, 3, 7, 0.55);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-detail-kicker b { color: #a3122a; }

.service-detail-close {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(163, 18, 42, 0.22);
  border-radius: 50%;
  color: #4a0612;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px -14px rgba(88, 0, 17, 0.4);
  cursor: pointer;
  transition: transform 300ms ease, background 300ms ease;
}

.service-detail-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.service-detail-close:hover { background: #fff; transform: rotate(90deg); }
.service-detail-close:focus-visible,
.service-detail-next:focus-visible,
.service-detail-cta:focus-visible { outline: 3px solid #a3122a; outline-offset: 4px; }

.service-detail-body {
  max-width: 820px;
  padding-top: clamp(60px, 12vh, 140px);
}

.service-detail-body.is-swapping { animation: service-detail-swap 520ms cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes service-detail-swap {
  from { opacity: 0; transform: scale(0.96); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.service-detail h2 {
  margin: 0 0 26px;
  font-size: clamp(44px, 5.4vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.service-detail-lead {
  max-width: 680px;
  margin: 0 0 18px;
  color: #a3122a;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 600;
  line-height: 1.4;
}

.service-detail-text {
  max-width: 620px;
  margin: 0 0 30px;
  color: #5d5357;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
}

.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 42px;
  padding: 0;
  list-style: none;
}

.service-detail-tags li {
  padding: 9px 16px;
  border: 1px solid rgba(163, 18, 42, 0.25);
  border-radius: 999px;
  color: #752630;
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.service-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.service-detail-cta,
.service-detail-next {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 250ms ease, background 250ms ease;
}

.service-detail-cta { color: #fff; background: linear-gradient(135deg, #580011 0%, #a3122a 60%, #c92a3c 100%); box-shadow: 0 16px 30px -14px rgba(163, 18, 42, 0.7); }
.service-detail-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-detail-next { border: 1px solid rgba(163, 18, 42, 0.3); color: #4a0612; background: rgba(255, 255, 255, 0.6); }
.service-detail-cta:hover,
.service-detail-next:hover { transform: translateY(-2px); }
.service-detail-next:hover { background: #fff; }

@media (max-width: 700px) {
  .service-detail-inner { width: calc(100% - 38px); padding-top: 20px; }
  .service-detail-close { width: 46px; height: 46px; }
  .service-detail-body { padding-top: 56px; }
  .service-detail-actions { flex-direction: column; }
  .service-detail-cta,
  .service-detail-next { justify-content: space-between; width: 100%; }
}

/* ---------- Coccinella News (artigos) ---------- */
.news {
  position: relative;
  background: radial-gradient(ellipse at 90% 0%, rgba(224, 75, 85, 0.07), transparent 45%), #ffffff;
  font-family: var(--font-display);
}

.news-inner { width: min(87.5%, 1400px); margin: 0 auto; padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 11vw, 140px); }

.news-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: clamp(32px, 5vw, 90px); margin-bottom: clamp(40px, 5vw, 64px); }

.news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(163, 18, 42, 0.18);
  border-radius: 999px;
  color: #a3122a;
  background: rgba(163, 18, 42, 0.05);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #580011, #e04b55); box-shadow: 0 0 0 4px rgba(195, 20, 50, 0.12); }

.news h2 { margin: 0; color: #160307; font-size: clamp(36px, 3.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }

.news-intro { margin: 0 0 20px; color: #5d5357; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; }

.news-all, .news-read { display: inline-flex; align-items: center; gap: 10px; color: #a3122a; font-weight: 800; text-decoration: none; }
.news-all { font-size: 15px; }
.news-all svg, .news-read svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms ease; }
.news-all:hover svg, .news-card:hover .news-read svg { transform: translateX(5px); }
.news-all:focus-visible, .news-card:focus-visible { outline: 3px solid #a3122a; outline-offset: 5px; border-radius: 18px; }

.news-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 22px; }

.news-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  column-gap: 22px;
  padding: 16px;
  border: 1px solid rgba(22, 3, 7, 0.08);
  border-radius: 24px;
  color: #160307;
  background: #fff;
  box-shadow: 0 20px 40px -32px rgba(88, 0, 17, 0.35);
  text-decoration: none;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease, border-color 300ms ease;
}

.news-card:hover { border-color: rgba(163, 18, 42, 0.22); box-shadow: 0 30px 60px -34px rgba(88, 0, 17, 0.5); transform: translateY(-4px); }

.news-thumb { grid-row: 1 / -1; display: block; overflow: hidden; border-radius: 16px; background: #f4ecea; aspect-ratio: 4 / 3; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1); }
.news-card:hover .news-thumb img { transform: scale(1.06); }

.news-meta { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; color: #5d5357; font-size: 12.5px; font-weight: 700; }
.news-meta b { padding: 4px 10px; border-radius: 999px; color: #a3122a; background: rgba(163, 18, 42, 0.08); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.news-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(22, 3, 7, 0.25); }

.news-card h3 { margin: 0 0 12px; font-size: clamp(18px, 1.35vw, 21px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.news-card p { margin: 0 0 18px; color: #5d5357; font-size: 15.5px; line-height: 1.6; }
.news-read { align-self: end; font-size: 14px; }

.news-card-featured { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: auto; padding: 18px 18px 26px; }
.news-card-featured .news-thumb { grid-row: auto; aspect-ratio: 16 / 9; margin-bottom: 14px; }
.news-card-featured .news-meta { margin-top: 4px; }
.news-card-featured h3 { font-size: clamp(24px, 2vw, 32px); letter-spacing: -0.03em; line-height: 1.15; }

@media (max-width: 960px) {
  .news-head { grid-template-columns: 1fr; align-items: start; }
  .news-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .news-card-featured { grid-row: auto; }
}

@media (max-width: 560px) {
  .news-card { grid-template-columns: 1fr; padding: 14px 14px 20px; }
  .news-thumb { grid-row: auto; margin-bottom: 12px; aspect-ratio: 16 / 9; }
}

/* ---------- Animações de entrada ao rolar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #580011, #c31432 60%, #ff8a78);
  box-shadow: 0 0 10px rgba(195, 20, 50, 0.45);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

.reveal-word {
  display: inline-block;
  margin: -0.14em 0 -0.18em;
  padding: 0.14em 0 0.18em;
  overflow: hidden;
  vertical-align: top;
}

.reveal-word > span { display: inline-block; }

.has-reveal [data-reveal="rise"]:not(.is-revealed),
.has-reveal [data-reveal="from-left"]:not(.is-revealed),
.has-reveal [data-reveal="from-right"]:not(.is-revealed),
.has-reveal [data-reveal="mask"]:not(.is-revealed) { opacity: 0; }

.has-reveal [data-reveal="words"]:not(.is-revealed) .reveal-word > span { translate: 0 115%; }
.has-reveal [data-reveal="draw"]:not(.is-revealed) path { stroke-dasharray: 1; stroke-dashoffset: 1; }

.has-reveal [data-reveal="rise"].is-revealed {
  animation: reveal-rise 1050ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) backwards;
}

.has-reveal [data-reveal="words"].is-revealed .reveal-word > span {
  animation: reveal-word 1100ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0ms) + var(--word, 0) * 55ms) backwards;
}

.has-reveal [data-reveal="from-left"].is-revealed {
  animation: reveal-from-left 1700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) backwards;
}

.has-reveal [data-reveal="from-right"].is-revealed {
  animation: reveal-from-right 1700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms) backwards;
}

.has-reveal [data-reveal="mask"].is-revealed {
  animation: reveal-mask 1300ms cubic-bezier(0.65, 0, 0.35, 1) var(--reveal-delay, 0ms) backwards;
}

.has-reveal [data-reveal="draw"].is-revealed path {
  animation: reveal-draw 2200ms cubic-bezier(0.65, 0, 0.35, 1) var(--reveal-delay, 0ms) backwards;
}

@keyframes reveal-rise {
  from { opacity: 0; translate: 0 38px; filter: blur(7px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

@keyframes reveal-word {
  from { translate: 0 115%; rotate: 4deg; }
  to { translate: 0 0; rotate: 0deg; }
}

@keyframes reveal-from-left {
  from { opacity: 0; translate: -16% 3%; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes reveal-from-right {
  from { opacity: 0; translate: 16% 3%; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes reveal-mask {
  from { opacity: 0.3; clip-path: inset(100% -30% -30% -30%); translate: 0 30px; }
  to { opacity: 1; clip-path: inset(-30% -30% -30% -30%); translate: 0 0; }
}

@keyframes reveal-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Sobre até 1100px (celular, tablet, notebook estreito): palco fixo na tela, Loren dá lugar ao Diego ao rolar */
.about-mphoto { display: none; }

@media (max-width: 1100px) {
  .about-story { height: calc(100svh + 1000px); padding-top: 64px; }
  .about-story > .about { position: sticky; top: 0; display: block; width: 100%; height: 100svh; min-height: 0; padding: 0; overflow: hidden; }
  .about-routes,
  .quote-connector,
  .highlight-connector { display: none; }
  .about h2,
  .about h2 .accent { transform: none; }
  .about-copy.is-diego .about-title-compact { height: auto; }
  .about-quotes,
  .about-quotes.about-quotes-single { display: grid; grid-template-columns: 1fr; }
  .about-quotes blockquote { width: 100%; }
  .about-text { max-width: none; }
  .about .eyebrow-dark { font-size: 13px; }
  .about-copy .about-highlight,
  .about-copy.is-diego .about-highlight { height: auto; }
  .about-copy.is-diego .about-text { min-height: 0; }
  .about-copy.is-loren,
  .about-copy.is-diego {
    position: absolute;
    top: var(--about-top, 16px);
    left: 50%;
    width: min(calc(100% - 44px), 560px);
    transform: translateX(-50%) scale(var(--about-fit, 1));
    transform-origin: top center;
  }
  .about-visual,
  .about-copy .about-tags { display: none; }

  .about .eyebrow-dark { margin-bottom: 10px; }
  .about h2,
  .about-copy.is-diego .about-title-compact { margin-bottom: 16px; font-size: clamp(28px, 8vw, 40px); }

  .about-mphoto {
    position: relative;
    display: block;
    height: clamp(240px, 40svh, 340px);
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background:
      radial-gradient(ellipse 70% 55% at 50% 35%, rgba(224, 75, 85, 0.28), transparent 70%),
      #210409;
  }

  .about-mphoto img {
    position: absolute;
    bottom: -16%;
    left: 50%;
    width: auto;
    max-width: none;
    height: 116%;
    transform: translateX(-50%);
    filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.35));
  }

  .about-copy.is-diego .about-mphoto img { height: 124%; }

  .about-mphoto figcaption {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 220, 212, 0.25);
    border-radius: 999px;
    color: #fff6f2;
    background: rgba(33, 4, 9, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* perguntas por cima da parte de baixo da foto */
  .about-copy .about-quotes { position: relative; z-index: 2; gap: 8px; margin: -96px 12px 18px; }
  .about-copy.is-diego .about-quotes-single { margin: -74px 12px 24px; }
  .about-copy .about-quotes blockquote,
  .about-copy.is-diego .about-quotes-single blockquote {
    height: auto;
    min-height: 64px;
    padding: 12px 16px 12px 54px;
    border-color: rgba(66, 1, 16, 0.35);
    background: rgba(250, 247, 243, 0.95);
    box-shadow: 0 18px 34px -18px rgba(20, 2, 6, 0.6);
    font-size: 15px;
  }
  .about-copy .quote-mark { top: 14px; left: 14px; font-size: 52px; }

  .about-copy .about-text,
  .about-copy.is-diego .about-text { margin-bottom: 12px; font-size: 15px; line-height: 1.55; }
  .about-copy .about-highlight,
  .about-copy.is-diego .about-highlight { width: 100%; min-height: 0; margin: 0; padding: 12px 16px; font-size: 15px; }
}

@media (min-width: 841px) and (max-width: 1100px) {
  .about-story { padding-top: 104px; }
  .about h2,
  .about-copy.is-diego .about-title-compact { font-size: 40px; }
}

/* Sobre acima de 1100px: o palco de 1672×941 é reduzido para caber inteiro na tela (escala calculada no script) */
@media (min-width: 1101px) {
  .about-story {
    --about-scale: 1;
    height: 1701px;
    margin-bottom: calc(941px * (var(--about-scale) - 1));
    overflow-x: clip;
  }
  .about-story > .about {
    position: sticky;
    top: 0;
    width: calc(100% / var(--about-scale));
    height: 941px;
    transform: scale(var(--about-scale));
    transform-origin: top left;
  }
  .about-copy { top: 96px; left: clamp(64px, 6.35%, 106px); transform: none; }
  .about-visual { width: 47%; transform: none; }
}

/* Soluções até 1100px: sem as formas do fundo vazando pelo vidro dos cards */
@media (max-width: 1100px) {
  .service-scene { display: none; }
  .service-card {
    border-color: rgba(88, 0, 17, 0.08);
    background: #fff;
    box-shadow: 0 20px 40px -26px rgba(88, 0, 17, 0.35);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Home no celular: como trabalhamos, por onde começar e artigos */
@media (max-width: 840px) {
  .flow-glow { display: none; }

  .flow-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 20px 20px 18px;
  }
  .flow-card-top { display: contents; }
  .flow-icon { width: 46px; height: 46px; border-radius: 14px; }
  .flow-icon svg { width: 22px; height: 22px; }
  .flow-number { position: absolute; top: 16px; right: 18px; font-size: 32px; }
  .flow-card h3 { margin: 0; font-size: 20px; }
  .flow-card p { grid-column: 1 / -1; margin-top: 12px; }
  .flow-card .flow-get { padding-top: 14px; }

}

@media (max-width: 560px) {
  .news-card:not(.news-card-featured) {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 14px;
    padding: 12px 14px 12px 12px;
  }
  .news-card:not(.news-card-featured) .news-thumb { grid-row: 1 / -1; margin-bottom: 0; aspect-ratio: 1 / 1; }
  .news-card:not(.news-card-featured) .news-meta { flex-wrap: wrap; gap: 4px 8px; margin: 2px 0 6px; font-size: 12px; }
  .news-card:not(.news-card-featured) .news-meta b { white-space: nowrap; }
  .news-card:not(.news-card-featured) .news-meta i { display: none; }
  .news-card:not(.news-card-featured) h3 { margin-bottom: 8px; font-size: 15.5px; line-height: 1.3; }
  .news-card:not(.news-card-featured) .news-read { font-size: 13px; }
  .news-grid { gap: 14px; }
}

/* Redes sociais (topo e rodapé) */
.social { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 220, 212, 0.22);
  border-radius: 50%;
  color: #fff6f2;
  background: rgba(255, 255, 255, 0.06);
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.social a:hover { color: #4a0612; border-color: #fff6f2; background: #fff6f2; transform: translateY(-2px); }
.social a:focus-visible { outline: 2px solid #ff9a92; outline-offset: 3px; }
.social svg { width: 17px; height: 17px; }
.social .fill { fill: currentColor; }
.social .line { fill: none; stroke: currentColor; stroke-width: 1.9; }

.site-header { grid-template-columns: 250px 1fr auto; }
.primary-nav { transform: none; }
.header-actions { display: flex; align-items: center; gap: 14px; justify-self: end; }
@media (min-width: 841px) { .site-header { column-gap: 20px; } }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 200px 1fr auto; }
  .social-header a { width: 34px; height: 34px; }
  .social-header svg { width: 15px; height: 15px; }
}

@media (max-width: 1160px) and (min-width: 841px) {
  .header-cta { display: none; }
}

@media (max-width: 840px) {
  .site-header .brand { width: 148px; }
  .header-actions { order: 1; gap: 0; margin-left: auto; padding-left: 8px; }
  .site-header .menu-toggle { order: 2; margin-left: 8px; }
  .social-header { gap: 5px; }
  .social-header a { width: 32px; height: 32px; }
  .social-header svg { width: 14px; height: 14px; }
}

/* Rodapé */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding: clamp(56px, 7vw, 90px) max(5vw, calc((100vw - 1400px) / 2)) 28px;
  border-radius: 44px 44px 0 0;
  color: rgba(255, 236, 230, 0.75);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(224, 75, 85, 0.16), transparent 60%),
    #210409;
  font-family: var(--font-display);
}

.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 220, 212, 0.12); }
.footer-brand img { width: 210px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 360px; margin: 0; color: #fff6f2; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.footer-brand p span { color: #ff9a92; }
.footer-label { margin: 0 0 16px; color: #ff9a92; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav a, .footer-wa, .footer-bottom a { color: rgba(255, 236, 230, 0.82); font-size: 15px; font-weight: 600; text-decoration: none; transition: color 200ms ease; }
.footer-nav a:hover, .footer-wa:hover, .footer-bottom a:hover { color: #fff; }
.footer-wa { display: inline-block; margin-bottom: 18px; color: #fff6f2; font-size: 17px; font-weight: 800; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { font-size: 13px; }

@media (max-width: 840px) {
  .site-footer { margin-top: 24px; padding: 52px 22px 26px; border-radius: 32px 32px 0 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 170px; margin-bottom: 16px; }
  .footer-wa { font-size: 15px; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Por onde começar: cards mais limpos */
.pauta-tags { display: none; }
.pauta-number { width: auto; height: auto; place-items: start; border-radius: 0; background: none; font-size: 13px; letter-spacing: 0.08em; }
.pauta.is-open .pauta-number { color: #ff9a92; background: none; }
.pauta-toggle { grid-template-columns: 34px minmax(0, 1fr) 34px; }
.pauta-body-inner { padding-left: 74px; }
.pauta-question { margin-bottom: 24px; }

/* mais respiro dentro dos cards */
.pautas-list { gap: 14px; }
.pauta-toggle { padding: 24px 26px; }
.pauta-complaint { line-height: 1.5; }
.pauta-body-inner { padding-right: 26px; }
.pauta-note { margin-bottom: 12px; }
.pauta-question { margin-bottom: 30px; line-height: 1.38; }

@media (max-width: 840px) {
  .pautas-list { gap: 12px; }
  .pauta-toggle { grid-template-columns: 24px minmax(0, 1fr) 30px; gap: 14px; padding: 22px 20px 22px 22px; }
  .pauta-toggle::after { width: 30px; height: 30px; font-size: 18px; }
  .pauta-complaint { font-size: 15px; }
  .pauta-body-inner { padding: 4px 22px 0 60px; }
  .pauta-note { margin-bottom: 10px; font-size: 10px; }
  .pauta-question { margin-bottom: 26px; font-size: 18px; }
}

/* Rodapé: uma escala de texto só */
.footer-brand p { max-width: 340px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.footer-label { margin-bottom: 14px; color: rgba(255, 154, 146, 0.85); font-size: 11px; }
.footer-nav { gap: 10px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav a, .footer-wa, .footer-mail { color: rgba(255, 236, 230, 0.8); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 200ms ease; }
.footer-wa { margin-bottom: 0; }
.footer-nav a:hover, .footer-wa:hover, .footer-mail:hover { color: #fff; }
.footer-contact .social { margin-top: 8px; }
.footer-bottom, .footer-bottom a { color: rgba(255, 236, 230, 0.55); font-size: 13px; font-weight: 400; }

@media (max-width: 840px) {
  .footer-brand p { font-size: 19px; }
  .footer-wa { font-size: 15px; }
}

/* ---------- Formulário de contato ---------- */
.cf { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; font-family: var(--font-display); }
.cf[hidden] { display: none; }
.cf-backdrop { position: absolute; inset: 0; background: rgba(22, 3, 7, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 300ms ease; }
.cf-panel {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 28px;
  color: #160307;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(22, 3, 7, 0.7);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 300ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cf.is-open .cf-backdrop { opacity: 1; }
.cf.is-open .cf-panel { opacity: 1; transform: none; }

.cf-close { position: sticky; top: 16px; z-index: 2; display: grid; width: 40px; height: 40px; margin: 16px 16px -56px auto; place-items: center; border: 0; border-radius: 50%; color: #580011; background: #f6eeec; font-size: 24px; line-height: 1; cursor: pointer; transition: background 200ms ease; }
.cf-close:hover { background: #efe2df; }

.cf-form, .cf-done { padding: 40px 44px 36px; }
.cf-head { max-width: 520px; margin-bottom: 28px; }
.cf-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #a3122a; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cf-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #580011, #e04b55); }
.cf-head h2, .cf-done h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.cf-head p, .cf-done p { margin: 0; color: #5d5357; font-size: 15.5px; line-height: 1.55; }

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.cf-field { display: grid; gap: 8px; }
.cf-field > span, .cf-group legend { color: #160307; font-size: 14px; font-weight: 700; }
.cf-field em, .cf-group legend em { color: #8a7f83; font-style: normal; font-weight: 500; }
.cf-field input, .cf-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(22, 3, 7, 0.14);
  border-radius: 14px;
  color: #160307;
  background: #fbf8f7;
  font: inherit;
  font-size: 15px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.cf-field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.cf-field input:focus, .cf-field textarea:focus { border-color: #a3122a; outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(163, 18, 42, 0.12); }
.cf-field.is-invalid input { border-color: #c3142f; background: #fff7f7; }
.cf-field-full { margin-bottom: 8px; }

.cf-group { margin: 0 0 26px; padding: 0; border: 0; }
.cf-group legend { margin-bottom: 12px; padding: 0; }
.cf-group.is-invalid legend { color: #c3142f; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(22, 3, 7, 0.14); border-radius: 999px; color: #2b2527; background: #fff; font-size: 14px; font-weight: 600; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.cf-chip:hover span { border-color: rgba(163, 18, 42, 0.45); }
.cf-chip input:checked + span { border-color: transparent; color: #fff; background: linear-gradient(135deg, #580011, #a3122a); }
.cf-chip input:focus-visible + span { outline: 3px solid rgba(163, 18, 42, 0.35); outline-offset: 2px; }

.cf-unsure { margin: -6px 0 26px; padding: 22px 22px 0; border-radius: 20px; background: #fbf6f4; }
.cf-unsure-lead { margin: 0 0 18px; color: #580011; font-size: 14.5px; font-weight: 600; }
.cf-unsure .cf-group { margin-bottom: 22px; }

.cf-error { min-height: 0; margin: 0; color: #c3142f; font-size: 14px; font-weight: 600; }
.cf-error:not(:empty) { margin-bottom: 14px; }

.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.cf-submit, .cf-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; }
.cf-submit { border: 0; color: #fff; background: linear-gradient(135deg, #580011, #a3122a 60%, #c3142f); box-shadow: 0 16px 30px -16px rgba(163, 18, 42, 0.8); }
.cf-submit:hover { transform: translateY(-2px); }
.cf-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.cf-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cf-wa { border: 1px solid rgba(22, 3, 7, 0.14); color: #160307; background: #fff; }
.cf-wa:hover { border-color: #1f9d55; color: #14713c; }
.cf-wa svg { width: 18px; height: 18px; fill: #1f9d55; }

.cf-done { display: grid; justify-items: start; gap: 6px; padding-top: 56px; padding-bottom: 48px; }
.cf-done[hidden] { display: none; }
.cf-done-icon { display: grid; width: 56px; height: 56px; margin-bottom: 14px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #580011, #c3142f); }
.cf-done-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cf-done .cf-submit { margin-top: 18px; }

@media (max-width: 640px) {
  .cf { place-items: end stretch; padding: 0; }
  .cf-panel { width: 100%; max-height: 94svh; border-radius: 26px 26px 0 0; transform: translateY(40px); }
  .cf-form, .cf-done { padding: 30px 20px 28px; }
  .cf-grid { grid-template-columns: 1fr; gap: 14px; }
  .cf-chip span { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .cf-unsure { padding: 18px 16px 0; }
  .cf-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-backdrop, .cf-panel { transition: none; }
}
.cf-lock, .cf-lock body { overflow: hidden; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Topo em notebooks (altura até 900px): texto logo abaixo do menu, botões sempre na primeira tela */
@media (min-width: 841px) and (max-height: 900px) {
  .hero { min-height: 0; height: max(100svh, 860px); }
  .hero .hero-copy { top: 124px; transform: none; }
}

/* Sobre em telas muito baixas (celular deitado): sem palco fixo, Loren e Diego um depois do outro */
@media (max-width: 1100px) and (max-height: 599px) {
  .about-story { height: auto; padding-top: 64px; }
  .about-story > .about { position: relative; height: auto; padding: 24px 0 48px; overflow: visible; }
  .about-copy.is-loren,
  .about-copy.is-diego { position: relative; top: auto; left: auto; margin: 0 auto; opacity: 1; filter: none; translate: none; transform: none; }
  .about-copy.is-diego { margin-top: 64px; }
}

/* Por onde começar em uma coluna (até 1050px): o botão vem depois da lista */
@media (max-width: 1050px) {
  .starting-inner { display: flex; flex-direction: column; gap: 0; }
  .starting-copy { display: contents; }
  .pautas { order: 1; margin-top: 8px; }
  .starting-cta { order: 2; margin-top: 28px; }
}
@media (max-width: 840px) {
  .starting-cta { width: 100%; }
}

/* Artigos entre 841px e 1100px: destaque na largura toda, os outros dois lado a lado */
@media (min-width: 841px) and (max-width: 1100px) {
  .news-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .news-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .news-card-featured { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: auto auto auto 1fr; column-gap: 28px; }
  .news-card-featured .news-thumb { grid-row: 1 / -1; margin-bottom: 0; aspect-ratio: 4 / 3; }
  .news-card:not(.news-card-featured) { grid-template-columns: 1fr; }
  .news-card:not(.news-card-featured) .news-thumb { grid-row: auto; margin-bottom: 14px; aspect-ratio: 16 / 9; }
}

/* Topo no celular: entrada só com CSS, começa já na primeira pintura */
@media (max-width: 840px) {
  /* o título fica fixo (o degradê de "construir." e "conectar." some se o bloco for animado no Chrome) */
  .hero .hero-copy > :not(h1) { animation: hero-copy-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero .hero-copy > .hero-description { animation-delay: 120ms; }
  .hero .hero-copy > .hero-actions { animation-delay: 220ms; }
}
@keyframes hero-copy-in {
  from { opacity: 0.01; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy > :not(h1) { animation: none; }
}

/* Soluções no computador: seção presa na tela enquanto a rolagem da página move os cards para o lado */
@media (min-width: 841px) {
  .service-track { position: relative; }
  .service-track > .service-showcase { position: sticky; top: var(--stick-top, 0px); }
  .service-track .service-carousel { overflow-x: hidden; }
}

/* Soluções em notebooks (altura até 980px): seção compacta para caber inteira na tela enquanto os cards correm */
@media (min-width: 841px) and (max-height: 980px) {
  .service-track > .service-showcase { min-height: 0; padding: 40px 0 26px; }
  .service-track .service-heading { min-height: 0; margin-bottom: 18px; }
  .service-track #service-showcase-title br { display: none; }
  .service-track .service-card h3 { margin-bottom: 14px; }
  .service-track .service-tags { margin-bottom: 12px; }
  .service-track .service-intro h2 { margin-bottom: 10px; }
  .service-track .service-card { min-height: 0; padding: 24px 28px 26px; }
  .service-track .service-carousel { padding-bottom: 16px; }
}
