/* Root Variables */
:root {
    --primary-color: #003366; /* Azul Escuro */
    --secondary-color: #FFD700; /* Amarelo/Dourado */
    --white: #FFFFFF;
    --light-gray: #F4F4F4;
    --gray: #666666;
    --dark-gray: #333333;
    --black: #111111;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--primary-color);
    padding: 80px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

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

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

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 5px;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #001a33 0%, #003366 40%, #004080 70%, #1a5c99 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns .btn {
    margin: 10px;
}

/* Diferenciais */
.diferenciais {
    padding: 80px 20px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diferencial-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

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

.diferencial-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diferencial-card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Sobre Nós */
.sobre-nos {
    padding: 80px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

.sobre-img .sobre-img-placeholder + img {
    display: none;
}

.sobre-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servico-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.servico-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.servico-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Galeria */
.galeria {
    padding: 80px 20px;
}

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

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover .overlay {
    opacity: 1;
}

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

.overlay span {
    color: var(--white);
    font-weight: 600;
    border: 2px solid var(--white);
    padding: 10px 20px;
}

/* Contato & Orçamento */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contato-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contato-info p {
    margin-bottom: 40px;
}

.whatsapp-list h4 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contato-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contato-card span {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    color: var(--dark-gray);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.w-100 {
    width: 100%;
}

/* FAQ */
.faq {
    padding: 80px 20px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-brand h2 {
    color: var(--white);
}

.footer-brand span {
    color: var(--secondary-color);
}

.footer-contacts p {
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* WhatsApp Floating */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition);
}

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

.whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.whatsapp-menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: var(--dark-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.whatsapp-menu a i {
    color: #25D366;
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-menu a:hover {
    background-color: var(--light-gray);
}

.whatsapp-menu.active {
    display: flex;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Sobre Img Placeholder */
.sobre-img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #003366, #004080);
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.sobre-img-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.sobre-img-placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Galeria Placeholders */
.galeria-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0fe, #ccdcf0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.galeria-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.galeria-placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.galeria-placeholder small {
    color: var(--gray);
    font-size: 0.85rem;
}

.galeria-placeholder.gp-2 {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.galeria-placeholder.gp-3 {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
}

.galeria-placeholder.gp-4 {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.galeria-placeholder.gp-5 {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.galeria-placeholder.gp-6 {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}

/* Responsive */
@media (max-width: 992px) {
    .sobre-grid, .contato-grid {
        grid-template-columns: 1fr;
    }
    .sobre-img {
        order: 2;
    }
    .sobre-text {
        order: 1;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .mobile-menu-icon {
        display: block;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand {
        margin-bottom: 30px;
    }
}
