/* =========================================================
   LMCONTS — interna.css
   Estilos compartilhados das páginas internas
   (segmentos, serviços, sobre, contato).
   ========================================================= */

/* ===================== HERO INTERNO ===================== */
.page-hero {
  position: relative;
  background: var(--verde-profundo);
  color: var(--branco);
  overflow: hidden;
  padding-block: 88px 76px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--branco); max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.8); font-size: 1.18rem; margin: 20px 0 32px; max-width: 52ch; }
.page-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* breadcrumb */
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--verde-claro); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
section:not(.page-hero) .breadcrumb { color: var(--texto-mute); }

/* aurora de luzes (igual à Home) */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.aurora .a1 { width: 420px; height: 420px; top: -140px; right: -60px; background: radial-gradient(circle, rgba(117,209,158,.38), transparent 70%); animation: floatA 16s ease-in-out infinite; }
.aurora .a2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: radial-gradient(circle, rgba(48,102,91,.5), transparent 70%); animation: floatB 21s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-46px,34px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(54px,-30px); } }
@media (prefers-reduced-motion: reduce) { .aurora span { animation: none !important; } }

/* ===================== DESAFIOS (grid) ===================== */
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.challenge {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-left: 3px solid var(--verde-claro);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.challenge:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.challenge h3 { font-size: 1.1rem; margin-bottom: 8px; }
.challenge p { font-size: .96rem; }

/* ===================== CHECKLIST (serviços incluídos) ===================== */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 1rem; color: var(--verde-escuro); font-weight: 500;
}
.check-list li::before {
  content: ""; flex-shrink: 0; margin-top: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--verde-claro-12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330665b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ===================== CASO / RESULTADO destaque ===================== */
.highlight-case {
  background: var(--verde-profundo);
  color: var(--branco);
  border-radius: 18px;
  padding: 48px 44px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
}
.highlight-case .hc-num { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; color: var(--verde-claro); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.highlight-case h3 { color: var(--branco); font-size: 1.4rem; margin-bottom: 8px; }
.highlight-case p { color: rgba(255,255,255,.78); }
.highlight-case small { color: rgba(255,255,255,.55); font-size: .82rem; }

/* ===================== TEXTO RICO (prose) ===================== */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; font-size: 1.25rem; }
.prose p, .prose li { color: var(--texto-suave); font-size: 1.06rem; line-height: 1.7; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { display: flex; gap: 10px; }
.prose ul li::before { content: "→"; color: var(--verde-claro); font-weight: 700; }
.prose a { color: var(--verde-medio); text-decoration: underline; text-underline-offset: 3px; }
.validar { background: #fff7e6; border: 1px dashed #e0b350; color: #8a6d1f; border-radius: 8px; padding: 2px 8px; font-size: .9em; font-weight: 600; }

/* ===================== ARTIGO (blog post) ===================== */
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; color: rgba(255,255,255,.72); font-size: .9rem; margin-top: 20px; }
.article-meta .a-cat { background: var(--verde-claro-12); color: var(--verde-claro); border: 1px solid var(--verde-claro-30); border-radius: var(--radius-pill); padding: 5px 14px; font-size: .8rem; font-weight: 600; }
.article-body { max-width: 740px; margin: 0 auto; }
.article-body .prose { max-width: none; }
.article-body img { border-radius: 12px; margin: 28px 0; }
.mid-cta { background: var(--verde-claro-12); border: 1px solid var(--verde-claro-30); border-radius: 16px; padding: 30px 32px; margin: 40px 0; text-align: center; }
.mid-cta h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mid-cta p { margin-bottom: 20px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--linha); flex-wrap: wrap; }
.share span { font-weight: 600; color: var(--verde-escuro); font-size: .92rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.share a:hover { transform: translateY(-3px); border-color: var(--verde-claro); }
.share a svg { width: 18px; height: 18px; fill: var(--verde-medio); }

/* ===================== FAQ (acordeão) ===================== */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--linha); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; font-size: 1.12rem; font-weight: 600; color: var(--verde-escuro);
  letter-spacing: -.01em;
}
.faq-q .fq-ico { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-q .fq-ico::before, .faq-q .fq-ico::after { content: ""; position: absolute; background: var(--verde-medio); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .fq-ico::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .fq-ico::after { left: 11px; top: 3px; bottom: 3px; width: 2px; }
.faq-item.is-open .fq-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--texto-suave); font-size: 1.02rem; }

/* ===================== CTA BAND (reutilizável) ===================== */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-band .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===================== CONTATO ===================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: var(--verde-escuro); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--linha); border-radius: 10px;
  background: var(--branco); font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--verde-claro); box-shadow: 0 0 0 3px var(--verde-claro-12);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.contact-channels { display: grid; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  background: var(--branco); border: 1px solid var(--linha); border-radius: 12px;
  padding: 18px 20px; transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.channel:hover { transform: translateY(-3px); border-color: var(--verde-claro-30); }
.channel .ch-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--verde-claro-12); display: grid; place-items: center; flex-shrink: 0; }
.channel .ch-ico svg { width: 22px; height: 22px; stroke: var(--verde-medio); fill: none; stroke-width: 1.7; }
.channel b { display: block; color: var(--verde-escuro); }
.channel small { color: var(--texto-mute); }

/* ===================== SOBRE (foto + bio) ===================== */
.about-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.about-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--verde-medio), var(--verde-profundo)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-creds { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.chip { font-size: .82rem; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--verde-claro-12); color: var(--verde-medio); border: 1px solid var(--verde-claro-30); }
@media (max-width: 900px) { .about-wrap { grid-template-columns: 1fr; gap: 32px; } .about-photo { max-width: 360px; } }

/* ===================== EQUIPE (Sobre) ===================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius-card); padding: 34px 26px; transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.team-card .t-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; background: var(--verde-claro-12); display: grid; place-items: center; font-weight: 700; color: var(--verde-medio); font-size: 1.7rem; }
.team-card h3 { font-size: 1.2rem; }
.team-card .t-role { color: var(--verde-medio); font-weight: 600; font-size: .9rem; margin-top: 2px; }
.team-card p { font-size: .94rem; margin-top: 10px; }

/* ===================== BLOG ===================== */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chips button { border: 1px solid var(--linha); background: var(--branco); border-radius: var(--radius-pill); padding: 9px 18px; font-size: .9rem; font-weight: 500; cursor: pointer; color: var(--verde-escuro); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.filter-chips button.is-active, .filter-chips button:hover { background: var(--verde-profundo); color: var(--branco); border-color: var(--verde-profundo); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--radius-card); overflow: hidden; transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-thumb { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--verde-medio), var(--verde-profundo)); display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: .8rem; }
.post-body { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--verde-medio); }
.post-card h3 { font-size: 1.16rem; margin: 9px 0 10px; }
.post-card p { font-size: .95rem; flex: 1; }
.post-meta { display: flex; gap: 14px; margin-top: 18px; font-size: .8rem; color: var(--texto-mute); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 900px) {
  .team-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .highlight-case { grid-template-columns: 1fr; gap: 18px; padding: 36px 28px; text-align: left; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .team-grid, .post-grid { grid-template-columns: 1fr; }
}
