/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho com imagem responsiva */
.main-header {
    width: 100%;
    background-color: #e2373d;
}

.header-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile First: Imagem mais quadrada para mobile */
.header-img {
    height: 250px;
    object-position: center center;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* Painéis */
.panel {
    padding: 60px 20px;
    border-bottom: 2px solid #e2373d;
}

.panel:nth-child(even) {
    background-color: #e2373d;
    color: #ffffff;
}

.panel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.panel p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Carrossel */
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 250px;
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    scroll-snap-align: start;
    text-align: center;
    flex-shrink: 0;
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #e2373d;
}

.card h3 {
    margin-bottom: 10px;
    color: #e2373d;
}

/* Botão fixo */
.floating-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2373d;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    border-style: solid;
    border-color: #ffffff;
    border-width: 1px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    z-index: 1000;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.floating-button:hover {
    background: #e2373d;
    transform: translateX(-50%) scale(1.05);
}

.destaque {
    color:#ffffff;
    font-weight: bold;
    font-size: large;
}

/* Responsividade */
@media (min-width: 768px) {
    /* Header para Desktop - Imagem mais larga */
    .header-img {
        height: 400px;
        object-position: center 30%;
    }
    
    .panel {
        padding: 80px 40px;
    }
    
    .carousel {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: unset;
    }
    
    .card {
        min-width: 200px;
        flex: 1;
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    /* Header para Telas Grandes */
    .header-img {
        height: 500px;
    }
    
    .panel h2 {
        font-size: 2.5rem;
    }
    
    .panel p {
        font-size: 1.2rem;
    }
    
    .floating-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

/* Efeito de carregamento suave para a imagem */
.header-img {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}