/* =====================================================
   TECNOCOAT - ATUALIZAÇÕES FINAIS CSS
   Adicionar este arquivo após style.css e mobile-improvements.css
   OU adicionar ao final do style.css existente
===================================================== */

/* =====================================================
   BOTÕES E CTAs - FONTE BOLD (GLOBAL)
===================================================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-large,
.btn-orcamento,
.product-cta,
button[type="submit"],
.catalog-card-cta,
.solution-showcase-cta {
    font-weight: 700 !important;
}

/* =====================================================
   RODAPÉ COM ÍCONES
===================================================== */
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: #fff;
    margin-top: 2px;
}

/* =====================================================
   SEÇÃO DE NÚMEROS - MAIOR (HOME)
===================================================== */
@media (min-width: 769px) {
    .credibility {
        padding: 60px 0;
    }

    .credibility-flex {
        flex-wrap: nowrap;
        gap: 20px;
        justify-content: space-between;
    }

    .indicator-value {
        font-size: 4rem;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 8px;
    }

    .indicator-label {
        font-size: 1.25rem;
        font-weight: 500;
    }
}


@media (max-width: 768px) {
    .credibility {
        padding: 70px 0 !important;
    }
    
    .indicator-value {
        font-size: 2.5rem !important;
    }
    
    .indicator-label {
        font-size: 1rem !important;
    }
}

/* =====================================================
   CARROSSÉIS STANDARD E PREMIUM
===================================================== */
.models-section {
    padding: 80px 0;
}

.models-section h2 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 2.25rem;
}

.models-section .section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 56px;
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.models-carousel-wrapper {
    margin-bottom: 80px;
}

.models-carousel-wrapper:last-child {
    margin-bottom: 0;
}

/* =====================================================
   AJUSTES PÁGINA INSTITUCIONAL
===================================================== */
.solution-card {
    border-radius: var(--border-radius-lg);
}

.solution-card .card-icon {
    margin-bottom: 14px;
    margin-top: 24px;
    margin-left: 24px;
}

.carousel-header {
    display: inline-block;
    padding: 10px 28px;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 40px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-header--premium {
    background: linear-gradient(135deg, #FFA700 0%, #FF8C00 100%);
}

/* Cards dos Modelos */
.model-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 340px;
    flex-shrink: 0;
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.model-card-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f5f5f5;
}

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-badge--premium {
    background: linear-gradient(135deg, #FFA700 0%, #FF8C00 100%);
}

.model-card-content {
    padding: 28px;
}

.model-card-content h3 {
    font-size: 1.625rem;
    margin-bottom: 6px;
    color: var(--color-text-body);
    font-weight: 700;
}

.model-card-content .model-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.model-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-body);
    margin-bottom: 24px;
}

.model-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.model-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-body);
}

.model-specs li:last-child {
    border-bottom: none;
}

.model-specs li::before {
    content: "✓";
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (min-width: 769px) {
    .model-card--compact {
        min-width: 280px;
        max-width: 300px;
    }
}


.model-card--compact .model-card-image {
    height: 180px;
}

.model-card--compact .model-card-content {
    padding: 20px;
}

.model-card--compact .model-card-content h3 {
    font-size: 1.35rem;
}

.model-card--compact .model-specs li {
    font-size: 0.85rem;
    padding: 6px 0;
}

/* =====================================================
   CATÁLOGO DE SOLUÇÕES (Final das páginas)
===================================================== */
.solutions-catalog {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    margin-top: 100px;
}

.solutions-catalog h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.solutions-catalog .section-lead {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.catalog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.catalog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.08);
}

.catalog-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card-content h3 {
    font-size: 1.375rem;
    margin-bottom: 14px;
    color: var(--color-text-body);
    font-weight: 700;
}

.catalog-card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.catalog-card-cta {
    color: var(--color-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.catalog-card:hover .catalog-card-cta {
    gap: 14px;
}

.catalog-card-cta svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Catalog Scroll (alternativa ao grid) */
.catalog-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.catalog-track {
    display: flex;
    gap: 32px;
}

.catalog-scroll .catalog-card {
    min-width: 320px;
    max-width: 360px;
    flex-shrink: 0;
}

/* =====================================================
   PÁGINA SOLUÇÕES - CARDS COM FOTO
===================================================== */
.solutions-showcase {
    padding: 100px 0;
}

.solutions-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.solutions-showcase .section-lead {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

.solutions-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.solution-showcase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.solution-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-showcase-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.solution-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.solution-showcase-content {
    padding: 36px;
}

.solution-showcase-content h3 {
    font-size: 1.625rem;
    margin-bottom: 18px;
    color: var(--color-text-body);
    font-weight: 700;
}

.solution-showcase-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.solution-showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.solution-showcase-features li {
    padding: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-text-body);
}

.solution-showcase-features li::before {
    content: "→";
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* =====================================================
   ETAPAS DO PROCESSO (PRÉ-TRATAMENTO)
===================================================== */
.process-steps {
    padding: 100px 0;
    background: #f8f9fa;
}

.process-steps h2 {
    text-align: center;
    margin-bottom: 70px;
    font-size: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.step-card {
    background: white;
    padding: 40px 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid var(--color-primary);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--color-text-body);
    font-weight: 700;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

/* =====================================================
   UTILITÁRIOS
===================================================== */
.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: 16px;
}

.mb-md {
    margin-bottom: 24px;
}

.mb-lg {
    margin-bottom: 48px;
}

.mt-lg {
    margin-top: 48px;
}

/* =====================================================
   AJUSTES PÁGINA INSTITUCIONAL - TECNOCOAT
===================================================== */

/* Melhor posicionamento dos ícones nos cards */
.solution-card .card-icon {
    margin: 0 0 20px 0 !important;
}

/* Aumentar padding interno dos cards para dar mais espaço — desktop only */
@media (min-width: 769px) {
    .solution-card {
        padding: 36px 32px;
    }

    /* Cards do carrossel não devem ter padding no nível do card —
       a imagem precisa ficar rente às bordas superiores e laterais */
    .solutions-track .solution-card {
        padding: 0;
    }
}



/* Garantir que o ícone fique bem espaçado do texto */
.solution-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* =====================================================
   ESPAÇAMENTOS — DESKTOP ONLY
   Mobile é controlado pelo mobile-fixes.css
===================================================== */

@media (min-width: 769px) {
    /* Espaçamento geral das seções */
    .section {
        padding: 60px 0;
    }

    body:not(.home) .section {
        padding: 50px 0;
    }

    .institutional-intro {
        padding: 40px 0;
    }

    .section-divider {
        margin: 50px 0;
    }

    .leadership-section {
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .section:has(.solutions-grid) {
        padding: 50px 0;
    }

    .page-hero + .section {
        padding-top: 50px;
    }

    .page-hero--institutional {
        min-height: 45vh;
        padding: 60px 0;
    }

    .page-hero {
        padding: 50px 0;
    }
}

/* =====================================================
   MELHORIAS VISUAIS NOS CARDS
===================================================== */

/* Espaço harmonioso nos cards — sem !important (sem conflito) */
.solution-card p {
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 0;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   VÍDEO NA SEÇÃO INTRODUTÓRIA (product-intro-media)
===================================================== */

/* Vídeo se comporta exatamente como a imagem */
.product-intro-media video {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .product-intro-media video {
        max-height: 280px;
        object-fit: cover;
    }
}

/* =====================================================
   VÍDEO NA SEÇÃO INTRODUTÓRIA - AUTOPLAY + BOTÃO DE SOM
===================================================== */

.product-intro-media .video-wrapper {
    position: relative;
    display: block;
    line-height: 0;
}

.product-intro-media video {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    object-fit: cover;
    display: block;
}

/* Botão de ativar/desativar som — Opção B (círculo azul com pulso) */
.video-unmute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    box-shadow:
        0 4px 20px rgba(2, 101, 162, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: video-btn-pulse 2.5s ease infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
}

.video-unmute-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 28px rgba(2, 101, 162, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: none;
}

/* Quando com som ativo: para o pulse e muda levemente o gradiente */
.video-unmute-btn.is-unmuted {
    background: linear-gradient(135deg, #0a7ac7, var(--color-primary));
    animation: none;
}

.video-unmute-btn .icon-muted  { display: block; }
.video-unmute-btn .icon-unmuted { display: none; }
.video-unmute-btn.is-unmuted .icon-muted   { display: none; }
.video-unmute-btn.is-unmuted .icon-unmuted { display: block; }

.video-unmute-btn svg {
    display: block;
    flex-shrink: 0;
}

@keyframes video-btn-pulse {
    0%   { box-shadow: 0 4px 20px rgba(2,101,162,0.5), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 0 0 rgba(2,101,162,0.45); }
    70%  { box-shadow: 0 4px 20px rgba(2,101,162,0.5), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 0 12px rgba(2,101,162,0); }
    100% { box-shadow: 0 4px 20px rgba(2,101,162,0.5), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 0 0 rgba(2,101,162,0); }
}

@media (max-width: 768px) {
    .product-intro-media video {
        max-height: 280px;
        object-fit: cover;
    }

    .video-unmute-btn {
        width: 38px;
        height: 38px;
        bottom: 10px;
        right: 10px;
    }
}
/* =====================================================
   BOTÃO FLUTUANTE WHATSAPP
===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

/* Tooltip de texto */
.whatsapp-float-label {
    background-color: #1F2933;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

/* Botão circular */
.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-float:hover .whatsapp-float-btn {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Anel pulsante */
.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 3px solid rgba(37, 211, 102, 0.4);
    animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);    opacity: 1; }
    70%  { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float-btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-float-btn svg {
        width: 26px;
        height: 26px;
    }

    /* Em mobile, label sempre visível abaixo do botão */
    .whatsapp-float {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 6px;
    }

    .whatsapp-float-label {
        opacity: 0;
        transform: none;
        font-size: 0.75rem;
        padding: 5px 11px;
    }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float-btn::before {
        animation: none;
    }
}
/* =====================================================
   CORREÇÃO GLOBAL: IMAGENS DO CATÁLOGO (ESTILO VITRINE)
   Aumenta a altura do card para exibir melhor equipamentos verticais
   e preenche 100% do espaço sem deixar bordas vazias.
===================================================== */
.catalog-card-image {
    height: 300px !important; 
    background-color: #f5f5f5 !important;
    display: block !important;
    overflow: hidden !important;
}

.catalog-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center center !important; 
    padding: 0 !important; 
    transition: transform 0.4s ease !important;
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.08) !important;
}
/* =====================================================
   CORREÇÃO DEFINITIVA ANTI-CORTE (TODOS OS CARDS)
   Aplica-se a: Modelos (Tecno Pó), Configurações e Vitrines
===================================================== */

/* 1. Altura base ideal e fundo neutro para todos os cards de imagem */
.model-card-image,
.model-card--compact .model-card-image,
.product-card-image,
.solution-showcase-image {
    height: 250px !important; 
    background-color: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 2. Força a máquina a aparecer INTEIRA sem cortar a cabeça/teto */
.model-card-image img,
.product-card-image img,
.solution-showcase-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* O "contain" salva a imagem do corte */
    padding: 16px !important; /* Dá um respiro para não colar na borda */
    background-color: transparent !important;
}

/* 3. Ajuste de proporção para ficar perfeito no celular */
@media (max-width: 768px) {
    .model-card-image,
    .model-card--compact .model-card-image,
    .product-card-image,
    .solution-showcase-image {
        height: 220px !important; /* Altura um pouco menor no mobile */
        aspect-ratio: auto !important; /* Remove proporções achatadas */
    }
}