/* Estilos Gerais */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #444;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-color); }

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    align-self: flex-start;
    margin-top: auto;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cabeçalhos de seção */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    height: 3px;
    width: 70px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img { height: 60px; }

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1535957998253-26ae1ef29506?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s 0.3s forwards;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s 0.6s forwards;
    opacity: 0;
}

/* Animações */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sobre Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Serviços Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cards de serviços */
.service-card {
    display: flex;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-content {
    flex: 1;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.service-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    right: 0;
    top: 0;
}

/* Ícones sobrepostos */
.icon-overlay-container {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
}

.icon-base {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.0rem;
    color: var(--primary-color);
}

.icon-overlay {
    position: absolute;
    top: 12%;
    right: 15%;
    font-size: 1.0rem;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 5px;
}

/* Carrossel de serviços */
.services-carousel {
    position: relative;
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.service-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/* Setas de navegação */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: var(--secondary-color);
}

.carousel-arrow:focus {
    outline: none;
}

.prev-arrow { left: -20px; }
.next-arrow { right: -20px; }

/* Indicadores do carrossel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
}

/* Clientes Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.client-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.client-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.clients-slider {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Contato Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Botão WhatsApp */
.whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn i {
    font-size: 20px;
    margin-right: 8px;
}

.whatsapp-btn span {
    font-size: 14px;
    white-space: nowrap;
}

.whatsapp-btn.compact {
    padding: 8px 12px;
    font-size: 14px;
    max-width: 220px;
}

.whatsapp-btn.compact i {
    font-size: 18px;
    margin-right: 6px;
}

.whatsapp-btn.compact span {
    font-size: 13px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content, .service-card { flex-direction: column; }
    .hero-content h1 { font-size: 2.5rem; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    
    .service-image {
        min-height: 200px;
        order: -1; /* Move a imagem para o topo em dispositivos móveis */
    }
    
    .service-content { padding: 20px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    nav ul {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        text-align: center;
        padding: 20px 0;
    }
    
    nav ul.active { left: 0; }
    nav ul li { margin: 15px 0; }
    
    .hero-content h1, .service-content h3 { font-size: 2rem; }
    .section-padding { padding: 60px 0; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
    
    .prev-arrow { left: -15px; }
    .next-arrow { right: -15px; }
}

@media (max-width: 576px) {
    .hero-content h1, .section-header h2 { font-size: 1.8rem; }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .client-item { height: 120px; }
    
    .carousel-arrow {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .service-slide { padding: 0 10px; }
    .service-image { min-height: 180px; }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-btn.compact {
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }
}
