:root {
    /* CORES PRINCIPAIS E VARIÁVEIS */
    --primary-dark: #2c3e30;    /* Cor dos textos principais e nomes */
    --text-gray: #555555;       /* Cor dos parágrafos e textos menores */
    --bg-cream: #FDFBFA;        /* Cor do fundo da página */
    --accent-gold: #C5A059;     /* Cor de detalhes: linhas, subtítulos e coração */
    --white: #ffffff;           /* Cor branca (usada em fundos de cards) */
    --btn-olive: #6b704c;       /* Cor dos botões e ícones */
    --border-light: #e0e0e0;    /* Cor das bordas dos campos do formulário */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --nav-height: 80px;
}

/* Base & Reset */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    transition: background-color 0.3s ease; 
}
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-sans); 
    background-color: var(--bg-cream); 
    color: var(--primary-dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

/* Typography - Títulos */
h1, h2, h3 { font-family: var(--font-serif); }
.subtitle { 
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    display: block; 
    
    /* AJUSTE AQUI: Aumente este valor para descer o bloco todo */
    margin-top: 80px !important; 
    
    margin-bottom: 15px; 
    letter-spacing: 0.21em; 
}
.section-title { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 40px; }

/* --- ESTILO DO LOGO (INICIAIS Y & M) --- */
.logo a {
    font-size: 38px !important; /* Iniciais Maiores */
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--btn-olive); /* Usa o seu verde oliva */
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    font-family: var(--font-serif);
}

.logo a:hover {
    transform: scale(1.05);
}

/* --- BASE DO HEADER --- */
.nav-header {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 9999;
    height: 100px; /* Altura para acomodar o logo maior */
}

/* ADICIONE EXATAMENTE AQUI - LIMPEZA TOTAL */
#burger, 
.nav-header input[type="checkbox"],
.radio-inputs .radio input[type="radio"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* 1. Esconde a bolinha do rádio que apareceu ao lado dos nomes */
.radio-inputs .radio input {
    display: none !important;
}

/* 2. Esconde o quadrado do checkbox (hambúrguer) que apareceu no PC */
#burger {
    position: absolute;
    opacity: 0;
    pointer-events: none; /* Ele existe mas não atrapalha o clique */
}

/* --- ESTILO PARA COMPUTADOR (DESKTOP) --- */
/* --- ESTILO PARA COMPUTADOR (DESKTOP) --- */
@media (min-width: 769px) {
    .buttons__burger { display: none !important; }
    
    .nav-container { 
        display: flex !important; 
        margin-left: auto; /* Empurra o menu para a direita */
    }

    .radio-inputs {
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        display: flex;
        gap: 20px; /* Espaço confortável entre os nomes */
    }

    .radio-inputs .radio .name {
        cursor: pointer !important; /* Mãozinha garantida */
        background-color: transparent !important;
        color: var(--text-gray) !important;
        padding: 8px 20px;
        border-radius: 100px;
        transition: all 0.3s ease;
        font-weight: 600;
        display: block;
    }

    /* Estilo do item selecionado */
    .radio-inputs .radio input:checked + .name {
        background-color: var(--btn-olive) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(107, 112, 76, 0.2);
    }
    
    /* Efeito de passar o mouse nos outros itens */
    .radio-inputs .radio .name:hover {
        color: var(--btn-olive) !important;
    }
}

/* --- ESTILO PARA CELULAR (ATÉ 768px) --- */
/* --- ESTILO PARA CELULAR (ATÉ 768px) --- */
@media (max-width: 768px) {
    .hero-content {
        padding-bottom: 150px; 
        margin-top: -10px;
    }
    /* Esconde o menu de texto padrão e mostra o hambúrguer */
    .buttons__burger {
        display: block !important;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 10001;
        --clr: #7B8855; 
    }

    /* Desenha os 3 traços do hambúrguer */
    .buttons__burger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--clr);
        border: none !important;
        border-radius: 4px;
        transition: 0.3s ease-in-out;
    }

    .buttons__burger span:nth-of-type(1) { top: 0; }
    .buttons__burger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
    .buttons__burger span:nth-of-type(3) { bottom: 0; }

    /* Transformação em X quando clica */
    #burger:checked + .buttons__burger span:nth-of-type(1) { transform: translateY(9px) rotate(45deg); }
    #burger:checked + .buttons__burger span:nth-of-type(2) { opacity: 0; }
    #burger:checked + .buttons__burger span:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Estilo da Lista que desce */
    .nav-container {
        display: block !important;
        position: absolute;
        top: 100px; 
        left: 0;
        width: 100%;
        background-color: #ffffff;
        z-index: 10000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* Abre o menu quando marcado */
    #burger:checked ~ .nav-container {
        max-height: 600px; 
    }

    /* Ajuste dos itens dentro da lista */
    .radio-inputs {
        flex-direction: column !important;
        width: 100%;
        gap: 0 !important;
    }

    .radio-inputs .radio { width: 100%; }

    .radio-inputs .radio .name {
        width: 100%;
        padding: 20px !important;
        border-radius: 0 !important;
        justify-content: center;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        color: var(--text-gray);
    }

    /* ============================================================
        LINHA DO TEMPO (TIMELINE) - CENTRALIZAÇÃO TOTAL
       ============================================================ */
    
    .timeline {
        padding: 40px 0 !important;
        position: relative !important;
        width: 100% !important;
        min-height: 400px;
        overflow-x: hidden;
    }

    /* A LINHA VERTICAL: Fica exatamente no meio */
    .timeline::after {
        content: '';
        position: absolute;
        width: 2px;
        background: #b59a5d;
        top: 0;
        bottom: 0;
        left: 50% !important;
        transform: translateX(-50%);
        display: block !important;
        z-index: 1;
    }

    /* 2. Container do item */
    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        padding: 0 !important;
        margin-bottom: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative;
    }

    /* 3. A BOLINHA: Literalmente no meio do quadrado */
    .timeline-dot {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        background: #b59a5d !important;
        width: 18px !important;
        height: 18px !important;
        border: 3px solid #fff;
        border-radius: 50%;
        z-index: 3; /* Fica por cima para marcar o centro */
    }

    /* 4. O QUADRADO BRANCO: Maior e com mais espaço interno */
    .timeline-card {
        width: 92% !important; /* Quase a largura total da tela */
        max-width: 450px !important; /* Permite que ele cresça mais que antes */
        background: #ffffff !important;
        
        /* Aumentamos muito o padding para o texto não encostar na borda */
        padding: 45px 30px !important; 
        
        border-radius: 15px !important;
        box-shadow: 0 12px 35px rgba(0,0,0,0.1) !important;
        text-align: center !important;
        margin: 0 auto !important;
        position: relative !important;
        z-index: 2;
        box-sizing: border-box !important; /* Garante que o padding não estoure a largura */
        border: none !important;
    }

    /* Ajuste fino dos textos para acompanhar o card maior */
    .timeline-card h3 {
        color: #4a5d45 !important;
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .timeline-card p {
        color: #666 !important;
        font-size: 1.1rem !important;
        line-height: 1.7 !important;
        margin: 0 !important;
        width: 100% !important;
    }
}

/* Hero - Seção de Início */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 20px;
    
    /* RECOLOQUE ESTA LINHA ABAIXO */
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('images/Pré-wedding-129.jpg') center/cover no-repeat;
    
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 90vh; /* Faz o conteúdo ocupar quase a tela toda para poder separar os itens */
    width: 100%;
}

.hero-content h1 {
    margin-top: 20px; /* Ajuste aqui para subir ou descer o nome no céu */
    margin-bottom: 0;
} 

.hero h1 { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 600; margin: 40px 0; }
.heart-divider { 
    width: 150px; height: 1px; 
    background: #ffffff; /* Cor da linha dourada entre os nomes */
    margin: 40px 0; position: relative; 
}

.hero p { 
    color: #000000;
    font-weight: bold;
    margin-top: 20px;
}

.heart-divider::after { 
    content: '❤'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); 
    background: transparent; 
    padding: 0 10px; 
    color: #ffffff; /* Cor do coração no meio da linha */
}

/* Countdown Blocks - Contador */
.countdown-container {
    margin-top: auto !important; 
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.invitation-text {
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

.date {
    margin-bottom: 40px; /* Espaço para não colar no final da tela */
    font-weight: 700;
    color: #333; /* Cor escura para aparecer na areia */
}

.cd-box { 
    background: rgba(255, 255, 255, 0.2); /* Cor de fundo dos quadradinhos do tempo */
    padding: 20px; width: 90px; border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}
.cd-box:hover { transform: translateY(-5px); }
.cd-box span { 
    display: block; font-family: var(--font-serif); font-size: 2.2rem; 
    color: #000000; /* Cor dos números do contador */
}
.cd-box label { 
    font-size: 0.9rem; text-transform: uppercase;
    font-weight: bold;
    color: #000000; /* Cor das palavras Dias, Horas, etc */
    display: block;
    margin-top: 5px;
}

/* Timeline - Nossa História */
.timeline-container { position: relative; max-width: 800px; margin: 40px auto; padding: 20px; }
.timeline-line { 
    position: absolute; width: 1px; 
    background: var(--accent-gold); /* Cor da linha vertical */
    top: 0; bottom: 0; left: 50%; 
}
.timeline-item { width: 50%; padding: 20px 40px; position: relative; }
.timeline-left { text-align: right; left: 0; }
.timeline-right { text-align: left; left: 50%; }
.timeline-dot { 
    position: absolute; width: 12px; height: 12px; 
    background: var(--accent-gold); /* Cor da bolinha dourada na linha */
    border-radius: 50%; top: 30px; left: calc(50% - 6px); z-index: 2; 
}
.timeline-card {
        width: 85% !important;        /* Reduzi de 92% para 85% */
        max-width: 350px !important;  /* Reduzi o limite máximo */
        background: #ffffff !important;
        
        padding: 30px 20px !important; /* Reduzi o respiro para o card encolher */
        
        border-radius: 15px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        text-align: center !important;
        margin: 0 auto !important;
        position: relative !important;
        z-index: 2;
        box-sizing: border-box !important;
        border: none !important;
    }
.timeline-card:hover { transform: scale(1.02); }

/* Buttons - Botões Gerais */
.btn-agenda, .btn-submit {
    margin-top: 60px; /* <--- Isso cria o espaço entre a frase e o botão */
    background-color: var(--btn-olive); /* Cor de fundo do botão */
    color: white; /* Cor do texto do botão */
    border: none;
    padding: 15px 35px; border-radius: 5px; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.9rem; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.btn-submit { width: 100%; justify-content: center; margin-top: 20px; }
.btn-agenda:hover, .btn-submit:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(107, 112, 76, 0.3);
    filter: brightness(1.1);
}

/* Sections - Espaçamentos de Seção */
.section-padded { padding: 100px 8%; text-align: center; }
.bg-light { background-color: #f9f7f4; } /* Cor de fundo da seção cinza clara */

/* Container da Galeria - Controla quantas fotos aparecem por linha */
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 15px; 
    margin-top: 40px; 
}

/* Grids - Detalhes e Galeria */
.details-grid { 
    display: flex; 
    justify-content: center; /* Centraliza os cards horizontalmente */
    flex-wrap: wrap;         /* Permite que eles pulem linha no celular */
    gap: 20px; 
    margin-top: 40px; 
    width: 100%;
}
.detail-card { 
    background: var(--white); 
    padding: 70px 50px; 
    border-radius: 12px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.03); 
    transition: all 0.4s ease;
    flex: 0 1 290px;         /* Não deixa o card esticar demais (fixa em 250px) */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos do Modal Lightbox Melhorado e Centralizado */
.modal {
    display: none; /* O JS mudará para flex ou grid */
    position: fixed;
    z-index: 9999; /* Aumentado para ficar acima de tudo */
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(12px);
    
    /* Centralização Total */
    align-items: center; 
    justify-content: center;
    transition: opacity 0.4s ease;
}

.modal-content {
    max-width: 85%; 
    max-height: 80vh; /* Reduzi para 80% da altura da tela para sobrar espaço */
    margin: auto;     /* Garante centralização forçada */
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    opacity: 0;
    transform: scale(0.9);
}

/* Ativação da animação via JS */
.modal.active .modal-content {
    opacity: 1;
    transform: scale(1);
}

/* Botão de Fechar (X) */
.close-modal {
    position: absolute;
    top: 30px;    /* Espaço do topo */
    right: 30px;  /* Espaço da direita */
    color: white; 
    font-size: 50px; /* Aumentado para facilitar o clique */
    font-weight: 200;
    cursor: pointer;
    z-index: 10000; /* Sempre acima da imagem */
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: scale(1.2);
    color: #ccc;
}

/* Setas de Navegação */
.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centraliza a seta na altura */
    color: white;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.detail-card:hover { transform: translateY(-10px) scale(1.03); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.detail-card i { 
    transform: scale(1.1);
    font-size: 2rem; 
    color: var(--btn-olive); /* Cor dos ícones de Relógio, Local, etc */
    transition: 0.3s;
    margin-bottom: 15px; 
}

/* A Imagem em si - Controla a altura e o corte */
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
/* Efeito ao passar o mouse */
.gallery-item:hover img { 
    transform: scale(1.1); 
    filter: brightness(0.9); 
}

/* RSVP Form - Formulário de Presença */
.rsvp-form { max-width: 500px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.form-group { text-align: left; margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input { 
    width: 100%; padding: 12px; 
    border: 1px solid var(--border-light); /* Cor da borda dos campos */
    border-radius: 5px; outline: none; transition: 0.3s; 
}
.form-group input:focus { border-color: var(--accent-gold); } /* Cor da borda ao clicar */

/* Guest Controls - Botões de + e - */
.guest-controls { display: flex; align-items: center; gap: 15px; }
.btn-qty { 
    width: 35px; height: 35px; border-radius: 50%; 
    border: 1px solid var(--btn-olive); /* Cor da borda do círculo */
    background: none; 
    color: var(--btn-olive); /* Cor dos símbolos + e - */
    cursor: pointer; 
    transition: all 0.3s ease;
}
.btn-qty:hover { background: var(--btn-olive); color: white; }

/* Location - Mapa e Local */
.location-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    align-items: center; 
    margin-top: 40px; 
}
.map-container, .location-info { 
    flex: 1; 
    min-width: 300px; 
    text-align: left; 
}

.location-info h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem; /* Tamanho maior que você pediu */
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Texto do endereço */
.location-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.btn-como-chegar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--btn-olive);
    color: #ffffff;
    padding: 18px 35px; /* Botão mais robusto */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-como-chegar:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* WhatsApp Float - Botão Flutuante */
.whatsapp-float { 
    position: fixed; bottom: 30px; right: 30px; 
    background: #25d366; /* Cor de fundo do WhatsApp */
    color: white; 
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; font-size: 30px; z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); }

/* Animations - Efeitos de Surgimento */
.fade-in-up, .fade-in-left, .fade-in-right { 
    opacity: 0; 
    will-change: transform, opacity;
}
.fade-in-up { transform: translateY(50px); }
.fade-in-left { transform: translateX(-50px); }
.fade-in-right { transform: translateX(50px); }

.active { 
    opacity: 1 !important; 
    transform: translate(0,0) !important; 
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Celulares e Tablets */
@media (max-width: 768px) {
    .gallery-item {
        height: 180px; /* Mantém a altura menor que você definiu */
    }
}
    
    .gallery-item {
    overflow: hidden; /* Essencial: impede que a imagem "saia" da borda ao crescer */
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
}


.label-destaque {
    font-size: 1.70rem !important; /* Aumenta o tamanho consideravelmente */
    color: var(--btn-olive) !important; /* Usa o verde oliva do seu projeto */
    font-weight: 700 !important; /* NEGRITO aplicado aqui */
    text-transform: uppercase; /* Deixa em caixa alta */
    letter-spacing: 1.5px; /* Espaçamento chic entre as letras */
    margin: 10px 0;
    display: block;
}

/* Ajuste opcional: aumentar os ícones acima das palavras para acompanhar */
.detail-card p {
    font-size: 1rem !important; /* Diminuído para criar contraste */
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 400; /* Garante que não pegue negrito por herança */
    margin-bottom: 0;
}

.detail-card i {
    font-size: 1.8rem;
    color: var(--btn-olive);
    margin-bottom: 8px;
}

/* Estilo para as opções de comparecimento */
.attendance-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
    cursor: pointer;
    font-weight: 400 !important; /* Mantém o padrão dos outros labels */
}

.radio-label input[type="radio"] {
    width: 18px !important; /* Tamanho menor para o rádio */
    height: 18px;
    cursor: pointer;
    accent-color: var(--btn-olive); /* Deixa a bolinha na cor do seu tema */
}

/* Espaçamento extra entre os grupos do formulário */
.form-group {
    margin-bottom: 25px;
}

/* Subtítulo customizado conforme pedido */
.subtitle-black {
    font-size: 1.2rem !important;
    color: #000000 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

/* Grade de Presentes (Magazine e Havan) */
.gift-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.gift-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 15px;
    flex: 0 1 300px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s ease;
}

.gift-card:hover {
    transform: translateY(-10px);
}

.gift-card i {
    font-size: 2rem;
    color: var(--btn-olive);
    margin-bottom: 15px;
}

.btn-gift-link {
    display: inline-block;
    background: var(--btn-olive);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Seção PIX unificada abaixo */
.pix-unified-box {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-image {
    width: 200px; /* Tamanho do QR Code */
    height: 200px;
    margin: 20px 0;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

.btn-copy-pix {
    background-color: var(--btn-olive);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-copy-pix:hover {
    filter: brightness(1.1);
}

.pix-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.pix-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.pix-divider span {
    background: #f9f7f4; /* Cor de fundo da seção */
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #999;
    font-size: 0.8rem;
}

.btn-copy-pix:active {
    transform: scale(0.95); /* O botão encolhe um pouquinho ao clicar */
    transition: 0.1s;
}

.btn-confirm {
    background-color: var(--btn-olive); /* Cor oliva do seu tema */
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%; /* Para ocupar a largura do card como na imagem */
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Animação ao passar o mouse */
.btn-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Animação de clique (igual ao do PIX) */
.btn-confirm:active {
    transform: scale(0.98);
}

/* Estilo para quando o botão estiver desativado (Enviando...) */
.btn-confirm:disabled {
    background-color: #a5a5a5;
    cursor: not-allowed;
    transform: none;
}

/* Regras para Celulares (Telas até 768px) */
@media (max-width: 768px) {
    /* Ajusta o cabeçalho para não esconder o conteúdo */
    .nav-header {
        padding: 10px 20px;
    }
    
    .nav-links {
        display: none; /* Esconde o menu de texto para usar um ícone se desejar */
    }

    /* Diminui os títulos grandes para não quebrarem em várias linhas */
    h1 {
        font-size: 2.5rem !important;
    }

    /* Faz a grade de detalhes (Horário, Dress Code, Local) virar uma coluna só */
    .details-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Ajusta o formulário de confirmação para ocupar a largura da tela */
    .rsvp-form {
        width: 95% !important;
        padding: 20px 15px;
    }

    /* Melhora a visualização da lista de família no celular */
    #additionalGuests div {
        flex-direction: row; 
        justify-content: space-between;
        font-size: 0.9rem;
    }

    /* Garante que o QR Code do PIX caiba na tela sem precisar de scroll lateral */
    .qr-image {
        width: 180px;
        height: 180px;
    }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
}

.card {
  overflow: hidden;
  position: relative;
  text-align: left;
  border-radius: 0.8rem;
  max-width: 290px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding: 20px; /* Aumentei o preenchimento interno do card */
}

.header {
  padding: 0;
}

.image {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  background-color: #e2feee;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  animation: animate .6s linear alternate-reverse infinite;
  /* SEPARAÇÃO: Ícone da frase abaixo */
  margin-bottom: 20px; 
}

.content {
  text-align: center;
}

.title {
  color: #066e29;
  font-size: 1.1rem;
  font-weight: 700;
}

.message {
  margin-top: 10px;
  color: #595b5f;
  font-size: 0.9rem;
  line-height: 1.3rem;
}

.actions {
  /* SEPARAÇÃO: Botão da frase acima */
  margin-top: 25px; 
}

.history {
  cursor: pointer;
  display: inline-flex;
  padding: 0.7rem 1rem;
  /* Cor oliva ajustada conforme a imagem */
  background-color: #7B8855; 
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
  width: 100%;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.history:hover {
  /* Um tom levemente mais escuro para o efeito de passar o mouse */
  background-color: #6a7549; 
  transform: translateY(-1px);
}

/* Ajuste opcional: cor do título para combinar */
.title {
  color: #7B8855; 
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes animate {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Container que faz o pop-up flutuar */
.cookie-overlay {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: none; /* Escondido por padrão, o JS vai mostrar */
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.cookie-card {
  width: 300px;
  background-color: rgb(255, 255, 255);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  gap: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #f0f0f0;
}

#cookieSvg { width: 50px; margin-bottom: 5px; }
#cookieSvg path { fill: #7B8855; } /* Mudei para a cor do seu botão */

.cookieHeading { font-size: 1.2em; font-weight: 800; color: #333; }

.cookieDescription {
  text-align: center;
  font-size: 0.8em;
  font-weight: 500;
  color: #666;
}

.buttonContainer { display: flex; gap: 15px; margin-top: 10px; }

.acceptButton {
  width: 100px;
  height: 35px;
  background-color: #7B8855; /* Usei a cor oliva que você gosta */
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.declineButton {
  width: 100px;
  height: 35px;
  background-color: #efefef;
  color: #666;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.acceptButton:hover { background-color: #6a7549; transform: scale(1.05); }
.declineButton:hover { background-color: #e0e0e0; }

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* Aumentado para afastar a seta do texto */
  padding: 16px 36px;
  border: 2px solid #7B8855;
  font-size: 16px;
  background-color: #ffffff;
  border-radius: 100px;
  font-weight: 600;
  color: #7B8855 !important;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  margin-top: 20px;
  z-index: 1;
}

.animated-button .text {
  position: relative;
  z-index: 5 !important;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: #7B8855;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.animated-button svg {
  position: relative;
  width: 20px;
  fill: #7B8855;
  z-index: 5;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- EFEITO HOVER --- */

.animated-button:hover {
  color: #ffffff !important;
}

.animated-button:hover .circle {
  width: 120%;
  padding-top: 120%;
  opacity: 1;
}

.animated-button:hover svg {
  fill: #ffffff;
  transform: translateX(5px); /* Pequeno pulo da seta para a direita no hover */
}

.animated-button:active {
  scale: 0.95;
}

#imgModal {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    transition: opacity 0.3s ease-in-out; /* Crucial para a suavidade que você criou no JS */
    object-fit: contain;
}