/* ============================================
   FS QUALIMETAL — Estilo principal
   Baseado no layout: azul marinho #1a3a70
   ============================================ */

:root {
    --navy: #1a3a70;
    --navy-dark: #122a55;
    --white: #ffffff;
    --gray-light: #f4f6f9;
    --gray-mid: #e8ecf2;
    --text-dark: #1a2a3a;
    --text-muted: #6b7a8d;
    --green-wpp: #25d366;
    --green-wpp-dark: #1da851;
}

* { box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background-color: var(--navy);
    padding: 12px 0;
    z-index: 1000;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    color: var(--white);
    font-size: 1.8rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px !important;
    transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--white) !important;
    border-bottom: 2px solid var(--white);
}

.navbar-toggler-dark {
    border-color: rgba(255,255,255,0.4);
}
.navbar-toggler-dark .navbar-toggler-icon {
    filter: invert(1);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    background: linear-gradient(
        to right,
        rgba(15, 35, 75, 0.92) 40%,
        rgba(15, 35, 75, 0.5) 70%,
        rgba(15, 35, 75, 0.15) 100%
    ),
    url('img/banner01.png') center center / cover no-repeat;
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-title {
    color: var(--white);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-sub {
    color: rgba(255,255,255,0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   POR QUE ESCOLHER
   ============================================ */
.why-section {
    background: var(--gray-light);
}

.why-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.6rem;
}

.why-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid var(--gray-mid);
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
}

.why-card:hover {
    box-shadow: 0 8px 24px rgba(26,58,112,0.12);
    transform: translateY(-3px);
}

.why-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--navy);
}

.why-card h5 {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   NOSSOS SERVIÇOS
   ============================================ */
.services-section {
    background: var(--white);
    border-top: 1px solid var(--gray-mid);
}

.services-title {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.5rem;
}

.service-card {
    padding: 24px 16px 20px;
    border-right: 1px solid var(--gray-mid);
    height: 100%;
    transition: background 0.2s;
}

.service-card:hover {
    background: var(--gray-light);
}

.col-lg:last-child .service-card {
    border-right: none;
}

.service-icon {
    margin-bottom: 12px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--navy);
}

.service-card h6 {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-link {
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--navy);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}

.service-link:hover {
    opacity: 0.7;
    color: var(--navy);
}

/* ============================================
   SEÇÕES DE FEATURE (REFORMAS + PINTURA)
   ============================================ */
.feature-section {
    background: var(--white);
}

.feature-section--light {
    background: var(--gray-light);
}

.feature-title {
    font-weight: 900;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 16px;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Carrossel */
.feature-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.rounded-carousel {
    border-radius: 12px;
    overflow: hidden;
}

.rounded-carousel .carousel-item img {
    height: 380px;
    object-fit: cover;
    width: 100%;
}

/* Botões do carrossel personalizados */
.carousel-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    color: var(--navy);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.carousel-btn-icon:hover {
    background: var(--white);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
}

/* ============================================
   SOBRE A EMPRESA
   ============================================ */
.about-section {
    overflow: hidden;
}

.about-text-col {
    background: var(--white);
    padding: 0;
}

.about-content {
    padding: 60px 50px;
}

.about-content h2 {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-img-col {
    position: relative;
    min-height: 320px;
}

.about-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

/* Badge WhatsApp flutuante na seção Sobre */
.whatsapp-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--green-wpp);
    border-radius: 16px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.3s, background 0.2s;
    z-index: 10;
}

.whatsapp-badge:hover {
    background: var(--green-wpp-dark);
    transform: scale(1.04);
}

.wpp-icon {
    font-size: 2.8rem;
    color: var(--white);
}

.whatsapp-badge span {
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
    background: var(--navy);
    padding: 50px 0;
}

.cta-title {
    color: var(--white);
    font-weight: 900;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    line-height: 1.25;
    margin-bottom: 0;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    background: var(--green-wpp);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.btn-cta-whatsapp:hover {
    background: var(--green-wpp-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy-dark);
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-address,
.footer-phone {
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--green-wpp);
    color: var(--white);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.whatsapp-float:hover {
    background: var(--green-wpp-dark);
    transform: scale(1.08);
    color: var(--white);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 991px) {
    .about-content {
        padding: 40px 24px;
    }
    .rounded-carousel .carousel-item img {
        height: 260px;
    }
    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--gray-mid);
    }
    .whatsapp-badge {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    .rounded-carousel .carousel-item img {
        height: 200px;
    }
    .cta-section {
        text-align: center;
    }
    .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}