/* style.css - estilos extraídos de index.html */

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.bg-hero {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%), url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

@media (min-width: 1024px) {
    .bg-hero {
        background-attachment: fixed;
    }
}

/* Otimização do Carrossel */
.carousel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    scroll-snap-align: center; /* Centraliza no mobile */
    flex: 0 0 85%;
    min-width: 280px;
}

@media (min-width: 768px) {
    .carousel-card {
        scroll-snap-align: start;
        flex: 0 0 45%;
    }
}

@media (min-width: 1024px) {
    .carousel-card {
        flex: 0 0 32%;
    }
}

/* Correção para autofill do navegador (Chrome) - mantém fundo escuro e texto branco */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #111827 inset !important; /* bg-gray-900 */
    box-shadow: 0 0 0px 1000px #111827 inset !important;
}

/* Garante que foco também mantenha o fundo escuro */
input, textarea, select {
    background-color: #111827; /* bg-gray-900 */
    color: #ffffff;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12); /* leve foco laranja */
}

/* Ajustes visuais para o logo oficial */
.site-logo {
    background-color: #ffffff; /* fundo branco conforme screenshot */
}
.site-logo img {
    display: block;
    max-width: 44px;
    max-height: 44px;
}

@media (min-width: 1024px) {
    /* ser um pouco maior em telas desktop */
    .site-logo {
        width: 64px !important;
        height: 64px !important;
        padding: 6px !important;
    }
    .site-logo img {
        max-width: 52px;
        max-height: 52px;
    }
}

/* Zoom sutil para a logo - usando .site-logo */
.site-logo {
    transform: scale(1.06);
    transform-origin: center;
    transition: transform 180ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-logo:hover {
    transform: scale(1.12);
}

/* Inner wrapper that clips the image to a circle (no extra white fill) */
.site-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    overflow: hidden;
    /* background intentionally left transparent so the image can reach the border */
    display: block;
}

/* Ensure the image fills the inner circle and is cropped to circular shape */
.site-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* restored default centering */
    border-radius: 9999px; /* defensive: clip if parent doesn't */
    transform: scale(1.26); /* restored zoom interno */
    transition: transform 220ms ease;
    will-change: transform;
}

/* Aumenta um pouco mais o zoom interno no hover do contêiner */
.site-logo:hover .site-logo-img {
    transform: scale(1.38);
}

/* Slight visual tweak so the yellow border sits clearly around the white circle */
.site-logo {
    background-clip: padding-box;
}

