/* ==========================================================================
   MGV BLOCOS E ALAMBRADOS - FOLHA DE ESTILOS PERSONALIZADA
   Controle visual completo: cores, tipografia, bordas, sombras e opacidades
   ========================================================================== */

:root {
    /* Paleta Institucional (Concreto Industrial + Aço + Verde Alambrado/WhatsApp + Âmbar Selo) */
    --cor-primaria: #1b2631;         /* Grafite / Aço escuro */
    --cor-secundaria: #2c3e50;       /* Cinza concreto profundo */
    --cor-destaque: #d96b27;         /* Terracota / Tijolo industrial */
    --cor-destaque-hover: #b85519;
    --cor-whatsapp: #25d366;
    --cor-whatsapp-hover: #1ebe5d;
    --cor-ouro-premio: #c8962e;

    /* Fundos e Textos */
    --bg-claro: #f4f6f8;
    --bg-branco: #ffffff;
    --texto-principal: #1e272e;
    --texto-suave: #576574;
    --borda-sutil: #dfe4ea;

    /* Controle de Opacidade das Seções e Imagens */
    --opacidade-hero-overlay: 0.76;        /* Controla escurecimento sobre home.webp */
    --opacidade-hero-faixa: 0.92;          /* Controla opacidade da faixa de destaques no Hero */
    --opacidade-meio-overlay: 0.80;        /* Controla escurecimento sobre meio.webp */
    --opacidade-logotipo-meio: 1;          /* Controla opacidade de logotipo.webp no meio */

    /* Dimensões de Logos */
    --altura-logo-topo: 54px;
    --largura-max-logotipo-meio: 320px;
    --altura-logo-rodape: 52px;

    /* Tipografia */
    --fonte-titulo: 'Barlow Condensed', sans-serif;
    --fonte-corpo: 'Plus Jakarta Sans', sans-serif;

    /* Bordas e Sombras */
    --radius-card: 14px;
    --radius-btn: 8px;
    --sombra-card: 0 12px 30px rgba(27, 38, 49, 0.08);
    --sombra-card-hover: 0 18px 40px rgba(27, 38, 49, 0.15);
}

/* Reset e Rolagem Suave */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: var(--fonte-corpo);
    color: var(--texto-principal);
    background-color: var(--bg-branco);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
    font-family: var(--fonte-titulo);
    letter-spacing: 0.01em;
}

/* ==========================================================================
   3. MENU FIXO NO TOPO
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--borda-sutil);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 1030;
}

.site-header.scrolled {
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.header-logo {
    height: var(--altura-logo-topo);
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.header-logo:hover {
    transform: scale(1.03);
}

.nav-link-custom {
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--cor-primaria) !important;
    padding: 0.55rem 0.9rem !important;
    border-radius: 6px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--cor-destaque) !important;
    background-color: rgba(217, 107, 39, 0.08);
}

.btn-whatsapp-top {
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-btn);
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
    transition: all 0.25s ease;
}

.btn-whatsapp-top:hover {
    background-color: var(--cor-whatsapp-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.42);
}

.custom-toggler {
    border: 1px solid var(--borda-sutil);
    padding: 0.45rem 0.65rem;
}

/* ==========================================================================
   6. TOPO (HERO) - HOME.WEBP + FAIXA DE DESTAQUES
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 92vh;
    padding-top: 135px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url('../../img/home.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(17, 24, 32, 0.92) 0%, rgba(27, 38, 49, 0.78) 60%, rgba(27, 38, 49, 0.55) 100%);
    opacity: var(--opacidade-hero-overlay);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(200, 150, 46, 0.22);
    border: 1px solid rgba(200, 150, 46, 0.65);
    color: #ffd980;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.3rem, 4.8vw, 3.85rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.12rem;
    color: #e6ecf2;
    max-width: 680px;
    margin-bottom: 2rem;
}

.btn-primary-mgv {
    background-color: var(--cor-destaque);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-btn);
    border: none;
    box-shadow: 0 8px 22px rgba(217, 107, 39, 0.35);
    transition: all 0.25s ease;
}

.btn-primary-mgv:hover {
    background-color: var(--cor-destaque-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(217, 107, 39, 0.45);
}

.btn-whatsapp-hero {
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-btn);
    border: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
    transition: all 0.25s ease;
}

.btn-whatsapp-hero:hover {
    background-color: var(--cor-whatsapp-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Faixa de Destaques no Rodapé do Hero */
.hero-highlights-bar {
    position: relative;
    z-index: 2;
    margin-top: 4rem;
    padding: 1.5rem 0;
    background-color: rgba(20, 29, 38, var(--opacidade-hero-faixa));
    border-top: 3px solid var(--cor-destaque);
    backdrop-filter: blur(6px);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background-color: rgba(217, 107, 39, 0.18);
    border: 1px solid rgba(217, 107, 39, 0.45);
    color: #ff9c5e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.highlight-item strong {
    display: block;
    font-family: var(--fonte-titulo);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.highlight-item span {
    font-size: 0.88rem;
    color: #cbd5e1;
}

/* ==========================================================================
   SEÇÕES GERAIS E CARDS DE SERVIÇOS
   ========================================================================== */
.section-padding {
    padding: 5.5rem 0;
}

.bg-surface {
    background-color: var(--bg-claro);
}

.section-header {
    max-width: 720px;
}

.section-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cor-destaque);
    background-color: rgba(217, 107, 39, 0.1);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--cor-primaria);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--texto-suave);
}

.service-card {
    background-color: var(--bg-branco);
    border: 1px solid var(--borda-sutil);
    border-top: 4px solid var(--cor-primaria);
    border-radius: var(--radius-card);
    padding: 2.15rem 1.85rem;
    box-shadow: var(--sombra-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--sombra-card-hover);
    border-top-color: var(--cor-destaque);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(27, 38, 49, 0.06);
    color: var(--cor-destaque);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.35rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card-icon {
    background-color: var(--cor-destaque);
    color: #ffffff;
}

.service-card-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--cor-primaria);
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.service-card-text {
    color: var(--texto-suave);
    font-size: 0.96rem;
    margin-bottom: 1.25rem;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem 0;
}

.service-card-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--texto-principal);
    margin-bottom: 0.5rem;
}

.service-card-list li i {
    color: var(--cor-destaque);
    font-size: 1rem;
}

.service-card-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--cor-primaria);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s ease;
}

.service-card-link:hover {
    color: var(--cor-destaque);
}

/* ==========================================================================
   7. MEIO (PARALLAX COM MEIO.WEBP E LOGOTIPO.WEBP)
   ========================================================================== */
.parallax-middle-section {
    position: relative;
    padding: 6rem 0;
    background-image: url('../../img/meio.webp');
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 26, 35, 0.92) 0%, rgba(27, 38, 49, 0.82) 100%);
    opacity: var(--opacidade-meio-overlay);
    z-index: 1;
}

.parallax-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff9c5e;
    margin-bottom: 0.75rem;
}

.parallax-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 1.15rem;
}

.parallax-lead {
    font-size: 1.08rem;
    color: #e2e8f0;
    max-width: 630px;
}

.btn-outline-light-mgv {
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-btn);
    transition: all 0.25s ease;
}

.btn-outline-light-mgv:hover {
    background-color: #ffffff;
    color: var(--cor-primaria);
}

.middle-logo-box {
    display: inline-block;
    padding: 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.middle-logotipo {
    max-width: var(--largura-max-logotipo-meio);
    width: 100%;
    height: auto;
    opacity: var(--opacidade-logotipo-meio);
    transition: transform 0.3s ease;
}

.middle-logotipo:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   SEÇÃO PREMIAÇÃO REAL PREMIUM 2026
   ========================================================================== */
.award-section {
    background-color: var(--bg-branco);
}

.award-card {
    background: linear-gradient(135deg, #fdfbf7 0%, #f5efe2 100%);
    border: 1px solid #e6d5b8;
    border-left: 6px solid var(--cor-ouro-premio);
    border-radius: 16px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 14px 35px rgba(200, 150, 46, 0.12);
}

.award-seal-badge {
    background: linear-gradient(145deg, #1b2631 0%, #2c3e50 100%);
    color: #ffffff;
    border: 3px solid var(--cor-ouro-premio);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(27, 38, 49, 0.2);
}

.award-trophy-icon {
    font-size: 2.8rem;
    color: #f3c65f;
    display: block;
    margin-bottom: 0.65rem;
}

.award-year {
    display: inline-block;
    background-color: var(--cor-ouro-premio);
    color: #1b2631;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.65rem;
}

.award-seal-badge strong {
    display: block;
    font-family: var(--fonte-titulo);
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.award-seal-badge small {
    color: #dbe4ee;
    font-size: 0.85rem;
}

.award-text {
    font-size: 1.06rem;
    color: var(--texto-principal);
}

.award-subtext {
    font-size: 0.96rem;
    color: var(--texto-suave);
}

/* ==========================================================================
   8. CONTATO E MAPA EM LARGURA TOTAL
   ========================================================================== */
.contact-section {
    background-color: var(--bg-claro);
    padding-bottom: 0;
}

.contact-info-box,
.contact-form-box {
    background-color: var(--bg-branco);
    border: 1px solid var(--borda-sutil);
    border-radius: var(--radius-card);
    padding: 2.25rem;
    box-shadow: var(--sombra-card);
}

.contact-info-box {
    background: linear-gradient(165deg, var(--cor-primaria) 0%, #131c24 100%);
    color: #ffffff;
    border: none;
}

.contact-box-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.contact-info-box .contact-box-subtitle {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.contact-form-box .contact-box-subtitle {
    color: var(--texto-suave);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background-color: rgba(217, 107, 39, 0.2);
    color: #ff9c5e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.detail-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 600;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
}

a.detail-value:hover {
    color: #ff9c5e;
}

.btn-whatsapp-full {
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    font-weight: 700;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-btn);
    border: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
}

.btn-whatsapp-full:hover {
    background-color: var(--cor-whatsapp-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.custom-input {
    border: 1px solid #ced6e0;
    border-radius: 8px;
    padding: 0.72rem 0.95rem;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-input:focus {
    border-color: var(--cor-destaque);
    box-shadow: 0 0 0 0.2rem rgba(217, 107, 39, 0.18);
}

.map-full-wrapper {
    width: 100%;
    line-height: 0;
    border-top: 4px solid var(--cor-destaque);
}

.map-full-wrapper iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ==========================================================================
   9. RODAPÉ + LOGO BRANCO VIA CSS + BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.site-footer {
    background-color: #111820;
    color: #cbd5e1;
    padding: 4rem 0 1.75rem 0;
    font-size: 0.94rem;
}

/* Filtro CSS para deixar logo.webp em branco no rodapé */
.footer-logo-branco {
    height: var(--altura-logo-rodape);
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.footer-brand-desc {
    color: #94a3b8;
    font-size: 0.92rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
    color: #ff9c5e;
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.footer-contact-list i {
    color: var(--cor-destaque);
    margin-top: 3px;
}

.footer-contact-list a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-contact-list a:hover {
    color: #ffffff;
}

.footer-bottom {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    background-color: var(--cor-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 1040;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float:hover {
    background-color: var(--cor-whatsapp-hover);
    color: #ffffff;
    transform: scale(1.08);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA SUAVE AO ROLAR
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Ajustes Responsivos */
@media (max-width: 991.98px) {
    .parallax-middle-section {
        background-attachment: scroll;
    }

    .hero-section {
        min-height: auto;
        padding-top: 115px;
    }
}
