:root {
    --rosa-cha: #e8b4b8;
    --baunilha: #fdfaf2;
    --azul-serenity: #b9ced3;
    --verde-menta: #aeddcd;
    --text-color: #4a3f35;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--baunilha);
    color: var(--text-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Menu Superior Lado a Lado permanente */
header {
    background: rgba(253, 250, 242, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span { color: var(--rosa-cha); }

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-list li a:hover { color: var(--rosa-cha); }

/* Seção Inicial Divisória (Lado a Lado) */
.hero-split {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fdfaf2 40%, #f7f1e3 100%);
}

.grid-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--rosa-cha);
}

.subtitle-t {
    font-family: 'Playfair Display', serif;
    
    font-size: 1.4rem;
    color: black;
}
.hero-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-color);
    margin: 10px 0;
}

.highlight {
    color: var(--azul-serenity);
    border-bottom: 3px dashed var(--rosa-cha);
}

.verse { font-style: italic; color: #7d7063; margin-bottom: 25px; }

.info-badge-group { display: flex; gap: 15px; }
.badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}
.date { background-color: var(--rosa-cha); color: white; }
.time { background-color: var(--verde-menta); color: var(--text-color); }

.proposito-box {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(74, 63, 53, 0.05);
    border-left: 5px solid var(--verde-menta);
}

.proposito-box h2 { text-align: left; margin-bottom: 15px; font-family: 'Playfair Display', serif; }
.proposito-box p { line-height: 1.8; font-size: 1.05rem; }

/* Seção Preletoras */
.preletoras-section { padding: 70px 0; }
h2 { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.3rem; margin-bottom: 40px; }

.grid-preletoras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-preletora {
    padding: 40px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-preletora:hover { transform: translateY(-5px); }

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ccc;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

/* Ajustar as fotos das preletoras */
.avatar-wrapper {
    width: 100px;         
    height: 100px;        
    margin: 0 auto 15px;  
    border-radius: 50%;   
    overflow: hidden;     
    border: 3px solid white; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.avatar-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: center; 
}

.card-preletora h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 10px; }

.tag-cargo {
    display: inline-block;
    padding: 4px 15px;
    background: rgb(255, 255, 255);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #000000 !important;
}

.rosa-cha { background-color: var(--rosa-cha); color: white; }
.azul-serenity { background-color: var(--azul-serenity); color: var(--text-color); }
.verde-menta { background-color: var(--verde-menta); color: var(--text-color); }
/* Nova cor para o quarto card ficar perfeito na sequência */
.lilas-suave {
    background-color: #e0baf8 !important; /* Um roxo/lilás bem clarinho e delicado */
}
/* CORREÇÃO DOS TEXTOS SUMIDOS: Estilo para os Cards de Mensagem Meio e Baixo */
.card-mensagem-topo, .card-mensagem-baixo {
    background: white !important; 
    border: 1px dashed var(--rosa-cha); 
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.card-mensagem-topo h3, .card-mensagem-baixo h3 {
    color: var(--text-color) !important;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Configuração para exibir as 4 levitas alinhadas */
.grid-quatro-levitas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Cards de Programação */
.programacao-section { padding: 70px 0; background: white; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.card { background: var(--baunilha); padding: 30px; border-radius: 20px; text-align: center; border: 1px solid #f0eae0; }
.card i { font-size: 2rem; color: var(--rosa-cha); margin-bottom: 15px; }
.card h3 { font-family: 'Playfair Display', serif; margin-bottom: 10px; }

/* SEÇÃO DE CONVITES REESTILIZADA COM COR (GARANTA SEU CONVITE) */
.convites-section {
    padding: 70px 0;
}

.grid-pix { 
    max-width: 550px; 
    margin: 0 auto; 
}

.pix-info-card { 
    background: linear-gradient(145deg, #ffffff 0%, #fffcf7 100%); 
    padding: 40px; 
    border-radius: 30px; 
    text-align: center; 
    box-shadow: 0 15px 35px rgba(232, 180, 184, 0.2); 
    border: 2px solid rgba(232, 180, 184, 0.4); /* Bordinha charmosa na cor rosa-chá */
    position: relative;
    overflow: hidden;
}

/* Faixa decorativa sutil no topo do card de convites */
.pix-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--rosa-cha), var(--azul-serenity));
}

.valor-tag { 
    font-size: 3.5rem; 
    font-weight: bold; 
    color: var(--text-color); 
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}

.vagas-alerta { 
    font-weight: 600; 
    color: #c0392b; 
    margin-bottom: 25px; 
    background: rgba(192, 57, 43, 0.08);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.passos-pix {
    text-align: left;
    margin-bottom: 20px;
}

.passos-pix p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.pix-key-box { 
    display: block;
    width: 100%;
    background: #fff8f8; 
    padding: 15px; 
    border-radius: 12px; 
    border: 2px dashed var(--rosa-cha); 
    font-weight: bold; 
    margin: 10px 0 20px 0; 
    font-size: 1.1rem; 
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pix-key-box:hover {
    background: var(--baunilha);
    border-color: var(--azul-serenity);
}

.instrucao {
    line-height: 1.5;
    color: #2e2d2d;
}

/* Animação que faz a setinha do Pix pular suavemente */
@keyframes pularSeta {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.seta-pulando {
    display: inline-block;
    animation: pularSeta 1.5s infinite ease-in-out;
}

.btn-whatsapp { 
    display: block; 
    margin: 20px auto 0; 
    width: 100%; 
    max-width: 320px; 
    background: #0eb955; 
    color: white; 
    padding: 16px; 
    border-radius: 50px; 
    border: none; 
    text-decoration: none; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(39, 172, 94, 0.4); 
    transition: 0.3s; 
}
.btn-whatsapp:hover { 
    background: #27ae60; 
    transform: translateY(-2px);
}

/* Espaçamento do Mapa */
iframe, .map-container {
    display: block;
    margin-top: 20px; 
    width: 100%;      
}

/* Sistema Administrativo */
footer { background: #4a3f35; color: white; padding: 40px 20px; text-align: center; position: relative; }
#btn-admin { background: none; border: none; color: #a89f96; cursor: pointer; margin-top: 15px; font-size: 0.8rem; }
.admin-box { max-width: 500px; margin: 20px auto 0; background: white; padding: 25px; border-radius: 15px; color: var(--text-color); text-align: left; }
.style-hidden { display: none; }
.admin-inputs { display: flex; gap: 10px; margin: 15px 0; }
.admin-inputs input { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #ccc; }
.admin-inputs button { background: var(--text-color); color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; }
#lista-presenca { margin: 15px 0; padding-left: 20px; max-height: 150px; overflow-y: auto; }

/* ==========================================================================
   Responsivo Telas Menores (Celulares e Tablets)
   ========================================================================== */
@media (max-width: 768px) {
    .grid-hero { grid-template-columns: 1fr; gap: 30px; }
    .hero-split { padding-top: 100px; }
    .hero-left h1 { font-size: 2.3rem; }
    header { padding: 10px 0; }
    .nav-list li a { margin-left: 10px; font-size: 0.8rem; }

    .grid-preletoras, .grid-services {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .card-preletora, .card-mensagem-topo, .card-mensagem-baixo, .card {
        width: 100% !important;
        margin-bottom: 10px !important;
        padding: 30px 20px !important; 
    }

    /* Garante que no celular elas fiquem uma embaixo da outra sem quebrar */
@media (max-width: 768px) {
    .grid-quatro-levitas {
        grid-template-columns: 1fr;
    }
}

    .pix-key-box {
        font-size: 0.95rem !important;
        padding: 12px 10px !important;
        width: 100%;
    }

    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 25px;
    }

    .map-container iframe {
        height: 300px !important; 
    }
}