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

:root {
    --bg-dark: #151210;
    --bg-card: #1c1815;
    --accent: #d4af37;
    --accent-hover: #bda030;
    --text-light: #f3e9dc;
    --text-muted: #c6b5a2;
    --border-color: #2d2723;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(21, 18, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    background: var(--accent);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 6px 12px;
    border-radius: 4px;
}

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

.brand-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active-link {
    color: var(--accent);
}

.btn-tech {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-tech:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    z-index: 999;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, rgba(21, 18, 16, 0.5) 0%, rgba(21, 18, 16, 1) 100%), url('images/obra-1.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 18, 16, 0.75);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.tech-tag {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    color: var(--text-light);
}

.highlight-text {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(243, 233, 220, 0.1);
    transform: translateY(-2px);
}

/* Info Section (Top Qualifier) */
.info-section {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

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

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-card i {
    font-size: 2.2rem;
    color: var(--accent);
}

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.about-info h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.owner-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.owner-name {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
}

.owner-role {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #110e0c;
    border-bottom: 1px solid var(--border-color);
}

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

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
}

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(21, 18, 16, 0.9) 0%, rgba(21, 18, 16, 0) 100%);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-title {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Blog Section on Homepage */
.blog-home {
    padding: 100px 0;
    background: #110e0c;
    border-bottom: 1px solid var(--border-color);
}

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

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

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

.blog-card-content {
    padding: 25px;
}

.blog-card-tag {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.blog-card-link:hover {
    text-decoration: underline;
}

/* Contact / Location Section */
.contact-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-top: 3px;
}

.contact-item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-light);
}

.contact-item-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item-desc a {
    color: inherit;
    text-decoration: none;
}

.contact-item-desc a:hover {
    color: var(--accent);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: #110e0c;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Botão Flutuante do WhatsApp (Obrigatório) */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

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

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Selo Flutuante MKTG Brasil (Obrigatório) */
.mktg-branding-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(19, 23, 31, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.mktg-branding-badge:hover {
    transform: translateY(-3px);
    background: rgba(23, 28, 38, 0.95);
    border-color: var(--accent);
}

.mktg-branding-badge img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

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

.badge-text .main-txt {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.badge-text .sub-txt {
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-box {
        order: -1;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btns a {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
