body {
    background-color: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    scroll-padding-top: 110px;
}

/* BARRA SUPERIOR DE CONTATO */
.top-bar {
    background-color: #111;
    color: #ccc;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid #222;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* APENAS PARA LINKS CLICÁVEIS (E-MAIL) */
a.top-bar-item:hover {
    color: #FEF502;
}

/* TELEFONE (APENAS TEXTO, SEM EFEITO DE CLIQUE) */
.top-bar-text {
    cursor: default;
}

.top-bar-item i {
    color: #FEF502;
}

/* CONTAINER DA NAVBAR FIXA */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* MENU FIXO COM FUNDO PRETO */
.metal-menu {
    background-color: #000 !important;
    background-image: none !important;
    border-bottom: 3px solid #FEF502;
    padding: 10px 0;
}

/* LOGO */
.navbar-brand img {
    height: 120px !important;
    background-color: transparent;
}

/* REMOVER EFEITO DO LOGO */
.logo-animado {
    animation: none !important;
}

/* LINKS DO MENU */
.nav-link {
    color: #FEF502 !important;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-link:hover {
    color: #fff !important;
    transform: scale(1.12);
}

/* CONTAINER DA HOME */
#home {
    position: relative;
    padding-top: 130px !important;
}

/* CARROSSEL AJUSTADO */
.carousel-item img {
    height: 600px;
    object-fit: cover;
    opacity: 0.7;        /* TRANSPARÊNCIA */
    filter: blur(4px);   /* BLUR SUAVE */
}

/* TEXTOS DO CARROSSEL SEMPRE VISÍVEIS */
.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    pointer-events: none;
}

.carousel-text .btn {
    pointer-events: auto;
}

/* SOMBRA MAIS FORTE NO TEXTO DO CARROSSEL */
.carousel-text h1,
.carousel-text p {
    text-shadow: 6px 6px 18px rgba(0,0,0,1),
                 0px 0px 25px rgba(0,0,0,0.9),
                 0px 0px 40px rgba(0,0,0,0.8);
}

/* COR PERSONALIZADA PARA O TÍTULO DO CARROSSEL */
.text-amarelo-logo {
    color: #FEF502 !important;
}

/* INDICADORES DO CARROSSEL NO TOM DO LOGO */
.carousel-indicators [data-bs-target] {
    background-color: #FEF502 !important;
}

/* SETAS E INDICADORES DO CARROSSEL */
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
    z-index: 10 !important;
}

/* TÍTULOS (QUEM SOMOS, SERVIÇOS E CONTATO) */
.section-title {
    color: #FEF502 !important;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 900 !important; /* Fonte bem encorpada/grossa */
    letter-spacing: 1px; /* Espaçamento para dar presença */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25); /* Sombra preta leve */
}

/* EVITAR QUE O MENU FIXO CORTE OS TÍTULOS */
#home,
#quem-somos,
#servicos,
#contato {
    scroll-margin-top: 180px;
}

/* QUEM SOMOS */
.white-section {
    background-color: #fff;
    color: #000;
    padding: 100px 0;
}

/* CARDS DOS VALORES */
.card-valor {
    background-color: #f8f9fa;
    border: 2px solid #FEF502;
    border-radius: 8px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-valor:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(254, 245, 2, 0.35);
}

.card-valor h5 {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 8px;
    border-bottom: 2px solid #FEF502;
    padding-bottom: 4px;
    display: inline-block;
}

.card-valor p {
    color: #333;
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* SERVIÇOS COM TEXTURA METÁLICA ANIMADA */
.metal-bg {
    background: url("img/metal-texture.jpg");
    background-size: cover;
    background-position: center;
    animation: metalMove 12s linear infinite;
}

@keyframes metalMove {
    0% { background-position: 0 0; }
    100% { background-position: 400px 400px; }
}

.servicos-section {
    padding: 100px 0;
    color: #fff;
}

/* DIVISOR ANIMADO */
.section-divider {
    height: 6px;
    background: linear-gradient(90deg, #FEF502, #fff, #FEF502);
    animation: shine 3s infinite linear;
    margin: 40px 0;
}

@keyframes shine {
    0% { filter: brightness(0.6); }
    50% { filter: brightness(1.4); }
    100% { filter: brightness(0.6); }
}

/* CARDS DE SERVIÇOS */
.card-custom {
    background-color: #f8f9fa;
    color: #000;
    border: 2px solid #FEF502;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(254, 245, 2, 0.35);
}

.card-custom h4 {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 2px solid #FEF502;
    padding-bottom: 4px;
    display: inline-block;
}

.card-custom p,
.card-custom ul {
    color: #333;
    font-size: 0.92rem;
    line-height: 1.45;
}

.card-custom ul {
    padding-left: 20px;
    margin-bottom: 0;
}

/* CONTATO */
.contato-section {
    background-color: #fff;
    color: #000;
    padding: 100px 0;
}

/* FORMULÁRIO */
form {
    background-color: #fff !important;
    color: #000;
    border: 2px solid #FEF502;
}

/* BOTÃO ENVIAR AMARELO DO LOGO */
.btn-amarelo {
    background-color: #FEF502 !important;
    color: #000 !important;
    font-weight: 700;
    border: none;
}

.btn-amarelo:hover {
    background-color: #000 !important;
    color: #FEF502 !important;
}

/* MENSAGEM DE SUCESSO */
.msg-sucesso {
    background-color: #28a745;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BOTÃO WHATSAPP FLUTUANTE COM EFEITO */
.whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.5);
    border: 3px solid #fff;
    animation: pulse-whats 2s infinite;
    z-index: 9999;
}

.whatsapp-icon {
    width: 70%;
    height: 70%;
}

@keyframes pulse-whats {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

/* RODAPÉ */
.footer-custom {
    border-top: 3px solid #FEF502;
    padding: 20px 0;
    background-color: #000;
    color: #FEF502;
}

/* LOGO M2MSOFT MENOR */
.m2msoft-logo {
    height: 20px;
    transition: 0.3s;
}

.m2msoft-logo:hover {
    transform: scale(1.1);
}

/* ============================
   RESPONSIVIDADE REAL (OTIMIZADA PARA LEITURA NO CELULAR)
   ============================ */

/* CELULARES */
@media (max-width: 768px) {

    /* BARRA SUPERIOR */
    .top-bar-content {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-bar-item {
        font-size: 0.95rem;
    }

    #home {
        padding-top: 160px !important;
    }

    .navbar-brand img {
        height: 75px !important;
    }

    /* CARROSSEL */
    .carousel-item img {
        height: 420px !important;
    }

    .carousel-text {
        width: 92%;
    }

    .carousel-text h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }

    .carousel-text p {
        font-size: 1.1rem !important;
        margin-bottom: 15px;
    }

    .carousel-text .btn {
        padding: 10px 22px;
        font-size: 1rem;
    }

    /* TEXTOS DE QUEM SOMOS E SERVIÇOS */
    .white-section, 
    .servicos-section, 
    .contato-section {
        padding: 60px 0;
    }

    .fs-5 {
        font-size: 1.15rem !important;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    /* CARDS (VALORES E SERVIÇOS) */
    .card-custom, 
    .card-valor {
        padding: 24px 18px;
        margin-bottom: 15px;
    }

    .card-custom h4, 
    .card-valor h5 {
        font-size: 1.25rem;
    }

    .card-custom p, 
    .card-custom ul, 
    .card-valor p {
        font-size: 1.05rem;
        line-height: 1.55;
    }

    .card-custom ul {
        padding-left: 22px;
    }

    /* BOTÃO WHATSAPP */
    .whatsapp-flutuante {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 65%;
        height: 65%;
    }

    form {
        padding: 20px;
    }

    form input, 
    form textarea {
        font-size: 1rem !important;
    }
}

/* TABLETS */
@media (max-width: 992px) {

    .navbar-brand img {
        height: 100px !important;
    }

    .carousel-item img {
        height: 500px !important;
    }

    .carousel-text h1 {
        font-size: 2.2rem;
    }

    .carousel-text p {
        font-size: 1.25rem;
    }
}