@font-face {
  font-family: Manrope;
  src: url("../fontes/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #111d47;
  --blue: #2044ca;
  --orange: #ff842f;
  --paper: #fbf8f0;
  --muted: #526079;
  --line: #e1e5ef;
  --wash: #f2f5ff;
  --white: #fff;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--white); font: 500 1rem/1.65 Manrope, system-ui, sans-serif; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c24b0d; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.3vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.55rem); }
p { text-wrap: pretty; }
ul, ol { padding-inline-start: 1.35em; }
.shell { width: min(1200px, calc(100% - clamp(32px, 7vw, 104px))); margin-inline: auto; }
.section { padding-block: clamp(52px, 8vw, 105px); }
.section-heading { margin-bottom: clamp(22px, 4vw, 38px); }
.section-heading > p:not(.eyebrow), .section-heading > div > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.heading-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.heading-split > p { max-width: 35ch; }
.eyebrow { display: block; color: #2845a2; font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; margin-bottom: 12px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; padding: .6rem 1rem; transform: translateY(-150%); background: var(--white); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; min-height: 46px; max-width: 100%; align-items: center; justify-content: center; gap: .68rem; border: 1px solid transparent; border-radius: 10px; padding: .68rem 1.03rem; font-weight: 800; line-height: 1.27; text-align: center; text-decoration: none; cursor: pointer; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.button span[aria-hidden] { font-size: 1.08em; }
.button-primary { background: var(--orange); color: #171a29; }
.button-primary:hover { background: #ff9a57; }
.button-outline { background: transparent; color: var(--ink); border-color: #ccd3e1; }
.button-outline:hover { border-color: var(--blue); color: var(--blue); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #243879; }
.text-link { display: inline-flex; min-height: 38px; align-items: center; gap: .58rem; color: #2346ba; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }

.service-bar { background: #101937; color: #eef2ff; font-size: .78rem; font-weight: 700; }
.service-bar .shell { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-bar p { display: flex; align-items: center; gap: 9px; }
.service-dot { flex: none; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.service-bar a { text-decoration: none; }
.service-bar a:hover { text-decoration: underline; }
.site-header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid #e9ecf2; }
.header-row { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: clamp(12px, 2.7vw, 36px); }
.logo { flex: none; display: inline-flex; align-items: center; }
.logo img { width: 148px; }
.site-nav { display: flex; align-items: center; gap: clamp(13px, 2.15vw, 29px); font-size: .91rem; font-weight: 800; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.header-quote { flex: none; font-size: .9rem; }
.mobile-nav { display: none; }
.breadcrumbs { background: #f5f7fc; color: #4a5770; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 9px 0; margin-block: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: #76829e; }

.home-hero { position: relative; background: #101a41; color: var(--white); overflow: clip; }
.home-hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle, #8aa1fa52 1px, transparent 1.4px) 0 0 / 17px 17px; mask-image: linear-gradient(115deg, #000 2%, transparent 44%); }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: clamp(540px, 49vw, 670px); }
.hero-copy { z-index: 1; align-self: center; padding-block: clamp(48px, 6vw, 86px); }
.hero-eyebrow { color: #ffd6b8; display: flex; align-items: center; gap: 9px; }
.hero-eyebrow > span { width: 24px; height: 2px; background: var(--orange); }
.hero-copy h1 { max-width: 12ch; font-size: clamp(2.7rem, 6.1vw, 5.3rem); letter-spacing: -.065em; line-height: .99; }
.hero-copy h1 em { color: #ffa061; font-style: normal; }
.hero-copy > p:not(.eyebrow, .hero-note) { margin-top: 20px; max-width: 43ch; color: #dde5ff; font-size: clamp(1rem, 1.6vw, 1.13rem); }
.hero-copy .button-outline { border-color: #8293cc; color: #fff; }
.hero-copy .button-outline:hover { background: #223570; }
.hero-copy > .hero-logo-help:not(.eyebrow, .hero-note), .hero-copy > .hero-logo-status:not(.eyebrow, .hero-note) { margin-top: 10px; font-size: .8rem; }
.hero-copy > .hero-logo-status:empty { margin-top: 0; }
.hero-copy > .hero-logo-status[data-error] { color: #ffc79f; }
.hero-note { display: flex; gap: 8px; align-items: baseline; color: #d5def9; margin-top: 18px; font-size: .84rem; }
.hero-note span { color: #ffc395; font-weight: 800; }
.hero-figure { position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 0; margin-right: calc(clamp(16px, 3.5vw, 52px) * -1); background: #121e4a; }
.hero-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-figure::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, #101a41 0%, #101a4140 16%, transparent 37%), linear-gradient(0deg, #101a41a8, transparent 25%); }
.hero-figure figcaption { position: absolute; z-index: 1; bottom: 22px; right: clamp(22px, 4vw, 45px); display: flex; gap: 8px; align-items: center; color: #e1e8ff; background: #101a41b5; padding: 5px 8px; border-radius: 4px; font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-figure-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.hero-logo-preview {
  --latex-light: #a7b9ff; --latex-base: #4766ea; --latex-mid: #2440b6; --latex-dark: #152365;
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: minmax(0, min(78%, 470px)) auto;
  align-content: center; place-items: center; padding: clamp(18px, 3.5vw, 42px) 14px 57px; scroll-margin: 12px;
  background: radial-gradient(ellipse at 50% 43%, #536de0 0%, #283f98 31%, #101a41 74%);
}
.hero-logo-preview:focus-visible { outline-offset: -5px; }
.hero-logo-preview::before {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: radial-gradient(circle, #b4c5ff42 1px, transparent 1.5px) 0 0 / 16px 16px;
  mask-image: radial-gradient(ellipse at 55% 46%, transparent 28%, #0008 59%, transparent 78%);
}
.hero-logo-preview[data-color="Branco"] { --latex-light: #fff; --latex-base: #f4f6ff; --latex-mid: #c3cee8; --latex-dark: #869bc2; }
.hero-logo-preview[data-color="Laranja"] { --latex-light: #ffcb94; --latex-base: #fc894a; --latex-mid: #da5727; --latex-dark: #8c321c; }
.hero-latex-light { stop-color: var(--latex-light); }
.hero-latex-base { stop-color: var(--latex-base); }
.hero-latex-mid { stop-color: var(--latex-mid); }
.hero-latex-dark { stop-color: var(--latex-dark); }
.hero-balloon-knot { fill: var(--latex-mid); }
.hero-balloon { position: relative; width: min(82%, 400px); height: 100%; overflow: visible; }
.hero-logo-controls { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; }
.hero-logo-colors { display: flex; gap: 2px; }
.hero-logo-colors button, .hero-logo-clear { min-height: 44px; border: 1px solid transparent; color: #f4f6ff; cursor: pointer; background: #0d1743a8; }
.hero-logo-colors button { display: grid; width: 44px; place-items: center; padding: 0; border-radius: 50%; }
.hero-logo-colors button[aria-pressed="true"] { border-color: #e0e8ff; }
.hero-logo-colors button span { width: 20px; height: 20px; border: 1px solid #ffffff9c; border-radius: 50%; background: #4766ea; }
.hero-logo-colors button[data-balloon-color="Branco"] span { background: #fff; }
.hero-logo-colors button[data-balloon-color="Laranja"] span { background: #fc894a; }
.hero-logo-clear { border-radius: 8px; padding: 4px 9px; font-size: .78rem; font-weight: 800; }
.hero-logo-clear:hover, .hero-logo-colors button:hover { background: #1f3479; }
.hero-preview-quote { display: none; }
.hero-figure:has(.hero-logo-preview:not([hidden])) figcaption { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: hero-arrive 1.55s cubic-bezier(.16,.6,.2,1) both; }
  .hero-balloon-float { animation: hero-balloon-float 4s ease-in-out 2; }
  @keyframes hero-arrive { from { transform: scale(1.075); } to { transform: scale(1); } }
  @keyframes hero-balloon-float { 50% { transform: translateY(-8px); } }
}
.proof-band { background: #eef2ff; border-bottom: 1px solid #e4e9fc; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding: 0; list-style: none; }
.proof-grid li { min-width: 0; padding: 17px clamp(8px, 3vw, 35px); border-left: 1px solid #dbe3f9; }
.proof-grid li:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: clamp(.94rem, 2vw, 1.28rem); font-weight: 800; }
.proof-grid span { color: var(--muted); font-size: clamp(.66rem, 1.6vw, .83rem); line-height: 1.35; }

.product-grid, .split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(17px, 3vw, 30px); }
.product-card, .case-card, .portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.product-card img { width: 100%; aspect-ratio: 1.7; object-fit: cover; background: var(--wash); }
.product-card-copy { padding: clamp(17px, 3vw, 30px); }
.product-card-copy h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
.product-card-copy p:not(.eyebrow) { color: var(--muted); margin-top: 9px; }
.product-card-copy a { margin-top: 10px; }
.campaign-band, .closing-band { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(20px, 5vw, 52px); border-radius: var(--radius); }
.campaign-band { background: #ff8c44; color: #171d38; }
.campaign-band .eyebrow { color: #302742; }
.campaign-band h2, .closing-band h2 { font-size: clamp(1.65rem, 3.7vw, 2.65rem); }
.campaign-band p:not(.eyebrow), .closing-band p:not(.eyebrow) { margin-top: 10px; max-width: 56ch; }
.campaign-band a, .closing-band a { flex: none; }
.closing-band { background: #151f4a; color: #fff; }
.closing-band .eyebrow { color: #ffc69e; }
.case-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.2vw, 24px); }
.case-card img, .portfolio-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-card figcaption, .portfolio-card figcaption { padding: 12px 16px; font-weight: 800; font-size: .89rem; border-top: 1px solid var(--line); }
.case-card figcaption h2, .case-card figcaption h3, .portfolio-card figcaption h2, .portfolio-card figcaption h3 { font-size: 1rem; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.client-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.client-logo { display: grid; width: 100%; aspect-ratio: 1.85; place-items: center; padding: clamp(20px, 3vw, 32px); background: var(--client-background, #fff); }
.client-logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.client-name-placeholder { color: var(--ink); font-size: clamp(.9rem, 2vw, 1.3rem); font-weight: 800; text-align: center; line-height: 1.2; }
.client-card figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 750; line-height: 1.35; }
.client-directory { padding-top: clamp(30px, 5vw, 58px); }
.client-group { padding-block: 24px 32px; border-bottom: 1px solid var(--line); }
.client-group:first-child { padding-top: 0; }
.client-group:last-child { padding-bottom: 0; border-bottom: 0; }
.client-group h2 { margin-bottom: 18px; font-size: clamp(1.18rem, 2.3vw, 1.65rem); letter-spacing: -.025em; }
.faq-band { background: #f3f6ff; }
.faq-band .split-grid { gap: clamp(22px, 5vw, 70px); }
.faq-band h2 + p { color: var(--muted); margin-top: 12px; }
.faq-list { display: grid; gap: 9px; }
.faq-list details, details.faq-list { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 10px 14px; font-weight: 800; cursor: pointer; list-style: none; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.1rem; flex: none; color: #2946aa; }
.faq-list details[open] > summary::after { content: "−"; }
.faq-list details > p { color: var(--muted); padding: 0 14px 12px; margin-top: 2px; }
.page-hero { padding-block: clamp(31px, 6.7vw, 76px); background: linear-gradient(128deg, #eef2ff, #f9f6ef); }
.page-hero h1 { max-width: 16ch; }
.page-hero h1 + p { max-width: 63ch; margin-top: 15px; color: var(--muted); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 5vw, 60px); }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.media-frame img { width: 100%; object-fit: cover; }
.media-frame figcaption { padding: 6px 12px; color: var(--muted); font-size: .76rem; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 14px; }
.info-card { padding: clamp(17px, 2.8vw, 27px); background: #f6f8fe; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.info-card p { margin-top: 9px; color: var(--muted); }
.info-card a { overflow-wrap: anywhere; }
.info-card ul, .info-card ol { color: var(--muted); }
.info-card ul:last-child, .info-card ol:last-child { margin-bottom: 0; }
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 10px; }
.prose h2:not(:first-child) { font-size: clamp(1.25rem, 2.8vw, 1.9rem); margin: 28px 0 10px; }
.prose a { color: var(--blue); overflow-wrap: anywhere; }
.page-hero + .shell.section .closing-band { margin-top: 25px; }

.site-footer { background: #101937; color: #edf1ff; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .9fr 1fr; gap: 24px; padding-block: clamp(28px, 6vw, 60px); }
.footer-logo { display: inline-block; padding: 8px 12px; background: #fff; border-radius: 10px; }
.footer-logo img { width: 132px; }
.footer-grid p { margin-top: 12px; color: #ced7f3; max-width: 37ch; font-size: .87rem; }
.footer-grid h2 { font-size: .95rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 5px; font-size: .85rem; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #334069; padding-block: 12px; color: #d8e0f5; font-size: .76rem; }
.footer-credit { font-size: .72rem; }

@media (max-width: 940px) {
  .site-nav, .header-quote { display: none; }
  .header-row { min-height: 67px; }
  .logo img { width: 130px; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 7px 11px; border: 1px solid #dce2ef; border-radius: 8px; font-weight: 800; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% + 7px); right: 0; z-index: 4; display: grid; min-width: min(230px, 83vw); padding: 6px; border: 1px solid #e1e5ee; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px #12235124; }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 40px; padding: 5px 10px; text-decoration: none; font-size: .91rem; font-weight: 750; border-radius: 6px; }
  .mobile-nav nav a:hover, .mobile-nav nav a[aria-current="page"] { background: #eff3ff; color: var(--blue); }
}

@media (max-width: 760px) {
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero-grid, .page-hero-grid, .split-grid { grid-template-columns: 1fr; }
  .home-hero-grid { min-height: 0; }
  .hero-copy { padding-block: 34px 15px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 10vw, 4rem); max-width: 13ch; }
  .hero-copy > p:not(.eyebrow, .hero-note) { margin-top: 14px; }
  .hero-copy .hero-actions { margin-top: 17px; }
  .hero-note { margin-top: 11px; }
  .hero-figure { aspect-ratio: 1.35; margin-inline: -16px; }
  .hero-photo { object-position: center 47%; }
  .hero-figure:has(.hero-logo-preview:not([hidden])) { width: calc(100% + 32px); aspect-ratio: 1; min-height: 346px; }
  .hero-logo-preview { grid-template-rows: minmax(0, 1fr) auto auto; padding-block: 9px 42px; }
  .hero-preview-quote { display: inline-flex; position: relative; margin-top: 8px; font-size: .85rem; }
  .hero-figure::after { background: linear-gradient(180deg, #101a41 0%, #101a4140 14%, transparent 30%), linear-gradient(0deg, #101a4182, transparent 20%); }
  .hero-figure figcaption { bottom: 11px; right: 11px; }
  .heading-split, .campaign-band, .closing-band { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo { aspect-ratio: 1.6; padding: 21px; }
  .client-card figcaption { padding: 9px 10px; font-size: .75rem; }
  .service-bar { font-size: .68rem; }
  .product-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card, .portfolio-card { border-radius: 12px; }
  .case-card figcaption, .portfolio-card figcaption { padding: 7px; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
