
/* ===============================
   CHAT IA PRODUTOS
================================ */
#ia-produto-btn{
    position:fixed;
    bottom:110px;
    right:24px;
    width:60px;
    height:60px;
    background:#0d6efd;
    color:#fff;
    border-radius:50%;
    font-size:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:9999;
}

.ia-chat{
    position:fixed;
    bottom:24px;
    right:24px;
    width:360px;
    height:480px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,.3);
    display:flex;
    flex-direction:column;
    z-index:10000;
}

.hidden{display:none;}

.ia-chat-header{
    padding:12px;
    background:#0d6efd;
    color:#fff;
    font-weight:bold;
    display:flex;
    justify-content:space-between;
}

.ia-chat-body{
    flex:1;
    padding:10px;
    overflow-y:auto;
}

.user{ text-align:right; margin:6px 0; }
.ia{ text-align:left; margin:6px 0; background:#f1f1f1; padding:6px; border-radius:6px;}

.ia-chat-footer{
    display:flex;
    padding:8px;
    gap:6px;
}

/* ===============================
   CSS ESSENCIAL IA
================================ */
#ia-chat{
  position:fixed;
  right:0;
  top:0;
  width:360px;
  height:100%;
  background:#fff;
  z-index:9999;
  display:flex;
  flex-direction:column;
}
.ia-header{
  background:#0d6efd;
  color:#fff;
  padding:12px;
}
#ia-messages{
  flex:1;
  padding:12px;
  overflow-y:auto;
}
.msg.user{ text-align:right; color:#000 }
.msg.ia{ background:#f1f1f1; padding:8px; border-radius:6px }
/* ===============================
   MODAL IA
================================ */
#ia-chat-btn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 99999;
}
/* ===============================
   BANNER LGPD
================================ */
.lgpd-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #212529;
    color: #fff;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    max-width: 720px;
    width: calc(100% - 32px);
    z-index: 99999;
}

.lgpd-banner p {
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.lgpd-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lgpd-link {
    color: #0d6efd;
    text-decoration: none;
}

/* ===============================
   MODAL LGPD
================================ */
.lgpd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99998;
}

.lgpd-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    z-index: 99999;
}

.lgpd-modal h5 {
    margin-bottom: 16px;
}

.lgpd-item {
    margin-bottom: 10px;
}

.lgpd-actions-modal {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
/* Remover sublinhado de links */
a {
    text-decoration: none;
}

/* Garantir espaçamento mínimo em páginas institucionais */
.pagina-faq {
    padding-left: 15px;
    padding-right: 15px;
}

/* Página institucional */
.page-institucional {
    padding: 40px 15px;
}

/* Manter sem sublinhado mesmo no hover */
a:hover {
    text-decoration: none;
}
/* ===============================
   HOME BLOCOS
================================ */
.home-section {
    margin-bottom: 4rem;
}

/* ===============================
   WHATSAPP FLUTUANTE
================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-decoration: none;
    z-index: 9999;

    box-shadow:
        0 0 0 0 rgba(37, 211, 102, 0.7);

    animation: whatsapp-pulse 2s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ÍCONE */
.whatsapp-float i {
    line-height: 1;
}

/* ANIMAÇÃO PULSANTE + BRILHO */
@keyframes whatsapp-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0.7),
            0 0 12px rgba(37, 211, 102, 0.8);
    }
    70% {
        box-shadow:
            0 0 0 18px rgba(37, 211, 102, 0),
            0 0 24px rgba(37, 211, 102, 0.9);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(37, 211, 102, 0),
            0 0 12px rgba(37, 211, 102, 0.8);
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 30px;
        bottom: 16px;
        right: 16px;
    }
}

.logo-header {
    height: 100px;
    width: auto;
}

.busca-sugestoes {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 6px;
    z-index: 2000;
    display: none;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.sugestao-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.sugestao-item:last-child {
    border-bottom: none;
}

.sugestao-item:hover {
    background: #f5f5f5;
}

.sugestao-item strong {
    display: block;
    font-size: 14px;
}

.sugestao-item small {
    color: #666;
    font-size: 12px;
}
