/* Estilos para elementos de conversão e SEO */

/* Links de contato no footer (simples e laranja, sem efeitos) */
footer a[href^="tel:"],
footer a[href^="mailto:"] {
    color: #FF6B35 !important; /* Laranja */
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: none;
    display: inline;
    margin: 0 6px;
    white-space: nowrap; /* Mantém o ícone e o texto na mesma linha */
}

/* Ícones inline dos links de contato */
footer a[href^="tel:"] .icon-inline,
footer a[href^="mailto:"] .icon-inline {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: text-bottom;
}

footer a[href^="tel:"]:hover,
footer a[href^="mailto:"]:hover,
footer a[href^="tel:"]:focus,
footer a[href^="mailto:"]:focus,
footer a[href^="tel:"]:active,
footer a[href^="mailto:"]:active {
    color: #FF6B35 !important;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
}

/* Melhor espaçamento para os links de contato */
footer p:last-child {
    margin-top: 1rem;
}

footer p:last-child a {
    margin: 0 8px;
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
    /* Container otimizado para remover espaços desnecessários */
    line-height: 1;
    overflow: hidden;
    height: clamp(56px, 9vw, 88px); /* Logo maior no desktop, mantendo responsividade */
}

/* Logo */


.logo-img {
    height: 100%; /* Preenche a altura do container .logo */
    width: auto;
    max-width: 420px; /* Permite largura maior no desktop */
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
    object-position: center;
    margin: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-img:hover { opacity: 0.95; }

/* Responsividade da logo: ajuste suave por viewport via clamp no container */
@media (max-width: 768px) {
    .logo { height: clamp(44px, 12vw, 64px); }
}

/* WhatsApp Botão Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20bf58;
    animation: none;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* CTAs secundários */
.secondary-cta {
    display: inline-block;
    background: var(--cor-secundaria);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Melhorias para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    /* Links de contato responsivos (mantém simples e laranja) */
    footer a[href^="tel:"],
    footer a[href^="mailto:"] {
        display: inline;
        margin: 0 6px;
        padding: 0;
        font-size: inherit;
        font-weight: 600;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: left;
        white-space: nowrap; /* Evita quebra entre ícone e valor no mobile */
    }

    footer a[href^="tel:"] .icon-inline,
    footer a[href^="mailto:"] .icon-inline {
        width: 18px;
        height: 18px;
        margin-right: 6px;
        vertical-align: text-bottom;
    }
    
    footer p:last-child {
        line-height: 1.8;
    }
}

/* Destacar palavras-chave importantes */
.highlight-keyword {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Badges/Selos */
.badge {
    display: inline-block;
    background: var(--cor-secundaria);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

/* Botão de urgência */
.urgency-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 10px;
    position: sticky;
    top: 80px;
    z-index: 999;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}