/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fcfcfc;
    color: #1a1a1a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

section {
    padding: 6rem 4rem;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-transform: none;
}

/* --- NAVEGAÇÃO E MENU HAMBÚRGUER --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 4rem; 
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(252, 252, 252, 0.95);
    z-index: 1000;
    gap: 3rem;
}

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

.logo img {
    max-height: 70px;
    width: auto;
}

.logo-texto {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-left: 15px;
    letter-spacing: 2px;
    font-weight: normal; 
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Bebas Neue', sans-serif; 
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-links span {
    color: #888;
    margin-right: 5px;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #1a1a1a;
    cursor: pointer;
}

@media (max-width: 1250px) {
    .logo-texto { display: none; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: rgba(252, 252, 252, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
}

/* --- CAPA (HERO) --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 10rem 4rem 4rem; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    overflow: hidden; 
    z-index: 1;
}

.hero-slideshow {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: -2; 
}

.slide {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center center; 
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 4s linear; 
}

.slide.active {
    opacity: 1;
    transform: scale(1.05); 
}

.slide-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(252, 252, 252, 0.2) 0%, rgba(252, 252, 252, 0.85) 100%);
    z-index: -1; 
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 2rem;
}

.hero h1 {
    font-family: 'Poppins', sans-serif; 
    font-size: 3rem; 
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #1a1a1a;
    margin-bottom: 0;
}

.br-mobile {
    display: none;
}

.btn-hero-whats {
    background-color: #e6e6e6; 
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px; 
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    margin-bottom: 1rem; 
}

.btn-hero-whats i { font-size: 1.5rem; }
.btn-hero-whats:hover {
    background-color: #d4d4d4;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .br-pc { display: none; }
    .br-mobile { display: inline; }
    .hero-content {
        flex-direction: column; 
        align-items: flex-start;
        gap: 2rem;
    }
    .hero h1 {
        font-size: 1.9rem;
    }
}

/* --- SEÇÃO: SOBRE --- */
.section-sobre-novo {
    background-color: #1a1a1a;
    color: #fcfcfc;
    padding: 0 0 0 4rem; 
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 4rem; 
    align-items: stretch; 
}

.sobre-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0;
}

.sobre-text-block h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1;
}

.sobre-text-block p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 1.2rem;
}

.sobre-text-block strong {
    font-weight: 600;
    color: #ffffff;
}

.sobre-topicos {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.sobre-topicos p { margin-bottom: 1rem; }

.sobre-stats-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stats-text p {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.stats-boxes {
    display: flex;
    gap: 15px;
}

.stat-box {
    background-color: #0b1115; 
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat-box span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    color: #b3b3b3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sobre-quote { font-size: 1.05rem; }

.sobre-image-block {
    display: flex;
    align-items: center; 
    justify-content: center;
}

.sobre-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px; 
    min-height: 500px;
    display: block; 
}

@media (max-width: 1100px) {
    .section-sobre-novo { padding: 4rem; }
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-image-block img {
        min-height: 400px;
        border-radius: 30px; 
    }
    .sobre-stats-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .sobre-stats-container {
        align-items: center; 
    }
    .stats-boxes {
        flex-direction: column; 
        width: 100%;
        align-items: center; 
        gap: 20px; 
    }
    .stat-box {
        width: 100%; 
        max-width: 280px; 
        justify-content: center;
        align-items: center;
    }
}

/* --- SEÇÃO: EQUIPE --- */
.section-equipe-detalhes {
    background-color: #fcfcfc; 
    padding: 6rem 4rem;
}

.equipe-detalhes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
}

.equipe-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.equipe-card:not(:last-child) {
    border-right: 1px solid #dddddd;
}

.equipe-header {
    display: flex;
    align-items: center;
    gap: 20px; 
    margin-bottom: 2.5rem; 
    text-align: left;
    width: 100%;
    justify-content: center;
}

.equipe-photo {
    width: 250px; 
    height: 250px; 
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
}

.equipe-title {
    display: flex;
    flex-direction: column;
}

.equipe-role {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem; 
    color: #555555;
    line-height: 1.1;
    letter-spacing: 1px;
}

.equipe-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem; 
    color: #1a1a1a;
    margin-top: 0.2rem;
    letter-spacing: 1px;
}

.equipe-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipe-bio-short {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 155px; 
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.equipe-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    min-height: 100px; 
    display: flex;
    align-items: center; 
    justify-content: center;
}

.equipe-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .equipe-detalhes-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .equipe-card { padding: 0; }
    .equipe-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #dddddd;
        padding-bottom: 3rem;
    }
    .equipe-header {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

/* --- SEÇÃO: SERVIÇOS --- */
.section-servicos {
    background-color: #151515;
    color: #ffffff;
    padding: 6rem 4rem;
    scroll-margin-top: 100px;
}

.servicos-header { margin-bottom: 4rem; }

.servicos-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
    color: #ffffff;
    line-height: 1;
}

.servicos-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e0e0e0;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.servico-card {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.servico-card:hover { transform: translateY(-8px); }

.icon-circle {
    background-color: #ffffff;
    color: #1a1a1a;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    flex-shrink: 0; 
}

.servico-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.servico-detalhe {
    margin-bottom: 4rem;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-voltar {
    background-color: transparent;
    border: 1px solid #555555;
    color: #cccccc;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    margin-bottom: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-voltar:hover {
    background-color: #333333;
    color: #ffffff;
    border-color: #888888;
}

.detalhe-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 4rem;
    align-items: center;
}

.detalhe-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.detalhe-left .icon-circle.large {
    width: 180px;
    height: 180px;
    font-size: 5rem;
}

.detalhe-left h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.detalhe-right ul {
    list-style-type: disc;
    padding-left: 20px;
}

.detalhe-right li {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
}

.servicos-footer-text {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    margin-top: 2rem;
}

.servicos-footer-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #cccccc;
}

@media (max-width: 768px) {
    .servicos-grid { grid-template-columns: 1fr; }
    .detalhe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .detalhe-left {
        flex-direction: column;
        text-align: center;
    }
    .detalhe-left .icon-circle.large {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
    }
    .detalhe-left h3 { font-size: 1.8rem; }
    .detalhe-right li { font-size: 1.1rem; }
}

@media (max-width: 1200px) {
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px), (max-width: 950px) and (orientation: landscape) {
    .servicos-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- SEÇÃO: PROJETOS (HOME) --- */
.section-projetos {
    padding: 6rem 2rem;
    background-color: #fcfcfc;
}

.section-projetos h2 {
    text-align: left;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    margin-bottom: 3rem; 
    padding-left: 2rem;
}

.projetos-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; 
    max-width: 1600px; 
    margin: 0 auto;
}

.projeto-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    scroll-margin-top: 200px;
}

.projeto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 38, 38, 0.75); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projeto-overlay h3 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    margin: 0;
    text-align: center;
    padding: 0 2rem;
}

.projeto-card:hover .projeto-overlay { opacity: 1; }
.projeto-card:hover .projeto-overlay h3 { transform: translateY(0); }
.projeto-card:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .section-projetos { padding: 6rem 2rem; }
    .projetos-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .projeto-overlay h3 { font-size: 1.4rem; }
}

@media (max-width: 1200px) {
    .projetos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- SEÇÃO: CLIENTES --- */
.section-clientes {
    background-color: #efefef;
    padding: 6rem 4rem;
}

.clientes-header {
    margin-bottom: 3rem;
    text-align: left;
}

.section-clientes h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
    line-height: 1;
}

.subtitulo-clientes {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #333333;
    font-weight: 400;
}

.carrossel-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.carrossel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.clientes-grid-logos {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
}

.logo-box {
    flex: 0 0 calc(25% - 11.25px);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.logo-box a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-box a:hover {
    transform: scale(1.05); 
    opacity: 0.8; 
}

.logo-box img {
    max-width: 100%;
    max-height: 120px; 
    object-fit: contain;
}

.seta {
    background-color: transparent; 
    color: #1a1a1a; 
    border: none;
    font-size: 2rem; 
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.seta:hover {
    background-color: transparent; 
    color: #666666; 
    transform: scale(1.2); 
}

.seta-esq { left: -45px; } 
.seta-dir { right: -45px; }

@media (max-width: 992px) {
    .section-clientes h2 { font-size: 3rem; }
    .subtitulo-clientes { font-size: 1.1rem; }
    .logo-box {
        flex: 0 0 calc(50% - 7.5px); 
        padding: 0.5rem;
    }
    .logo-box img { max-height: 90px; }
}

/* --- CONTATO, FAIXA DE VALORIZAÇÃO E RODAPÉ --- */
.section-contato-novo {
    display: flex;
    flex-direction: column;
    padding: 0; 
    scroll-margin-top: 100px;
}

.contato-cta {
    background-color: #262626; 
    color: #ffffff;
    padding: 3rem 4rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.cta-text {
    flex: 1;
    max-width: 600px;
}

.cta-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem; 
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: uppercase;
}

.cta-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem; 
    font-weight: 300;
    color: #e0e0e0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem; 
}

.btn-form, .btn-whats {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem; 
    text-decoration: none;
    color: #1a1a1a;
    padding: 0.6rem 1.5rem; 
    border-radius: 40px; 
    text-align: center;
    min-width: 220px; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-form { background-color: #e6e6e6; }
.btn-whats { background-color: #bdf298; }

.btn-form:hover, .btn-whats:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.faixa-valorizacao {
    display: flex;
    width: 100%;
    height: 300px; 
    background-color: #000000; 
}

.valorizacao-img {
    flex: 0 0 40%; 
    height: 100%;
}

.valorizacao-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 90%; 
}

.valorizacao-texto {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 4rem;
}

.valorizacao-texto p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    font-style: italic; 
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
}

.footer-bottom {
    background-color: #efefef;
    display: flex;
}

.footer-logo-box {
    background-color: #262626; 
    flex: 0 0 30%; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem; 
}

.footer-logo-box img {
    max-width: 40%; 
    filter: brightness(0) invert(1); 
}

.footer-info-box {
    flex: 1;
    padding: 2rem 3rem 2rem 4rem; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-info-header h3 {
    font-size: 1.8rem; 
    color: #262626;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.footer-info-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; 
    color: #333;
    margin-bottom: 2rem; 
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 1rem; 
    margin-bottom: 2rem; 
}

.contact-item {
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #262626;
    font-size: 1rem; 
    transition: color 0.2s;
    width: fit-content;
}

.contact-item i { font-size: 1.5rem; }
.contact-item:hover { color: #888888; }

.footer-address {
    text-align: center; 
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.footer-copyright {
    background-color: #151515; 
    color: #888888;
    text-align: center;
    padding: 0.8rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.footer-copyright p {
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 1100px) {
    .contato-cta { padding: 3rem 2rem; }
    .footer-info-box { padding: 2rem; }
}

@media (max-width: 992px) {
    .contato-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-bottom { flex-direction: column; }
    .footer-logo-box { padding: 2rem; }
    .footer-address { text-align: center; }
}

@media (max-width: 768px) {
    .faixa-valorizacao {
        flex-direction: column; 
        height: auto;
    }
    .valorizacao-img {
        width: 100%;
        height: 350px;
    }
    .valorizacao-texto { padding: 4rem 2rem; }
    .valorizacao-texto p { font-size: 1.3rem; }
    .footer-copyright {
        font-size: 0.65rem;
        padding: 0.8rem 1rem;
    }
}

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

/* --- PÁGINA EXCLUSIVA: ESCRITÓRIO --- */
.section-escritorio-page {
    padding: 12rem 4rem 6rem; 
    background-color: #fcfcfc;
    min-height: 60vh;
}

.escritorio-conteudo {
    max-width: 1200px;
    width: 100%; 
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.escritorio-conteudo img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 768px) {
    .section-escritorio-page { padding: 8rem 1rem 4rem; }
    .escritorio-padding-celular { padding: 2.5rem 1.5rem !important; }
    
    .escritorio-conteudo img {
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }
}

/* --- PÁGINA EXCLUSIVA: MÍDIA --- */
.section-midia-page {
    padding: 12rem 4rem 6rem; 
    background-color: #fcfcfc;
    min-height: 60vh;
}

.midia-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem; 
    margin-top: 3rem;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}

.midia-item {
    width: 80%;
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-radius: 15px; 
    overflow: hidden; 
    background-color: #ffffff; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.midia-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
}

.midia-item a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.midia-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease; 
}

.midia-item:hover img {
    transform: scale(1.02); 
    opacity: 0.95;
}

@media (max-width: 768px) {
    .section-midia-page { padding: 8rem 2rem 4rem; }
    .midia-grid { gap: 2.5rem; }
}

/* --- PÁGINAS DE PROJETOS INTERNOS --- */
.section-projeto-interno {
    padding: 12rem 4rem 6rem;
    background-color: #fcfcfc;
    max-width: 1400px;
    margin: 0 auto;
}

.projeto-header {
    text-align: left;
    margin-bottom: 3rem;
}

.projeto-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.projeto-categoria {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.projeto-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    font-family: 'Poppins', sans-serif;
}

.projeto-descricao p {
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.projeto-ficha-tecnica {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
}

.projeto-ficha-tecnica ul { list-style: none; }

.projeto-ficha-tecnica li {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

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

.projeto-fotos-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1; 
    border-radius: 5px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto-fotos-grid img:hover {
    transform: scale(1.03); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.95); 
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain; 
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0}
    to {transform: scale(1); opacity: 1}
}

.fechar-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
}

.fechar-lightbox:hover { color: #bdf298; }

.lightbox-seta {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    user-select: none;
}

.lightbox-seta:hover {
    background-color: #bdf298;
    color: #1a1a1a;
}

.lightbox-seta.esq { left: 30px; }
.lightbox-seta.dir { right: 30px; }

.btn-voltar-projetos {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-voltar-projetos:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .section-projeto-interno { padding: 8rem 2rem 4rem; }
    .projeto-info-grid { grid-template-columns: 1fr; }
    .projeto-fotos-grid { grid-template-columns: repeat(2, 1fr); }
    .lightbox-seta { padding: 10px; font-size: 20px; }
    .lightbox-seta.esq { left: 10px; }
    .lightbox-seta.dir { right: 10px; }
}