* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 24px;
    background-color: #f6dce3;
    background-image: url('fundo.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: Georgia, 'Times New Roman', serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #f6dce3 url('fundo.jpeg') center / cover no-repeat;
}

.topo {
    margin-bottom: 20px;
    text-align: center;
}

.titulo {
    display: inline-block;
    margin: 0;
    padding: 10px 36px 12px;
    color: #5c2d20;
    background: #fffaf2;
    border: 4px solid #5c2d20;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(54, 27, 18, 0.28);
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    font-style: italic;
    letter-spacing: 0.04em;
}

.topo p {
    margin: 14px 0 0;
}

#fundo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding: 1.5% 32px 38px;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 20px;
    background-color: #f6dce3d0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.carrossel-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    column-gap: 30px;
    row-gap: 72px;
    padding: 20px;
    background: transparent;
}

.polaroid-link {
    display: block;
    color: #4a241a;
    text-decoration: none;
    width: 100%;
}

.polaroid {
    width: 100%;
    padding: 9px 9px 12px;
    background: #fffaf2;
    box-shadow: 0 5px 16px rgba(54, 27, 18, 0.28);
    transition: transform 0.25s ease;
}

.polaroid-link:nth-child(even) .polaroid {
    transform: rotate(3deg);
}

.polaroid-link:nth-child(odd) .polaroid {
    transform: rotate(-3deg);
}

.polaroid-link:hover .polaroid {
    transform: scale(1.06) rotate(0);
}

.polaroid img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 2px;
}

.polaroid p {
    margin: 12px 0 0;
    color: #4a241a;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.bloco {
    width: min(920px, 100%);
    padding: 28px 24px;
    color: #4a241a;
    background: rgba(255, 250, 242, 0.94);
    border: 1px solid rgba(92, 45, 32, 0.18);
    border-radius: 14px;
}

.bloco h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 1.6rem;
}

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

.card {
    text-align: center;
}

.card h3 {
    margin: 8px 0 6px;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    line-height: 1.55;
}

.icone {
    display: block;
    font-size: 2.2rem;
    line-height: 1.2;
}

.passo-numero {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    color: #fffaf2;
    background: #713c2b;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

.contato {
    text-align: center;
}

.contato p {
    margin: 0 0 14px;
    line-height: 1.5;
}

.contato .copyright {
    margin: 22px 0 0;
    font-size: 0.85rem;
    opacity: 0.75;
}

.botao {
    display: inline-block;
    padding: 13px 22px;
    color: #fffaf2;
    background: #713c2b;
    border-radius: 7px;
    font-weight: bold;
    text-decoration: none;
}

.botao:hover {
    background: #54271d;
}

@media (max-width: 600px) {
    body {
        padding: 12px;
    }

    .titulo {
        padding: 8px 24px 10px;
        font-size: 2.4rem;
    }

    #fundo {
        gap: 28px;
        padding: 30px 12px 24px;
    }

    .carrossel-container {
        column-gap: 22px;
        row-gap: 48px;
    }

    .polaroid-link {
        grid-column: span 2;
    }

    .polaroid img {
        height: 130px;
    }

    .bloco {
        padding: 22px 16px;
    }
}


.footer-section {
    display: flex;
    flex-direction: column;  
    align-items: center;    
    gap: 25px;               
    padding: 30px 0;
}


.footer-links {
    display: flex;
    justify-content: center; 
    gap: 30px;               
}


.footer-links a {
    text-decoration: none;
    color: #0a0a0a; 
    text-shadow: 0 0 3px #f8f8f8;            
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007BFF;          
}

/* Container dos ícones */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;              
}


.icon-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.icon-link:hover img {
    transform: scale(1.15);
}
