body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Inter', sans-serif;
}

header {
    background-color: #1f2a3d;
    color: white;
    padding: 2rem 0 1rem 0;
    padding: 80px 0;
}

header img.logo {
    max-height: 60px;
    margin-bottom: 40px;
}
header h1{
    font-size: 30px;
}
.section-title {
    color: #0a1f44;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.icon-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
}

footer {
    background-color: #1f2a3d;
    color: white;
    padding: 40px 0px;
    text-align: center;
}

footer img.logo {
    max-height: 40px;
    margin-bottom: 20px;
}

footer p{
    font-size: 14px;
    opacity: .8;
    margin: 0;
}

.btn-primary {
    background-color: #6c757d;
    border-color: #6c757d;
    font-size: 17px;
    padding: 0.8rem 2rem;
    padding: 14px 34px 15px;
}

.btn-primary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.container {
    max-width: 1040px;
}

#requisitos-basicos .container {
    max-width: 870px;
}



#por-que-contratar .container {
    max-width: 870px;
}

#contato .section-title {
    margin-bottom: 10px;
}

.icon-dark {
    color: #153c81 !important;
    font-size: 50px;
}

 #passo-a-passo .row > div:nth-child(1) .icon-dark {
        color: #2ecc71!important;
    }
    #passo-a-passo .row > div:nth-child(2) .icon-dark {
        color: #27ae60!important;
    }
    #passo-a-passo .row > div:nth-child(3) .icon-dark {
        color: #229954!important;
    }
    #passo-a-passo .row > div:nth-child(4) .icon-dark {
        color: #1e8449!important;
    }

/* Padding nas sections */
section {
    padding: 80px 0 !important;
}

/* Texto da seção "O que é o BPC/LOAS?" */
#sobre-beneficio p {
    font-size: 18px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Alternância de cores das sections */
section:nth-of-type(odd) {
    background-color: #fff;
}

section:nth-of-type(even) {
    background-color: #f1f3f5;
}

/* Corrigir a seção contato que é a última */
#contato {
    background-color: #f8f9fa !important;
}

.logo-link {
    display: inline-block;
    transition: transform .13s, box-shadow .13s;
}
.logo-link:hover,
.logo-link:focus {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 6px 22px #153c8122;
}
.logo-link img {
    transition: filter .2s;
}
.logo-link:hover img,
.logo-link:focus img {
    filter: brightness(1.15) drop-shadow(0 2px 12px #0a58ca44);
}
.logo-link {
    cursor: pointer;
}

.whatsapp-fancy {
    position: relative;
    background: #25d366 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 24px #25d36650, 0 1.5px 8px #128c7e33;
    animation: pulsezap 1.7s infinite;
    transition: background .22s, transform .16s, box-shadow .2s;
    outline: none !important;
}

@keyframes pulsezap {
    0% { box-shadow: 0 0 0 0 #25d36688, 0 1.5px 8px #128c7e33; }
    50% { box-shadow: 0 0 0 14px #25d36615, 0 1.5px 8px #128c7e33; }
    100% { box-shadow: 0 0 0 0 #25d36688, 0 1.5px 8px #128c7e33; }
}

.whatsapp-fancy:hover, .whatsapp-fancy:focus {
    background: #128c7e !important;
    color: #fff !important;
    box-shadow: 0 8px 32px #128c7e99, 0 2px 12px #25d36633;
    animation: none;
}

.icon-box {
    background-color: #fff;
    border-radius: 14px;
    padding: 2.2rem 1.2rem;
    text-align: center;
    box-shadow: 0 3px 12px rgba(20, 34, 56, 0.07);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 
        transform .23s cubic-bezier(.25,1,.4,1),
        box-shadow .2s,
        border-color .22s;
    will-change: transform, box-shadow;
    border: 2px solid transparent;
}

.icon-box:hover, .icon-box:focus-within {
    transform: translateY(-11px) scale(1.055);
    box-shadow: 0 18px 38px #153c8135, 0 4px 18px #25d36626;
    border-color: #25d36666;
    z-index: 2;
}

/* Janela pop-up IA */
.ia-popup {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 42px #153c8140, 0 1.5px 6px #25d36624;
  z-index: 1101;
  display: none;
  flex-direction: column;
  animation: iaFadeIn .5s;
  overflow: hidden;
}
@keyframes iaFadeIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.ia-header {
  background: linear-gradient(90deg, #153c81 70%, #25d366 100%);
  color: #fff;
  padding: 18px 18px 10px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.ia-title {
  font-size: 1.1rem; font-weight: 700; letter-spacing: .3px;
  display: flex; align-items: center; gap: 8px;
}
.ia-close {
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; opacity: .78;
  transition: opacity .16s;
}
.ia-close:hover { opacity: 1; }
.ia-body {
  padding: 18px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.ia-bubble {
  background: #f2f8fb;
  color: #222;
  border-radius: 18px 18px 18px 8px;
  padding: 13px 18px;
  margin-bottom: 4px;
  max-width: 94%;
  font-size: 1.02em;
  box-shadow: 0 1px 5px #153c8113;
  word-break: break-word;
}
.ia-bubble-bot {
  align-self: flex-start;
  background: #eef4fc;
  color: #17408b;
}
.ia-bubble-user {
  align-self: flex-end;
  background: #25d36612;
  color: #1f2a3d;
  border-radius: 14px 18px 14px 18px;
}
.ia-input {
  width: 100%; border-radius: 8px; border: 1.3px solid #c9a15b42;
  padding: 9px 11px; margin-top: 6px; margin-bottom: 7px;
  font-size: 1em;
  outline: none;
  transition: border .18s;
}
.ia-input:focus { border: 1.3px solid #25d36688; }
.ia-send, .ia-whats {
  width: 100%; margin-top: 5px; border-radius: 7px; font-weight: 600; font-size: 1em;
  transition: filter .18s;
}
.ia-send { background: #25d366; border: none; }
.ia-send:hover { filter: brightness(0.93);}
.ia-whats { background: #153c81; border: none; margin-top: 9px;}
.ia-whats:hover { filter: brightness(1.1);}
.ia-open-btn {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 1100;
  background: #25d366;
  color: #fff;
  width: 60px; height: 60px;
  border: none; border-radius: 50%;
  font-size: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px #25d36635;
  animation: iaPulse 1.8s infinite;
  cursor: pointer;
  transition: background .22s, transform .14s;
}
.ia-open-btn:hover {
  background: #128c7e;
  transform: scale(1.1);
}
@keyframes iaPulse {
  0% { box-shadow: 0 0 0 0 #25d36666; }
  50% { box-shadow: 0 0 0 20px #25d36612; }
  100% { box-shadow: 0 0 0 0 #25d36666; }
}

/* Responsivo para mobile */
@media (max-width: 600px) {
  .ia-popup, .ia-open-btn { right: 12px; bottom: 12px; width: 95vw; min-width: 0; max-width: 97vw; }
}

/* Pontinhos "digitando..." do bot */
.ia-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 14px;
}
.ia-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9aa4b2;
  animation: iaBounce 1.2s infinite ease-in-out;
}
.ia-typing span:nth-child(2) { animation-delay: .15s; }
.ia-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes iaBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .6; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #1f2a3d; /* azul do site */
  color: #fff;
  text-align: center;
  padding: 16px 10px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.cookie-banner p {
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.cookie-banner a {
  color: #25d366; /* verde WhatsApp */
  text-decoration: underline;
}

.cookie-banner button {
  background: #25d366; /* verde WhatsApp */
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-banner button:hover {
  background: #128c7e; /* verde mais escuro */
}

.footer-card {
  background-color: #243148;
  padding: 20px 15px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.footer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-card i {
  font-size: 1.6rem;
  color: #25d366; /* verde padrão */
  margin-bottom: 10px;
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-card h6 {
  font-weight: bold;
  margin-bottom: 6px;
}

.footer-card a {
  color: #fff;
  text-decoration: none;
}

.footer-card a:hover {
  text-decoration: underline;
}

.footer-card i.bi-instagram:hover {
  color: #E1306C; /* cor oficial do Instagram */
}

/* Logo principal */
footer .logo-link img {
  max-height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

footer .logo-link img:hover {
  transform: scale(1.08); /* leve zoom */
  filter: brightness(1.1) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.2));
}

/* Garante que o X fique sempre visível e clicável, sem mudar o layout atual */
.ia-popup { position: fixed; } /* já é fixed no seu CSS, reafirmamos */
.ia-header { position: relative; } /* contexto para o botão */

.ia-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 24px;          /* maior p/ toque */
  line-height: 1;
  color: #fff;              /* mantém contraste no seu gradiente atual */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;             /* área de toque maior */
  border-radius: 6px;
  outline: none;
}

.ia-close:focus-visible {
  outline: 3px solid #25d366;   /* acessível, segue sua paleta */
  outline-offset: 2px;
}

/* Só em telas pequenas: aumenta um pouco a área de toque */
@media (max-width: 600px) {
  .ia-close {
    font-size: 28px;
    top: 6px;
    right: 8px;
    padding: 10px;
  }
}

.footer-card a {
  word-break: break-word;       /* quebra a palavra quando não couber */
  overflow-wrap: anywhere;      /* garante que links longos quebrem */
  display: inline-block;        /* ajuda na responsividade */
  max-width: 100%;              /* não deixa ultrapassar o card */
}

