/* CSS Variables */
:root {
    --primary: #1B75BB;
    --primary-dark: #125890;
    --white: #FFFFFF;
    --black: #111111;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #F4F6F8;
    --border: #E0E0E0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--black);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--gray-light);
}

.bg-dark {
    background-color: var(--black);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-text:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--black);
    font-weight: 500;
    font-family: var(--font-heading);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 90px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Empresa */
.empresa-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.empresa-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.empresa-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.empresa-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.diferenciais-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--black);
}

.diferenciais-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Módulos */
.modulos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.modulo-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.modulo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.modulo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.modulo-placeholder {
    width: 100%;
    height: 200px;
    background-color: #E9ECEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #CED4DA;
}

.modulo-content {
    padding: 25px;
}

.modulo-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.modulo-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Vantagens */
.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.vantagem-item {
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.vantagem-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.vantagem-item .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.vantagem-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.vantagem-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Segmentos */
.segmentos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.segmento {
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.segmento:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Projetos & Serviços */
.projetos-servicos-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.servicos-sidebar h3, .projetos-gallery h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.servicos-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.servicos-list i {
    color: var(--primary);
    font-size: 0.8rem;
}

.gallery-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transition: var(--transition);
    font-family: var(--font-heading);
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

/* Contato */
.contato-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--gray);
}

.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 117, 187, 0.1);
}

/* Footer */
footer {
    background-color: #0d2c47;
    color: var(--white);
    padding: 40px 0 20px;
}

/* Float WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20BA56;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .empresa-container, .projetos-servicos-wrapper, .contato-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
