@import "/css/site/components/projects-d845fd762d34830019f992ef845a6214.css";

.portfolio-projects { padding-top: 0; padding-bottom: 72px; }
.portfolio-project__status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px; border: 1px solid rgba(45,196,182,.3); border-radius: 999px; color: #2dc4b6; font-size: 12px; }
.portfolio-project__status::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.portfolio-project__status--development { color: #e7c684; border-color: rgba(231,198,132,.3); }
.portfolio-project__brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px; border: 1px solid var(--site-line); border-radius: 24px; background: #f8fafc; filter: none; }
.portfolio-project__brand::before { display: none; }
.portfolio-project__brand img { width: 75%; height: 150px; object-fit: contain; }
.portfolio-project__brand span { color: #52616b; font-size: 13px; }


@media (max-width: 600px) {
    .portfolio-project__brand { padding: 24px; }
    .portfolio-project__brand img { height: 100px; }
}

/* Hero editorial: elementos decorativos integrados ao fundo. */
.portfolio-body { --portfolio-header-height: 101px; }
.portfolio-body .portfolio-hero { margin-top: calc(-1 * var(--portfolio-header-height)); padding-top: var(--portfolio-header-height); }
@media (max-width: 960px) {
    .portfolio-body { --portfolio-header-height: 85px; }
}
.portfolio-hero { position: relative; isolation: isolate; overflow: hidden; color: #f5f7f7; border-bottom: 1px solid rgba(45,212,191,.1); background: radial-gradient(circle at 70% 35%,rgba(13,148,136,.08),transparent 35%),linear-gradient(180deg,#031517,#021113); }
.portfolio-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(45,212,191,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(45,212,191,.035) 1px,transparent 1px); background-size: 140px 140px; mask-image: linear-gradient(90deg,transparent,black 48%); }
.portfolio-hero__orbit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; pointer-events: none; }
.portfolio-hero__inner { min-height: 840px; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); grid-template-rows: auto auto; column-gap: 72px; align-content: center; padding-block: 100px 110px; }
.portfolio-hero__content { align-self: center; }
.portfolio-hero__eyebrow { margin-bottom: 38px; }
.portfolio-hero h1 { margin: 0; font-size: clamp(58px,5.7vw,82px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.portfolio-hero h1 span { color: #17d7d2; white-space: nowrap; }
.portfolio-hero__description { max-width: 600px; margin: 38px 0 0; color: rgba(255,255,255,.72); font-size: 20px; line-height: 1.7; }
.portfolio-hero__panel { position: relative; align-self: end; padding: 90px 0 0 32px; }
.portfolio-hero__note { position: absolute; right: 0; top: -28px; margin: 0; color: rgba(255,255,255,.35); font-size: 10px; line-height: 2.1; letter-spacing: .28em; text-transform: uppercase; }
.portfolio-hero__count { display: flex; align-items: center; gap: 24px; margin: 0; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.14); }
.portfolio-hero__count > span:first-child { font-size: 64px; line-height: 1; font-weight: 300; color: #5eead4; letter-spacing: -.04em; }
.portfolio-hero__count i { font-size: 36px; font-style: normal; font-weight: 300; color: #5eead4; }
.portfolio-hero__count > span:last-child { font-size: 12px; line-height: 1.8; letter-spacing: .2em; text-transform: uppercase; }
.portfolio-hero__areas { list-style: none; margin: 0; padding: 0; }
.portfolio-hero__areas li { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.portfolio-hero__areas li span { width: 6px; height: 6px; border-radius: 50%; background: #17d7d2; }
.portfolio-hero__editorial { position: absolute; left: 38px; top: calc(100% + 54px); margin: 0; border-left: 2px solid #17d7d2; padding-left: 30px; color: rgba(255,255,255,.3); font-size: 10px; line-height: 2; letter-spacing: .24em; text-transform: uppercase; }
.portfolio-hero__scroll { display: inline-flex; align-items: center; gap: 28px; justify-self: start; margin-top: 46px; font-size: 14px; letter-spacing: .12em; color: rgba(255,255,255,.8); }
.portfolio-hero__scroll-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #17d7d2; border-radius: 50%; color: #17d7d2; transition: background .25s; }
.portfolio-hero__scroll svg { transition: transform .25s; }
.portfolio-hero__scroll:hover .portfolio-hero__scroll-icon { background: rgba(45,212,191,.08); }
.portfolio-hero__scroll:hover svg { transform: translateY(4px); }
.portfolio-hero__scroll:focus-visible { outline: 2px solid #17d7d2; outline-offset: 8px; }
html:has(.portfolio-hero) { scroll-behavior: smooth; }
@media (min-width: 768px) and (max-width: 1100px) {
    .portfolio-hero__inner { column-gap: 36px; min-height: 780px; }
    .portfolio-hero h1 { font-size: clamp(44px,5.5vw,60px); }
    .portfolio-hero__description { font-size: 18px; }
    .portfolio-hero__panel { padding-left: 16px; }
    .portfolio-hero__count { gap: 16px; }
    .portfolio-hero__count > span:first-child { font-size: 54px; }
}
@media (max-width: 767px) {
    .portfolio-hero__inner { grid-template-columns: minmax(0,1fr); min-height: calc(100svh - 84px); padding-block: 100px 80px; }
    .portfolio-hero h1 { font-size: clamp(38px,10.5vw,58px); line-height: 1; }
    .portfolio-hero__eyebrow { margin-bottom: 28px; }
    .portfolio-hero__description { font-size: 18px; margin-top: 32px; }
    .portfolio-hero__panel { padding: 0; margin-top: 32px; justify-self: start; }
    .portfolio-hero__count { padding-bottom: 0; border: 0; }
    .portfolio-hero__count > span:first-child { font-size: 44px; }
    .portfolio-hero__count > span:last-child { font-size: 10px; }
    .portfolio-hero__note, .portfolio-hero__areas, .portfolio-hero__editorial { display: none; }
    .portfolio-hero__orbit { opacity: .3; }
    .portfolio-hero__scroll { margin-top: 32px; gap: 20px; font-size: 12px; }
    .portfolio-hero__scroll-icon { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.portfolio-hero) { scroll-behavior: auto; }
    .portfolio-hero__scroll-icon, .portfolio-hero__scroll svg { transition: none; }
}

[data-project-dialog] { cursor: pointer; }
.portfolio-project__open { padding-block: 8px; }
.portfolio-modal-open { overflow: hidden; }
.portfolio-modal { width: min(920px,calc(100% - 48px)); max-width: none; max-height: calc(100svh - 64px); padding: 0; border: 1px solid rgba(45,212,191,.25); border-radius: 16px; background: #071214; color: #f8fafc; overscroll-behavior: contain; }
.portfolio-modal::backdrop { background: rgba(0,12,15,.85); backdrop-filter: blur(6px); }
.portfolio-modal__inner { position: relative; }
.portfolio-modal__close { position: sticky; top: 16px; z-index: 1; float: right; display: grid; place-items: center; width: 44px; height: 44px; margin: 16px 16px -60px 0; border: 1px solid rgba(45,212,191,.4); border-radius: 50%; background: #071214; color: #f8fafc; cursor: pointer; }
.portfolio-modal__close:hover { color: #17d7d2; }
.portfolio-modal__close:focus-visible { outline: 2px solid #17d7d2; outline-offset: 3px; }
.portfolio-modal__image { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #031517; }
.portfolio-modal__image--logo { height: 280px; padding: 48px; background: #f8fafc; }
.portfolio-modal__body { padding: 40px 48px 48px; }
.portfolio-modal h2 { margin: 0 0 12px; font-size: clamp(28px,3vw,42px); line-height: 1.15; letter-spacing: -.035em; }
.portfolio-modal__subtitle { margin: 0 0 20px; color: #b1c0c3; font-size: 18px; line-height: 1.5; }
.portfolio-modal__detail { border-top: 1px solid rgba(177,192,195,.14); padding-top: 24px; margin-top: 8px; }
.portfolio-modal__detail h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #2dc4b6; }
.portfolio-modal__detail p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #b1c0c3; }
.portfolio-modal__availability { margin: 8px 0 0; color: #b1c0c3; font-size: 14px; line-height: 1.6; }
@media (max-width: 600px) {
    .portfolio-modal { width: calc(100% - 24px); max-height: calc(100svh - 24px); border-radius: 12px; }
    .portfolio-modal__body { padding: 28px 24px; }
    .portfolio-modal__image--logo { height: 200px; padding: 32px; }
    .portfolio-modal__visit { width: 100%; }
}

.portfolio-modal__visual { padding: 48px 64px 24px; background: #031517; }
.portfolio-modal__visual .home-project__devices { width: 100%; max-width: 680px; margin-inline: auto; }
@media (max-width: 600px) {
    .portfolio-modal__visual { padding: 64px 24px 24px; }
}

.portfolio-body .home-project__screen img, .portfolio-body .home-project__phone img { object-position: center top; }
