/*
Theme Name: Premoudi Premium
Theme URI: https://premoudi.com.br
Author: Bernardo Collet
Description: Tema de alta performance focado em conversão e engenharia de pré-moldados.
Version: 1.1.0
Text Domain: premoudi
*/

:root {
    --primary: #A31C24; /* Vermelho Institucional */
    --primary-dark: #7a151b;
    --dark: #0f0f0f;
    --dark-grey: #1a1a1a;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.08);
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 4%; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; width: 100%; padding: 25px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; transition: var(--transition); }

.btn-whatsapp {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-whatsapp:hover { background: var(--primary-dark); transform: translateY(-2px); }


/* --- HERO PREMIUM --- */
.hero-premium {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 244, 247, 0.9) 100%),
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.grid-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Lado Esquerdo: Conteúdo --- */
.hero-text-content {
    max-width: 650px;
}

.upper-title {
    display: inline-block;
    color: #A31C24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-left: 3px solid #A31C24;
    padding-left: 15px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem); /* Fluidez responsiva */
    font-weight: 900;
    line-height: 1.05;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.hero-title span {
    color: #A31C24;
    position: relative;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 45px;
    font-weight: 300;
}

/* Stats Row */
.hero-stats-row {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-top: -5px;
}

/* --- Lado Direito: Card de Formulário --- */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-card p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 35px;
}

/* Inputs Premium */
.input-group {
    position: relative;
    margin-bottom: 18px;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #A31C24;
    font-size: 1.1rem;
    transition: 0.3s;
}

.input-group input, 
.input-group select {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 1px solid #e5e5e5;
    background-color: #fcfcfc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.input-group input:focus, 
.input-group select:focus {
    outline: none;
    border-color: #A31C24;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(163, 28, 36, 0.05);
}

.input-group input:focus + i {
    transform: translateY(-50%) scale(1.1);
}

/* Botão de Submissão */
.btn-submit-premium {
    width: 100%;
    padding: 18px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.4s;
    margin-top: 10px;
}

.btn-submit-premium:hover {
    background-color: #A31C24;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(163, 28, 36, 0.25);
}

.btn-submit-premium i {
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-submit-premium:hover i {
    transform: translate(3px, -3px);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .grid-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-text-content {
        margin: 0 auto;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .hero-form-wrapper {
        justify-content: center;
    }
    .upper-title {
        border-left: none;
        border-bottom: 3px solid #A31C24;
        padding: 0 0 5px 0;
    }
}

@media (max-width: 480px) {
    .hero-premium {
        padding: 120px 0 60px;
    }
    .form-card {
        padding: 30px 20px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}

/* --- SEÇÃO DE CATÁLOGO PREMIUM --- */
.catalog-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.section-header-center {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.divider {
    width: 50px;
    height: 3px;
    background-color: #A31C24;
    margin: 25px auto;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    line-height: 1.6;
}

/* Grid System */
.product-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Card de Produto */
.product-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(163, 28, 36, 0.2);
}

/* Container da Imagem */
.product-image-box {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background-color: #f8f8f8;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Efeito de Overlay no Hover */
.overlay-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.overlay-info span {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    padding: 12px 25px;
    border: 1px solid #fff;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-item:hover .product-image-box img {
    transform: scale(1.1);
}

.product-item:hover .overlay-info {
    opacity: 1;
}

.product-item:hover .overlay-info span {
    transform: translateY(0);
}

/* Detalhes do Produto */
.product-details {
    padding: 30px;
    background: #fff;
    transition: background 0.4s ease;
}

.product-details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.product-details p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
}

.product-item:hover .product-details h4 {
    color: #A31C24;
}

/* Responsividade */
@media (max-width: 1024px) {
    .product-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-masonry {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .product-image-box {
        height: 280px;
    }
}


/* --- SEÇÃO CTA B2B (REVENDEDORES) --- */
.b2b-cta-section {
    padding: 120px 0;
    position: relative;
    /* Imagem de estoque industrial do Unsplash com overlay institucional */
    background: linear-gradient(rgba(163, 28, 36, 0.85), rgba(122, 21, 27, 0.9)), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat fixed;
    color: #ffffff;
    overflow: hidden;
}

/* Efeito de textura sutil para profundidade */
.b2b-cta-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.b2b-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.b2b-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.b2b-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 45px;
    opacity: 0.9;
    line-height: 1.7;
}

/* Botão Outline Premium */
.btn-outline-white {
    display: inline-block;
    padding: 20px 45px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Efeito de preenchimento no Hover */
.btn-outline-white::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn-outline-white:hover {
    color: #A31C24;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-white:hover::before {
    left: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .b2b-cta-section {
        padding: 80px 0;
        /* Remove o fixo em mobile para evitar bugs de scroll */
        background-attachment: scroll;
    }
    
    .b2b-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .btn-outline-white {
        width: 100%;
        padding: 18px 25px;
    }
}

/* --- FEATURES PREMIUM --- */
.features-premium {
    padding: 100px 0;
    background-color: #fdfdfd;
    border-bottom: 1px solid #f0f0f0;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Feature Card */
.feature-card {
    padding: 50px 40px;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Ícone */
.feature-card i {
    font-size: 3rem;
    color: #A31C24; /* Vermelho Institucional */
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

/* Efeito Hover Premium */
.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
    border-color: rgba(163, 28, 36, 0.1);
}

/* Animação do ícone no hover */
.feature-card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Detalhe de linha inferior que cresce no hover */
.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #A31C24;
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.feature-card:hover::after {
    width: 60px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .grid-features {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-card {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .features-premium {
        padding: 70px 0;
    }
    
    .feature-card h4 {
        font-size: 1.25rem;
    }
}

/* --- FOOTER DARK PREMIUM --- */
.footer-dark {
    background-color: #0f0f0f; /* Preto Profundo */
    color: #ffffff;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Grid do Rodapé */
.grid-footer {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Coluna da Marca */
.footer-brand .logo-footer {
    height: 55px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1); /* Torna o logo branco se for escuro */
    transition: var(--transition);
}

.footer-brand p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #999;
    line-height: 1.6;
    max-width: 320px;
}

/* Títulos das Colunas */
.footer-dark h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
}

/* Linha decorativa sob os títulos */
.footer-dark h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: #A31C24;
}

/* Coluna de Contato */
.footer-contact p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #999;
    line-height: 1.8;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-links a:hover {
    background-color: #A31C24;
    border-color: #A31C24;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(163, 28, 36, 0.3);
}

/* Rodapé Inferior (Copyright) */
.footer-bottom {
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Efeito de detalhe visual ao fundo do footer */
.footer-dark::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(163, 28, 36, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .grid-footer {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer-brand .logo-footer {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-dark h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-dark {
        padding: 60px 0 30px;
    }
    .grid-footer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand, .footer-contact, .footer-social {
        grid-column: span 1;
    }
    .social-links {
        justify-content: center;
    }
}

/* --- TRUST / CLIENTS SECTION --- */
.trust-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.trust-label {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 50px;
    font-weight: 500;
}

/* Logos Container */
.logos-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.8;
}

/* Estilização individual dos logos */
.client-logo {
    max-width: 160px;
    max-height: 50px;
    width: auto;
    height: auto;
    filter: grayscale(100%) opacity(0.6); /* Efeito sóbrio padrão */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

/* Revelação Premium no Hover */
.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .logos-slider {
        justify-content: center;
        gap: 50px;
    }
    
    .client-logo {
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .trust-section {
        padding: 60px 0;
    }
    
    .logos-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
        gap: 30px;
    }
    
    .client-logo {
        max-width: 110px;
    }
}

/* --- SEÇÃO DE NÚMEROS (STATS) --- */
.stats-section {
    padding: 120px 0;
    position: relative;
    /* Fundo com imagem industrial e overlay escuro para contraste */
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)), 
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card com efeito de vidro (Glassmorphism) */
.stats-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.section-title-light {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

/* Grid de Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-box {
    padding: 20px;
    transition: transform 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

/* Ícones com a cor institucional */
.stat-box i {
    font-size: 2.8rem;
    color: #A31C24; /* Vermelho Premoudi */
    margin-bottom: 20px;
    display: block;
}

.stat-box .counter {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-box p {
    font-family: 'Inter', sans-serif;
    color: #bbbbbb;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    line-height: 1.4;
}

/* Botão de Destaque (Conversão) */
.btn-highlight {
    display: inline-block;
    background-color: #00c853; /* Verde de conversão direta */
    color: #ffffff;
    padding: 22px 50px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 200, 83, 0.3);
}

.btn-highlight:hover {
    background-color: #00e676;
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 200, 83, 0.4);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .section-title-light {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .stats-section {
        padding: 80px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-glass-card {
        padding: 50px 20px;
    }
    
    .btn-highlight {
        width: 100%;
        padding: 20px;
        font-size: 1rem;
    }
}

/* --- SEÇÃO DE DEPOIMENTOS PREMIUM --- */
.testimonials-section {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Card do Slide Individual */
.testimonial-slide {
    display: none; /* Controlado pelo JS */
    text-align: center;
    padding: 20px;
}

.testimonial-slide.active {
    display: block;
    animation: slideFadeIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Estrelas de Avaliação */
.rating {
    color: #FFD700; /* Dourado */
    font-size: 1.4rem;
    margin-bottom: 30px;
    letter-spacing: 5px;
}

/* Texto do Depoimento */
.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    line-height: 1.6;
    color: #333;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 40px;
}

/* Autor e Empresa */
.testimonial-author strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-author span {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #A31C24; /* Destaque na cor da marca */
    font-weight: 600;
}

/* Controles do Slider */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.slider-controls button {
    background: transparent;
    border: 1px solid #e0e0e0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1a1a1a;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-controls button:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: scale(1.1);
}

/* Animação de entrada */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonial-text {
        font-size: 1.25rem;
    }

    .slider-controls button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}



/* --- BLOG SECTION --- */

.articles-grid-section {p-bottom:50px;}

.blog-section {
    padding: 120px 0;
    background-color: #fcfcfc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #A31C24; /* Vermelho Institucional */
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 1px;
}

.blog-content {
    padding: 30px;
}

.blog-content time {
    font-size: 0.85rem;
    color: #999;
    display: block;
    margin-bottom: 12px;
}

.blog-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 15px;
    height: 56px; /* Mantém o alinhamento dos títulos */
    overflow: hidden;
}

.blog-content p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

/* Hover Effects */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.read-more:hover {
    color: #A31C24;
}

/* Responsividade */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-content h4 {
        height: auto;
    }
}


/* Estado inicial da Navbar (Transparente) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

/* Estado da Navbar ao Scrollar (Fundo Branco) */
.navbar.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* Branco com leve transparência */
    padding: 12px 0; /* Navbar fica mais compacta ao scrollar */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px); /* Efeito de vidro refinado */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ajuste das cores dos elementos na Navbar Scrolled */
.navbar.nav-scrolled .logo-img {
    height: 45px; /* Redução sutil do logo */
}

/* Caso queira que os links ou textos mudem de cor ao scrollar (exemplo) */
.navbar.nav-scrolled .btn-whatsapp {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}


/* --- PAGE HEADER --- */
.page-header {
    padding: 180px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.page-header p {
    font-family: 'Inter', sans-serif;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- PAGINAÇÃO --- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
    margin-bottom: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a1a;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.page-link.active {
    background-color: #A31C24; /* Vermelho Institucional */
    color: #fff;
    border-color: #A31C24;
}

.page-link:hover:not(.active):not(.disabled) {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: translateY(-3px);
}

.page-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-dots {
    color: #999;
    font-weight: 700;
}


/* --- POST SINGLE STYLE --- */
.post-header-premium {
    padding: 180px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.post-category-tag {
    background: #A31C24;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 15px;
}

.post-meta-top time {
    color: #999;
    font-size: 0.9rem;
}

.post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a1a1a;
    margin: 30px auto;
    max-width: 900px;
    line-height: 1.2;
}

.post-author-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.post-author-box img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-featured-image {
    margin-top: 60px;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layout do Conteúdo */
.grid-post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    padding: 80px 0;
}

.post-article-body {
    font-family: 'Inter', sans-serif;
    color: #444;
    line-height: 1.8;
    font-size: 1.15rem;
}

.post-article-body h2, .post-article-body h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    margin: 40px 0 20px;
}

.post-article-body blockquote {
    border-left: 5px solid #A31C24;
    padding: 30px;
    margin: 40px 0;
    background: #f9f9f9;
    font-style: italic;
    font-size: 1.4rem;
    color: #1a1a1a;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card-cta {
    background: #1a1a1a;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.btn-sidebar {
    background: #25D366;
    color: #fff;
    display: block;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .grid-post-layout {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        position: static;
    }
}



/* --- AJUSTE DA NAVBAR COM LINK DE RETORNO --- */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 30px; /* Espaço entre o link e o botão */
}

/* Link "Voltar para o site" */
.nav-cta a:not(.btn-whatsapp) {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666; /* Cor neutra inicial */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Efeito de hover sutil no link */
.nav-cta a:not(.btn-whatsapp):hover {
    color: #A31C24; /* Vermelho institucional no hover */
}

/* Linha decorativa no hover (opcional, estilo premium) */
.nav-cta a:not(.btn-whatsapp)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #A31C24;
    transition: width 0.3s ease;
}

.nav-cta a:not(.btn-whatsapp):hover::after {
    width: 100%;
}

/* Ajuste do botão WhatsApp para não ficar colado */
.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* --- ADAPTAÇÃO PARA NAVBAR SCROLLED --- */
/* Quando o JS adicionar .nav-scrolled, garantimos que o link continue legível */
.nav-scrolled .nav-cta a:not(.btn-whatsapp) {
    color: #1a1a1a;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 600px) {
    .nav-cta {
        gap: 15px;
    }
    
    /* Esconde o texto no mobile para não quebrar a linha, mantendo apenas um ícone ou reduzindo o texto */
    .nav-cta a:not(.btn-whatsapp) {
        font-size: 0.8rem;
    }
    
    .btn-whatsapp span {
        display: none; /* Deixa apenas o ícone do WhatsApp no mobile se o espaço for curto */
    }
    
    .btn-whatsapp {
        padding: 10px;
    }
}


/* --- NAVEGAÇÃO POR ÂNCORAS --- */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px; /* Espaçamento entre os links */
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #444; /* Cor mais suave para o estado inicial */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Efeito de linha que "corre" por baixo do link no hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A31C24; /* Vermelho Premoudi */
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #A31C24;
}

.nav-link:hover::after {
    width: 100%;
}

/* Botão de Orçamento dentro do Menu (Destaque) */
.btn-nav-cta {
    background-color: #1a1a1a;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-nav-cta:hover {
    background-color: #A31C24;
    transform: translateY(-2px);
}

.btn-nav-cta::after { display: none; } /* Remove a linha do botão */

/* Ajuste para Navbar Scrolled */
.nav-scrolled .nav-link {
    color: #1a1a1a;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .nav-menu {
        display: none; /* Aqui você implementaria o menu mobile lateral */
    }
    
    .mobile-menu-icon {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
    }
}


/* --- CONFIGURAÇÃO DO HAMBÚRGUER --- */
.mobile-menu-icon {
    display: none; /* Escondido por padrão (Desktop) */
    font-size: 1.8rem;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 1001;
}

/* Ajuste na Navbar Scrolled para o ícone */
.nav-scrolled .mobile-menu-icon {
    color: #1a1a1a;
}

/* --- MEDIA QUERY PARA MOBILE (< 992px) --- */
@media (max-width: 992px) {
    .mobile-menu-icon {
        display: block; /* Aparece no mobile */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido fora da tela */
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column; /* Links um embaixo do outro */
        justify-content: center;
        gap: 25px;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 40px;
    }

    /* Quando o menu estiver ativo */
    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    /* Overlay escuro ao abrir o menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}


/* --- AJUSTE PARA MENU NA LATERAL DIREITA --- */
.nav-wrapper {
    display: flex;
    justify-content: space-between; /* Mantém logo na esquerda e restante na direita */
    align-items: center;
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    margin-left: auto; /* Garante que o menu empurre para a direita se houver espaço */
}

/* Se você quiser que o menu e o botão fiquem colados no canto direito */
.nav-cta, .nav-menu {
    display: flex;
    align-items: center;
}



/* --- HERO CENTRALIZADO --- */
.hero-premium {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centraliza todo o texto */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 100px;
}

.hero-text-wrapper {
    max-width: 850px; /* Limita a largura para melhor leitura */
    margin: 0 auto;
}

.hero-title span {
    color: #A31C24; /* Vermelho institucional */
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Botão WhatsApp Premium */
.hero-actions {
    margin-bottom: 50px;
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #00E676; /* Verde vibrante conforme solicitado */
    color: #000;
    padding: 20px 45px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 230, 118, 0.2);
}

.btn-hero-whatsapp:hover {
    transform: translateY(-5px);
    background-color: #00c853;
    box-shadow: 0 15px 30px rgba(0, 230, 118, 0.4);
}

/* Stats Centralizados */
.hero-stats-row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.divider-vertical {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

/* Tooltip (Legenda ao passar o mouse) */
.float-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Animação de Pulsação */
@keyframes pulse-green {
    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);
    }
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .float-tooltip {
        display: none; /* Esconde o texto no mobile para não obstruir a tela */
    }
}







/* --- CORREÇÃO DO LINK DE CATEGORIA (BLOG CARD) --- */

.blog-category, 
.post-category-tag {
    background-color: #A31C24 !class; /* Vermelho Premoudi */
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
}

/* Remove o azul e o sublinhado do link gerado pelo WordPress */
.blog-category a, 
.post-category-tag a {
    color: #ffffff !important; /* Texto Branco */
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Efeito de Hover para manter a interatividade */
.blog-category a:hover, 
.post-category-tag a:hover {
    color: #ffffff;
    opacity: 0.9;
}

/* Remove bullets se o WordPress gerar como lista */
.blog-category ul, 
.blog-category li {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}