/* Variaveis de Cor e Estilo Premium */
:root {
    --primary: #25D366; /* WhatsApp Green */
    --primary-hover: #128C7E;
    --dark: #121212;
    --darker: #050505;
    --light: #ffffff;
    --gray-bg: #f8f9fa;
    --gray-border: #e5e7eb;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

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

.text-center { text-align: center; }
.text-white { color: var(--light); }
.bg-light { background-color: var(--light); }
.bg-gray { background-color: var(--gray-bg); }
.bg-dark { background-color: var(--dark); }
.bg-darker { background-color: var(--darker); }
.mb-4 { margin-bottom: 24px; }
.mt-5 { margin-top: 48px; }

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 2.5rem;
    color: var(--dark);
}

.bg-dark h2, .bg-darker h2 {
    color: var(--light);
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.bg-dark p, .bg-darker p {
    color: #9ca3af;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 24px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
    transition: color 0.3s;
}

.logo span {
    font-weight: 400;
}

header.scrolled .logo {
    color: var(--dark);
}

/* Botoes */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    border: 2px solid var(--light);
    color: var(--light);
}

.btn-outline.light {
    border-color: var(--light);
    color: var(--light);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--dark);
}

header.scrolled .btn-outline {
    border-color: var(--dark);
    color: var(--dark);
}

header.scrolled .btn-outline:hover {
    background-color: var(--dark);
    color: var(--light);
}

/* Pulsing effect */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

.hero-btn span {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-featured-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.pre-headline {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 24px;
}

.hero .sub-headline {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 40px;
}

/* Oportunidade */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid var(--gray-border);
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--dark);
}

/* Detalhes */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature-card {
    display: flex;
    align-items: center;
    background: var(--light);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gray-bg);
    border-radius: 10px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.image-wrapper img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Diario Obra */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Locallization */
.location-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.map-card {
    background: var(--light);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-border);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--gray-bg);
}

.map-container iframe {
    display: block;
}

.benefits-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background: var(--light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-border);
}

.benefit-item .icon {
    font-size: 2rem;
    margin-right: 20px;
    line-height: 1;
}

.benefit-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--dark);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border: 1px solid var(--gray-border);
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--light);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray-bg);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
footer {
    padding: 40px 0;
    background: #000;
    color: #666;
    font-size: 0.9rem;
}

/* Animations Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-3, .details-grid, .gallery-grid, .location-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .hero .sub-headline { font-size: 1.1rem; }
    h2 { font-size: 2rem; }
    
    .logo {
        font-size: 1.25rem;
    }
    
    header {
        padding: 16px 0;
    }

    .btn-outline, .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    header .btn-outline {
        padding: 6px 12px;
        font-size: 0.75rem;
        border: 1.5px solid var(--light);
    }

    .card {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .feature-card {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .feature-icon {
        margin-right: 0;
        margin-bottom: 8px;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .feature-text strong {
        font-size: 0.95rem;
    }
    .feature-text span {
        font-size: 0.75rem;
    }
}
