/* --- Variáveis Globais --- */
:root {
    --color-black: #0a0a0a;
    --color-black-light: #1a1a1a;
    --color-white: #ffffff;
    --color-gray: #b3b3b3;
    --font-main: 'Montserrat', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Typography --- */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--color-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Texto Gigante de Fundo */
.giant-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* --- Botoes --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn--primary:hover {
    background-color: var(--color-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

.btn--outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.2rem 0;
    z-index: 100;
    transition: background-color var(--transition-fast);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Header --- */
.logo {
    height: 60px; /* Aumentamos consideravelmente o tamanho mobile */
    max-width: 100%;
    object-fit: contain;
}

.header .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(to top, var(--color-black) 0%, transparent 100%);
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title strong {
    font-weight: 900;
}

.hero__subtitle {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* --- Services --- */
.services {
    padding: 6rem 0;
    background-color: var(--color-black-light);
}

.services__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    background-color: var(--color-black);
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-fast);
}

.service-card:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.service-card__link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.service-card__link:hover {
    text-decoration: underline;
}

/* --- Prova Social --- */
.social-proof {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.proof__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Novo estilo para travar o tamanho dos cards */
.proof-card {
    width: 100%;
    height: 400px; /* Define a mesma altura para todas as fotos */
    overflow: hidden; /* Esconde o que vazar do card no efeito de zoom */
    position: relative;
}

/* A mágica do corte sem distorcer */
.proof-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Corta a imagem para preencher o espaço mantendo a proporção */
    object-position: center; /* Centraliza o corte */
    transition: transform var(--transition-fast);
}

/* Novo hover básico e elegante (Zoom In sutil) */
.proof-card:hover img {
    transform: scale(1.05);
}

/* --- About --- */
.about {
    padding: 6rem 0;
    background-color: var(--color-black-light);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about__text p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

/* --- Contact --- */
.contact {
    position: relative;
    padding: 8rem 0;
    background-color: var(--color-black);
    text-align: center;
    overflow: hidden;
}

.contact__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact p {
    color: var(--color-gray);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* --- Footer --- */
.agency-signature {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--color-gray);
}

.agency-logo {
    height: 28px; /* Ajuste fino conforme as proporções da logo da mALLin */
    opacity: 0.6;
    transition: var(--transition-fast);
    filter: grayscale(100%) brightness(200%); /* Mantém a logo branca/cinza combinando com o site, caso a sua tenha cor */
}

.agency-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%); /* Revela as cores originais da sua agência no hover */
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries (Desktop) --- */
@media (min-width: 768px) {
    @media (min-width: 768px) {
    .logo {
        height: 110px; /* Ainda maior no Desktop */
    }
}
    .section-title {
        font-size: 3rem;
    }

    .hero__title {
        font-size: 4.5rem;
    }

    .services__grid {
        display: flex;
        flex-direction: row;
    }
    
    .service-card {
        flex: 1;
    }

    /* Nova estrutura Grid 2x2 para as 4 fotos */
    .proof__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Divide em 2 colunas iguais */
        gap: 2rem;
    }

    /* Removemos a regra antiga de .proof-card { flex: 1; } pois agora usamos Grid */
    
    .proof-card {
        height: 500px;
    }

    .about__content {
        flex-direction: row;
        align-items: center;
    }

    .about__image, .about__text {
        flex: 1;
    }
}