/* MaxEvolution Chatbot • Home pública Premium R5
   Recriação completa da seção "Para quem quer atender melhor" */
:root{
  --mx5-bg:#f4f8fd;
  --mx5-card:#ffffff;
  --mx5-line:#d9e7f5;
  --mx5-text:#163b67;
  --mx5-text-soft:#53718f;
  --mx5-primary:#0c73da;
  --mx5-primary-2:#56cfff;
  --mx5-shadow:0 20px 50px rgba(11,38,72,.10);
  --mx5-shadow-hover:0 26px 64px rgba(11,63,116,.16);
}

body:has(.mx55-hero) .mx5-fit-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(86,207,255,.12), transparent 24%),
    radial-gradient(circle at 92% 14%, rgba(12,115,218,.09), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%);
}
body:has(.mx55-hero) .mx5-fit-section::before,
body:has(.mx55-hero) .mx5-fit-section::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(6px);
  pointer-events:none;
}
body:has(.mx55-hero) .mx5-fit-section::before{
  width:240px;height:240px;right:-90px;top:40px;
  background:radial-gradient(circle, rgba(86,207,255,.18), rgba(86,207,255,0));
}
body:has(.mx55-hero) .mx5-fit-section::after{
  width:260px;height:260px;left:-120px;bottom:-110px;
  background:radial-gradient(circle, rgba(12,115,218,.10), rgba(12,115,218,0));
}

body:has(.mx55-hero) .mx5-fit-head{
  position:relative;
  z-index:1;
  max-width:860px;
  margin:0 auto 34px;
  text-align:center;
}
body:has(.mx55-hero) .mx5-fit-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(12,115,218,.12);
  background:rgba(255,255,255,.72);
  color:#0b73d9;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(9,70,130,.08);
}
body:has(.mx55-hero) .mx5-fit-eyebrow::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg, var(--mx5-primary), var(--mx5-primary-2));
  box-shadow:0 0 0 5px rgba(12,115,218,.09);
}
body:has(.mx55-hero) .mx5-fit-head h2{
  margin:0;
  color:#0c2f57;
  font-size:clamp(34px,4vw,52px);
  line-height:1.04;
  letter-spacing:-.03em;
}
body:has(.mx55-hero) .mx5-fit-head p{
  margin:16px auto 0;
  max-width:760px;
  color:#55728f;
  font-size:18px;
  line-height:1.75;
}

body:has(.mx55-hero) .mx5-fit-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  align-items:stretch;
}

body:has(.mx55-hero) .mx5-fit-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--mx5-line);
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  box-shadow:var(--mx5-shadow);
  transition:transform .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s,border-color .32s;
}
body:has(.mx55-hero) .mx5-fit-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--mx5-shadow-hover);
  border-color:#b7d9f4;
}
body:has(.mx55-hero) .mx5-fit-visual{
  position:relative;
  aspect-ratio: 16 / 11;
  overflow:hidden;
  background:#ddeaf7;
}
body:has(.mx55-hero) .mx5-fit-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .6s ease, filter .6s ease;
}
body:has(.mx55-hero) .mx5-fit-card:hover .mx5-fit-visual img{
  transform:scale(1.045);
  filter:saturate(1.05);
}
body:has(.mx55-hero) .mx5-fit-visual::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:50%;
  background:linear-gradient(180deg, rgba(5,24,49,0) 0%, rgba(6,28,56,.14) 100%);
}
body:has(.mx55-hero) .mx5-fit-label{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(8,34,67,.86);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  box-shadow:0 12px 28px rgba(5,27,53,.24);
}
body:has(.mx55-hero) .mx5-fit-label::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#58d9ff;
  box-shadow:0 0 0 4px rgba(88,217,255,.16);
}
body:has(.mx55-hero) .mx5-fit-content{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:24px 24px 22px;
  flex:1 1 auto;
}
body:has(.mx55-hero) .mx5-fit-content h3{
  margin:0;
  color:#113862;
  font-size:clamp(25px,2vw,31px);
  line-height:1.1;
  letter-spacing:-.02em;
}
body:has(.mx55-hero) .mx5-fit-copy{
  margin:0;
  color:var(--mx5-text-soft);
  font-size:16px;
  line-height:1.72;
}
body:has(.mx55-hero) .mx5-fit-list{
  margin:2px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:11px;
}
body:has(.mx55-hero) .mx5-fit-list li{
  position:relative;
  padding-left:18px;
  color:var(--mx5-text);
  font-size:15px;
  line-height:1.55;
}
body:has(.mx55-hero) .mx5-fit-list li::before{
  content:"";
  position:absolute;
  left:0;top:.58em;
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg, var(--mx5-primary), var(--mx5-primary-2));
  box-shadow:0 0 0 5px rgba(12,115,218,.08);
}
body:has(.mx55-hero) .mx5-fit-foot{
  margin-top:auto;
  padding-top:6px;
  color:#0b73d9;
  font-size:14px;
  line-height:1.55;
  font-weight:800;
}
body:has(.mx55-hero) .mx5-fit-foot strong{font-weight:800}

/* garante o botão voltar ao topo à esquerda */
body:has(.mx55-hero) .mx18-top{
  position:fixed;
  left:22px;
  right:auto;
  bottom:24px;
  z-index:1000;
}

@media (max-width: 1180px){
  body:has(.mx55-hero) .mx5-fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:has(.mx55-hero) .mx5-fit-card:nth-child(3){grid-column:1/-1;max-width:760px;margin:0 auto;width:100%}
}
@media (max-width: 760px){
  body:has(.mx55-hero) .mx5-fit-head{margin-bottom:26px}
  body:has(.mx55-hero) .mx5-fit-head p{font-size:16px}
  body:has(.mx55-hero) .mx5-fit-grid{grid-template-columns:1fr;gap:18px}
  body:has(.mx55-hero) .mx5-fit-card:nth-child(3){grid-column:auto;max-width:none}
  body:has(.mx55-hero) .mx5-fit-content{padding:20px 20px 22px}
  body:has(.mx55-hero) .mx5-fit-content h3{font-size:24px}
  body:has(.mx55-hero) .mx18-top{left:14px;bottom:calc(18px + env(safe-area-inset-bottom,0px))}
}
