/* Paleta da Conexum. Estilos exclusivos de /comece. */
:root {
  --navy: #141B4D;
  --ink: #1A1F71;
  --blue: #2563FF;
  --purple: #7C3AED;
  --lavender: #BDB3FC;
  --text: #222640;
  --muted: #5D6176;
  --line: #E2E4ED;
  --surface: #F7F8FC;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: #FFF; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.18; }
h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.04em; color: var(--ink); }
h3 { font-size: 20px; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.hero :focus-visible { outline-color: #CFCAFF; }
[hidden] { display: none !important; }
::selection { background: #DAD4FC; color: var(--navy); }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 68px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon--whatsapp { fill: currentColor; stroke: none; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: #FFF; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { display: flex; gap: 14px; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.section-index { color: #6C62AD; font-variant-numeric: tabular-nums; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 15px 22px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; line-height: 1.4; font-weight: 600; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.button__arrow { margin-left: 10px; transition: transform .2s ease; }
.button:hover .button__arrow { transform: translateX(3px); }
.button--hero { color: var(--navy); background: #FFF; box-shadow: 0 0 0 5px #A193FF12, 0 8px 28px #080E332B; }
.button--hero:hover { background: #EFEDFF; box-shadow: 0 0 0 5px #A193FF24, 0 8px 32px #080E3340; }
.button--primary { background: var(--ink); color: #FFF; }
.button--primary:hover { background: #292F90; box-shadow: 0 5px 14px #1A1F711A; }

/* Abertura com um contato principal. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #FFF; border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--blue), var(--purple)) 1; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; top: -90px; right: -130px; pointer-events: none; background: radial-gradient(ellipse, #6347BD26, transparent 66%); }
.hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #A799F970, transparent); }
.brand-header { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; }
.brand-label { display: inline-flex; padding: 13px 17px; border-radius: 6px; background: #FFF; box-shadow: 0 2px 12px #050D321A; }
.brand-label img { width: 157px; aspect-ratio: 659.52002 / 104.64; }
.brand-header__note { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #C0C4DE; }
.brand-header__note > span { width: 5px; height: 5px; background: #B7A7FC; border-radius: 50%; }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: center; padding-block: 48px 48px; }
.hero__eyebrow { color: #C7CAE2; font-size: 13px; font-weight: 500; margin-bottom: 21px; }
.hero h1 { max-width: 730px; font-size: clamp(36px, 3.5vw, 50px); letter-spacing: -.047em; line-height: 1.13; text-wrap: balance; }
.hero h1 span { color: #C6BBFF; }
.hero__description { max-width: 540px; color: #D3D6E9; font-size: 16px; line-height: 1.7; margin-block: 23px 26px; }
.hero__support { margin-top: 15px; max-width: 390px; color: #BDC2DC; font-size: 13px; line-height: 1.65; }
.hero__projects { margin-top: 16px; color: #E0E1F2; font-size: 13px; }
.hero__art { position: relative; margin-top: 12px; min-width: 0; }
.connection-scene { position: relative; aspect-ratio: 480 / 380; }
.connection-scene::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; left: 14.5%; top: 2%; background: radial-gradient(circle, #7061E926, transparent 65%); pointer-events: none; }
.connection-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.connection-track { stroke: #5A60944D; stroke-width: 1.3; }
.connection-beams { stroke-width: 2; stroke-linecap: round; }
.connection-beam { stroke-dasharray: 12 100; stroke-dashoffset: 40; }
.connection-beam--second { stroke-dashoffset: 70; }
.connection-beam--third { stroke-dashoffset: 15; }
.connection-beam--out { stroke-dashoffset: 50; }
.motion-ready .connection-beam { animation: connection-flow 4.8s linear infinite; }
.motion-ready .connection-beam--second { animation-delay: -1.6s; }
.motion-ready .connection-beam--third { animation-delay: -3.2s; }
.motion-ready .connection-beam--out { animation-delay: -2.4s; animation-duration: 3.2s; }
.connection-orbit { position: absolute; left: 52.5%; top: 50%; transform: translate(-50%, -50%); border: 1px solid #8A82C514; border-radius: 50%; pointer-events: none; }
.connection-orbit--outer { width: 72%; aspect-ratio: 1; }
.connection-orbit--inner { width: 49%; aspect-ratio: 1; border-style: dashed; border-color: #8A82C524; }
.connection-node, .connection-hub { position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%); }
.connection-node { width: 11%; aspect-ratio: 1; left: 12.08%; border: 1px solid #696FA466; border-radius: 14px; background: #202752; color: #C2C9EF; box-shadow: inset 0 1px 0 #C4C8FF12, 0 8px 20px #070C281A; }
.connection-node span { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: #BFC4E0; font-size: 11px; font-weight: 500; }
.connection-node--process { top: 16.84%; }
.connection-node--system { top: 50%; }
.connection-node--ai { top: 83.16%; }
.connection-node--solution { left: 88.75%; top: 50%; background: #322C62; color: #D3C5FF; border-color: #8B74C880; }
.connection-node--solution span { color: #DDD4FF; }
.connection-hub { width: 20%; aspect-ratio: 1; left: 52.5%; top: 50%; background: #FFF; border: 1px solid #FFF; border-radius: 24%; box-shadow: 0 0 0 9px #B4A4FF08, 0 0 0 10px #B4A4FF14, 0 14px 40px #050B3340; }
.connection-hub img { width: 60%; aspect-ratio: 1; }
.connection-signature { position: absolute; top: 70%; left: 52.5%; transform: translateX(-50%); color: #BAB4DC; font-size: 9px; letter-spacing: .23em; }
.hero__art-caption { display: flex; flex-direction: column; align-items: center; margin-top: 23px; }
.hero__art-caption p { color: #ACB3D3; font-size: 12px; text-align: center; }
.hero__art-caption p span { color: #E7E3FF; }
.motion-toggle { display: inline-flex; gap: 7px; justify-content: center; align-items: center; min-height: 44px; margin-top: 3px; padding: 6px 10px; color: #BDC3DF; font-size: 10px; background: none; border: 0; border-radius: 5px; }
.motion-toggle:hover { color: #FFF; background: #FFFFFF08; }
.motion-toggle__play { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__pause { display: none; }
.motion-toggle[aria-pressed="true"] .motion-toggle__play { display: block; }
.motion-paused *, .motion-suspended .hero * { animation-play-state: paused !important; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { transition: none !important; }
.motion-paused .product:hover, .motion-paused .product:hover .product__visual img, .motion-paused .need:hover .need__icon, .motion-paused .button:hover .button__arrow { transform: none; }
@keyframes connection-flow { from { stroke-dashoffset: 112; } to { stroke-dashoffset: 0; } }

.needs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 35px; }
.need { padding-inline: 28px; border-left: 1px solid var(--line); }
.need:first-child { padding-left: 0; border-left: 0; }
.need:last-child { padding-right: 0; }
.need__icon { margin-bottom: 19px; color: #6152B8; transition: transform .25s ease; }
.need:hover .need__icon { transform: translateY(-3px); }
.need h3 { color: var(--ink); font-size: 19px; margin-bottom: 12px; }
.need p { font-size: 15px; color: var(--muted); line-height: 1.75; }

.portfolio { background: #F6F7FC; border-block: 1px solid var(--line); }
.portfolio__heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.portfolio__heading > p { color: var(--muted); font-size: 15px; }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.product { --spot-x: 50%; --spot-y: 30%; --spot-color: 100 88 222; position: relative; isolation: isolate; display: grid; grid-template-columns: 170px minmax(0, 1fr); overflow: hidden; border: 1px solid #DFE1ED; border-radius: 14px; background: #FFF; box-shadow: 0 4px 8px #1A1F7103, 0 16px 32px -24px #1A1F7126; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product::before { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(340px circle at var(--spot-x) var(--spot-y), rgb(var(--spot-color) / .14), transparent 72%); transition: opacity .3s ease; }
.product::after { content: ""; position: absolute; z-index: 3; inset: 0; border: 1px solid transparent; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(220px circle at var(--spot-x) var(--spot-y), rgb(var(--spot-color) / .65), transparent 75%) border-box; -webkit-mask: linear-gradient(#FFF 0 0) padding-box, linear-gradient(#FFF 0 0); mask: linear-gradient(#FFF 0 0) padding-box, linear-gradient(#FFF 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s ease; }
.product:focus-within { border-color: #9586D9; box-shadow: 0 12px 30px -15px #53409B38; }
.product:focus-within::before, .product:focus-within::after { opacity: 1; }
.product__visual { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; overflow: hidden; background: #F0F1FC; padding: 28px 20px; }
.product--quemtirei { --spot-color: 60 151 120; }
.product--quemtirei .product__visual { background: #EAF3EF; }
.product__orbit { position: absolute; z-index: -1; width: 195px; height: 195px; border: 1px solid #8583D01A; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.product__orbit::after { content: ""; position: absolute; inset: 23px; border: 1px solid #8583D026; border-radius: 50%; }
.product--quemtirei .product__orbit, .product--quemtirei .product__orbit::after { border-color: #4999801A; }
.product__visual img { width: 76px; height: auto; object-fit: contain; border-radius: 18px; box-shadow: 0 8px 24px #1A1F710D; transition: transform .3s ease; }
.product__signature { font-size: 11px; font-weight: 600; letter-spacing: -.02em; color: #656286; }
.product--quemtirei .product__signature { color: #55786B; }
.product__content { padding: 30px 25px 20px; }
.product__category { font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.product h3 { font-size: 23px; color: var(--ink); margin-bottom: 10px; }
.product__content > p:not(.product__category) { font-size: 14px; line-height: 1.7; color: var(--muted); }
.product .text-link { font-size: 13px; color: var(--ink); margin-top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: translateY(-4px); border-color: #C4BCE3; box-shadow: 0 14px 35px -16px #53409B38; }
  .product:hover::before, .product:hover::after { opacity: 1; }
  .product:hover .product__visual img { transform: translateY(-3px) rotate(-3deg); }
  .product--quemtirei:hover .product__visual img { transform: translateY(-3px) rotate(3deg); }
}

.process__layout { display: grid; grid-template-columns: 1fr 1.8fr; align-items: center; gap: 56px; }
.process h2 { font-size: 30px; }
.process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.process__steps li { position: relative; }
.step-number { display: flex; align-items: center; gap: 16px; color: #7A6EB4; font-size: 13px; margin-bottom: 19px; font-variant-numeric: tabular-nums; }
.step-number::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.process__steps p { font-size: 15px; line-height: 1.65; font-weight: 500; }

.closing { margin-bottom: 28px; }
.closing__panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding: 44px 48px; background: #F0EEF9; border-radius: 14px; border: 1px solid #E6E1F3; }
.closing__panel::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; top: -210px; right: 28%; border: 1px solid #B8A8E138; border-radius: 50%; box-shadow: 0 0 0 28px #B8A8E10D, 0 0 0 58px #B8A8E108; }
.closing .eyebrow { color: #64529C; margin-bottom: 12px; }
.closing h2 { font-size: 34px; max-width: 460px; }
.closing__action .button { width: 100%; }
.closing__terms { color: var(--muted); font-size: 13px; line-height: 1.8; margin-top: 17px; }
.closing__terms strong { font-weight: 500; color: #3E3A58; }
.footer { padding-block: 10px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.footer nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer a, .footer button { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.footer button { border: 0; padding: 0; background: none; color: inherit; }
.footer button:hover, .footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* A escolha inicial fica no fluxo, sem cobrir o conteúdo ou o contato. */
.privacy-notice { padding-block: 24px; display: flex; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); }
.privacy-notice h2 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 8px; }
.privacy-notice p { font-size: 13px; max-width: 630px; color: var(--muted); }
.privacy-notice a, .privacy-policy { text-decoration: underline; text-underline-offset: 3px; }
.privacy-actions { display: flex; gap: 10px; }
.privacy-choice { background: #FFF; border: 1px solid #B7B5C9; border-radius: 5px; padding: 11px 16px; min-height: 46px; color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.privacy-choice:hover { background: #EEECF8; border-color: var(--ink); }
.privacy-choice[aria-pressed="true"] { background: #EEECF8; border-color: var(--ink); }
.privacy-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 26px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); box-shadow: 0 24px 64px #141B4D26; }
.privacy-dialog::backdrop { background: #0A0E2A80; }
.privacy-dialog__header { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.privacy-dialog h2 { font-size: 24px; }
.privacy-dialog__header button { background: transparent; border: 0; font-size: 28px; width: 44px; height: 44px; line-height: 1; color: var(--muted); }
.privacy-dialog p { font-size: 14px; color: var(--muted); }
.privacy-dialog .privacy-actions { margin-top: 22px; }
.privacy-dialog .privacy-choice { flex: 1; }
.privacy-dialog .privacy-status { margin-top: 16px; color: var(--ink); background: var(--surface); border-radius: 5px; padding: 12px; }
.privacy-policy { display: inline-block; padding-top: 12px; font-size: 14px; }
.privacy-dialog .privacy-dialog__note { margin-top: 18px; font-size: 12px; }

@media (max-width: 1000px) {
  .hero__layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; }
  .hero h1 { font-size: 40px; }
  .brand-header__note { font-size: 11px; }
  .connection-node { border-radius: 10px; }
  .connection-node .icon { width: 20px; height: 20px; }
  .connection-node span { font-size: 9px; }
  .connection-signature { font-size: 8px; top: 72%; }
  .hero__art-caption p { max-width: 200px; }
  .product { grid-template-columns: 110px minmax(0, 1fr); }
  .product__visual { padding: 18px; }
  .product__content { padding-inline: 18px; }
  .product h3 { font-size: 21px; }
  .process__layout { grid-template-columns: 1fr; gap: 28px; }
  .process h2 br { display: none; }
  .closing__panel { padding: 32px; gap: 30px; }
  .closing h2 { font-size: 29px; }
  .closing .button { padding-inline: 15px; font-size: 14px; gap: 9px; }
  .closing .button__arrow { display: none; }
  .privacy-notice { align-items: start; flex-direction: column; gap: 15px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 44px; }
  .desktop-break { display: none; }
  .brand-header { padding-top: 20px; }
  .brand-label { padding: 12px 14px; }
  .brand-label img { width: 134px; }
  .brand-header__note { display: none; }
  .hero__art { max-width: 360px; margin: 26px auto 0; }
  .connection-scene { max-width: 300px; margin-inline: auto; }
  .connection-node span { font-size: 10px; }
  .hero__art-caption { margin-top: 16px; }
  .hero__art-caption p { max-width: none; font-size: 11px; }
  .motion-toggle { font-size: 10px; }
  .hero__layout { display: block; padding-block: 30px 30px; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 17px; letter-spacing: -.015em; }
  .hero h1 { font-size: clamp(32px, 8.2vw, 42px); line-height: 1.14; letter-spacing: -.045em; max-width: 530px; }
  .hero__description { font-size: 15px; line-height: 1.65; margin-block: 20px 23px; }
  .hero__support { font-size: 13px; margin-top: 14px; max-width: 350px; }
  .hero__projects { margin-top: 13px; }
  .button { width: 100%; padding-inline: 15px; gap: 10px; font-size: 14px; }
  .button__arrow { margin-left: auto; }
  h2 { font-size: 29px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .needs__grid { grid-template-columns: 1fr; margin-top: 25px; }
  .need { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 17px; border: 0; border-top: 1px solid var(--line); padding: 23px 0; }
  .need:first-child { border-top: 0; padding-top: 0; }
  .need:last-child { padding-bottom: 0; }
  .need__icon { grid-row: span 2; margin: 1px 0 0; }
  .need h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
  .need p { font-size: 14px; line-height: 1.7; }
  .portfolio__heading { display: block; }
  .portfolio__heading > p { margin-top: 15px; font-size: 14px; }
  .portfolio__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 25px; }
  .product { grid-template-columns: 96px minmax(0, 1fr); border-radius: 12px; }
  .product__visual { padding: 17px; }
  .product__visual img { border-radius: 14px; }
  .product__signature { display: none; }
  .product__content { padding: 23px 19px 13px; }
  .product h3 { font-size: 21px; }
  .product__category { font-size: 9px; }
  .product__content > p:not(.product__category) { font-size: 14px; }
  .product .text-link { font-size: 13px; margin-top: 8px; gap: 8px; }
  .process h2 { font-size: 29px; }
  .process__steps { grid-template-columns: 1fr; gap: 19px; }
  .process__steps li { display: flex; align-items: baseline; gap: 18px; }
  .step-number { margin: 0; font-size: 12px; }
  .step-number::after { display: none; }
  .process__steps p { font-size: 15px; max-width: 265px; }
  .closing { margin-bottom: 16px; }
  .closing__panel { grid-template-columns: 1fr; padding: 27px 22px; gap: 26px; border-radius: 8px; }
  .closing h2 { font-size: 29px; }
  .closing .button { padding-inline: 10px; font-size: 13px; }
  .closing__terms { font-size: 13px; line-height: 1.75; }
  .closing__terms strong { font-weight: 600; }
  .footer { align-items: start; flex-direction: column; gap: 5px; padding-block: 15px max(24px, env(safe-area-inset-bottom)); }
  .footer nav { gap: 0 18px; }
  .footer a, .footer button { font-size: 12px; }
  .privacy-notice { padding-block: 20px; }
  .privacy-notice .privacy-actions { width: 100%; }
  .privacy-notice .privacy-choice { flex: 1; padding-inline: 10px; font-size: 12px; }
  .privacy-dialog { padding: 20px; }
  .privacy-dialog .privacy-actions { flex-wrap: wrap; }
  .privacy-dialog .privacy-choice { font-size: 12px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product:hover, .product:hover .product__visual img, .need:hover .need__icon, .button:hover .button__arrow { transform: none; }
  .motion-toggle { display: none; }
}
