/* =========================================================
   GPM Technology — estilos
   Estrutura: tokens · base · header · hero · sobre · projetos
              serviços · contato · rodapé · animações · responsivo
   ========================================================= */

:root {
  --bg: #080909;
  --fg: #f4f4f2;
  --muted: #b5b7b1;
  --line: #292b29;
  --lime: #c8ff00;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 13px/1.65 Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lime); color: #080909; }

:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; border-radius: 2px; }

.wrap { width: min(1210px, calc(100% - 72px)); margin: auto; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: 12px; transform: translateY(-200%); z-index: 100; background: var(--lime); color: #080909; padding: 10px 16px; border-radius: 30px; font-weight: 700; font-size: 12px; transition: transform .2s; }
.skip-link:focus { transform: none; }

/* ---------- Componentes reutilizáveis ---------- */
.brand { display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 800; letter-spacing: -1.8px; }
.brand span { font: 500 9px 'DM Mono', monospace; letter-spacing: .35em; }

.pill { border: 1px solid #62635f; border-radius: 30px; padding: 9px 19px; display: inline-flex; align-items: center; gap: 14px; font-size: 11px; transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease); }
.pill span { transition: transform .25s var(--ease); }
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill:hover span { transform: translate(2px, -2px); }
.pill.light { background: #f7f7f5; color: #080909; border-color: #f7f7f5; font-weight: 700; }
.pill.light:hover { background: var(--lime); border-color: var(--lime); color: #080909; }

.eyebrow, .section-tag { font: 9px 'DM Mono', monospace; letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: 18px; margin-bottom: 13px; }
.eyebrow { color: var(--lime); }
.eyebrow::before { content: ''; width: 15px; height: 3px; background: var(--lime); }
.section-tag::after { content: ''; height: 1px; width: 24px; background: #383a36; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(8, 9, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.topbar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; transition: height .35s var(--ease); }
.site-header.scrolled .topbar { height: 60px; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

.nav { display: flex; gap: 30px; font-size: 11px; }
.nav a { position: relative; padding-bottom: 8px; padding-top: 8px; color: #dcdcd8; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: #fff; }
.nav a.active { color: var(--lime); }
.nav a.active::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 38px; height: 38px; border: 1px solid #62635f; border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--fg); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 21px; }
.menu-open .menu-toggle span:first-child { top: 18px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 18px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 340px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 26px 0 58px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -2.1px; line-height: 1.05; font-weight: 600; margin: 0 0 18px; max-width: 610px; }
.hero h1 em { font-style: normal; color: #bfc0be; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.intro { font-size: 13px; line-height: 1.8; max-width: 455px; color: #dededb; }
.actions { display: flex; gap: 20px; margin-top: 22px; flex-wrap: wrap; }

.hero-art { height: 310px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art [data-depth] { transition: transform .9s var(--ease); will-change: transform; }
.art-layer { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.orb { width: 280px; height: 250px; position: relative; transform: rotate(-19deg); border-radius: 47% 53% 42% 58%; background: radial-gradient(ellipse at 35% 20%, #666967 0, #222524 14%, #050606 42%, #151716 58%, #000 75%); box-shadow: inset 12px 7px 18px #a9aaa633, inset -15px -16px 30px #000, 0 0 40px #000; }
.orb::before { content: ''; position: absolute; inset: -22px 20px 15px -12px; border: 1px solid #777b75; border-right-color: transparent; border-bottom-color: #3a3d38; border-radius: 48% 52% 40% 60%; transform: rotate(28deg); }
.orb::after { content: ''; position: absolute; width: 175px; height: 190px; left: 45px; top: -22px; border-top: 1px solid var(--lime); border-right: 2px solid var(--lime); border-radius: 50%; transform: rotate(-13deg); filter: drop-shadow(0 0 8px #c8ff0088); }
.shine { position: absolute; width: 240px; height: 100px; border-top: 2px solid #eee; border-radius: 50%; transform: rotate(-34deg); top: 60px; left: calc(50% - 115px); filter: blur(2px); opacity: .7; }
.type-list { position: absolute; right: 2px; top: 36px; border-left: 1px solid #656761; padding-left: 15px; color: #a7aaa3; font: 9px/2.4 'DM Mono', monospace; letter-spacing: .22em; }
.code-card { position: absolute; right: 4px; bottom: 8px; background: #090a0aeb; border: 1px solid #454744; border-radius: 5px; padding: 17px 23px; font: 11px/1.65 'DM Mono', monospace; width: 250px; }
.code-card b { color: var(--lime); font-weight: 400; }
.caret { display: inline-block; width: 6px; height: 12px; margin-left: 4px; vertical-align: -1px; background: var(--lime); animation: blink 1.1s steps(1) infinite; }

/* ---------- Sobre ---------- */
.about { padding: 36px 0; display: grid; grid-template-columns: 272px 1fr 190px; gap: 44px; align-items: center; border-bottom: 1px solid var(--line); }
.portrait { margin: 0; aspect-ratio: 3 / 4; max-height: 380px; width: 100%; border-radius: 4px; background: radial-gradient(ellipse at 50% 20%, #454744, #171918 55%, #070808); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; filter: grayscale(1); }
.portrait picture, .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait img { object-fit: cover; object-position: 50% 0%; transition: transform 1.2s var(--ease); }
.portrait:hover img { transform: scale(1.04); }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 9, .75)); }
.portrait span { z-index: 1; align-self: end; margin-bottom: 10px; font-size: 8px; letter-spacing: .3em; color: #aaa; }
.about h2, .section-heading h2, .contact h2 { font-size: 25px; line-height: 1.25; letter-spacing: -1.1px; font-weight: 600; margin: 0 0 10px; }
.about-copy p { font-size: 11px; color: #d0d1cd; line-height: 1.8; max-width: 500px; margin: 0 0 12px; }
.about-copy p:last-of-type { margin-bottom: 19px; }
.skills { display: flex; flex-wrap: wrap; gap: 19px; font-size: 10px; color: #bfc1bc; }
.skill b { font-size: 17px; margin-right: 6px; font-weight: 400; }
.stats { border-left: 1px solid var(--line); padding-left: 27px; display: grid; gap: 21px; }
.stat strong { font-size: 25px; display: block; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 10px; color: #b6b8b2; }

/* ---------- Projetos ---------- */
.projects { padding: 28px 0 31px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.small-link { font-size: 10px; transition: color .25s; }
.small-link:hover { color: var(--lime); }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.project-image { height: 145px; border: 1px solid #3a3c38; border-radius: 4px; overflow: hidden; position: relative; background: #101211; transition: border-color .4s; }
.project-image > .mock, .project-image > img { transition: transform .9s var(--ease); }
.project-image > img { width: 100%; height: 100%; object-fit: cover; }
.project:hover .project-image { border-color: #6a6d66; }
.project:hover .project-image > .mock, .project:hover .project-image > img { transform: scale(1.06); }

.status { position: absolute; z-index: 2; top: 9px; right: 9px; font: 8px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; background: rgba(8, 9, 9, .72); border: 1px solid #4a4c48; color: #d6d7d2; backdrop-filter: blur(6px); }
.status.live { color: var(--lime); border-color: #c8ff0066; }
.status.live::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-right: 6px; vertical-align: 1px; animation: pulse 2s infinite; }

.mock { width: 100%; height: 100%; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.mock-logo { font: 8px 'DM Mono', monospace; letter-spacing: .16em; }
.mock-title { font: 22px Georgia, serif; }
.mock.cantora { background: radial-gradient(ellipse at 72% 48%, #8b4c35, #111 44%, #030404 75%); }
.mock.beauty { background: linear-gradient(90deg, #d7c9b9, #f1e9df 55%, #b5a28d); color: #302c27; }
.mock.beauty .mock-title { font-size: 15px; }
.mock.business { background: linear-gradient(130deg, #080909, #252a29 60%, #090909); }
.mock.business::after { content: ''; position: absolute; right: 18px; top: 30px; width: 80px; height: 80px; border: 1px solid #6d736d; transform: skewY(-28deg); box-shadow: 12px 12px 0 #1e2422, 24px 24px 0 #111; }
.mock.business .mock-title { font: 13px Manrope, sans-serif; max-width: 120px; z-index: 1; }
.mock.mobile { background: radial-gradient(ellipse, #3c413b, #070808 72%); flex-direction: row; align-items: center; justify-content: center; gap: 8px; }
.phone { height: 112px; width: 49px; border: 2px solid #73766e; border-radius: 9px; background: #101311; padding: 8px 4px; }
.phone::before { content: ''; display: block; height: 4px; width: 20px; background: #333; border-radius: 5px; margin: 0 auto 10px; }
.phone i { display: block; height: 9px; background: var(--lime); margin: 5px 0; }
.phone:nth-child(2) { height: 125px; }
.phone:nth-child(3) { height: 105px; }
.lines { height: 3px; width: 65%; background: #9997; }

.project h3 { font-size: 11px; margin: 11px 0 1px; font-weight: 600; }
.project p { font-size: 9px; color: #b9bbb5; margin: 0; }
.project .tech { font: 8px 'DM Mono', monospace; letter-spacing: .06em; color: #8e908a; margin-top: 5px; }
.visit { display: inline-block; color: var(--lime); font-size: 9px; margin-top: 12px; }
a.visit span { display: inline-block; transition: transform .25s var(--ease); }
a.visit:hover span, .project:hover .visit span { transform: translate(2px, -2px); }
.visit span { display: inline-block; transition: transform .25s var(--ease); }
.visit.soon { color: #d1d2cc; }

/* ---------- Serviços ---------- */
.services { padding: 34px 0 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.services-intro h2 { font-size: 25px; letter-spacing: -1px; font-weight: 600; margin: 0 0 9px; }
.services-intro p { font-size: 11px; line-height: 1.8; color: #c7c9c3; max-width: 310px; margin: 0 0 23px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service { padding: 8px 20px 16px; border-left: 1px solid #222421; min-height: 90px; position: relative; transition: background .35s; }
.service::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--lime); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.service:hover { background: linear-gradient(180deg, #ffffff06, transparent); }
.service:hover::before { transform: scaleY(1); }
.service:nth-child(n+4) { border-top: 1px solid #222421; padding-top: 17px; }
.service-icon { font-size: 20px; color: #c6c9c2; margin-bottom: 4px; transition: color .3s, transform .45s var(--ease); display: inline-block; }
.service:hover .service-icon { color: var(--lime); transform: translateY(-2px); }
.service h3 { font-size: 11px; font-weight: 600; margin: 0 0 3px; }
.service p { font-size: 9px; line-height: 1.6; color: #b6b8b2; margin: 0; max-width: 150px; }

/* ---------- Contato ---------- */
.contact { padding: 30px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.contact h2 { font-size: 25px; margin-bottom: 10px; }
.contact-copy p { font-size: 11px; color: #c6c8c2; max-width: 360px; line-height: 1.8; }
.contact-details { display: flex; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.detail { display: flex; align-items: center; gap: 10px; font-size: 9px; }
.detail b { font-size: 19px; color: var(--lime); font-weight: 400; }
.detail span { display: block; color: #c0c2bc; transition: color .25s; }
a.detail:hover span { color: var(--lime); }

.contact-form { display: grid; align-content: center; }
.contact-form input, .contact-form textarea, .contact-form select { background: #090a0a; border: 1px solid #292b28; color: #fff; padding: 11px 12px; outline: none; font: 10px Manrope, sans-serif; width: 100%; resize: vertical; margin-top: -1px; transition: border-color .25s; position: relative; }
.contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer; color: #fff; background-image: linear-gradient(45deg, transparent 50%, #8d8f89 50%), linear-gradient(135deg, #8d8f89 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 12px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }
.contact-form select:invalid { color: #8a8c86; }
.contact-form option { background: #090a0a; color: #fff; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8a8c86; }
.contact-form > input:first-of-type { border-radius: 7px 7px 0 0; margin-top: 0; }
.contact-form textarea { min-height: 60px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: #777; z-index: 1; }
.contact-form .invalid { border-color: #ff6b5b; z-index: 1; }
.contact-form button { background: #f2f2ef; border: 0; color: #111; padding: 10px; border-radius: 0 0 7px 7px; font: 600 10px Manrope, sans-serif; cursor: pointer; transition: background .25s; }
.contact-form button:hover { background: var(--lime); }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-status { font-size: 10px; margin: 10px 0 0; min-height: 16px; color: #c6c8c2; }
.form-status.ok { color: var(--lime); }
.form-status.error { color: #ff8a7d; }

/* ---------- Rodapé ---------- */
.footer { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8d8f89; font-size: 8px; flex-wrap: wrap; padding: 14px 0; }
.footer .brand { font-size: 20px; color: var(--fg); }
.footer-nav { display: flex; gap: 18px; font-size: 9px; }
.footer-nav a:hover, .socials a:hover { color: var(--lime); }
.socials { display: flex; gap: 17px; font-size: 9px; letter-spacing: .08em; }
.socials a { transition: color .25s; }
.footer-note { color: #9b9d96; }
.footer-note strong { color: #d9dad5; font-weight: 600; }

/* ---------- Animações ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes riseIn { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes orbIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* Só animam quando o JS estiver ativo (sem JS, tudo aparece normalmente) */
.js .hero-title .line > span { animation: riseIn 1s var(--ease) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero-art { animation: orbIn 1.4s var(--ease) .2s both; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .nav { gap: 14px; }
  .hero { grid-template-columns: 1fr .75fr; }
  .hero h1 { font-size: 38px; }
  .type-list { display: none; }
  .code-card { right: 0; width: 210px; }
  .about { grid-template-columns: 220px 1fr; gap: 25px; }
  .stats { grid-column: 1 / -1; display: flex; justify-content: space-around; border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; text-align: center; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .project-image { height: 150px; }
  .services { gap: 20px; }
  .service { padding-left: 12px; padding-right: 8px; }
  .contact { gap: 25px; }
}

@media (max-width: 720px) {
  :root { --header-h: 65px; }
  .wrap { width: calc(100% - 36px); }
  .brand { font-size: 23px; }
  .topbar-actions > .pill { padding: 8px 12px; font-size: 10px; }
  .menu-toggle { display: block; }

  /* Menu mobile: painel que desce abaixo do header */
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; padding: 8px 18px 22px; background: rgba(8, 9, 9, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); font-size: 18px; letter-spacing: -.5px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .site-header.scrolled .nav { top: 60px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { background: rgba(8, 9, 9, .97); }

  .hero { display: block; padding: 38px 0 24px; min-height: 0; }
  .hero h1 { font-size: 39px; letter-spacing: -1.7px; }
  .intro { font-size: 12px; }
  .hero-art { height: 250px; margin-top: 6px; }
  .orb { width: 205px; height: 190px; }
  .shine { width: 190px; left: calc(50% - 95px); }
  .code-card { right: 0; bottom: 0; width: 210px; padding: 10px 14px; font-size: 9px; }
  .actions { gap: 10px; }
  .pill { padding: 10px 14px; }
  .about { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .portrait { aspect-ratio: 4 / 5; max-height: 460px; }
  .about h2 { font-size: 24px; }
  .about-copy p { font-size: 12px; }
  .stats { gap: 10px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 9px; }
  .skills { gap: 13px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 22px; }
  .small-link { white-space: nowrap; font-size: 9px; }
  .project-image { height: 130px; }
  .projects { padding: 26px 0; }
  .services { grid-template-columns: 1fr; gap: 22px; padding: 27px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3), .service:nth-child(4) { border-top: 1px solid #222421; padding-top: 17px; }
  .service { min-height: 95px; }
  .contact { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .contact-details { gap: 16px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 16px; } /* evita zoom automático no iPhone */
  .footer { padding: 18px 0; }
  .footer-nav { order: 3; }
  .footer-note { width: 100%; order: 4; }
  .footer .brand { font-size: 18px; }
}

@media (max-width: 420px) {
  .topbar-actions > .pill { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-image { height: 170px; }
  .code-card { width: 190px; }
}

/* ---------- Projetos: cards clicáveis ---------- */
.project-open { all: unset; display: block; width: 100%; cursor: pointer; border-radius: 4px; }
.project-open:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; }
.project-image > .mock, .project-image > img { width: 100%; height: 100%; }
.project-image::after { content: 'Ver detalhes'; position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translate(-50%, 8px); opacity: 0; font: 9px 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; background: var(--lime); color: #080909; padding: 5px 12px; border-radius: 20px; transition: opacity .35s, transform .45s var(--ease); }
.project:hover .project-image::after, .project-open:focus-visible .project-image::after { opacity: 1; transform: translate(-50%, 0); }
.project-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.project-grid[data-cols="3"] .project-image { height: 190px; }
.project-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.project-noscript { font-size: 11px; color: var(--muted); }

/* ---------- Contato: chamada para o pop-up ---------- */
.contact-cta { display: grid; align-content: center; justify-items: start; gap: 14px; padding-left: 40px; border-left: 1px solid var(--line); }
.cta-kicker { margin: 0; font: 9px 'DM Mono', monospace; letter-spacing: .15em; text-transform: uppercase; color: var(--lime); }
.cta-button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; max-width: 460px; padding: 22px 26px; border-radius: 10px; background: #f2f2ef; color: #080909; font: 600 clamp(18px, 2vw, 24px)/1.15 Manrope, sans-serif; letter-spacing: -.8px; transition: background .3s, transform .45s var(--ease); }
.cta-button i { font-style: normal; display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 50%; background: #080909; color: var(--lime); font-size: 18px; transition: transform .45s var(--ease); }
.cta-button:hover { background: var(--lime); }
.cta-button:hover i { transform: rotate(45deg); }
.cta-button:focus-visible { outline: 1px solid var(--lime); outline-offset: 4px; }
.cta-note { margin: 0; font-size: 10px; color: #a9aba5; }

/* ---------- Pop-ups (dialog nativo) ---------- */
.modal { padding: 0; border: 1px solid #333532; border-radius: 12px; background: #0b0c0c; color: var(--fg); width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 40px 120px #000; }
.modal::backdrop { background: rgba(4, 5, 5, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .35s ease; }
.modal-inner { position: relative; padding: 30px; }
.modal h2 { font-size: 24px; line-height: 1.2; letter-spacing: -1px; font-weight: 600; margin: 0 0 6px; }
.modal-sub { font-size: 11px; color: #b9bbb5; margin: 0 0 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #454744; background: #0b0c0ccc; color: var(--fg); font-size: 18px; line-height: 1; cursor: pointer; transition: border-color .25s, color .25s, transform .35s var(--ease); }
.modal-close:hover { border-color: var(--lime); color: var(--lime); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* Pop-up do projeto */
.project-modal { width: min(980px, calc(100% - 32px)); }
.project-modal .modal-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; }
.pm-stage { aspect-ratio: 16 / 10; border: 1px solid #3a3c38; border-radius: 6px; overflow: hidden; background: #101211; position: relative; }
.pm-stage img, .pm-stage .mock { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pm-stage .mock { padding: 28px; }
.pm-stage .mock-logo { font-size: 11px; }
.pm-stage .mock-title { font-size: 40px; }
.pm-stage .mock.beauty .mock-title { font-size: 28px; }
.pm-stage .mock.business .mock-title { font-size: 22px; max-width: 260px; }
.pm-stage .mock.business::after { width: 150px; height: 150px; right: 50px; top: 50px; }
.pm-stage .phone { height: 200px; width: 88px; padding: 14px 8px; }
.pm-stage .phone:nth-child(2) { height: 225px; }
.pm-stage .phone:nth-child(3) { height: 188px; }
.pm-stage .phone i { height: 16px; margin: 9px 0; }
.pm-stage-note { position: absolute; left: 12px; bottom: 10px; font: 8px 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #ffffffa0; background: #0008; padding: 3px 8px; border-radius: 20px; }
.pm-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pm-thumbs button { all: unset; cursor: pointer; width: 64px; height: 42px; border-radius: 4px; overflow: hidden; border: 1px solid #3a3c38; opacity: .55; transition: opacity .25s, border-color .25s; }
.pm-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pm-thumbs button[aria-current="true"], .pm-thumbs button:hover { opacity: 1; border-color: var(--lime); }
.pm-thumbs button:focus-visible { outline: 1px solid var(--lime); outline-offset: 2px; }
.pm-info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 8px; padding-right: 30px; }
.pm-info .status { position: static; margin-bottom: 14px; }
.pm-category { font-size: 11px; color: #b9bbb5; margin: 0 0 16px; }
.pm-desc { font-size: 12px; line-height: 1.8; color: #d6d7d2; margin: 0 0 18px; }
.pm-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.pm-tech li { font: 9px 'DM Mono', monospace; letter-spacing: .06em; border: 1px solid #3a3c38; border-radius: 20px; padding: 4px 10px; color: #c6c8c2; }
.pm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.pm-actions .pill { cursor: pointer; background: transparent; color: var(--fg); font-family: inherit; }
.pm-actions .pill.light { background: #f7f7f5; color: #080909; }
.pm-actions .pill.light:hover { background: var(--lime); }
.pm-soon { font-size: 10px; color: #a9aba5; align-self: center; }

@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 850px) {
  .contact-cta { padding-left: 25px; }
}
@media (max-width: 720px) {
  .contact-cta { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .cta-button { padding: 18px 20px; }
  .modal-inner { padding: 24px 20px; }
  .project-modal .modal-inner { grid-template-columns: 1fr; gap: 18px; padding-top: 58px; }
  .pm-info { padding-right: 0; }
  .pm-stage .mock-title { font-size: 28px; }
  .pm-stage .phone { height: 118px; width: 52px; }
  .pm-stage .phone:nth-child(2) { height: 132px; }
  .pm-stage .phone:nth-child(3) { height: 110px; }
  .pm-stage .phone i { height: 11px; margin: 6px 0; }
}

@media (max-width: 850px) {
  .project-grid[data-cols] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid[data-cols] .project-image { height: 150px; }
}
@media (max-width: 420px) {
  .project-grid[data-cols] { grid-template-columns: 1fr; }
  .project-grid[data-cols] .project-image { height: 170px; }
}

/* Respeita "reduzir movimento" do sistema */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-art [data-depth] { transform: none !important; }
}
