:root {

    --black: #000000;

    --ink: #0a0a0a;

    --white: #ffffff;

    --lime: #c6ff33;

    --violet: #7d39eb;

    --muted: #a7a7a7;

    --line: #1b1b1b;

}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {

    background: var(--black);

    color: var(--white);

    font-family: "DM Sans", Arial, sans-serif;

}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

/* NAV / CABEÇALHO */

.site-header {

    height: 82px;

    border-bottom: 1px solid #222;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 5vw;

    position: sticky;

    top: 0;

    z-index: 40;

    background: rgba(0, 0, 0, 0.88);

    backdrop-filter: blur(12px);

}

.brand {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}

.brand-logo {

    width: 145px;

    height: auto;

    display: block;

}

.nav {

    display: flex;

    gap: 35px;

    font-size: 12px;

    color: #aaa;

}

.nav a {

    transition: 0.2s;

}

.nav a:hover,

.nav a.active {

    color: var(--lime);

}

.header-cta {

    border: 1px solid #333;

    padding: 12px 17px;

    border-radius: 30px;

    font-size: 11px;

}

.header-cta span {

    color: var(--lime);

    margin-left: 5px;

}

.menu-btn {

    display: none;

    background: none;

    border: 0;

    color: #fff;

    font-size: 22px;

    cursor: pointer;

}

/* HERO */

.hero {

    max-width: 1280px;

    margin: 0 auto;

    padding: 115px 6vw 78px;

}

.eyebrow {

    color: var(--lime);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .18em;

    margin-bottom: 24px;

}

.hero h1 {

    max-width: 1000px;

    font-family: "Space Grotesk", Arial, sans-serif;

    font-size: clamp(54px, 8vw, 112px);

    line-height: .92;

    letter-spacing: -.065em;

    font-weight: 600;

}

.hero h1 span { color: var(--lime); }

.hero-description {

    max-width: 520px;

    margin-top: 30px;

    color: var(--muted);

    line-height: 1.65;

    font-size: 15px;

}

/* FILTROS */

.portfolio {

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 6vw 120px;

}

.filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 38px;

}

.filter-btn {

    padding: 10px 15px;

    border: 1px solid #292929;

    border-radius: 999px;

    background: transparent;

    color: #999;

    cursor: pointer;

    font-size: 12px;

    transition: .2s ease;

}

.filter-btn:hover,

.filter-btn.active {

    background: var(--lime);

    color: #000;

    border-color: var(--lime);

}

/* =========================================================*

*   PROJETOS*

*   Cada projeto só precisa de .wide ou .normal.*

*========================================================= */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(12, minmax(0, 1fr));

    gap: 38px 18px;

    align-items: start;

}

.project-card {
    min-width: 0;
}

/* Cards ocupam 8 ou 4 colunas; o Grid faz o posicionamento automático. */
.project-card.wide { grid-column: span 8; }
.project-card.normal { grid-column: span 4; }
.project-card.hidden { display: none; }

.project-open {

    display: block;

    width: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;

}

.project-image {

    position: relative;

    width: 100%;

    overflow: hidden;

    background: #101010;

}

.project-card.wide .project-image { height: 390px; }

.project-card.normal .project-image { height: 390px; }

/**

*   PADRÃO DAS CAPAS:*

*   wide   = 1536 x 1024 px (3:2)*

*   normal =  768 x 1024 px (3:4)*

*   As duas ocupam a mesma altura no grid.*

*   O object-fit: cover mantém o layout uniforme.*

**/

.project-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .55s ease;

}

.project-open:hover .project-image img { transform: scale(1.035); }

.project-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg, transparent 35%, rgba(255,255,255,.09), transparent 65%);

    transform: translateX(-110%);

    transition: transform .7s ease;

    pointer-events: none;

}

.project-open:hover .project-image::after { transform: translateX(110%); }

.project-arrow {

    position: absolute;

    right: 18px;

    top: 18px;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(0,0,0,.75);

    border: 1px solid rgba(255,255,255,.18);

    color: var(--lime);

    z-index: 2;

    font-size: 18px;

}

.project-info {

    padding: 17px 0 0;

    border-bottom: 1px solid #222;

    padding-bottom: 23px;

}

.project-service {

    color: var(--lime);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .14em;

}

.project-info h2 {

    margin-top: 8px;

    font-family: "Space Grotesk", Arial, sans-serif;

    font-size: 25px;

    font-weight: 500;

}

.project-info p {

    margin-top: 7px;

    color: #858585;

    font-size: 12px;

    line-height: 1.5;

}

/* 15 — WHATSAPP FLUTUANTE */

.whatsapp-widget {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 45;

    display: flex;

    align-items: flex-end;

    gap: 12px;

}

.whatsapp-float {

    width: 62px;

    height: 62px;

    border-radius: 50%;

    background: #2bd45c;

    display: grid;

    place-items: center;

    box-shadow: 0 10px 35px rgba(43, 212, 92, 0.25);

    transition: 0.25s;

    animation: whatsappPulse 3s ease-in-out infinite;

}

.whatsapp-float:hover {

    transform: scale(1.08);

    box-shadow: 0 14px 42px rgba(43, 212, 92, 0.38);

}

.whatsapp-float svg {

    width: 35px;

    height: 35px;

}

.whatsapp-message {

    position: relative;

    width: 235px;

    background: #fff;

    color: #111;

    padding: 17px 35px 17px 18px;

    border-radius: 14px 14px 3px 14px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);

    animation: messageIn 0.45s ease-out;

}

.whatsapp-message::after {

    content: "";

    position: absolute;

    right: -7px;

    bottom: 10px;

    width: 14px;

    height: 14px;

    background: #fff;

    transform: rotate(45deg);

}

.whatsapp-message strong {

    display: block;

    font-family: "Space Grotesk";

    font-size: 15px;

}

.whatsapp-message p {

    font-size: 11px;

    color: #555;

    line-height: 1.45;

    margin-top: 4px;

}

.whatsapp-message-close {

    position: absolute;

    right: 8px;

    top: 6px;

    border: 0;

    background: none;

    color: #777;

    font-size: 18px;

    line-height: 1;

    cursor: pointer;

    z-index: 2;

}

.whatsapp-message-close:hover {

    color: #000;

}

.whatsapp-message.hidden {

    display: none;

}

/* MODAL */

.modal {

    position: fixed;

    inset: 0;

    z-index: 50;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 30px;

}

.modal.show { display: flex; }

.modal-backdrop {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.84);

    backdrop-filter: blur(10px);

}

.modal-window {

    position: relative;

    z-index: 2;

    width: min(1100px, 100%);

    max-height: calc(100vh - 60px);

    overflow: auto;

    padding: 44px;

    background: #0b0b0b;

    border: 1px solid #292929;

}

.modal-close {

    position: absolute;

    top: 20px;

    right: 20px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: 1px solid #333;

    background: #111;

    color: #fff;

    font-size: 25px;

    cursor: pointer;

}

.modal-topline {

    color: var(--lime);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .15em;

    text-transform: uppercase;

    margin-bottom: 15px;

}

.modal-window h2 {

    max-width: 850px;

    font-family: "Space Grotesk", Arial, sans-serif;

    font-size: clamp(42px, 6vw, 72px);

    line-height: .94;

    letter-spacing: -.05em;

}

.modal-description {

    color: #929292;

    margin: 18px 0 35px;

}

.modal-window > p { color: #929292; margin: 18px 0 35px; }

.modal-section { margin-top: 45px; }

.modal-section h3 {

    margin-bottom: 15px;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .12em;

    color: #fff;

}

.gallery {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

}

.gallery.single { grid-template-columns: 1fr; }

.gallery img {

    width: 100%;

    display: block;

    background: #151515;

}

.project-link {

    display: inline-flex;

    margin-top: 15px;

    padding: 12px 17px;

    border-radius: 999px;

    background: var(--lime);

    color: #000;

    font-weight: 700;

    font-size: 12px;

}

.project-link:hover { background: #fff; }

.project-video {

    width: 100%;

    display: block;

    max-height: 620px;

    background: #000;

}

.pdf-frame {

    width: 100%;

    height: 720px;

    border: 1px solid #292929;

    background: #151515;

}

.pdf-note {

    margin-top: 10px;

    color: #777;

    font-size: 11px;

}

/* RODAPÉ */

footer {

    padding: 35px 7vw;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 20px;

    color: #666;

    font-size: 9px;

    letter-spacing: 1px;

}

.footer-brand {

    display: flex;

    align-items: center;

}

.footer-center {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 8px;

}

.footer-center p {

    margin: 0;

}

.footer-created {

    margin: 0;

}

.footer-created a {

    color: inherit;

    transition: 0.2s;

}

.footer-created a:hover {

    color: var(--lime);

}

.footer-copy {

    justify-self: end;

    margin: 0;

}

/* RESPONSIVO */

@media (max-width: 900px) {

    .site-header { height: 82px; }

    .nav, .header-cta { display: none; }

    .menu-btn {

        display: block;

        margin-left: auto;

        border: 0;

        background: transparent;

        color: #fff;

        font-size: 25px;

        cursor: pointer;

    }

    .site-header.menu-open .nav {

        position: absolute;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        left: 0;

        right: 0;

        top: 82px;

        padding: 24px 6vw;

        margin: 0;

        background: #000;

        border-bottom: 1px solid #222;

    }

    .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .project-card.wide,

    .project-card.normal { grid-column: span 1; }

    .project-card.wide .project-image,

    .project-card.normal .project-image { height: 330px; }

}

@media (max-width: 600px) {

    .brand-logo { width: 115px; }

    .hero { padding-top: 78px; }

    .hero h1 { font-size: clamp(48px, 15vw, 78px); }

    .projects-grid { grid-template-columns: minmax(0, 1fr); }

    .project-card.wide,

    .project-card.normal { grid-column: span 1; }

    .project-card.wide .project-image,

    .project-card.normal .project-image { height: 300px; }

    .whatsapp-widget { right: 18px; bottom: 18px; max-width: calc(100vw - 36px); }

    .whatsapp-float { width: 58px; height: 58px; flex: 0 0 58px; }

    .whatsapp-message { width: min(205px, calc(100vw - 120px)); padding: 15px 32px 15px 15px; }

    .whatsapp-message strong { font-size: 14px; }

    .whatsapp-message p { font-size: 10px; }

    .modal { padding: 12px; }

    .modal-window { padding: 28px 20px 32px; max-height: calc(100vh - 24px); }

    .gallery { grid-template-columns: 1fr; }

    .pdf-frame { height: 520px; }

    footer {

        padding: 10px 5vw;

        display: grid;

        grid-template-columns: 1fr;

        justify-items: center;

        text-align: center;

    }

    .footer-brand,

    .footer-copy {

        justify-self: center;

    }

    .footer-center {

        align-items: center;

    }

}
