/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ============================================
   EFEITOS DE ANIMAÇÃO AO ROLAR
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.telefone-btn {
    background-color: #3498db;
    color: white;
}

.telefone-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.logo h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.logo i {
    color: #3498db;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

/* ============================================
   HERO SECTION COM CARROSSEL
   ============================================ */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 150px 5% 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ============================================
   ESTILOS DO CARROSSEL DE FOTOS
   ============================================ */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #f0f0f0;
    animation: fadeIn 0.8s ease-out;
}

.carousel-slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

/* Botões de navegação do carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Indicadores do carrossel (bolinhas) */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sobre */
.sobre {
    background-color: white;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-text {
    flex: 1;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.qualidades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.qualidade {
    text-align: center;
    padding: 25px 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.qualidade:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qualidade i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.qualidade h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.qualidade p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Serviços */
.servicos {
    background-color: #f8f9fa;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servico-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.servico-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.servico-card p {
    color: #7f8c8d;
}

/* Galeria */
.galeria {
    background-color: white;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.galeria-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.galeria-item:hover p {
    transform: translateY(0);
}

/* Contato */
.contato {
    background-color: #f8f9fa;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.contato-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contato-item i {
    font-size: 2rem;
    color: #3498db;
    margin-right: 20px;
    margin-top: 5px;
}

.contato-item h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contato-item p {
    color: #7f8c8d;
    margin-bottom: 10px;
}

.contato-item .btn {
    margin-top: 10px;
}

.aviso {
    font-size: 0.9rem !important;
    color: #e74c3c !important;
    font-style: italic;
    margin-top: 5px !important;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
}

.contato-footer {
    margin-top: 15px;
}

.contato-footer p {
    margin-bottom: 5px;
    color: #bdc3c7;
    font-size: 0.95rem;
}

.contato-footer i {
    margin-right: 8px;
    color: #3498db;
}

.footer-links h4, .footer-social h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #34495e;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.telefone-rodape {
    margin-top: 15px;
    color: #bdc3c7;
    font-size: 1.1rem;
}

.telefone-rodape i {
    margin-right: 10px;
    color: #3498db;
}

.horario-atendimento {
    margin-top: 10px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.horario-atendimento i {
    margin-right: 8px;
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Botão flutuante do WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s;
}

.float-whatsapp:hover {
    background-color: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .sobre-content {
        flex-direction: column;
    }
    
    /* Carrossel responsivo */
    .carousel-container {
        max-width: 450px;
        height: 350px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .slide-caption {
        font-size: 1rem;
        padding: 15px 10px 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contato-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contato-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
    
    /* CORREÇÃO PARA OS ÍCONES SOCIAIS NO MOBILE */
    .footer-social {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }
    
    .telefone-rodape {
        text-align: center;
        margin-top: 15px;
    }
    
    /* Centraliza tudo no footer no mobile */
    .footer-content {
        text-align: center;
    }
    
    .footer-links ul {
        padding: 0;
    }
    
    .footer-links li {
        display: block;
        text-align: center;
    }
    
    /* Carrossel responsivo para tablets */
    .carousel-container {
        max-width: 100%;
        height: 300px;
        margin: 0 auto;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero {
        padding: 120px 5% 80px;
    }
}

@media (max-width: 480px) {
    /* Carrossel responsivo para celulares */
    .carousel-container {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slide-caption {
        font-size: 0.9rem;
        padding: 10px 8px 8px;
    }
    
    /* Ajuste adicional para os ícones sociais em celulares */
    .social-icons {
        gap: 10px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Ajustes gerais para celulares */
    .hero {
        padding: 100px 5% 60px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .qualidades {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-item {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contato-footer i,
    .horario-atendimento i,
    .telefone-rodape i {
        margin-right: 5px;
    }
}
