/* --- Reset Básico e Padrões Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --cinza: #888888;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #a40034; /* Cor de fundo principal extraída da imagem */
    color: #ffffff;
    overflow-x: hidden; /* Previne scroll horizontal acidental */
}
img{max-width: 100%;}

/* --- Estilo do Componente Principal (Hero Section) --- */
.ag-event-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    width: 100%;
    padding: 2rem 5%; /* Usa porcentagem para melhor fluidez */
    position: relative;
    gap: 0rem; /* Espaçamento entre o texto e a imagem */
    opacity: 0; /* Começa invisível para animação com JS */
    transition: opacity 1s ease-in-out;
}

.ag-event-hero.visible {
    opacity: 1; /* Classe adicionada via JS para tornar o conteúdo visível */
}

/* --- Bloco de Conteúdo de Texto --- */
.ag-event-content {
    max-width: 750px;
    z-index: 2; /* Garante que o texto fique sobre a imagem em layouts móveis */
}

.ag-event-logo img {
    display: block;
    width: 280px;
    height: auto;
    margin-bottom: 2rem;
}

.ag-event-subtitle {
    font-size: 1.7rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.ag-event-title {
    font-size: clamp(2.5rem, 6vw, 4.0rem); /* Fonte fluida: ajusta entre 2.5rem e 4.5rem */
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1); /* Sombra sutil para legibilidade */
}

/* --- Bloco da Imagem --- */
.ag-event-image-wrapper {
    flex-shrink: 0; /* Impede que a imagem encolha */
}

.ag-event-image-wrapper img {
    display: block;
    max-width: 45vw; /* A imagem ocupa no máximo 45% da largura da viewport */
    height: auto;
    /*transform: translateX(15%); */ /* Move a imagem para a direita para "vazar" da tela */
}

/* --- Media Queries para Responsividade --- */

/* Para Tablets (até 1024px) */
@media (max-width: 1024px) {
    .ag-event-hero {
        padding: 2rem 4%;
    }

    .ag-event-image-wrapper img {
        max-width: 40vw;
        transform: translateX(10%);
    }
}

/* Para Celulares (até 768px) */
@media (max-width: 768px) {
    .ag-event-hero {
        flex-direction: column; /* Empilha os itens verticalmente */
        justify-content: center;
        text-align: center;
        padding: 4rem 1.5rem;
    }

    .ag-event-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza o logo e textos */
        margin-bottom: 2rem;
    }

    .ag-event-logo img {
        width: 180px;
    }

    .ag-event-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ag-event-image-wrapper img {
        max-width: 80%; /* A imagem ocupa 80% do container */
        transform: translateX(0); /* Reseta a posição da imagem */
        margin: auto;
    }
}

@media (min-width: 1200px) {
section.ag-event-hero.visible {
    max-width: 1200px;
    margin: auto;
}}

/*#########################################*/

/* --- ============================================= --- */
/* --- Seção de Conteúdo Corporativo --- */
/* --- ============================================= --- */

.ag-corp-wrapper {
    width: 100%;
    padding: 4rem 0; /* Espaçamento vertical de 64px */
    border-top: 1px solid #FFFFFF; /* Linha divisória sutil */
}

.ag-corp-bg-gray {
    background-color: #555555;
    background-color: var(--cinza);
    color: #ffffff;
}

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

/* --- Cabeçalho da Seção --- */
.ag-corp-section-header {
    text-align: center;
    margin-bottom: 3rem; /* Espaçamento abaixo do cabeçalho */
}

.ag-corp-section-title {
    color: #a40034;
    font-size: clamp(1.5rem, 4vw, 2rem); /* Fonte fluida */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    /*text-shadow: 0px 0px 3px #fff,1px 1px 3px #fff,-1px -1px 3px #fff;*/
}

.ag-corp-intro-text {
    font-size: 1.6rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 1rem auto; /* Centraliza e adiciona espaço */
}

/* --- Layout em Grid --- */
.ag-corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem; /* Espaço entre as colunas */
    align-items: center;
}

.ag-corp-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Bordas levemente arredondadas */
}

.ag-corp-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ag-corp-grid-item p {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 2rem; /* Espaço antes do botão ou das imagens */
}

.ag-corp-grid-item p strong {
    font-weight: 700;
}

/* --- Botão de Call to Action --- */
.ag-corp-cta-button {
    background-color: #a40034;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 2px solid #a40034;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ag-corp-cta-button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* --- Grid de Imagens Pequenas --- */
.ag-corp-small-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .ag-corp-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .ag-corp-wrapper {
        padding: 3rem 0;
    }

    .ag-corp-grid {
        grid-template-columns: 1fr !important; /* Colunas empilhadas em telas menores */
    }

    .ag-corp-text-content {
        align-items: center; /* Centraliza o botão no mobile */
        text-align: center;
    }

    .ag-corp-grid-item:first-child {
        margin-bottom: 1.5rem; /* Adiciona espaço entre a imagem e o texto quando empilhado */
    }
}

/*section.ag-corp-wrapper.ag-corp-bg-gray {
    background-color: #555555;
    margin: auto;
}*/




/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/


/* --- ============================================= --- */
/* --- Seções Adicionais de Conteúdo --- */
/* --- ============================================= --- */

/* Separador branco entre as seções */
.ag-corp-section-separator {
    border-top: 1px solid #ffffff;
}

/* Bloco "Por que escolher" */
.ag-corp-reasons-list p {
    margin-bottom: 1.5rem;
}

.ag-corp-reasons-list p:last-child {
    margin-bottom: 0;
}

/* Grid de apresentação dos espaços */
.ag-corp-spaces-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ag-corp-spaces-item {
    text-align: center;
}

.ag-corp-spaces-caption {
    color: #a40034;
    font-weight: 600;
    margin-top: 1rem;
    /*background: #fff;*/
    display: inline-block;
    padding: 2px 5px;
    font-size: 1.5rem;
}

/* Blocos de detalhe de cada espaço */
.ag-corp-space-block {
    margin-top: 4rem; /* Espaçamento entre cada descrição de espaço */
}

.ag-corp-space-block:first-child {
    margin-top: 0;
}

.ag-corp-space-title {
    color: #a40034;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /*text-shadow: 0px 0px 3px #fff,1px 1px 3px #fff,-1px -1px 3px #fff;*/
}

/* Classe utilitária para margem */
.ag-corp-margin-top {
    margin-top: 1.5rem; /* Reutiliza o gap do grid */
}


/* --- Responsividade para Seções Adicionais --- */
@media (max-width: 768px) {
    .ag-corp-reasons-list {
        text-align: left; /* Mantém o texto alinhado à esquerda no mobile */
    }

    /* Inverte a ordem no mobile para Imagem -> Texto */
    .ag-corp-grid.ag-corp-reverse-mobile .ag-corp-grid-item:first-child {
        order: 2;
    }
    
    .ag-corp-grid.ag-corp-reverse-mobile .ag-corp-grid-item:last-child {
        order: 1;
    }

    .ag-corp-spaces-grid {
        grid-template-columns: 1fr; /* Empilha as imagens dos espaços */
        gap: 2.5rem;
    }

    .ag-corp-space-block {
        margin-top: 3rem;
    }
    
    .ag-corp-space-title {
        text-align: center;
    }
}




/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/

.ag-clients-box {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ag-clients-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Responsividade para a Seção de Clientes --- */
@media (max-width: 768px) {
    .ag-clients-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ag-clients-box {
        padding: 1rem;
    }
}



/*********************************************************/

/* --- ============================================= --- */
/* --- Seção Final CTA --- */
/* --- ============================================= --- */

.ag-final-cta-content {
    display: flex;
    flex-direction: column;
}

.ag-final-cta-box {
    background-color: #a40034;
    color: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.ag-final-inspire-title {
    color: #a40034;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    /*background: #fff;*/
    padding: 0 5px;
}

.ag-final-inspire-section a {
    color: #ffffff;
    color: #a40034;
    text-decoration: underline;
    word-break: break-all; /* Garante que links longos quebrem a linha */
    transition: color 0.3s ease;
    font-size: 1.2rem;
    line-height: 1;
}

.ag-final-inspire-section a:hover {
    color: #ce1f58;
    color: #ffffff;
}

.ag-final-inspire-section p {
    margin-bottom: 1rem;
}

/* --- Wrapper Responsivo para Iframe (16:9) --- */
.ag-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 8px; /* Bordas arredondadas para o vídeo */
}

.ag-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ag-final-inspire-section p {
    line-height: 1;
}

/* --- Responsividade para Seção Final --- */
@media (max-width: 768px) {
    .ag-final-cta-content {
        /* Alinha os itens ao centro no modo coluna (mobile) */
        align-items: center; 
        text-align: center;
    }

    .ag-final-inspire-section {
        width: 100%; /* Garante que a seção ocupe a largura total */
    }

    .ag-final-inspire-section a {
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .ag-final-cta-box {transform: translate(-258px, 5px); }
}



/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/


/* --- ============================================= --- */
/* --- Rodapé do Site --- */
/* --- ============================================= --- */

.ag-site-footer {
    background-color: #e0e0e0;
    padding: 3rem 0;
    border-top: 1px solid #c7c7c7;
}

.ag-footer-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Botões de Contato --- */
.ag-footer-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ag-footer-cta-button {
    background-color: #a40034;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    min-width: 400px;
    transition: transform 0.3s ease;
}

.ag-footer-cta-button:hover {
    transform: scale(1.03);
}

.ag-footer-cta-button span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.ag-footer-cta-button strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
}

/* --- Informações do Rodapé --- */
.ag-footer-info {
    color: #a40034;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 2rem;
}

.ag-footer-info a {
    color: inherit;
    text-decoration: none;
}

.ag-footer-info a:hover {
    text-decoration: underline;
}

/* --- Ícones e Logo Final --- */
.ag-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.ag-footer-icons img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ag-footer-logo {
    flex-shrink: 0; /* Impede que o logo encolha */
    margin-left: 1rem; /* Espaço para não colar nos ícones */
}


/* --- Responsividade do Rodapé --- */
@media (max-width: 768px) {
    .ag-footer-cta-button {
        min-width: 300px;
        width: 100%;
        max-width: 400px;
    }

    .ag-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .ag-footer-logo {
        margin-left: 0;
    }
}




/*&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
@media (min-width: 1200px) {
.ag-corp-small-images-grid img {
    height: 330px;
    object-fit: cover;
    object-position: center;
}
.ag-corp-spaces-item img {
    object-fit: cover;
    object-position: center;
    height: 450px;
}

}






.ag-corp-grid-item.ag-produtos-v2 img {
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}

.ag-corp-grid-item.ag-corp-grid-item-v2 .ag-corp-small-images-grid {
    grid-template-columns: 1fr;
}

picture.cozinha-31-v2 img {
    max-height: 500px;
    object-fit: contain;
    object-position: right;
}

section.ag-corp-wrapper.ag-corp-bg-gray.ag-corp-section-separator.secao5-v2 * {
    text-align: right;
}


/*@media (min-width: 1200px) {
.ag-corp-grid-item.grupo-participantes-v2 img {
    height: 550px;
    object-fit: cover;
    object-position: bottom;
    transform: translate(0px, 75px);
}}*/

.ag-final-cta-box p {
    padding: 0;
    margin: 0;
}

@media (min-width: 1200px) {
.ag-corp-grid.ag-corp-grid-v2 {
    grid-template-columns: 1.7fr 1fr;
}
.ag-corp-grid-item.grupo-participantes-v2 img {
    transform: translate(0px, 66px);
}
}

@media (max-width: 750px) {
.ag-corp-small-images-grid img {
    object-fit: cover;
    object-position: center;
    /* outline: 1px dashed greenyellow; */
    height: 100%;
}}

@media (min-width: 1100px) {
.ag-event-content {
    transform: translateY(-100px);
}}