@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #fffbf7, #fdfaf4);
    font-family: Georgia, serif;
    color: #3a3a3a;
}

/* --- TOPO E SUBTITULO --- */
.topo {
    background-color: transparent;
    color: #bc964a;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    padding: 35px 20px 4px 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.subtitulo {
    text-align: center;
    margin-top: 4px;
    font-size: 14px;
    color: #7a7a7a;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.subtitulo::before,
.subtitulo::after {
    content: '🌿';
    font-size: 11px;
}

.mensagem {
    max-width: 650px;
    margin: 20px auto 28px auto;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    line-height: 1.7;
    border-top: 1px solid #e8dfce;
    border-bottom: 1px solid #e8dfce;
    padding: 14px 0;
}

/* --- HERO MOLDURA --- */
.hero-moldura {
    background: #ffffff;
    border: 1px solid #f0e6d2;
    border-radius: 20px;
    max-width: 760px;
    margin: 0 auto 28px auto;
    padding: 28px 34px;
    box-shadow: 0 12px 40px rgba(188, 150, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.casal-foto {
    flex: 1;
    display: flex;
    justify-content: center;
}

.casal-foto img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e8dfce;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.casal-detalhes {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 8px;
}

.detalhe-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.detalhe-item.bloco-local {
    align-items: flex-start;
}

.detalhe-item .icone {
    font-size: 16px;
    display: inline-block;
    width: 20px;
    text-align: center;
    opacity: 0.85;
}

.detalhe-texto {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.detalhe-texto strong {
    font-family: Arial, serif;
    font-size: 17px;
    color: #2c2c2c;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.detalhe-texto .endereco-detalhe {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #7a7a7a;
    font-weight: 400;
    display: block;
    margin-top: 3px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.mapa-link {
    display: inline-block;
    margin-top: 10px;
    color: #bc964a;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: opacity .2s ease;
}

.mapa-link:hover {
    opacity: 0.7;
}

.hero-divisor {
    border: 0;
    border-top: 1px dashed #e8dfce;
    margin: 7px 0;
}

/* --- CONTADOR --- */
.contador-container {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.contador-header {
    font-size: 15px;
    letter-spacing: 3px;
    color: #888;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.contador-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 8px;
}

.contador-unidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.contador-numero {
    font-size: 38px;
    font-weight: 300;
    color: #bc964a;
    line-height: 1;
}

.contador-legenda {
    font-size: 8px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-top: 6px;
    font-weight: 600;
}

.contador-footer {
    font-size: 16px;
    letter-spacing: 2.2px;
    color: #bc964a;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- BOAS-VINDAS --- */
.boas-vindas {
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin: 24px auto 20px auto;
}

.boas-vindas h2 {
    color: #bc964a;
    font-size: 32px;
    margin: 0 0 8px 0;
    font-style: italic;
    font-weight: 400;
}

.boas-vindas p {
    font-size: 15px;
    color: #777;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- ÍCONES MENORES --- */
.icone-menor {
    font-size: 18px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

/* --- LISTA DE PRESENTES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px 20px 20px;
}

.secao-titulo {
    font-family: Georgia, serif;
    color: #bc964a;
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 26px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secao-titulo .icone-menor {
    font-size: 18px;
}

.alertas {
    max-width: 600px;
    margin: 0 auto 24px auto;
    text-align: center;
}

.alerta {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.alerta-sucesso {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alerta-erro {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0, 0.02);
    border: 1px solid #f4efe6;
    transition: all .3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 150, 74, 0.08);
}

.card.outros {
    border: 2px dashed #bc964a;
    background: #fffdfa;
}

.titulo {
    font-size: 19px;
    font-weight: 500;
    color: #3a3a3a;
    margin-bottom: 5px;
    font-family: Georgia, serif;
}

.valor {
    color: #bc964a;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.progress-bar {
    background: #f5f0e6;
    border-radius: 10px;
    height: 5px;
    overflow: hidden;
    margin: 13px auto;
    width: 90%;
}

.progress-fill {
    background: linear-gradient(90deg, #bc964a, #ddc187);
    height: 100%;
    width: 0%;
    transition: width 1s ease;
}

.progresso {
    margin-top: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
}

.progresso strong {
    color: #333;
    font-weight: 600;
}

.form-contribuir {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 16px;
}

.form-contribuir input[type="number"],
.form-contribuir input[type="text"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e2dacd;
    background-color: #fffcf9;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.form-contribuir input:focus {
    outline: none;
    border-color: #bc964a;
}

.form-contribuir label {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.form-contribuir button {
    background: #607363;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 11px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
    transition: background .2s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-contribuir button:hover {
    background: #4b5a4d;
}

/* --- PRESENTE CONCLUÍDO --- */
.card.concluido {
    background: #fffdf8;
    opacity: 0.92;
    border: 1px solid #e8dfce;
}

.card.concluido:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0,0,0, 0.02);
}

.card.concluido .progress-fill {
    width: 100%;
}

.selo-concluido {
    display: inline-block;
    margin: 12px auto 10px auto;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef6ef;
    color: #607363;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.presente-finalizado {
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 10px;
    background: #f8f3ea;
    color: #7a6a4d;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    border: 1px solid #efe4d2;
}

/* --- MURAL DE RECADOS --- */
.mural-container {
    max-width: 1200px;
    margin: 45px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #e8dfce;
    padding-top: 35px;
}

.mural-titulo {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 25px;
    color: #bc964a;
    margin-bottom: 6px;
}

.mural-subtitulo {
    text-align: center;
    color: #7a7a7a;
    font-size: 13px;
    margin-bottom: 30px;
    font-style: italic;
}

.mural-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.mural-card {
    background: #ffffff;
    border: 1px solid #f4efe6;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 4px 15px rgba(188, 150, 74, 0.03);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mural-card:hover {
    transform: translateY(-5px);
}

.aspas {
    font-family: Georgia, serif;
    font-size: 36px;
    color: #e6dbca;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 15px;
    user-select: none;
}

.mural-mensagem {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    font-style: italic;
    position: relative;
    z-index: 1;
    padding-left: 10px;
}

.mural-autor {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #3a3a3a;
    font-family: Georgia, serif;
}

.linha-decorativa {
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: #bc964a;
}

@media (max-width: 768px) {
    .topo {
        font-size: 26px;
        letter-spacing: 3px;
        padding-top: 28px;
    }

    .subtitulo {
        font-size: 13px;
    }

    .mensagem {
        margin: 18px 20px 24px 20px;
        font-size: 14px;
    }

    .hero-moldura {
        flex-direction: column;
        padding: 22px;
        gap: 24px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 26px;
    }

    .casal-foto img {
        width: 220px;
        height: 220px;
    }

    .casal-detalhes {
        padding-left: 0;
    }

    .contador-grid {
        gap: 18px;
    }

    .contador-numero {
        font-size: 34px;
    }

    .contador-footer {
        font-size: 14px;
    }

    .boas-vindas {
        margin: 22px auto 20px auto;
    }

    .boas-vindas h2 {
        font-size: 28px;
    }

    .boas-vindas p {
        font-size: 14px;
    }

    .container {
        padding: 12px 20px 20px 20px;
    }

    .secao-titulo {
        justify-content: center;
        font-size: 22px;
        margin-bottom: 24px;
    }

    .catalogo {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 20px;
    }

    .selo-concluido {
        font-size: 12px;
        padding: 7px 12px;
    }

    .presente-finalizado {
        font-size: 12px;
        padding: 12px;
    }
}