/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
    /* impede scroll mesmo se conteúdo for maior */
}

:root {
    /* Paleta de cores profissional e moderna */
    --primary-green: #2E7D32;
    --primary-brown: #5D4037;
    --accent-orange: #FF8F00;
    --accent-yellow: #FFC107;
    --soft-cream: #FFF8E1;
    --warm-white: #ffffff;
    --text-dark: #212121;
    --text-medium: #025e16;
    --text-light: #757575;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);

    /* Gradientes modernos */
    --gradient-link: linear-gradient(135deg, #ffffff 0%, #a9ffa1 100%);
    --gradient-primary: linear-gradient(135deg, #001101 0%, #12ca01 100%);
    --gradient-warm: linear-gradient(135deg, #c5810c 0%, #e7ac0a 100%);
    --gradient-soft: linear-gradient(135deg, #b0c9ac 0%, #9bdd75 100%);
    --gradient-hero: linear-gradient(135deg, #81C784 0%, #a1f371 50%, #ffffff 100%);
    --gradient-hero: linear-gradient(135deg, #81C784 0%, #A5D6A7 50%, #ffffff 100%);
    --gradient-ceu-azul-claro: linear-gradient(to bottom, #87ceeb, #f0f8ff);
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    background: var(--gradient-ceu-azul-claro);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    z-index: 1;
    position: relative;
}

.top-image {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 200px;
    /* ou ajuste conforme necessário */
}

/* Header Moderno */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.233);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(243, 199, 4, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px var(--shadow-light);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 40px;
}

.nav-brand h1 {
    font-family: 'Fredoka One', cursive;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-link {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section Moderno */
.hero {
    height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/gael_fundo.jpg');
    background-size: contain;
    background-position: center;
    overflow: hidden
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* espaço entre título, subtítulo e botão */
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    animation: fadeInUp 1s ease;
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px var(--shadow-medium);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    /* Sombra de texto sutil */
    text-shadow: 2px 2px 2px rgba(3, 48, 0, 0.1);
}

.hero-subtitle {
    font-size: 3.4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #fff;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--accent-orange), #ffba57);
    border-radius: 16px;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    /* leve brilho interno */
    text-align: center;
    display: inline-block;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.2;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* borda clara elegante */
}



.cta-button {
    background: var(--gradient-warm);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
    display: block;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin: 1rem auto 0;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 143, 0, 0.4);
}

/* Seções com design moderno */
.section-header {
    text-align: center;
    margin-bottom: 15px;
    padding-top: 0;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.decoration-icon {
    color: var(--accent-orange);
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(255, 143, 0, 0.1);
    border-radius: 50%;
}

/* Message Section */
.message-section {
    padding: 0;
    position: relative;
}

.message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    mix-blend-mode: multiply;
}

.message-wrapper {
    position: relative;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
}

.message-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.message-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-weight: 400;
}

.message-text.highlight {
    font-weight: 600;
    color: #da9706;
    font-size: 1.3rem;
}

.message-text-farr {
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 1rem;
}

.item-message-section {
    position: absolute;
    user-select: none;
    /* Impede seleção de texto/imagem */
    -webkit-user-drag: none;
    /* Impede arrastar a imagem em navegadores WebKit (Chrome, Safari) */
    pointer-events: none;
    /* Impede que eventos do mouse atinjam o elemento */
}

.img-passaro {
    bottom: 70%;
    left: 2%;
    transform: scaleX(-1) rotate(10deg);
    width: 120px;
    height: auto;
    z-index: 0;
}

.img-nuvem {
    bottom: 55%;
    left: 2%;
    transform: scaleX(-1) rotate(0deg);
    width: 190px;
    height: auto;
    z-index: 0;
}

.img-passaro-2 {
    bottom: 75%;
    right: 2%;
    transform: scaleX(1) rotate(0deg);
    width: 120px;
    height: auto;
    z-index: 0;
}

.img-nuvem-2 {
    bottom: 60%;
    right: 8%;
    transform: scaleX(1) rotate(0deg);
    width: 170px;
    height: auto;
    z-index: 0;
}

/* Event Details */
.event-details {
    padding: 0;
    position: relative;
}

.event-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.event-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px var(--shadow-light);
    position: relative;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    max-width: 600px;
    width: 100%
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-icon {
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
}

.event-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.event-details-text h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-brown);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-details-text p {
    color: var(--text-medium);
    line-height: 1.6;
    font-weight: 400;
}

.map-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px var(--shadow-light);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    max-width: 600px;
    width: 100%;
    gap: 1rem;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.map-container h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-brown);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-placeholder {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.directions-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: center;
    flex: 0 0 auto;
    text-align: center;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}


.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

/* RSVP Section */
.rsvp-section {
    height: auto;
    padding: 0;
    position: relative;
    background-image: url('../img/pattern01.png');
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: auto;
}

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

.rsvp-info {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 50px var(--shadow-light);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.rsvp-date {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.rsvp-divider {
    color: var(--text-light);
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.rsvp-deadline {
    color: var(--text-medium);
    font-style: italic;
    font-weight: 400;
}

.rsvp-button {
    border: 2px solid #ffffff;
    border-radius: 6px;
    background: var(--gradient-warm);
    color: white;
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 143, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.rsvp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.rsvp-button:hover::before {
    left: 100%;
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 143, 0, 0.4);
}

.item {
    position: absolute;
    user-select: none;
    /* Impede seleção de texto/imagem */
    -webkit-user-drag: none;
    /* Impede arrastar a imagem em navegadores WebKit (Chrome, Safari) */
    pointer-events: none;
    /* Impede que eventos do mouse atinjam o elemento */
}

.img-vaca {
    bottom: 10%;
    right: 10%;
    transform: rotate(0deg);
    width: 140px;
    height: auto;
    z-index: 0;
}

.img-porco {
    bottom: 20%;
    left: 8%;
    transform: rotate(0deg);
    width: 90px;
    height: auto;
    z-index: 0;
}

.img-balao {
    bottom: 48%;
    left: 10%;
    transform: rotate(0deg);
    width: 120px;
    height: auto;
    z-index: 0;
    position: absolute;
}

.img-balao2 {
    bottom: 40%;
    right: 8%;
    transform: rotate(0deg);
    width: 140px;
    height: auto;
    z-index: 0;
    position: absolute;
}

/* Messages Section */
.messages-section {
    padding: 0;
    background-image: url('../img/pattern04.png');
    background-repeat: repeat;
    background-size: auto;
    width: 100%;
}

.messages-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow-light);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.messages-intro {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.create-message-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.create-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

/* Final CTA */
.final-cta {
    padding: 0;
    text-align: center;
    background-image: url('../img/pattern03.png');
    background-repeat: repeat;
    background-size: auto;
}

.final-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.final-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.final-cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

.final-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

/* Footer */
.footer {
    background: var(--primary-brown);
    color: white;
    padding: 1rem 0;
    font-weight: 400;
}

.footer-content {
    display: flex;
    align-items: center;
    /* Alinha verticalmente */
    justify-content: center;
    /* Centraliza na horizontal */
    gap: 10px;
    /* Espaço entre o texto e a imagem */
    padding: 10px 0;
    /* Espaço interno opcional */
}

.footer-content p {
    margin: 0;
}

.login-icon {
    height: 25px;
}

/* Modal Moderno */
input:focus {
    border-color: #4CAF50 !important;
    /* Cor da borda ao focar */
    outline: none;
    /* Remove contorno nativo */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    /* Efeito extra opcional */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal {
    background: rgb(233, 231, 231);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: var(--gradient-soft);
    border-radius: 24px 24px 0 0;
    padding: 2rem 2rem 1rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.modal-header h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(117, 117, 117, 0.1);
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(117, 117, 117, 0.2);
    color: var(--text-dark);
}

.modal-content {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.modal-event-info {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.submit-modal {
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    text-align: center;
    background-color: #a5d6a7;
    color: #1a1a1a;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.submit-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
    background: var(--primary-green);
    color: white;
}

.rsvp-option {
    margin: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f3f3f3;
    transition: all 0.3s ease;
}

.rsvp-option.yes {
    background-color: #a5d6a7;
    color: #1a1a1a;
}

.rsvp-option.no {
    background-color: #ef9a9a;
    color: #ffffff;
}

.rsvp-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.rsvp-option.yes:hover {
    background: var(--primary-green);
    color: white;
}

.rsvp-option.no:hover {
    background: var(--accent-orange);
    color: white;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(46, 125, 50, 0.1);
}

/* Modal recadinhos - #########################*/
.message-form {
    padding: 1rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.login-button {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease, color 0.2s;
}

.login-button:hover {
    color: #acacac;
    /* Azul ou outra cor de destaque */
    transform: scale(1.1);
}

.login-button:focus {
    outline: none;
}

.modal-recados {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-recados-conteudo {
    background: rgb(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.btn-ver-recadinhos {
    background: linear-gradient(145deg, #1e8800, #1cb000);
    /* tom verde vivo */
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ver-recadinhos:hover {
    background: linear-gradient(145deg, #169100, #1ec700);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-ver-recadinhos i {
    font-size: 1.3em;
}

.btn-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
}

.titulo-modal {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #222;
}

/* Grid de recadinhos */
.grid-recadinhos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: start;
    /* isso é importante! */
}

.recado-item:hover {
    transform: scale(1.03);
}

.recado-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.modal-content-recados {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.close-recados {
    color: #333;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 26px;
    cursor: pointer;
}

.lista-recadinhos {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
}

.lista-recadinhos p {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Cada card de recado */
.recado-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    max-height: 180px;
    height: 180px;
    /* fixa altura */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px
}

.recado-card:hover {
    height: auto;
    max-height: unset;
    z-index: 10;
}

.recado-nome {
    font-weight: bold;
    color: #1a73e8;
    margin-bottom: 8px;
}

.recado-data {
    font-size: 0.75rem;
    color: #999;
    margin-top: 12px;
}

/* Mensagem truncada inicialmente */
.recado-msg {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: calc(1.4em * 6);
    transition: max-height 0.3s ease;
}

/* Quando o card é hover, mostra tudo */
.recado-card:hover .recado-msg {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: 1000px;
    overflow: visible;
}

/* ################################################# */
/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estados de foco para acessibilidade */
button:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Melhorias de contraste para texto */
.message-text,
.messages-intro,
.final-text,
.event-details-text p,
.rsvp-deadline,
.modal-event-info {
    color: var(--text-medium);
    font-weight: 400;
}

.section-title,
.hero-title,
.final-title,
.event-details-text h3,
.map-container h3,
.modal-header h3 {
    color: var(--text-dark);
    font-weight: 600;
}

/* Efeitos hover aprimorados */
.event-card:hover .event-icon {
    transform: scale(1.1);
}

.map-container:hover {
    border-color: rgba(46, 125, 50, 0.2);
}

.messages-content:hover {
    border-color: rgba(46, 125, 50, 0.2);
}

/* Estilos do toast */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: #333;
    color: white;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 3.5s;
}

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

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

#countdown {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #ff4081;
}

.rsvp-button:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.pix-section {
    padding: 0;
    background-image: url('../img/pattern04-inverse.png');
    background-repeat: repeat;
    background-size: auto;
    width: 100%;
}

.pix-title {
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-family: sans-serif;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px var(--shadow-light);
    border: 1px solid rgba(46, 125, 50, 0.1);
    padding-top: 20px;
}

.pix-title p {
    margin: 10px;
}

.pix-card {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

.pix-img {
    width: 200px;
}

.pix-info input {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 8px;
    width: 80%;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

.pix-info button {
    background-color: #f59e0b;
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.pix-info button:hover {
    background-color: #d97706;
}

/*===========================================================================================*/
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 40px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 40px);
        background: rgba(235, 225, 225, 0.8);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(46, 125, 50, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        background: var(--gradient-warm);
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        transition: background-color 0.3s, transform 0.2s;
        list-style: none;
        color: #ac4646;
        font-family: 'Segoe UI', sans-serif;
        font-size: 1rem;
        cursor: pointer;
    }

    .event-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-card,
    .map-container {
        margin: 0 auto;
    }

    .img-passaro {
        bottom: 70%;
        left: 20%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem {
        bottom: 70%;
        left: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-passaro-2 {
        bottom: 67%;
        right: 5%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem-2 {
        bottom: 70%;
        right: 24%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-balao {
        bottom: 70%;
        left: 3%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-balao2 {
        bottom: 50%;
        right: 2%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-vaca {
        bottom: 2%;
        right: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-porco {
        bottom: 10%;
        left: 2%;
        width: 55px;
        height: auto;
        z-index: 0;
    }

}

/*===========================================================================================*/
@media (max-width: 768px) {

    .directions-btn,
    .create-message-btn,
    .btn-ver-recadinhos,
    .final-cta-button {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hero {
        background-size: cover;
    }

    .hero-background {
        gap: 9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        margin-top: 60%;
        top: 120px;
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .message-content,
    .messages-content {
        padding: 2rem 1.5rem;
    }

    .message-wrapper {
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 2em;
    }

    .message-content {
        z-index: 1;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        padding: 3rem;
        border-radius: 20px;
        box-shadow: 0 10px 40px var(--shadow-light);
        border: 1px solid rgba(46, 125, 50, 0.1);
    }

    .img-passaro {
        bottom: 70%;
        left: 10%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem {
        bottom: 75%;
        left: 2%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-passaro-2 {
        bottom: 70%;
        right: 5%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem-2 {
        bottom: 70%;
        right: 24%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-balao {
        left: 3%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-balao2 {
        right: 2%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-vaca {
        bottom: 2%;
        right: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-porco {
        bottom: 10%;
        left: 2%;
        width: 55px;
        height: auto;
        z-index: 0;
    }
}

/*===========================================================================================*/
@media (max-width: 600px) {

    .directions-btn,
    .create-message-btn,
    .btn-ver-recadinhos,
    .final-cta-button {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hero-background {
        gap: 9rem;
    }

    .hero-content {
        margin-top: 30%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .img-passaro {
        bottom: 70%;
        left: 4%;
        width: 70px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem {
        bottom: 80%;
        left: 5%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-passaro-2 {
        bottom: 66%;
        right: 2%;
        width: 60px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem-2 {
        bottom: 78%;
        right: 10%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-vaca {
        bottom: 2%;
        right: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-porco {
        bottom: 10%;
        left: 2%;
        width: 55px;
        height: auto;
        z-index: 0;
    }

    .img-balao {
        display: none;
        bottom: 50%;
        left: 10%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-balao2 {
        display: none;
        bottom: 60%;
        right: 5%;
        width: 70px;
        height: auto;
        z-index: 0;
    }
}

/*===========================================================================================*/
@media (max-width: 480px) {

    .directions-btn,
    .create-message-btn,
    .btn-ver-recadinhos,
    .final-cta-button {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .hero-background {
        gap: 9rem;
    }

    .hero-content {
        margin-top: 50%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button,
    .rsvp-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .modal {
        width: 95%;
        margin: 1rem;
    }

    .message-content,
    .messages-content {
        padding: 1.5rem 1rem;
    }

    .img-passaro {
        bottom: 70%;
        left: 4%;
        width: 70px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem {
        bottom: 60%;
        left: 22%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-passaro-2 {
        bottom: 66%;
        right: 2%;
        width: 60px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem-2 {
        bottom: 78%;
        right: 1%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-vaca {
        bottom: 2%;
        right: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-porco {
        bottom: 10%;
        left: 2%;
        width: 55px;
        height: auto;
        z-index: 0;
    }

    .img-balao {
        display: none;
        bottom: 50%;
        left: 10%;
        width: 90px;
        height: auto;
        z-index: 0;
    }

    .img-balao2 {
        display: none;
        bottom: 60%;
        right: 5%;
        width: 70px;
        height: auto;
        z-index: 0;
    }
}

/*===========================================================================================*/
@media (max-width: 400px) {
    .img-passaro {
        bottom: 70%;
        left: 4%;
        width: 70px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem {
        bottom: 60%;
        left: 22%;
        width: 100px;
        height: auto;
        z-index: 0;
    }

    .img-passaro-2 {
        bottom: 66%;
        right: 2%;
        width: 60px;
        height: auto;
        z-index: 0;
    }

    .img-nuvem-2 {
        bottom: 78%;
        right: 1%;
        width: 80px;
        height: auto;
        z-index: 0;
    }

    .img-vaca {
        bottom: 2%;
        right: 2%;
        width: 120px;
        height: auto;
        z-index: 0;
    }

    .img-porco {
        bottom: 4%;
        left: 2%;
        width: 55px;
        height: auto;
        z-index: 0;
    }

    .img-balao {
        display: none;
    }

    .img-balao2 {
        display: none;
    }

    .pix-img {
        width: 150px;
    }
}

/*===========================================================================================*/
@media (max-width: 395px) {
    .img-passaro {
        display: none;
    }

    .img-nuvem {
        display: none;
    }

    .img-passaro-2 {
        display: none;
    }

    .img-nuvem-2 {
        display: none;
    }
}