/* Case palette: XR pink, campaign blue, ink, graphite and paper white. */
.pm-page {
  --pm-pink: #ff248e;
  --pm-blue: #171cc4;
  --pm-ink: #080808;
  --pm-panel: #141414;
  --pm-white: #f7f7fa;
  --pm-muted: #b3b3bd;
  margin: 0;
  background: var(--pm-ink);
  color: var(--pm-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
.pm-page *, .pm-page *::before, .pm-page *::after { box-sizing: border-box; }
.pm-page a { color: inherit; }
.pm-page a:focus-visible { outline: 2px solid var(--pm-pink); outline-offset: 5px; }
.pm-wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.pm-header { border-bottom: 1px solid #ffffff14; }
.pm-header .pm-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pm-logo { display: flex; align-items: center; min-height: 44px; }
.pm-logo img { width: 137px; height: auto; }
.pm-nav { display: flex; gap: 28px; align-items: center; }
.pm-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; }
.pm-nav .pm-lang { color: var(--pm-muted); }
.pm-skip { position: absolute; top: -100px; padding: 12px; background: #080808; z-index: 10; }
.pm-skip:focus { top: 10px; }
.pm-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding-block: 80px 60px; }
.pm-eyebrow { color: var(--pm-pink); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; }
.pm-page h1 { font-size: clamp(48px, 5.8vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 0 0 26px; }
.pm-page h1 span { display: block; color: var(--pm-pink); font-size: 1.35em; }
.pm-lead { max-width: 37ch; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; text-wrap: balance; margin: 0 0 30px; }
.pm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pm-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 14px 26px; border-radius: 50px; background: linear-gradient(135deg, #ff248e, #d4006e); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.pm-button:hover { transform: translateY(-2px); }
button.pm-button { border: 0; color: inherit; font-family: inherit; cursor: pointer; }
button.pm-button:focus-visible { outline: 2px solid #ff80bb; outline-offset: 5px; }
.pm-button--dark { background: linear-gradient(135deg, #303030, #080808); box-shadow: inset 0 0 0 1px #ffffff28; }
.pm-art { position: relative; margin: 0; padding: 14px; }
.pm-art::before, .pm-art::after { content: ''; position: absolute; width: 68px; height: 68px; border: solid #6368ff; pointer-events: none; }
.pm-art::before { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 20px 0 0; }
.pm-art::after { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 20px; }
.pm-art img { display: block; width: 100%; height: auto; border-radius: 12px; }
.pm-meta { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; padding-block: 28px; margin: 0; border-block: 1px solid #ffffff1a; }
.pm-meta dt { color: var(--pm-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.pm-meta dd { margin: 8px 0 0; font-size: 16px; font-weight: 700; }
.pm-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); gap: 100px; align-items: start; padding-block: 90px; }
.pm-page h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
.pm-copy p { color: var(--pm-muted); max-width: 56ch; }
.pm-copy strong { color: var(--pm-white); }
.pm-steps { list-style: none; padding: 0; margin: 36px 0; counter-reset: step; }
.pm-steps li { counter-increment: step; position: relative; border-top: 1px solid #ffffff1a; padding: 20px 0 20px 52px; }
.pm-steps li::before { content: '0' counter(step); position: absolute; left: 0; top: 22px; font: 12px/1.6 'Courier New', monospace; color: var(--pm-pink); }
.pm-steps h3 { font-size: 19px; margin: 0 0 5px; }
.pm-steps p { margin: 0; font-size: 15px; }
.pm-credit { padding: 24px; border-radius: 16px; background: var(--pm-panel); border: 1px solid #ffffff14; }
.pm-credit h3 { margin: 0 0 10px; font-size: 20px; }
.pm-credit p { margin: 0; }
.pm-source { font-size: 12px; margin-top: 24px; }
.pm-source a { text-underline-offset: 4px; }
.pm-film { margin: 0; scroll-margin-top: 24px; }
.pm-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--pm-blue); border: 1px solid #ffffff26; border-radius: 20px; }
.pm-film figcaption { margin-top: 14px; color: var(--pm-muted); font-size: 12px; }
.pm-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px; background: var(--pm-panel); border: 1px solid #ffffff14; border-radius: 20px; margin-bottom: 70px; }
.pm-bottom h2 { margin: 0; font-size: clamp(24px, 2.5vw, 34px); max-width: 24ch; }
.pm-footer { border-top: 1px solid #ffffff14; padding-block: 26px; color: var(--pm-muted); font-size: 12px; }
.pm-footer .pm-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
/* Keep the supplied campaign artwork complete in portfolio cards. */
.xr-featured-case--scan { margin-bottom: 24px; }
.xr-featured-case--leap { margin-bottom: 24px; }
.xr-featured-case--leap .xr-featured-case-img { background: #000; }
.xr-featured-case--leap .xr-featured-case-img img { object-fit: contain; object-position: center; transform: none !important; }
@media (max-width: 767px) {
  .xr-featured-case--leap .xr-featured-case-img { flex-basis: auto; width: 100%; max-width: 100%; height: 360px; min-height: 360px; }
}
.xr-featured-case--scan .xr-featured-case-img { background: #171cc4; }
.xr-featured-case--scan .xr-featured-case-img img { object-fit: contain; object-position: center; transform: none !important; }
.xr-featured-case--scan:hover .xr-featured-case-img img { transform: none !important; }
.xr-case-video-trigger {
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: #171cc4;
  color: #fff !important;
  font: inherit;
  text-align: center;
}
.xr-case-video-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, #000b 100%);
}
.xr-case-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff248e, #d4006e);
  box-shadow: 0 0 0 10px #ffffff26, 0 10px 30px #0005;
  transition: box-shadow 250ms ease;
}
.xr-case-video-play svg { width: 27px; height: 27px; margin-left: 5px; fill: currentColor; }
.xr-case-video-trigger:hover .xr-case-video-play { box-shadow: 0 0 0 15px #ffffff33, 0 10px 30px #0005; }
.xr-case-video-label { position: absolute; bottom: 24px; left: 16px; right: 16px; z-index: 1; font-size: 13px; font-weight: 700; color: #fff; }
.xr-case-video-trigger:focus-visible { outline: 3px solid #ff80bb; outline-offset: -5px; }
.xr-featured-case a.xr-featured-cta { text-decoration: none; color: #fff; }
.xr-featured-case--boticario .xr-case-video-trigger { background: #141414; }
.xr-project-film { background: #0d0d0d; }
.xr-project-film-preview { width: min(100%, 400px); margin: 0 auto; }
.xr-project-film-preview .xr-case-video-trigger { width: 100%; background: #141414; border-radius: 20px; border: 1px solid #ffffff26; }
.xr-project-film-preview .xr-case-video-trigger > img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.xr-project-film-preview figcaption { margin-top: 16px; color: #b3aeb7; font-size: 12px; text-align: center; }
.pm-film .xr-case-video-trigger { width: 100%; border-radius: 20px; border: 1px solid #ffffff26; }
.pm-film .xr-case-video-trigger > img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.pg-item--scan > img, .xr-case-card--scan > img, .en-portfolio-item--scan > img { object-fit: contain; object-position: center top; background: #171cc4; }
@media (max-width: 900px) {
  .pm-hero { gap: 32px; }
  .pm-story { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); }
  .pm-meta { grid-template-columns: 1fr 1fr; }
  .pm-meta > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .pm-wrap { width: calc(100% - 40px); }
  .pm-header .pm-wrap { min-height: 76px; }
  .pm-logo img { width: 112px; }
  .pm-nav { gap: 16px; }
  .pm-nav a { font-size: 12px; }
  .pm-hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px 36px; }
  .pm-page h1 { font-size: clamp(48px, 11vw, 72px); }
  .pm-story { grid-template-columns: minmax(0, 1fr); padding-block: 56px; gap: 40px; }
  .pm-film { width: min(100%, 360px); margin-inline: auto; }
  .pm-bottom { flex-direction: column; align-items: flex-start; padding: 24px; margin-bottom: 44px; }
  .pm-actions .pm-button { width: 100%; }
  .xr-featured-case--scan .xr-featured-case-img { min-height: 0; aspect-ratio: 616 / 410; flex-basis: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pm-page *, .pm-page *::before, .pm-page *::after { transition: none !important; scroll-behavior: auto !important; } }

/* The homepage has six service links; switch to its existing menu sooner. */
@media (max-width: 1200px) {
  .xr-has-sites-nav .en-nav { display: none; }
  .xr-has-sites-nav .en-hamburger { display: flex; }
}
/* Shared CTA geometry also supports the English homepage's isolated styles. */
.xr-bento-grid--especiais .xr-ia-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff248e, #d4006e);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 50px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 28px #ff248e59;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.xr-bento-grid--especiais .xr-ia-btn:hover { transform: translateY(-2px); }
/* Dark variant shares the pink CTA's shape, spacing and responsive sizing. */
.xr-ia-btn.xr-ia-btn--dark {
  background: linear-gradient(135deg, #303030 0%, #080808 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 28px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.xr-ia-btn.xr-ia-btn--dark:hover {
  background: linear-gradient(135deg, #3c3c3c 0%, #111 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 10px 36px rgba(0, 0, 0, 0.5);
}

.xr-ia-btn.xr-ia-btn--dark:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* Two compact text panels share the left side; one film cover anchors the right. */
.xr-bento-grid.xr-bento-grid--especiais {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "lead lead film" "story story film";
}
.xr-bento-grid--especiais .xr-bento-lead { padding: 30px 32px; }
.xr-bento-grid--especiais .xr-bento-lead .xr-ia-eyebrow { margin-bottom: 10px; }
.xr-bento-grid--especiais .xr-bento-lead h2 { margin-top: 12px; }
.xr-bento-grid--especiais .xr-bento-lead > p { max-width: none; margin-bottom: 20px; }
.xr-bento-grid--especiais .xr-bento-ctas { gap: 14px; }
.xr-bento-grid--especiais .xr-bento-lead .xr-ia-btn { font-size: 12px; padding: 15px 24px; }
.xr-special-video {
  grid-area: film;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 30px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  color: #fff;
  text-align: center;
  font: inherit;
}
.xr-special-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0009 0%, #0001 36%, #0002 55%, #000e 100%);
}
.xr-special-video > .xr-special-video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: transform 600ms ease;
}
.xr-special-video:hover > .xr-special-video-cover { transform: scale(1.035); }
.xr-special-video, .xr-special-video:hover, .xr-special-video:focus { color: #fff !important; }
.xr-special-video-logo { display: block; align-self: center; width: min(100%, 250px); height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.xr-special-video-play {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff248e, #d4006e);
  border-radius: 50%;
  box-shadow: 0 0 0 12px #ffffff15, 0 12px 40px #0006;
  transition: box-shadow 250ms ease;
}
.xr-special-video-play svg { width: 27px; height: 27px; margin-left: 5px; fill: currentColor; }
.xr-special-video:hover .xr-special-video-play { box-shadow: 0 0 0 17px #ffffff20, 0 12px 40px #0006; }
.xr-special-video-caption { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.xr-special-video-caption strong { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; text-wrap: balance; }
.xr-special-video-caption > span { font-size: 12px; color: #ffffffb3; line-height: 1.5; }
.xr-special-case { grid-area: story; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 26px 32px; }
.xr-special-case-eyebrow { color: #ff248e; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 12px; }
.xr-special-case h3 { color: #fff; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.xr-special-case > p:not(.xr-special-case-eyebrow) { color: #b3aeb7; font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
.xr-special-case-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; width: 100%; border-top: 1px solid #ffffff1a; padding-top: 16px; }
.xr-special-case dl { display: flex; gap: 24px; flex-wrap: wrap; margin: 0; }
.xr-special-case dt { color: #a6a0aa; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.xr-special-case dd { color: #fff; font-size: 13px; font-weight: 700; margin: 5px 0 0; }
.xr-special-case .xr-ia-btn { font-size: 11px; padding: 13px 20px; min-height: 46px; justify-content: center; white-space: normal; }
.xr-special-case .xr-ia-btn i { font-size: 13px; }
.xr-special-video:focus-visible { outline: 2px solid #ff80bb; outline-offset: 5px; }

.xr-project-video-dialog {
  width: min(460px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 12px;
  background: #0d0d0d;
  color: #fff;
  border: 1px solid #ffffff26;
  border-radius: 20px;
  overflow: auto;
  box-shadow: 0 30px 100px #0009;
}
.xr-project-video-dialog:not([open]) { display: none; }
.xr-project-video-dialog::backdrop { background: #000d; backdrop-filter: blur(8px); }
.xr-project-video-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 10px 8px; }
.xr-project-video-head h2 { font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff; margin: 0; }
.xr-project-video-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 50%; color: #fff; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.xr-project-video-close:focus-visible { outline: 2px solid #ff248e; outline-offset: 3px; }
.xr-project-video-slot { display: flex; justify-content: center; background: #000; border-radius: 12px; overflow: hidden; }
.xr-project-video-slot video { display: block; width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); object-fit: contain; aspect-ratio: 9 / 16; }

@media (max-width: 1024px) {
  .xr-bento-grid.xr-bento-grid--especiais {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    grid-template-areas: "lead lead" "story film";
  }
}
@media (max-width: 768px) {
  .xr-bento-grid--especiais .xr-ia-btn { width: 100%; justify-content: center; font-size: 12px; padding: 14px 20px; }
  .xr-bento-grid.xr-bento-grid--especiais {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lead" "film" "story";
  }
  .xr-bento-grid--especiais .xr-bento-lead, .xr-special-case { padding: 24px 22px; }
  .xr-special-video { height: 340px; min-height: 340px; aspect-ratio: auto; padding: 24px; }
  .xr-special-video-logo { width: min(100%, 220px); }
  .xr-special-video-caption strong { font-size: 24px; }
  .xr-special-case h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .xr-special-video, .xr-special-video-cover, .xr-special-video-play { transition: none !important; }
  .xr-special-video:hover > .xr-special-video-cover { transform: none; }
}

.ga-page {
  --ga-blue: #4285f4;
  --ga-red: #ea4335;
  --ga-yellow: #fbbc05;
  --ga-green: #34a853;
  --pm-blue: var(--ga-blue);
}
.ga-page .pm-header { background: #080808e8; backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.ga-page .pm-hero { min-height: calc(100vh - 89px); }
.ga-page .ga-hero-copy { position: relative; min-width: 0; }
.ga-page .ga-hero-copy::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  left: -55px;
  top: -50px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, #4285f438, transparent 68%);
}
.ga-page h1 span { color: #fff; }
.ga-page h1 span::after {
  content: '';
  display: block;
  width: min(330px, 72%);
  height: 7px;
  margin-top: 18px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--ga-blue) 0 25%, var(--ga-red) 25% 50%, var(--ga-yellow) 50% 75%, var(--ga-green) 75%);
}
.ga-page .ga-film { max-width: 430px; justify-self: end; }
.ga-page .ga-film::before { border-color: var(--ga-blue); }
.ga-page .ga-film::after { border-color: var(--ga-green); }
.ga-page .ga-film .xr-case-video-trigger { width: 100%; border-radius: 18px; background: #111; }
.ga-page .ga-film video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.ga-page .ga-film figcaption { color: var(--pm-muted); font-size: 12px; margin-top: 13px; text-align: center; }
.ga-page .ga-story { grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); }
.ga-delivery { position: sticky; top: 120px; padding: 30px; border: 1px solid #ffffff1a; border-radius: 20px; background: linear-gradient(155deg, #4285f417, #141414 45%); }
.ga-delivery h2 { font-size: clamp(25px, 2.5vw, 34px); }
.ga-delivery ul { list-style: none; padding: 0; margin: 30px 0 0; }
.ga-delivery li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid #ffffff17; color: var(--pm-muted); font-size: 14px; }
.ga-delivery li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--ga-blue); box-shadow: 0 0 0 5px #4285f426; }
.ga-delivery li:nth-child(2)::before { background: var(--ga-red); box-shadow: 0 0 0 5px #ea433526; }
.ga-delivery li:nth-child(3)::before { background: var(--ga-yellow); box-shadow: 0 0 0 5px #fbbc0526; }
.ga-delivery li:nth-child(4)::before { background: var(--ga-green); box-shadow: 0 0 0 5px #34a85326; }
.ga-delivery li:nth-child(5)::before { background: var(--pm-pink); box-shadow: 0 0 0 5px #ff248e26; }
@media (max-width: 900px) {
  .ga-page .ga-film { justify-self: center; }
  .ga-page .ga-story { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .ga-delivery { position: static; }
}
@media (max-width: 700px) {
  .ga-page .pm-hero { min-height: 0; }
  .ga-page h1 { font-size: 9.8vw; }
  .ga-page .pm-nav a:first-child { display: none; }
  .ga-page .ga-film { width: min(100%, 370px); }
}
@media (prefers-reduced-motion: reduce) {
  .ga-page .ga-film video { display: none; }
  .ga-page .ga-film .xr-case-video-trigger { min-height: 520px; background: linear-gradient(145deg, #4285f4, #1b1b1b 58%); }
}
