* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Flex', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

.contact-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    box-sizing: border-box;
    gap: 0;
    margin-top: -9px; /* Novo: move o botão para cima */
}

.contact-btn img {
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.whatsapp-btn img {
    margin-right: 0;
    margin-left: -7px;
    margin-top: 0;
    position: relative;
    top: -1px; /* Levemente mais para cima */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-btn,
.secondary-btn {
    min-width: 210px;      /* largura mínima igual para ambos */
    height: 48px;          /* altura fixa igual para ambos */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;       /* fonte igual para ambos */
    box-sizing: border-box;
    padding: 0 30px;       /* padding horizontal igual */
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btns .primary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-btns .primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-btns .secondary-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
}

.hero-btns .secondary-btn:hover {
    background-color: var(--accent-dark);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title .accent-bar {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 30px 30px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, min-height 0.4s cubic-bezier(.68,-0.55,.27,1.55), padding-top 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    min-height: unset;
    padding-top: 0; /* Fica rente ao texto */
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Service Icon Animation */
.service-icon {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s cubic-bezier(.68,-0.55,.27,1.55), transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), margin-bottom 0.3s;
    will-change: opacity, transform;
    width: 80px;
    height: 80px;
    margin: 0 auto 0; /* Sem espaço inferior quando oculto */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 182, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* MOBILE: efeito pop/foco central */
@media (hover: none) and (pointer: coarse) {
    .service-icon {
        opacity: 0;
        transform: scale(0.7);
        pointer-events: none;
    }
    .service-card.icon-visible .service-icon {
        opacity: 1;
        transform: scale(1);
        margin-bottom: 20px;
        pointer-events: auto;
    }
    .service-card {
        padding-top: 0;
        min-height: unset;
    }
    .service-card.icon-visible {
        padding-top: 50px;
        min-height: 260px;
    }
    .service-card:hover .service-icon,
    .service-card:hover {
        /* Não faz nada, só .icon-visible ativa */
    }
}

/* DESKTOP: ícone sempre visível, sem efeito pop */
@media (hover: hover) and (pointer: fine) {
    .service-icon {
        opacity: 1 !important;
        transform: scale(1) !important;
        margin-bottom: 20px;
        pointer-events: auto;
        transition: none !important;
    }
    .service-card {
        padding-top: 50px !important;
        min-height: 260px !important;
    }
    .service-card:hover .service-icon,
    .service-card.icon-visible .service-icon {
        /* Não faz nada extra */
    }
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background-color: var(--white);
}

.clients-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.client-group {
    flex: 1;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.client-group:hover {
    transform: scale(1.03);
}

.client-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-dark);
    border-radius: 50%;
}

.client-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--accent);
}

.client-group h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.client-group p {
    font-size: 15px;
    color: var(--dark-gray);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px; /* Aumentado para 40px */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .clients-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title h3 {
        font-size: 28px;
    }
}

.primary-btn.whatsapp-btn {
    background-color: var(--accent) !important;
    color: var(--primary-dark) !important;
    border: none !important;
}

.primary-btn.whatsapp-btn:hover {
    background-color: var(--accent-dark) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--accent);
}
