:root {
  --purple: #5e0a82;
  --purple-deep: #21052f;
  --purple-black: #110218;
  --orange: #ff5c01;
  --pink: #d246ad;
  --white: #ffffff;
  --paper: #f6f2f7;
  --ink: #17111b;
  --muted: #6f6573;
  --line: rgba(94, 10, 130, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", Arial, sans-serif; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(20,3,29,.74); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.78); font-size: .86rem; font-weight: 600; }
.main-nav a { text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.main-nav .nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { position: relative; display: grid; min-height: 790px; overflow: hidden; align-items: center; color: #fff; background: var(--purple-deep); }
.hero-art { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(20,3,30,.96) 0%, rgba(20,3,30,.8) 40%, rgba(20,3,30,.2) 72%, rgba(20,3,30,.34) 100%), url("assets/hero-gradus.png"); background-position: center; background-size: cover; transform: scale(1.015); }
.hero::after { position: absolute; right: -120px; bottom: -280px; width: 620px; height: 620px; border: 1px solid rgba(255,92,1,.28); border-radius: 50%; content: ""; box-shadow: 0 0 0 55px rgba(255,92,1,.035), 0 0 0 110px rgba(255,255,255,.025); }
.hero-inner { position: relative; z-index: 2; padding-top: 98px; }
.hero-copy { max-width: 730px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-family: "Space Grotesk", Arial, sans-serif; font-size: clamp(3.5rem, 7.2vw, 6.9rem); letter-spacing: -.065em; line-height: .89; }
.hero h1 span { display: block; color: transparent; background: linear-gradient(90deg, #fff 0%, #ffb6c3 42%, #ff6a28 100%); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: rgba(255,255,255,.75); font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .main-nav a:focus-visible, .service-tab:focus-visible { outline: 3px solid rgba(255,92,1,.4); outline-offset: 3px; }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 14px 30px rgba(255,92,1,.24); }
.button-primary:hover { background: #e85100; }
.button-ghost { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.06); }
.hero-signals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-signals span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(14,2,20,.35); font-size: .72rem; }

.section { padding: 112px 0; }
.manifesto { background: #fff; }
.manifesto-grid { display: grid; grid-template-columns: .55fr 2fr; gap: 70px; align-items: start; }
.manifesto h2, .section-heading h2, .method h2, .team h2, .contact h2 { margin: 0; font-family: "Space Grotesk", Arial, sans-serif; font-size: clamp(2.2rem, 4.7vw, 4.4rem); letter-spacing: -.055em; line-height: 1.02; }
.manifesto p:last-child { max-width: 820px; margin: 30px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }

.services { overflow: hidden; color: #fff; background: var(--purple-deep); }
.section-heading { display: grid; grid-template-columns: 1.6fr .7fr; gap: 70px; align-items: end; }
.section-heading > p { margin: 0 0 4px; color: rgba(255,255,255,.62); line-height: 1.75; }
.service-switcher { display: flex; gap: 8px; margin: 50px 0 24px; padding: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.045); }
.service-tab { min-height: 48px; flex: 1; padding: 0 18px; border: 0; border-radius: 11px; color: rgba(255,255,255,.58); background: transparent; font: 700 .83rem "Manrope", Arial, sans-serif; cursor: pointer; }
.service-tab.is-active { color: #fff; background: var(--purple); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.service-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-panel[hidden] { display: none; }
.service-feature { min-height: 280px; padding: 29px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.service-number { color: var(--orange); font: 700 .8rem "Space Grotesk", Arial, sans-serif; letter-spacing: .14em; }
.service-feature h3 { margin: 62px 0 13px; font: 600 1.25rem "Space Grotesk", Arial, sans-serif; }
.service-feature p { margin: 0; color: rgba(255,255,255,.62); font-size: .9rem; line-height: 1.7; }

.portfolio { background: #fff; }
.portfolio-heading > p { color: var(--muted); }
.portfolio-carousel { margin-top: 55px; overflow: hidden; }
.portfolio-track { display: flex; gap: 18px; overflow-x: auto; padding: 2px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; touch-action: pan-y; }
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-track.is-dragging { cursor: grabbing; user-select: none; }
.project { position: relative; flex: 0 0 calc((100% - 36px) / 3); min-height: 505px; overflow: hidden; border-radius: 24px; color: inherit; text-decoration: none; background: var(--purple-deep); }
.project-wide { min-height: 505px; }
.project img { width: 100%; height: 63%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project:hover img { transform: scale(1.035); }
.project:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.project::after { position: absolute; top: calc(63% - 54px); right: 0; left: 0; height: 55px; background: linear-gradient(180deg, transparent, var(--purple-deep)); content: ""; }
.project-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; min-height: 39%; padding: 27px; color: #fff; background: var(--purple-deep); }
.project-copy p { margin: 0 0 8px; color: #ffb08b; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.project-copy h3 { margin: 0 0 8px; font: 600 1.75rem "Space Grotesk", Arial, sans-serif; }
.project-copy span { display: block; max-width: 520px; color: rgba(255,255,255,.68); font-size: .84rem; line-height: 1.55; }
.carousel-footer { margin-top: 20px; }
.carousel-footer > p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.drag-mark { display: inline-grid; width: 31px; height: 31px; margin-right: 8px; place-items: center; border: 1px solid rgba(94,10,130,.2); border-radius: 50%; color: var(--purple); font-size: 1rem; }

/* Página interna de projeto */
.project-page { color: var(--ink); background: var(--paper); }
.project-header { position: relative; background: var(--purple-deep); }
.project-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; }
.project-header .brand { width: 188px; }
.project-back { padding: 11px 18px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.project-back:hover, .project-back:focus-visible { color: var(--purple-deep); background: #fff; outline: none; }
.social-showcase { min-height: 75vh; background: #f7f5f8; }
.social-shell { width: min(935px, calc(100% - 40px)); margin: 0 auto; }
.social-profile { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: 34px 0 55px; }
.social-avatar { width: 168px; height: 168px; padding: 5px; border: 4px solid var(--orange); border-radius: 50%; object-fit: cover; background: #fff; }
.social-handle { margin: 0 0 7px; color: var(--ink-soft); font-size: .9rem; font-weight: 700; }
.social-identity h1 { margin: 0 0 9px; font: 600 clamp(2rem, 5vw, 3.7rem)/1 "Space Grotesk", Arial, sans-serif; letter-spacing: -.045em; }
.social-category { margin: 0 0 14px; color: var(--purple); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.social-bio { max-width: 530px; margin: 0; color: var(--ink-soft); line-height: 1.65; }
.social-signature { display: flex; flex-direction: column; padding: 17px 20px; border-left: 3px solid var(--orange); color: var(--purple); }
.social-signature span { margin-top: 4px; color: var(--ink-soft); font-size: .72rem; }
.social-divider { border-top: 1px solid rgba(28,17,32,.15); text-align: center; }
.social-divider span { display: inline-block; padding: 18px 8px; border-top: 2px solid var(--purple); color: var(--purple); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transform: translateY(-1px); }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.social-post { position: relative; aspect-ratio: 1; margin: 0; overflow: hidden; background: var(--purple-deep); }
.social-post img, .social-post video { display: block; width: 100%; height: 100%; object-fit: cover; }
.social-post figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 35px 14px 13px; color: #fff; font-size: .72rem; font-weight: 700; background: linear-gradient(transparent, rgba(33,5,47,.86)); opacity: 0; transition: opacity .25s ease; }
.social-post:hover figcaption, .social-post:focus-within figcaption { opacity: 1; }
.project-cta { padding: 85px 0; color: #fff; background: var(--purple); }
.project-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; }
.project-cta h2 { max-width: 820px; margin: 10px 0 0; font: 600 clamp(2rem, 4.2vw, 4rem)/1 "Space Grotesk", Arial, sans-serif; letter-spacing: -.045em; }

.method { color: #fff; background: linear-gradient(135deg, #4d086c, #2b043e 55%, #170220); }
.method .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.method-intro { position: sticky; top: 130px; align-self: start; }
.method-intro > p:last-child { color: rgba(255,255,255,.62); line-height: 1.7; }
.method-list { margin: 0; padding: 0; list-style: none; }
.method-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 29px 0; border-top: 1px solid rgba(255,255,255,.14); }
.method-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.method-list > li > span { color: var(--orange); font: 700 .74rem "Space Grotesk", Arial, sans-serif; letter-spacing: .13em; }
.method-list h3 { margin: 0 0 8px; font: 600 1.25rem "Space Grotesk", Arial, sans-serif; }
.method-list p { margin: 0; color: rgba(255,255,255,.6); line-height: 1.65; }

.team { background: #fff; }
.team-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.team-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team-photo-wrap { position: relative; overflow: hidden; border-radius: 28px; background: var(--purple); }
.team-photo-wrap > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-photo-wrap.is-placeholder > img { padding: 26%; object-fit: contain; background: radial-gradient(circle at 70% 20%, rgba(255,92,1,.34), transparent 32%), linear-gradient(145deg, #f7edf9, #e8d7ee); }
.team-photo-wrap.is-placeholder::after { position: absolute; top: 18px; right: 18px; padding: 7px 10px; border-radius: 999px; color: var(--purple); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.86); content: "Foto em breve"; }
.photo-label { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; background: rgba(24,3,34,.72); backdrop-filter: blur(12px); }
.photo-label strong { font-size: .95rem; }
.photo-label span { color: rgba(255,255,255,.66); font-size: .72rem; }
.team-copy > p:not(.section-kicker) { margin: 26px 0 0; color: var(--muted); line-height: 1.85; }
.team-copy .team-note { padding-left: 18px; border-left: 3px solid var(--orange); color: var(--purple); font-weight: 700; }

.contact { color: #fff; background: var(--purple-deep); }
.contact-card { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: center; padding-top: 76px; padding-bottom: 76px; border-radius: 34px; background: radial-gradient(circle at 85% 0%, rgba(255,92,1,.35), transparent 36%), linear-gradient(135deg, var(--purple), #480563); }
.contact-card > * { padding-inline: 70px; }
.contact-card > * + * { padding-left: 0; }
.button-light { color: var(--purple-deep); background: #fff; }
.contact-actions { display: grid; gap: 22px; }
.social-links { display: flex; justify-content: center; gap: 16px; }
.social-links a { color: rgba(255,255,255,.74); font-size: .78rem; font-weight: 700; text-underline-offset: 4px; }

.site-footer { padding: 34px 0; color: rgba(255,255,255,.56); background: #0c0111; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 140px; }
.footer-inner p, .footer-inner a { margin: 0; font-size: .72rem; }
.footer-inner a { text-underline-offset: 4px; }

@media (max-width: 900px) {
  .main-nav { position: fixed; top: 78px; right: 0; bottom: 0; left: 0; display: none; align-items: stretch; flex-direction: column; padding: 40px 24px; color: #fff; background: rgba(20,3,29,.98); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 1.1rem; }
  .main-nav .nav-cta { margin-top: 10px; padding: 15px 18px; text-align: center; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; background: #fff; }
  .hero { min-height: 720px; }
  .hero-art { background-position: 58% center; }
  .hero h1 { max-width: 650px; }
  .manifesto-grid, .section-heading, .method .container, .team-grid, .contact-card { grid-template-columns: 1fr; gap: 36px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-feature { min-height: auto; }
  .service-feature h3 { margin-top: 35px; }
  .project, .project-wide { min-height: 520px; }
  .method-intro { position: static; }
  .contact-card > * { padding-inline: 42px; }
  .contact-card > * + * { padding-left: 42px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 144px; }
  .hero { min-height: 760px; }
  .hero-art { background-image: linear-gradient(180deg, rgba(20,3,30,.5), rgba(20,3,30,.92) 50%, rgba(20,3,30,.98)), url("assets/hero-gradus.png"); background-position: 43% center; }
  .hero-inner { padding-top: 120px; padding-bottom: 48px; align-self: end; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5.1rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 78px 0; }
  .manifesto-grid { gap: 20px; }
  .manifesto h2, .section-heading h2, .method h2, .team h2, .contact h2 { font-size: 2.35rem; }
  .service-switcher { display: grid; grid-template-columns: 1fr; margin-top: 34px; }
  .service-tab { width: 100%; min-width: 0; }
  .project, .project-wide { flex-basis: calc(100% - 4px); min-height: 430px; border-radius: 18px; }
  .project-copy { padding: 22px; }
  .project-header-inner { min-height: 74px; }
  .project-header .brand { width: 142px; }
  .project-back { padding: 9px 12px; font-size: .74rem; }
  .social-shell { width: min(100% - 28px, 620px); }
  .social-profile { grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 10px 0 35px; }
  .social-avatar { width: 92px; height: 92px; padding: 3px; border-width: 3px; }
  .social-identity h1 { font-size: 2rem; }
  .social-bio { font-size: .86rem; }
  .social-signature { display: none; }
  .social-grid { gap: 3px; }
  .social-post figcaption { display: none; }
  .project-cta { padding: 65px 0; }
  .project-cta-inner { display: block; }
  .project-cta .button { margin-top: 28px; }
  .team-grid { gap: 40px; }
  .team-people { gap: 10px; }
  .team-photo-wrap { border-radius: 20px; }
  .photo-label { right: 9px; bottom: 9px; left: 9px; display: block; padding: 11px; }
  .photo-label span { display: block; margin-top: 3px; }
  .team-photo-wrap.is-placeholder::after { top: 10px; right: 10px; }
  .contact { padding-right: 0; padding-left: 0; }
  .contact .container { width: 100%; border-radius: 0; }
  .contact-card > * { padding-inline: 24px; }
  .contact-card > * + * { padding-left: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

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