@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@600&family=Lato:wght@400;700&display=swap');

:root {
    --color-primary: #4b320c;
    --color-secondary: #E6B03E;
    --color-bg: #FFF8EB;
    --color-text: #563F2E
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-text)
}

main {
    flex: 1
}

.bg-primary {
    background-color: var(--color-primary) !important
}

.bg-primary-2 {
    background-color: #7A4E15 !important
}

.navbar .nav-link {
    color: #fff !important
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-secondary) !important;
    font-weight: 700
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.75rem, 6vw, 3.5rem);
    color: #5b4016;
    margin: .5rem 0 0;
    font-weight: 400
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: #7a5b1b;
    margin-bottom: .8rem;
    font-weight: 600
}

p,
.descricao {
    font-family: 'Lato', Arial, sans-serif;
    font-size: clamp(.75rem, 2vw, 1.13rem);
    line-height: 1.7;
    color: #433510;
    margin-bottom: 1rem
}

.hero {
    background: linear-gradient(0deg, #e4d5b4 30%, #FFF8EB 80%);
    text-align: center;
    min-height: 360px;
    padding: 110px 0 60px
}

/* .btn {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    border-radius: 8px
} */

.img_index {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(75, 50, 12, .09)
}

@media (max-width:700px) {
    .img_index {
        height: 220px;
        max-width: 98vw
    }

    .hero {
        min-height: 120px;
        padding: 30px 0 15px
    }
}

/* Fade-in seguro: só invisível se JS estiver ativo */
.fade-in {
    opacity: 1;
    transform: none;
    transition: opacity .8s, transform .8s
}

.js .fade-in {
    opacity: 0;
    transform: translateY(30px)
}

.js .fade-in.visible {
    opacity: 1;
    transform: none
}

/* Moldura consistente do carrossel */
.carousel-ratio {
    --bs-aspect-ratio: 56.25%;
    max-height: 560px;
}

/* 16:9 */
@media (min-width:992px) {
    .carousel-ratio {
        --bs-aspect-ratio: 42.857%;
    }
}

/* ~21:9 */
@media (max-width:576px) {
    .carousel-ratio {
        --bs-aspect-ratio: 62.5%;
        max-height: 320px;
    }
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Grid de parceiros: logo com moldura consistente e fundo claro */
.sponsor-logo-wrap {
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.sponsor-logo {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* mantém área consistente */
    object-fit: contain;
    /* sem distorcer a marca */
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.sponsor-logo.placeholder {
    aspect-ratio: 4/3;
    background: #f8f9fa;
    border: 1px dashed #ddd;
}

/* Evita distorção e padroniza thumbs */
.object-fit-cover {
    object-fit: cover;
}

/* Botões padronizados */
.btn-rounded {
    border-radius: 10px;
    padding: .6rem 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

/* WhatsApp */
.btn-wa {
    background-color: #25D366;
    border: 2px solid #25D366;
    color: #fff;
}

.btn-wa:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: #fff;
}

.btn-wa-outline {
    background-color: transparent;
    border: 2px solid #25D366;
    color: #25D366;
}

.btn-wa-outline:hover {
    background-color: #25D366;
    color: #fff;
}

/* CTA (marrom do tema) */
.btn-cta {
    border: 2px solid #5b4016;
    color: #5b4016;
}

.btn-cta:hover {
    background-color: #7a5b1b;
    border-color: #7a5b1b;
    color: #fff;
}

.card-body {
    background-color: #fdf9f2;
}

/* Capa dos cards de eventos — altura fixa e corte elegante */
.event-card-img {
    width: 100%;
    height: 180px;
    /* mobile */
    object-fit: cover;
    /* preenche cortando sem distorcer */
    display: block;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

@media (min-width: 768px) {
    .event-card-img {
        height: 220px;
    }
}

/* md */
@media (min-width: 1200px) {
    .event-card-img {
        height: 260px;
    }
}

/* xl */