/* ACTA.29 - VERSÃO INTEGRAL REVISADA - 02/04/2026 */

:root {
    --azul-petroleo: #001F24;
    --azul-escuro: #001215;
    --azul-destaque-resposta: #011a1d;
    --marfim: #E0D7C6;
    --ouro-fosco: #C5A059;
    --fonte-serif: 'EB Garamond', serif;
    --fonte-header: 'Cinzel', serif;
}

/* 1. RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { 
    overflow-x: hidden; 
    width: 100%; 
    background-color: var(--azul-petroleo); 
    color: var(--marfim); 
    font-family: var(--fonte-serif); 
    line-height: 1.5; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

.divisor-parcial { 
    width: 100%; height: 1px; 
    background: linear-gradient(to right, transparent, var(--ouro-fosco), transparent); 
    margin: 0; opacity: 0.5; 
}

/* 2. HEADER E LOGO */
.header-principal {
    position: fixed; top: 0; width: 100%; z-index: 10000;
    padding: 20px 0; transition: all 0.4s ease; background: transparent;
}

.header-principal.scrolled { 
    background-color: var(--azul-escuro) !important; 
    padding: 12px 0 !important; 
    border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important; 
}

.header-principal .container { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
}

.logo { height: 40px; width: auto; display: block; transition: transform 0.3s; }

/* 3. MENU - DESKTOP & MOBILE INTEGRADO */
.menu-mobile-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
}

.menu-mobile-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--ouro-fosco);
    transition: 0.3s;
    display: block;
}

/* REGRAS DESKTOP - AJUSTE DE NITIDEZ */
@media screen and (min-width: 769px) {
    .nav-menu { 
        display: flex !important; 
        align-items: center; 
    }
    
    .nav-menu a {
        color: var(--marfim); 
        text-decoration: none; 
        margin-left: 25px;
        font-family: var(--fonte-header); 
        font-size: 0.95rem; 
        font-weight: 500; 
        letter-spacing: 2px;
        text-transform: uppercase; 
        transition: 0.3s;

        /* BLINDAGEM CONTRA BORRADO EM FUNDO ESCURO */
        -webkit-font-smoothing: antialiased; 
        -moz-osx-font-smoothing: grayscale; 
        text-rendering: optimizeLegibility;
        text-shadow: 0 0 1px rgba(224, 215, 198, 0.1); 
    }
    
    .nav-menu a:hover { 
        color: var(--ouro-fosco); 
        transform: scale(1.05); 
    }
}

/* REGRAS MOBILE */
@media screen and (max-width: 768px) {
    .menu-mobile-btn { 
        display: flex !important; 
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--azul-escuro);
        padding: 40px 0;
        border-bottom: 1px solid rgba(197, 160, 89, 0.3);
        z-index: 9999;
    }

    .nav-menu.active { 
        display: flex !important; 
    }

    .nav-menu a {
        color: var(--marfim);
        text-decoration: none;
        font-family: var(--fonte-header); 
        font-size: 0.9rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        margin: 15px 0 !important;
        text-align: center;
        width: 100%;
        display: block;
    }

    /* Animação do X no botão */
    #btn-mobile.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #btn-mobile.active span:nth-child(2) { opacity: 0; }
    #btn-mobile.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* 4. HERO SECTION */
.hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; }

.hero-img { 
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; z-index: 1; opacity: 0.7;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-content { position: relative; z-index: 10; padding-left: 10%; max-width: 60%; }
.hero-content h1 { font-family: var(--fonte-header); font-size: 3rem; color: var(--ouro-fosco); line-height: 1.1; margin-bottom: 10px; }
.subtitulo { font-family: var(--fonte-header); color: var(--marfim); letter-spacing: 5px; text-transform: uppercase; font-size: 0.9rem; opacity: 0.8; }

/* AJUSTE MOBILE HERO */
@media screen and (max-width: 768px) {
    .hero { align-items: flex-start; }
    .hero-content { padding-top: 130px; padding-left: 20px; max-width: 90%; }
    .hero-content h1 { font-size: 2.8rem; line-height: 1.2; }
    .subtitulo { font-size: 0.7rem; letter-spacing: 3px; }
}

/* 5. SEÇÃO VERBO */
.conteudo-densidade, .secao-engenharia { padding: 60px 0; }

.container-texto { max-width: 850px; margin: 0 auto; background: rgba(0, 31, 36, 0.9); padding: 60px 40px; border-left: 3px solid var(--ouro-fosco); }

.texto-acta29 h2, .titulo-sessao { 
    font-family: var(--fonte-header) !important; 
    color: var(--ouro-fosco); 
    margin-bottom: 40px; font-size: 2.1rem; 
}

.texto-acta29 p { 
    text-indent: 3em; 
    text-align: justify; 
    margin-bottom: 30px; 
    font-size: 1.25rem; 
    line-height: 1.7; 
}

.texto-acta29 p:first-of-type { text-indent: 0; }
.texto-acta29 p:first-of-type::first-letter { 
    float: left; 
    font-family: var(--fonte-header); 
    font-size: 4rem; 
    line-height: 0.75; 
    margin-top: 0.12em; 
    margin-right: 0.15em; 
    color: var(--ouro-fosco); 
}

/* 6. SEÇÃO ENGENHARIA */
.secao-engenharia { padding: 60px 0; }

.engenharia-flex { 
    display: flex; 
    flex-direction: row; 
    gap: 60px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.engenharia-visual { 
    flex: 0 0 350px; 
    position: sticky; 
    top: 120px; 
}

.img-metodo { 
    width: 100%; 
    border-radius: 4px; 
    opacity: 0.9; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.6); 
    border: 1px solid rgba(197, 160, 89, 0.1);
}

/* AJUSTE MOBILE ENGENHARIA */
@media screen and (max-width: 992px) {
    .engenharia-flex { flex-direction: column; gap: 30px; }
    .engenharia-visual { flex: 0 0 auto; position: relative; top: 0; width: 100%; max-width: 400px; margin: 0 auto; }
}

/* 7. SEÇÃO QUEM E DEUS */
.secao-quemedeus { padding: 60px 0; background-color: var(--azul-petroleo); position: relative; }

.moldura-quemedeus { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.introducao-fred p, .conclusao-fred p { 
    font-family: var(--fonte-serif); 
    font-size: 1.25rem; 
    line-height: 1.7; 
    text-align: center; margin-bottom: 10px; 
}

.pergunta-ouro { 
    color: var(--ouro-fosco) !important; 
    font-weight: 700; 
    font-style: italic; 
    display: block; 
    margin: 5px 0 15px 0; 
    text-shadow: none;
    line-height: 1.3;
}

.texto-sagrado { background-color: var(--azul-destaque-resposta); padding: 50px; margin: 40px 0; border-radius: 8px; border: 1px solid rgba(197, 160, 89, 0.1); }
.resposta-airthon p { font-family: var(--fonte-serif); font-size: 1.25rem; line-height: 1.7; text-align: justify; font-style: italic; color: var(--marfim);margin-bottom: 15px; }

.assinatura-final { margin-top: 40px; text-align: center; }
.linha-assinatura { width: 40px; height: 1px; background-color: var(--ouro-fosco); margin: 0 auto 10px auto; opacity: 0.5; }
.nome-assinatura { font-family: var(--fonte-header); font-size: 0.8rem; color: var(--ouro-fosco); letter-spacing: 2px; }
.cargo-assinatura { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 3px; opacity: 0.5; }

/* 8. SEÇÃO A OBRA */
.secao-obra { padding: 50px 0; background-color: var(--azul-petroleo); overflow: hidden; position: relative; }

.texto-introducao-obra { max-width: 900px; margin: 0 auto 40px auto; text-align: center; }
.bloco-texto-obra p { font-size: 1.25rem; line-height: 1.7; margin-bottom: 25px; text-align: justify; text-indent: 3em; }

.carrossel-wrapper { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }

.carrossel-obras { 
    display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth;
    padding: 50px 0; scroll-snap-type: x mandatory; scrollbar-width: none;
    width: 100%;
}

.carrossel-obras::before, .carrossel-obras::after { content: ''; flex: 0 0 calc(50vw - 125px); }

.card-obra { 
    flex: 0 0 250px !important; 
    scroll-snap-align: center; 
    transition: all 0.5s ease;
    opacity: 0.2; filter: grayscale(100%); transform: scale(0.9);
}

.card-obra.active { opacity: 1; filter: grayscale(0%); transform: scale(1.05); z-index: 10; }
.card-obra.active img { outline: 1.5px solid var(--ouro-fosco); outline-offset: 4px; }
.card-obra img { width: 100%; max-width: 250px; height: auto; border-radius: 6px; }

.nav-carrossel { 
    position: absolute; top: 35%; 
    background: transparent !important; 
    border: none; cursor: pointer; 
    z-index: 1000; padding: 0;
    color: var(--ouro-fosco); 
    opacity: 0.3; transition: all 0.3s ease; 
}

.nav-carrossel:hover { opacity: 1; transform: scale(1.1); color: var(--marfim); }

.nav-carrossel svg { 
    width: 3rem; 
    height: 3rem; 
    stroke-width: 1.2; 
    stroke-linecap: round; 
    stroke-linejoin: round; 
}

.nav-prev { left: 4%; }
.nav-next { right: 4%; }

.info-obra { margin-top: 20px; text-align: left; opacity: 0; transition: 0.4s; }
.card-obra.active .info-obra { opacity: 1; }

.info-obra h3 { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ouro-fosco); 
    font-size: 0.85rem; 
    font-weight: 700;
    letter-spacing: 0.5px; 
    text-transform: uppercase;
    border-bottom: 1px solid rgba(197,160,89,0.2); 
    padding-bottom: 8px; 
    margin-bottom: 15px;
    line-height: 1.2;
}

.item-meta { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }

.item-meta i { 
    color: var(--ouro-fosco); 
    font-size: 0.8rem; 
    width: 18px; 
    text-align: center; 
    margin-top: 3px; 
    opacity: 0.6; 
    flex-shrink: 0; 
}

.item-meta span { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--marfim);
    opacity: 0.9;
    text-align: left;
}

/* 9. MOBILE OBRA */
@media screen and (max-width: 992px) {
    .card-obra { flex: 0 0 220px; opacity: 1; filter: none; transform: scale(1); }
    .nav-carrossel { display: none; }
}

/* 10. RODAPÉ */
.rodape-moderno { padding: 30px 0; background-color: var(--azul-escuro); text-align: center; position: relative; }

.rodape-moderno .divisor-parcial { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 100%; 
}

.contato-protegido {
    margin: 10px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-svg {
    height: 24px; 
    width: auto;
    max-width: 400px; 
    opacity: 0.7; 
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 1px rgba(224, 215, 198, 0.1));
}

.email-svg:hover {
    opacity: 1;
    transform: scale(1.02);
}

.rodape-assinatura .copyright { font-family: var(--fonte-header); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 5px; }
.rodape-assinatura .slogan { font-family: var(--fonte-header); font-size: 0.75rem; letter-spacing: 6px; opacity: 0.4; text-transform: uppercase; display: block; }

/* 12. PÁGINA DE DEGUSTAÇÃO (INTERNA) */
.pagina-interna-degustacao {
    padding-top: 120px;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    background-color: var(--azul-petroleo);
}

.hero-degustacao {
    text-align: center; 
    padding: 60px 0 20px 0;
}

.hero-degustacao .subtitulo {
    display: block;
    margin-top: 15px;
    font-family: var(--fonte-header);
    color: var(--marfim);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
}

.moldura-aviso {
    background-color: var(--azul-destaque-resposta);
    padding: 60px 40px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 8px;
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.moldura-aviso h2 {
    font-family: var(--fonte-header);
    color: var(--ouro-fosco);
    margin-bottom: 20px;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.moldura-aviso p {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--marfim);
    margin-bottom: 30px;
}

.destaque-volume {
    font-family: var(--fonte-header);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ouro-fosco);
    display: inline-block;
    margin: 15px 0;
    letter-spacing: 2px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 8px 0;
}

.btn-voltar {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--ouro-fosco);
    color: var(--ouro-fosco);
    text-decoration: none;
    font-family: var(--fonte-header);
    font-size: 0.85rem;
    letter-spacing: 3px;
    transition: 0.4s;
    text-transform: uppercase;
}

.btn-voltar:hover {
    background-color: var(--ouro-fosco);
    color: var(--azul-escuro);
}

/* 13. SEÇÃO CONVITE (ACESSO À DEGUSTAÇÃO) */
.secao-convite {
    padding: 100px 0;
    background-color: var(--azul-petroleo);
    text-align: center;
}

.conteudo-convite {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 0;
}

.chancela-superior {
    display: block;
    font-family: var(--fonte-header);
    color: var(--ouro-fosco);
    font-size: 0.75rem; 
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.titulo-convite {
    font-family: var(--fonte-header);
    font-size: 2.2rem;
    color: var(--ouro-fosco); 
    margin-bottom: 25px;
    letter-spacing: 4px; 
    text-transform: uppercase;
}

.frase-convite {
    font-family: var(--fonte-serif);
    font-size: 1.4rem; 
    line-height: 1.6;
    max-width: 800px; 
    margin: 0 auto 45px auto;
    color: var(--marfim);
    opacity: 0.95;
    font-style: italic; 
}

/* BOTÃO CLÁSSICO GOLD */
.btn-classic-gold {
    position: relative;
    display: inline-block;
    padding: 20px 50px;
    color: var(--ouro-fosco);
    text-decoration: none;
    font-family: var(--fonte-header);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(197, 160, 89, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-classic-gold:hover {
    color: var(--azul-escuro);
    border-color: var(--ouro-fosco);
    letter-spacing: 4px;
}

.btn-classic-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background-color: var(--ouro-fosco);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-classic-gold:hover::before {
    left: 0;
}

.btn-text {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .titulo-convite { font-size: 1.8rem; }
    .btn-classic-gold { padding: 15px 35px; font-size: 0.8rem; }
    .email-svg { max-width: 220px; }
}