/* =======================================
   Variáveis e Reset
   ======================================= */
:root {
    --primary-color: #f1c40f;
    /* Amarelo Industrial */
    --primary-hover: #f39c12;
    --dark-blue: #0b1a30;
    --dark-blue-light: #162a4a;
    --gray-light: #f4f5f7;
    --gray: #6c7a89;
    --gray-dark: #34495e;
    --white: #ffffff;
    --text-color: #2c3e50;
    --danger: #e74c3c;
    --success: #2ecc71;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Layout e Utilitários */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

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

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

.bg-dark h2,
.bg-dark p,
.bg-dark h4 {
    color: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

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

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('fundacao05.jpg') center/cover no-repeat;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 26, 48, 0.9) 0%, rgba(11, 26, 48, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.engineer-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
}

/* Serviços e Cards em Grid */
.services-grid,
.projects-grid,
.process-steps,
.testimonials-grid {
    display: grid;
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-card,
.project-card,
.testimonial-card,
.step {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--dark-blue);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--dark-blue);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
}

/* Seção de Diferenciais */
.differentials-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.differentials-text {
    flex: 1;
}

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

.differentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.differentials-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

/* Projetos */
.project-card {
    padding: 0;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

/* Depoimentos */
.testimonial-card {
    background-color: var(--dark-blue-light);
    border-top: 5px solid var(--primary-color);
    padding: 40px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Formulário de Contato */
.contact-wrapper {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

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

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.input-error {
    border-color: var(--danger) !important;
}

/* Footer */
.footer {
    background-color: #050d18;
    color: var(--white);
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col a {
    color: var(--white);
}

/* Responsividade */
@media (max-width: 768px) {
    .d-none-mobile {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .differentials-content {
        flex-direction: column;
    }
}