/* =========================================
   CONSTRUMONT - Estilos Principais (index)
   ========================================= */

/* --- VARIÁVEIS E RESET --- */
:root {
    /* Paleta da Marca */
    --blue-primary: #004AAC;
    --blue-light: #0070B7;
    --white: #FFFFFF;

    /* Paleta Complementar Industrial */
    --safety-orange: #FF6B00;
    /* Contraste para CTAs */
    --concrete-light: #F4F5F7;
    --concrete-dark: #2A2F35;
    --steel-gray: #4A5568;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Efeitos */
    --shadow-hard: 4px 4px 0px rgba(0, 0, 0, 0.15);
    --shadow-hover: 6px 6px 0px rgba(0, 74, 172, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background-color: var(--concrete-light);
    color: var(--concrete-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Textura sutil de fundo estilo concreto/ruído */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- UTILITÁRIOS --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: var(--white);
    box-shadow: var(--shadow-hard);
}

.btn-primary:hover {
    background-color: var(--blue-light);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--safety-orange);
    color: var(--white);
    box-shadow: var(--shadow-hard);
}

.btn-accent:hover {
    background-color: #ff8533;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2.5rem;
    color: var(--blue-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background-color: var(--safety-orange);
    margin-top: 8px;
}

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

/* --- HEADER --- */
header {
    height: var(--header-height);
    background-color: var(--white);
    border-bottom: 4px solid var(--blue-primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--concrete-dark);
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue-primary);
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    min-height: 600px;
    margin-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--concrete-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(0, 74, 172, 0.85), rgba(42, 47, 53, 0.6)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Faixa de segurança decorativa */
.safety-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(45deg,
            var(--safety-orange),
            var(--safety-orange) 20px,
            #000 20px,
            #000 40px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
}

.hero-tagline {
    display: inline-block;
    background-color: var(--safety-orange);
    color: #000;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: slideInLeft 0.8s forwards 0.2s;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.4s;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.6s;
    border-left: 4px solid var(--safety-orange);
    padding-left: 20px;
}

.hero-btns {
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.8s;
    display: flex;
    gap: 16px;
}

/* --- ESTATÍSTICAS / TRUST BAR --- */
.trust-bar {
    background-color: var(--blue-primary);
    color: var(--white);
    padding: 40px 0;
    position: relative;
    z-index: 2;
    margin-top: -60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--safety-orange);
    margin-bottom: 8px;
}

.stat-item p {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* --- PRODUTOS --- */
.products-section {
    background-color: var(--concrete-light);
    background-image:
        linear-gradient(rgba(0, 74, 172, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 74, 172, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.product-card {
    background-color: var(--white);
    border: 1px solid #ddd;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--blue-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--blue-primary);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content {
    padding: 32px 24px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--concrete-dark);
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--steel-gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.card-specs {
    border-top: 1px solid #eee;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-link {
    color: var(--blue-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- INSTITUCIONAL (MVV) --- */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mvv-card {
    background: var(--concrete-light);
    padding: 30px;
    border-left: 4px solid var(--safety-orange);
    transition: var(--transition);
}

.mvv-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-hard);
    transform: translateY(-5px);
}

.mvv-icon {
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.mvv-card h4 {
    color: var(--concrete-dark);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* --- SOBRE / DIFERENCIAIS --- */
.about-section {
    background-color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-image {
    background-image: url('../img/porque.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 74, 172, 0.3);
}

.about-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-list {
    margin-top: 32px;
    display: grid;
    gap: 24px;
}

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

.feature-icon {
    background-color: rgba(0, 74, 172, 0.1);
    color: var(--blue-primary);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--steel-gray);
}

/* --- CTA FINAL --- */
.cta-section {
    background-color: var(--blue-primary);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, #000 10px, #000 20px);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* --- FOOTER --- */
/* --- FOOTER: CTA BAR --- */
.footer-top {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
    padding: 0;
}

.footer-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    gap: 24px;
}

.footer-cta-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* --- FOOTER: MAIN --- */
.footer-main {
    background-color: var(--concrete-dark);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* --- FOOTER: BRAND --- */
.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
    color: #ccc;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--safety-orange);
    border-color: var(--safety-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* --- FOOTER: COLUMNS --- */
.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--safety-orange);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.footer-col ul li a i {
    color: var(--safety-orange);
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col ul li a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* --- FOOTER: CONTACT LIST --- */
.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px !important;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--safety-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list li div span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    margin-bottom: 2px;
}

.footer-contact-list li div a {
    display: block !important;
    padding-left: 0 !important;
}

/* --- FOOTER: BOTTOM --- */
.footer-bottom {
    background-color: #1a1e24;
    padding: 20px 0;
}

.copyright-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.82rem;
}

.copyright-bar .credit a {
    color: var(--safety-orange);
    font-weight: 600;
    transition: var(--transition);
}

.copyright-bar .credit a:hover {
    color: var(--white);
}

/* --- ANIMAÇÕES --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* REVEAL ON SCROLL CLASS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
        order: -1;
    }

    .about-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

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

    .hero-content {
        padding: 0 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-bar {
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-cta-bar {
        flex-direction: column;
        text-align: center;
    }

    .copyright-bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    nav ul {
        display: none;
    }

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

    .header-cta {
        display: none;
    }

    .logo-img {
        height: 50px;
    }
}

/* --- MOBILE NAV PANEL --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-nav-header .logo-img {
    height: 45px;
}

.mobile-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.mobile-nav-links li a {
    display: block;
    padding: 14px 24px;
    color: var(--concrete-dark);
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    background-color: rgba(0, 74, 172, 0.05);
    color: var(--blue-primary);
    border-left-color: var(--blue-primary);
}

.mobile-nav-cta {
    margin: 0 20px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}