/* ============================================================
   CHAMA IA — funcionalidades.css
   ============================================================ */

/* ══ HERO ══ */
.func-hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 120px 5vw 96px;
  position: relative;
  overflow: hidden;
}

.func-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(34,197,227,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.func-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin: 12px 0 20px;
}

.func-hero h1 em { color: var(--cyan); }

.func-hero-left > p {
  font-size: 16px;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 36px;
}

.func-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Imagem real */
.func-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  display: block;
}

/* ══ SEÇÃO MÓDULOS ══ */
#modulos { padding-top: 96px; padding-bottom: 96px; }

.func-list {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.func-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  align-items: start;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  box-shadow: var(--shadow-sm);
}

.func-block:hover {
  border-color: rgba(34,197,227,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.func-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.func-ic-blue   { background: rgba(26,74,138,0.10);  color: var(--blue-mid); }
.func-ic-cyan   { background: rgba(34,197,227,0.12); color: var(--cyan); }
.func-ic-navy   { background: var(--gray-100);       color: var(--navy); }
.func-ic-orange { background: rgba(232,112,42,0.10); color: #E8702A; }

.func-content h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.func-content > p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 620px;
}

.func-list-items {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.func-list-items li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.func-list-items li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ══ RESPONSIVO ══ */
@media (max-width: 1024px) {
  .func-hero { grid-template-columns: 1fr; min-height: auto; gap: 40px; padding: 120px 5vw 72px; }
}

@media (max-width: 768px) {
  .func-block { grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 20px; }
  .func-icon-wrap { width: 44px; height: 44px; }
  .func-list-items { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .func-block { grid-template-columns: 1fr; gap: 14px; padding: 24px 18px; }
  .func-icon-wrap { margin-top: 0; }
  .func-content > p { font-size: 14px; }
}
