/* -------------------
   VARIÁVEIS E ESTILOS GERAIS
   ------------------- */
:root {
    --primary-color: #0693e3;
    --dark-blue: #0f1d4a;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px; /* Espaço para o header fixo */
}

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

section {
    padding: 60px 0;
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.sub-heading {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
/* -------------------
   HEADER E NAVEGAÇÃO
   ------------------- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo img { max-width: 200px; }

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

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover { background-color: #007bbd; }
.mobile-menu-toggle { display: none; }

/* -------------------
   SEÇÃO HERO
   ------------------- */
.hero-section {
    padding: 0;
    height: calc(100vh - 80px) !important; /* Altura da tela menos o header */
}
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: calc(100vh - 80px); 
    color: var(--white);
    text-align: center;
}
.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
}
.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.btn-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn-hero:hover { background-color: #007bbd; }
.swiper-button-next, .swiper-button-prev { color: var(--white); }

/* -------------------
   SEÇÃO SOBRE NÓS
   ------------------- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-image img { border-radius: 10px; }

/* -------------------
   SEÇÃO SERVIÇOS
   ------------------- */
.services-section { background-color: var(--light-gray); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-content { padding: 25px; }
.service-content h4 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
/* -------------------
   SEÇÃO CLIENTES
   ------------------- */
.client-subtitle { margin-bottom: 40px; }
.clients-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.clients-swiper .swiper-slide:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.clients-swiper img { max-width: 150px; }

/* -------------------
   SEÇÃO PROJETOS
   ------------------- */
.projects-section { background-color: var(--light-gray); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-item:hover img { transform: scale(1.1); }

/* -------------------
   SEÇÃO CONTATO
   ------------------- */
.contact-form-wrapper p { margin-bottom: 20px; color: #FFF;}
.contact-form-wrapper h2 { color: #FFF; }
.form-group { margin-bottom: 15px; }
.contact-form-wrapper input, 
.contact-form-wrapper select, 
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
}
.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit:hover { background-color: #007bbd; }
.contact-map iframe { border-radius: 10px; }

/* -------------------
   RODAPÉ
   ------------------- */
.main-footer {
    background-color: var(--dark-blue);
    color: #a9b3d0;
    padding-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2e3a5f;
}
.footer-column h6 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer-logo { max-width: 220px; margin-bottom: 15px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-column address a { 
    color: #a9b3d0;
    transition: color 0.3s ease;
}
.footer-links a:hover, .footer-column address a:hover { color: var(--white); }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* -------------------
   RESPONSIVIDADE (TABLET E MOBILE)
   ------------------- */
@media (max-width: 992px) {
    .main-heading { font-size: 2rem; }
    .content-grid { grid-template-columns: 1fr; }
    .about-text { text-align: center; order: 2; }
    .about-image { order: 1; margin-bottom: 30px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }
    .desktop-only { display: none; }
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--dark-blue);
        cursor: pointer;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px; /* Altura do header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    .main-nav.active { display: block; }
    .nav-links { flex-direction: column; }
    .nav-links li { margin: 15px 0; }
    
    .hero-content h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}/* -------------------
   BOTÃO FLUTUANTE WHATSAPP
   ------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}/* ----------------------------------------------------
   AJUSTES PARA TELAS MUITO GRANDES (WIDESCREEN / 4K)
   ---------------------------------------------------- */
@media (min-width: 1920px) {

    /* 1. Aumenta a largura máxima do conteúdo principal */
    /* Alterado de max-width fixo para uma largura fluida (80% da tela) */
    .container {
        max-width: 80%;
        padding: 0 40px; /* Adiciona um respiro nas laterais */
    }

    /* 2. Aumenta o tamanho da fonte do título no banner principal */
    .hero-content h2 {
        font-size: 3.5rem; /* O padrão era 2.8rem */
        line-height: 1.2;
    }

    /* 3. Aumenta o tamanho dos títulos das seções */
    .main-heading {
        font-size: 3rem; /* O padrão era 2.5rem */
    }

    /* 4. Ajusta o tamanho das fontes na seção "Sobre Nós" */
    .about-text p {
        font-size: 1.1rem;
    }
}

.contact-section{
    background-image: url(images/fundo-vetorial.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(images/fundo-vetorial.jpg);
    background-size: cover;
    background-position: center center;
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

.btn-directions {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #4285F4;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.success{
    color: #FFF;
}

.error{
    color: #FFF;
}
