/* =========================================================
   LAGARTIXA FILMES
   Layout responsivo inspirado na referência enviada
   ========================================================= */

:root {
    --bg: #030403;
    --bg-soft: #090a09;
    --bg-light: #111211;
    --text: #f4f4f2;
    --muted: #a6aaa7;
    --green: #5da68b;
    --green-light: #78b59c;
    --border: rgba(255,255,255,.10);
    --max: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

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

.section-dark {
    background: var(--bg);
}

.container {
    max-width: var(--max);
}

/* ---------- HEADER ---------- */

.site-header {
    position: absolute;
    z-index: 1000;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.05);
    background: rgba(0,0,0,.20);
    backdrop-filter: blur(5px);
}

.navbar {
    min-height: 92px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-mark {
    width: 35px;
    height: 35px;
    border-radius: 50% 40% 55% 45%;
    display: grid;
    place-items: center;
    border: 1px solid var(--green);
    color: var(--green);
    font-weight: 700;
    font-size: 19px;
}

.logo-text {
    color: #fff;
    font-size: 15px;
    line-height: .9;
    letter-spacing: .04em;
    font-weight: 600;
}

.logo-text small {
    display: block;
    font-size: 6px;
    letter-spacing: .32em;
    text-align: center;
    margin-top: 4px;
    font-weight: 400;
}

.nav-link {
    color: #fff !important;
    font-size: 18px;
    position: relative;
    padding: 12px 0 !important;
    font-weight: 500;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--green) !important;
}

/* ---------- PÁGINAS INTERNAS (base) ---------- */

body.page-portfolio,
body.page-detail,
body.page-about,
body.page-contact {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.page-portfolio main,
body.page-detail main,
body.page-about main,
body.page-contact main {
    flex: 1 0 auto;
}

/* Wrappers das páginas internas */
.portfolio-main,
.about-main,
.contact-main {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
}

/* Largura do container por página */
.page-contact .container,
.page-about .container {
    max-width: 1200px;
}

.page-detail .container {
    max-width: 1300px;
}

/* Botão Voltar */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6b9780;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 60px;
    border-bottom: 2px solid #6b9780;
    padding-bottom: 5px;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.8;
}

.page-portfolio .back-link {
    color: #5da68b;
    border-color: #5da68b;
    margin-bottom: 80px;
}

.page-portfolio .back-link:hover {
    color: #fff;
}

.page-contact .back-link {
    margin-bottom: 80px;
}

/* Título */
.title {
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-portfolio .title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 50px;
}

.page-about .title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 80px;
}

.page-contact .title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 50px;
}

.page-detail .title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 10px;
}

/* Silhueta da Lagartixa ao fundo */
.lizard-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 420px;
    background-image: url('../img/bg-lagartixa.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.page-detail .lizard-bg {
    opacity: 0.08;
}

/* ---------- HERO ---------- */

.hero-section {
    min-height: 720px;
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #030403;
}

.hero-video {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 0%) 44%, rgba(0, 0, 0, .22) 100%), linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 13%));
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 45%, rgba(83,132,114,.13), transparent 30%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 350px;
}

.eyebrow-line {
    width: 145px;
    height: 2px;
    background: var(--green);
    margin-bottom: 22px;
    margin-top: 30px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(52px, 6.5vw, 100px);
    line-height: .92;
    font-weight: 600;
    letter-spacing: -.035em;
}

.hero-content p {
    margin-top: 34px;
    color: #fffffe;
    font-size: 20px;
    line-height: 1.6;
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 32px;
    left: 50%;
    width: 20px;
    height: 35px;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 32px;
    background: var(--green);
    animation: scrollLine 1.6s infinite;
}

@keyframes scrollLine {
    0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- SERVICES ---------- */

.services-section {
    padding: 95px 0 110px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.70;
    letter-spacing: .015em;
    font-weight: 300;
}

.service-title.accent {
    color: var(--green);
}

.small-green {
    color: var(--green);
    font-size: 20px;
    margin-top: 30px;
    font-weight: 600;
    letter-spacing: .05em;
}

.gecko-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #0d0f0e;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
}

.film-icon {
    width: 92px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #101312;
    transform: rotate(-5deg);
    font-size: 42px;
}

.service-copy {
    max-width: 350px;
}

.service-copy p {
    font-size: 18px;
    margin-bottom: 8px;
    color: #c1c1c1;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 15px;
    letter-spacing: .06em;
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(93,166,139,.35);
    transition: all .25s ease;
}

.arrow-link span {
    font-size: 18px;
    line-height: 10px;
    transition: transform .25s ease;
}

.arrow-link:hover {
    color: #fff;
    border-color: var(--green);
}

.arrow-link:hover span {
    transform: translateX(5px);
}

/* ---------- PORTFOLIO ---------- */

.portfolio-section {
    position: relative;
    padding: 95px 0 120px;
    background:
        url("../img/back-wall.png") center/cover fixed;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1.15fr;
    gap: 8px;
}

.portfolio-card {
    min-width: 0;
    position: relative;
    display: block;
    color: inherit;
    aspect-ratio: 1 / .78;
    overflow: hidden;
    background: #111;
}

.portfolio-card-large {
    aspect-ratio: 1 / .78;
}

.portfolio-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(.65);
    transition: transform .5s ease, filter .5s ease;
}

.image-george {
    background-image:
        linear-gradient(transparent 45%, rgba(0,0,0,.8)),
        url("https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1000&q=80");
}

.image-revolucao {
    background-image:
        linear-gradient(transparent 40%, rgba(0,0,0,.82)),
        url("https://images.unsplash.com/photo-1524368535928-5b5e00ddc76b?auto=format&fit=crop&w=900&q=80");
}

.image-manbox {
    background-image:
        linear-gradient(transparent 40%, rgba(0,0,0,.82)),
        url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=900&q=80");
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.06);
    filter: grayscale(0);
}

.portfolio-info {
    position: absolute;
    left: 16px;
    right: 12px;
    bottom: 14px;
    z-index: 2;
}

.portfolio-info strong,
.portfolio-info span {
    display: block;
}

.portfolio-info strong {
    color: var(--green);
    font-size: 15px;
    letter-spacing: .06em;
    font-weight: 800;
}

.portfolio-info span {
    color: #eee;
    font-size: 20px;
    margin-top: 5px;
}

/* ---------- PROCESS ---------- */

.process-section {
    padding: 105px 0;
}

.section-heading {
    font-size: clamp(29px, 3vw, 43px);
    font-weight: 300;
    line-height: 1.18;
    margin-bottom: 20px;
}

.section-heading + .section-heading {
    margin-top: 26px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 55px;
}

.process-item span {
    color: var(--green);
    font-size: 20px;
    font-weight: 600;
}

.process-item h3 {
    margin: 8px 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .04em;
}

.process-item p {
    color: #9b9e9b;
    font-size: 15px;
    line-height: 1.6;
    max-width: 180px;
}

/* ---------- CLIENTS ---------- */

.clients-section {
    padding: 42px 0;
    background: #111211;
    border-top: 1px solid rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.03);
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.client-logo {
    min-width: 95px;
    text-align: center;
    color: #d7d7d7;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    opacity: .85;
}

.client-logo small {
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 400;
}

.client-logo i {
    display: block;
    font-size: 28px;
    margin-bottom: 5px;
}

.client-logo.big {
    font-size: 35px;
    font-weight: 700;
}

.client-logo img {
    max-width: 150px;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .85;
    transition: filter .3s ease, opacity .3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Logo de cliente como link (abre em nova aba) */
.client-logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.client-logo-link:hover {
    opacity: 1;
}

/* Estado vazio (conteúdo dinâmico) */
.empty-state {
    color: var(--muted);
    font-size: 15px;
    letter-spacing: .04em;
    margin: 0;
    padding: 10px 0;
}

/* ---------- ABOUT ---------- */

.about-section {
    padding: 100px 0;
}

.about-text {
    max-width: 430px;
    color: #b0b4b1;
    font-size: 20px;
    line-height: 1.8;
}

.about-section .arrow-link {
    margin-top: 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.team-photo {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}

.photo-1 {
    background-image: url("../img/team1.png");
}

.photo-2 {
    background-image: url("../img/team2.png");
}

.photo-3 {
    background-image: url("../img/team3.png");
}

/* ---------- CONTACT ---------- */

.contact-section {
    padding: 70px 0;
    background: #0a0a0a;
}

.contact-section img {
    max-width: 100%;
    height: auto;
}

.contact-section h2,
.contact-section h3 {
    margin: 0;
    font-weight: 300;
}

.contact-section h2 {
    font-size: clamp(30px, 3.5vw, 48px);
}

.contact-section h3 {
    margin-top: 8px;
    color: var(--green);
    font-size: clamp(28px, 3.5vw, 45px);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-details a {
    color: #d7d8d8;
    font-size: 18px;
    transition: color .2s ease;
}

.contact-details a:hover {
    color: #fff;
}

.contact-details i {
    color: var(--green);
    margin-right: 8px;
    font-size: 20px;
}

.footer-gecko {
    text-align: center;
    font-size: 92px;
    filter: grayscale(.2);
    transform: scaleX(-1);
}

/* ---------- FOOTER ---------- */

.site-footer {
    padding: 24px 0;
    background: #020202;
}

.site-footer img {
    max-width: 100%;
    height: auto;
}

.footer-logo {
    color: #ddd;
    font-size: 20px;
    font-weight: 700;
}

.footer-logo small {
    display: block;
    text-align: center;
    font-size: 15px;
    letter-spacing: .25em;
}

.site-footer p {
    margin: 0;
    color: #707470;
    font-size: 15px;
}

/* ---------- BACK TO TOP ---------- */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    background: rgba(0,0,0,.7);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--green);
    color: #000;
}

/* ---------- RESPONSIVIDADE ---------- */

@media (max-width: 991.98px) {
    .site-header {
        background: rgba(0,0,0,.8);
    }

    .navbar {
        min-height: 75px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 15px 0 20px;
        border-top: 1px solid var(--border);
    }

    .nav-link {
        padding: 10px 0 !important;
    }

    .hero-section {
        min-height: 650px;
        height: 82vh;
    }

    .services-section,
    .process-section,
    .about-section {
        padding: 75px 0;
    }

    .portfolio-section {
        padding: 75px 0 90px;
    }

    .portfolio-intro {
        margin-bottom: 25px;
    }

    .client-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team-photo {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-section {
        min-height: 620px;
        background-position: 63% center;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 14vw, 76px);
    }

    .hero-content p {
        font-size: 20px;
    }

    .service-title {
        font-size: clamp(31px, 9vw, 48px);
    }

    .gecko-circle {
        width: 115px;
        height: 115px;
    }

    .film-icon {
        width: 75px;
        height: 52px;
        font-size: 32px;
    }

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

    .portfolio-card,
    .portfolio-card-large {
        aspect-ratio: 16 / 10;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }

    .process-item p {
        max-width: none;
    }

    .client-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .team-photo {
        min-height: 420px;
    }

    .contact-details {
        margin-top: 10px;
    }

    .footer-gecko {
        font-size: 70px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 570px;
    }

    .hero-content h1 {
        font-size: 47px;
    }

    .service-title {
        font-size: 31px;
    }

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

    .process-item {
        border-left: 1px solid rgba(93,166,139,.25);
        padding-left: 15px;
    }

    .client-logos {
        grid-template-columns: 1fr 1fr;
    }

    .team-photo {
        min-height: 300px;
    }

    .contact-section {
        padding: 55px 0;
    }
}

/* =========================================================
   PÁGINA PORTFÓLIO (portfolio.html)
   ========================================================= */

.page-portfolio .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.page-portfolio .btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-portfolio .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-portfolio .btn.active {
    background-color: #5da68b;
    border-color: #5da68b;
}

.page-portfolio .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.page-portfolio .card {
    position: relative;
    display: block;
    color: inherit;
    overflow: hidden;
    background-color: #1a1a1a;
    aspect-ratio: 3 / 4;
}

.page-portfolio .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-portfolio .card:hover img {
    transform: scale(1.05);
}

.page-portfolio .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.page-portfolio .card-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5da68b;
}

.page-portfolio .card-info span {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.page-portfolio .no-results {
    text-align: center;
    color: #a6aaa7;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 40px 0;
}

/* =========================================================
   PÁGINA DETALHE (detail-portfolio.html)
   ========================================================= */

.page-detail .project-hero {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.page-detail .category {
    color: #6b9780;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.page-detail .video-player {
    position: relative;
    flex: 1.2;
    min-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.page-detail .video-player img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2);
    display: block;
}

.page-detail .video-player video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    background: #000;
}

.page-detail .video-player iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
    background: #000;
}

.page-detail .video-fallback {
    display: inline-block;
    margin-top: 14px;
    color: var(--green);
    font-size: 14px;
    letter-spacing: .04em;
}

.page-detail .video-fallback:hover {
    color: var(--green-light);
}

.page-detail .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid #6b9780;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-detail .play-btn svg {
    width: 40px;
    height: 40px;
    fill: #6b9780;
    margin-left: 5px;
}

.page-detail .play-btn:hover {
    background-color: #6b9780;
}

.page-detail .play-btn:hover svg {
    fill: #0a0a0a;
}

.page-detail .project-description {
    flex: 0.8;
    min-width: 300px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

.page-detail .tech-sheet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 100px;
    border-top: 1px solid #333;
    padding-top: 50px;
}

.page-detail .tech-item h3 {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-detail .tech-item p {
    font-size: 1.1rem;
    font-weight: 600;
}

.page-detail .gallery-section,
.page-detail .making-of-section {
    margin-bottom: 100px;
}

.page-detail .section-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.page-detail .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.page-detail .gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.page-detail .gallery-grid img:hover {
    transform: scale(1.03);
}

.page-detail .making-of-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.page-detail .making-of-section .section-title {
    flex: 0.5;
    margin: 0;
}

.page-detail .making-of-section .video-player {
    flex: 1;
}

/* =========================================================
   PÁGINA SOBRE (about.html)
   ========================================================= */

.page-about .intro-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 150px;
    flex-wrap: wrap;
}

.page-about .text-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    padding-top: 20px;
}

.page-about .image-collage {
    flex: 1.2;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    min-width: 400px;
}

.page-about .image-collage img {
    width: 180px;
    height: 280px;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    border-radius: 4px;
}

.page-about .team-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 80px;
}

.page-about .team-members {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.page-about .team-member {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about .avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #333;
    margin-bottom: 20px;
}

.page-about .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.page-about .team-member h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.page-about .team-member p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

/* =========================================================
   PÁGINA CONTATO (contact.html)
   ========================================================= */

.page-contact .content-wrapper {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
}

.page-contact .left-column {
    flex: 1.2;
    min-width: 350px;
}

.page-contact .right-column {
    flex: 0.8;
    min-width: 300px;
    padding-top: 100px;
}

.page-contact .subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 60px;
}

.page-contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-contact .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-contact .form-group label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-contact .form-group input,
.page-contact .form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 0;
    outline: none;
    transition: border-color 0.3s;
}

.page-contact .form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
    border-bottom-color: #6b9780;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
    color: #777;
}

.page-contact .btn-submit {
    background-color: #6b9780;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.page-contact .btn-submit:hover {
    background-color: #4da76b;
}

.page-contact .btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.page-contact .form-feedback {
    margin-top: 14px;
    font-size: 14px;
    letter-spacing: .02em;
    line-height: 1.5;
}

.page-contact .form-feedback.success {
    color: var(--green);
}

.page-contact .form-feedback.error {
    color: #e05d5d;
}

.page-contact .info-item {
    margin-bottom: 50px;
}

.page-contact .info-item h3 {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-contact .info-item p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVIDADE — PÁGINAS INTERNAS
   ========================================================= */

@media (max-width: 1024px) {
    .page-portfolio .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .page-detail .project-hero,
    .page-detail .making-of-section {
        flex-direction: column;
    }

    .page-detail .video-player,
    .page-detail .project-description,
    .page-detail .making-of-section .video-player,
    .page-detail .making-of-section .section-title {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .page-detail .making-of-section .section-title {
        margin-bottom: 30px;
    }

    .page-detail .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-about .intro-section {
        flex-direction: column;
    }

    .page-about .image-collage {
        justify-content: center;
        width: 100%;
        min-width: 0;
    }

    .page-about .image-collage img {
        width: 30%;
        height: auto;
        aspect-ratio: 3/4;
    }

    .page-contact .content-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .page-contact .right-column {
        padding-top: 0;
    }

    .page-contact .lizard-bg {
        height: 260px;
        opacity: 0.1;
    }
}

@media (max-width: 600px) {
    .page-portfolio .grid {
        grid-template-columns: 1fr;
    }

    .page-portfolio .filters {
        justify-content: center;
    }

    .page-detail .tech-sheet {
        grid-template-columns: 1fr;
    }

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

    .page-detail .video-player img {
        height: 240px;
    }

    .page-about .team-members {
        flex-direction: column;
        gap: 50px;
    }

    .page-about .image-collage {
        flex-wrap: wrap;
    }

    .page-about .image-collage img {
        width: 45%;
    }
}
