/* Identidade visual e estilos globais */
:root {
  --navy: #071421;
  --navy-soft: #0d2030;
  --blue: #0c9bd7;
  --cyan: #3bd5e4;
  --green: #65d49a;
  --ink: #102330;
  --muted: #667986;
  --paper: #f4f7f6;
  --white: #fff;
  --line: #dce5e4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: Manrope, sans-serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ui-icon { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.icon-arrow-up-right { -webkit-mask-image: url("../images/icons/arrow-up-right.svg"); mask-image: url("../images/icons/arrow-up-right.svg"); }
.icon-arrow-down { -webkit-mask-image: url("../images/icons/arrow-down.svg"); mask-image: url("../images/icons/arrow-down.svg"); }
.icon-arrow-up { -webkit-mask-image: url("../images/icons/arrow-up.svg"); mask-image: url("../images/icons/arrow-up.svg"); }
.icon-sparkles { -webkit-mask-image: url("../images/icons/sparkles.svg"); mask-image: url("../images/icons/sparkles.svg"); }
.icon-instagram { -webkit-mask-image: url("../images/icons/instagram.svg"); mask-image: url("../images/icons/instagram.svg"); }
.icon-threads { -webkit-mask-image: url("../images/icons/threads.svg"); mask-image: url("../images/icons/threads.svg"); }
.icon-whatsapp { -webkit-mask-image: url("../images/icons/whatsapp.svg"); mask-image: url("../images/icons/whatsapp.svg"); }
.icon-email { -webkit-mask-image: url("../images/icons/email.svg"); mask-image: url("../images/icons/email.svg"); }

.site-header { width: 100%; height: 88px; margin: auto; padding: 0 max(28px, calc((100vw - 1184px) / 2)); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: rgba(244,247,246,.98); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(220,229,228,.8); }
body.menu-open .site-header { border-bottom-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.04em; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name small { margin-top: 4px; color: var(--blue); font-family: "DM Sans", sans-serif; font-size: .43rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { width: 30px; height: 30px; position: relative; display: inline-block; transform: rotate(-30deg); }
.brand-mark i { position: absolute; display: block; width: 9px; height: 24px; border-radius: 8px; background: var(--blue); }
.brand-mark i:nth-child(1) { left: 0; top: 5px; background: var(--cyan); }
.brand-mark i:nth-child(2) { left: 10px; top: 0; }
.brand-mark i:nth-child(3) { left: 20px; top: 5px; background: var(--green); }
nav { display: flex; align-items: center; gap: 34px; font-size: .9rem; font-weight: 600; }
nav a { transition: color .2s; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 12px 20px; color: var(--white); background: var(--navy); border-radius: 6px; }
nav .nav-cta:hover { color: var(--white); background: var(--blue); }
.menu-button { display: none; }

.hero { min-height: 690px; max-width: 1240px; margin: auto; padding: 70px 28px 100px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
.eyebrow { margin-bottom: 24px; display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: none; }
h1 { margin-bottom: 28px; color: var(--navy); font-size: clamp(3.2rem, 6.5vw, 6rem); line-height: .98; letter-spacing: -.065em; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 610px; margin-bottom: 36px; color: var(--muted); font-size: 1.18rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 6px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 30px rgba(12,155,215,.2); }
.button-primary:hover { background: #087fb3; }
.text-link { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 600; }

.hero-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 62%; height: 62%; border-radius: 50%; background: radial-gradient(circle, rgba(59,213,228,.16), transparent 68%); }
.orbit { position: absolute; border: 1px solid rgba(12,155,215,.22); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
.orbit-one { width: 78%; height: 78%; animation: spin 18s linear infinite; }
.orbit-two { width: 56%; height: 56%; border-style: dashed; animation: spin 13s linear infinite reverse; }
.core { width: 180px; height: 180px; z-index: 2; display: grid; place-content: center; text-align: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: var(--white); background: var(--navy); box-shadow: 0 30px 80px rgba(7,20,33,.28); }
.core-symbol { width: 92px; height: 92px; margin: -10px auto -3px; display: block; }
.core p, .core > span { margin: 1px; color: #a8bbc5; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.signal { position: absolute; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.88); box-shadow: 0 10px 30px rgba(7,20,33,.08); font-size: .72rem; font-weight: 700; animation: signal-float 4.8s ease-in-out infinite; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.signal span { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--green); }
.signal-a { top: 15%; right: 2%; animation-delay: -.8s; }
.signal-b { right: 5%; bottom: 15%; animation-duration: 5.4s; animation-delay: -2.1s; }
.signal-c { bottom: 22%; left: 0; animation-duration: 4.4s; animation-delay: -1.4s; }

.section { padding: 120px max(28px, calc((100vw - 1184px) / 2)); }
.services { border-top: 1px solid var(--line); background: var(--white); }
.section-heading { margin-bottom: 48px; display: grid; grid-template-columns: 1fr 420px; gap: 50px; align-items: end; }
h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(2.5rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 300px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 24px rgba(7,20,33,.05); transition: border-color .25s ease, box-shadow .25s ease; }
.service-card.featured { color: var(--ink); border-color: var(--line); background: var(--white); }
.service-card > * { position: relative; z-index: 1; }
.service-trigger { display: flex; align-items: center; gap: 14px; color: inherit; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--blue); background: #e8f7fb; font: 700 1rem Manrope, sans-serif; transition: color .25s ease, background-color .25s ease; }
.ai-icon { color: #087eae; background: rgba(59,213,228,.17); }
.ai-icon .ui-icon { width: 21px; height: 21px; }
.service-title { max-width: 280px; font: 700 1.08rem/1.25 Manrope, sans-serif; letter-spacing: -.03em; }
.service-details { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding-top: 24px; }
.service-details > p { max-width: 42ch; margin: 0; color: var(--muted); line-height: 1.6; }
.service-card ul { margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { margin: 7px 0; color: var(--muted); font-size: .85rem; }
.service-card li::before { content: "+"; margin-right: 9px; color: var(--blue); font-weight: 700; }
.services-cta { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--muted); font-size: .9rem; }
.services-cta p { margin: 0; }
.services-cta .text-link { color: var(--navy); border-color: var(--line); }

@media (hover: hover) and (min-width: 901px) {
  .service-card:hover { border-color: rgba(12,155,215,.45); box-shadow: 0 18px 36px rgba(7,20,33,.12); transform: translateY(-4px); }
  .service-grid:has(.service-card:hover) .service-card:not(:hover) { opacity: .72; }
}

.method { color: var(--white); background: var(--navy); display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.eyebrow.light { color: var(--cyan); }
.method h2 { color: var(--white); }
.method-intro > p:last-child { max-width: 500px; margin-top: 28px; color: #9db0bb; line-height: 1.75; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { padding: 27px 0; display: grid; grid-template-columns: 58px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.steps li:first-child { padding-top: 0; }
.steps > li > span { color: var(--cyan); font-size: .72rem; font-weight: 700; }
.steps h3 { margin-bottom: 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: #91a5b0; font-size: .9rem; line-height: 1.6; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 100px; }
.about-art { min-height: 520px; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, #dceef0, #f7fbfa); overflow: hidden; }
.about-art::before, .about-art::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(12,155,215,.25); transform: rotate(45deg); }
.about-art::before { top: -80px; left: -80px; }.about-art::after { right: -80px; bottom: -80px; }
.about-ring { position: absolute; width: 340px; height: 340px; border: 1px dashed rgba(12,155,215,.4); border-radius: 50%; animation: spin 24s linear infinite; }
.about-box { z-index: 2; font: 600 2rem/1.3 Manrope, sans-serif; letter-spacing: -.04em; }
.about-box strong { color: var(--blue); font-size: 2.8rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.about-copy h2 { margin-bottom: 28px; }
.values { margin-top: 36px; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line); }
.values strong, .values span { display: block; }
.values strong { margin-bottom: 6px; color: var(--navy); }
.values span { color: var(--muted); font-size: .85rem; line-height: 1.5; }

.contact { min-height: 600px; padding: 100px 28px; position: relative; display: grid; place-items: center; overflow: hidden; text-align: center; color: var(--white); background: #087eae; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(circle, black, transparent 72%); mask-image: radial-gradient(circle, black, transparent 72%); }
.contact-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(59,213,228,.18); filter: blur(40px); }
.contact-content { position: relative; z-index: 2; }
.contact .eyebrow { justify-content: center; }
.contact h2 { color: var(--white); }
.contact h2 em { color: #a5f3d1; }
.contact-content > p:not(.eyebrow) { margin: 24px 0 32px; color: #d9f4fc; }
.button-light { color: var(--navy); background: var(--white); }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.contact-email { padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.35); color: #e9f8fc; font-size: .9rem; font-weight: 600; transition: border-color .2s, color .2s; }
.contact-email:hover { color: var(--white); border-color: var(--white); }

.site-footer { padding: 58px max(28px, calc((100vw - 1184px) / 2)) 28px; color: #9aabb5; background: var(--navy); font-size: .75rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 72px; align-items: start; }
.footer-main { min-width: 0; }
.footer-brand { color: var(--white); }
.footer-brand .brand-name small { color: var(--cyan); }
.footer-main > p { margin: 18px 0 0; color: #8298a4; line-height: 1.6; }
.footer-label { display: block; margin-bottom: 16px; color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: #b6c4cc; transition: color .2s; }
.footer-contact .ui-icon { width: 17px; height: 17px; color: var(--cyan); }
.footer-contact .icon-email { transform: scale(1.08); }
.footer-contact a:hover { color: var(--cyan); }
.footer-social { justify-self: end; }
.social-links { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.social-links a { width: 28px; height: 28px; display: grid; place-items: center; color: #b6c4cc; transition: color .2s, transform .2s; }
.social-links a:hover { color: var(--cyan); transform: translateY(-2px); }
.social-links .ui-icon { width: 19px; height: 19px; }
.footer-meta-row { width: 100%; margin-top: 48px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 42px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-meta-row > p { margin: 0; }
.back-to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.back-to-top .ui-icon { color: var(--cyan); transition: transform .2s ease; }
.back-to-top:hover span { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes signal-float { 50% { transform: translateY(-9px); } }
@media (max-width: 900px) {
  .menu-button { width: 46px; height: 46px; padding: 0; position: relative; display: block; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: rgba(255,255,255,.72); cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
  .menu-button:hover { border-color: var(--blue); }
  .menu-button > span:not(.sr-only) { width: 19px; height: 2px; position: absolute; left: 13px; top: 19px; display: block; border-radius: 2px; background: currentColor; transition: transform .3s ease, top .3s ease; }
  .menu-button > span:nth-child(2) { top: 25px; }
  .menu-button[aria-expanded="true"] { color: var(--white); border-color: var(--navy); background: var(--navy); }
  .menu-button[aria-expanded="true"] > span:first-child { top: 22px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
  nav { position: fixed; inset: 88px 0 0; z-index: 21; padding: 54px max(28px, calc((100vw - 700px) / 2)) 36px; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; color: var(--navy); background: rgba(244,247,246,.98); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  nav.open { opacity: 1; visibility: visible; transform: none; }
  nav a { padding: 22px 2px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font: 700 clamp(1.35rem, 4vw, 1.8rem)/1.2 Manrope, sans-serif; letter-spacing: -.035em; opacity: 0; transform: translateY(12px); transition: color .2s, opacity .3s ease, transform .3s ease; }
  nav a:not(.nav-cta)::after { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: var(--blue); -webkit-mask: url("../images/icons/arrow-up-right.svg") center / contain no-repeat; mask: url("../images/icons/arrow-up-right.svg") center / contain no-repeat; }
  nav.open a { opacity: 1; transform: none; }
  nav.open a:nth-child(2) { transition-delay: .04s; }
  nav.open a:nth-child(3) { transition-delay: .08s; }
  nav.open a:nth-child(4) { transition-delay: .12s; }
  nav .nav-cta { min-height: 58px; margin-top: 28px; padding: 0 22px; justify-content: center; border: 0; border-radius: 6px; color: var(--white); background: var(--blue); font-size: 1rem; letter-spacing: 0; }
  nav .nav-cta:hover { background: #087fb3; }
  .hero { padding-top: 40px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 520px; width: 100%; margin: auto; }
  .section-heading, .method, .about { grid-template-columns: 1fr; }
  .method, .about { gap: 70px; }
  .about-art { min-height: 420px; }
  .service-grid { grid-template-columns: 1fr; }
  .services-cta { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .site-header { height: 74px; padding: 0 20px; }
  nav { inset: 74px 0 0; padding: 34px 20px 28px; }
  .hero { min-height: 0; padding: 50px 20px 80px; gap: 36px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-visual { transform: scale(.9); }
  .core { width: 36%; height: 36%; }
  .core-symbol { width: 51%; height: auto; margin: -6% auto -2%; }
  .core p, .core > span { font-size: .45rem; }
  .signal { font-size: .62rem; }
  .section { padding: 82px 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .method { gap: 58px; }
  .about-art { min-height: 330px; }
  .service-card { min-height: 0; padding: 22px 20px; }
  .service-details { padding-top: 20px; }
  .services-cta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-ring { width: 260px; height: 260px; }
  .about-box { font-size: 1.5rem; }.about-box strong { font-size: 2rem; }
  .values { grid-template-columns: 1fr; }
  .contact { min-height: 560px; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .contact-actions .button { max-width: 350px; }
  .contact-actions .button-light { padding: 0 16px; gap: 12px; white-space: nowrap; font-size: clamp(.78rem, 3.8vw, 1rem); }
  .site-footer { padding: 46px 20px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { width: 100%; }
  .footer-brand { gap: 13px; font-size: 1.22rem; }
  .footer-brand .brand-mark { margin: 0 2px; transform: rotate(-30deg) scale(1.1); }
  .footer-brand .brand-name { align-items: flex-start; text-align: left; }
  .footer-brand .brand-name small { font-size: .45rem; }
  .footer-main > p { margin-top: 20px; line-height: 1.7; }
  .footer-social { justify-self: start; }
  .social-links { justify-content: flex-start; gap: 20px; }
  .social-links a { width: 32px; height: 32px; }
  .footer-meta-row { margin-top: 34px; }
  .footer-meta-row p { max-width: 220px; line-height: 1.5; }
  .back-to-top { width: 42px; height: 42px; min-height: 0; padding: 0; justify-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.04); }
  .back-to-top-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
