/* =============================================================================
   FERRAMENTAS GRÁTIS (views/ferramenta.php, 27/11/2026)
   Topo claro com degradê azul, caixa da ferramenta no padrão .ger-* do site e
   chamadas no mesmo azul-marinho dos cartões de preço.
   ============================================================================= */
.fe-topo { padding: clamp(46px, 6vw, 76px) 0 clamp(26px, 3vw, 36px); text-align: center;
  background: radial-gradient(900px 380px at 50% -10%, #e4ecff 0%, rgba(228, 236, 255, 0) 70%); }
.fe-topo .pilula-topo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: #e8f1fb; border: 1px solid #c9ddf3; color: #0b4f8a; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fe-topo .pilula-topo .ic { width: 15px; height: 15px; }
.fe-topo h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.035em; max-width: 820px; margin: 0 auto 14px; }
.fe-topo .lede { max-width: 680px; margin: 0 auto; }
.fe-sec { padding: clamp(20px, 3vw, 34px) 0 clamp(40px, 5vw, 64px); }
.fe-sec-ferr { padding-top: 6px; }
.fe-caixa { max-width: 860px; margin: 0 auto; box-shadow: 0 40px 90px -46px rgba(30, 58, 138, .45); }

/* Contador */
.fe-ct { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; box-shadow: 0 40px 90px -46px rgba(30, 58, 138, .45); }
.fe-ct textarea { width: 100%; min-height: 250px; resize: vertical; border: 1px solid var(--borda); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 1rem; line-height: 1.6; background: #fff; }
.fe-ct textarea:focus { outline: none; border-color: #2f6bf0; box-shadow: 0 0 0 4px rgba(47, 107, 240, .12); }
.fe-ct-linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.fe-ct-btns { display: flex; gap: 6px; }
.fe-ct-dir { border-radius: 20px; padding: 24px; color: #fff; background: linear-gradient(160deg, #0e1f4f 0%, #16317a 55%, #1f4fc4 100%); }
.fe-ct-num { display: flex; align-items: baseline; gap: 10px; }
.fe-ct-num strong { font-size: 4.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.fe-ct-num span { color: #c7d2ee; font-weight: 600; }
.fe-ct-barra { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); margin: 14px 0 10px; overflow: hidden; }
.fe-ct-barra i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #22c55e, #86efac); transition: width .25s ease; }
.fe-ct-mini { margin: 0 0 16px; color: #a9b8e0; font-size: .86rem; }
.fe-ct-mini b { color: #fff; }
.fe-formatos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fe-formatos li { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.fe-formatos b { font-size: .92rem; }
.fe-formatos small { grid-column: 2; color: #a9b8e0; font-size: .78rem; }
.ct-ic { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .14); position: relative; }
.ct-ok .ct-ic { background: #22c55e; }
.ct-ok .ct-ic::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #04210f; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ct-nao .ct-ic { background: rgba(248, 113, 113, .25); }
.ct-nao .ct-ic::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; color: #fca5a5; font-weight: 800; }
.ct-ok small { color: #86efac; }
.ct-nao { opacity: .85; }

/* Chamadas */
.fe-cta2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1080px; }
.fe-cta { border-radius: 22px; padding: 28px; background: #fff; border: 1px solid var(--borda); box-shadow: 0 30px 70px -44px rgba(30, 58, 138, .4); }
.fe-cta h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 14px 0 8px; }
.fe-cta p { color: var(--txt-2); margin: 0 0 18px; line-height: 1.6; }
.fe-cta-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #e8efff; color: #1d4ed8; }
.fe-cta-ic .ic { width: 22px; height: 22px; }
.fe-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fe-cta-studio { color: #fff; border: 0; background: linear-gradient(120deg, #0b1633 0%, #16317a 62%, #1f4fc4 100%); }
.fe-cta-studio h2 { color: #fff; }
.fe-cta-studio p { color: #c7d2ee; }
.fe-cta-studio .fe-cta-ic { background: rgba(255, 255, 255, .12); color: #fff; }
.fe-cta-studio .btn-secundario { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.fe-cta .btn-primario { background: #16a34a; border-color: #16a34a; color: #fff; }

/* Cartões das ferramentas (vitrine e "outras ferramentas") */
.fe-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1080px; }
.fe-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--borda); color: inherit;
  text-decoration: none; box-shadow: 0 30px 70px -48px rgba(30, 58, 138, .45); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.fe-card:hover { transform: translateY(-3px); border-color: #b9ccf7; box-shadow: 0 36px 80px -44px rgba(30, 58, 138, .55); }
.fe-card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #0e1f4f, #1f4fc4); }
.fe-card-ic .ic { width: 22px; height: 22px; }
.fe-card h2, .fe-card h3 { font-size: 1.2rem; letter-spacing: -.02em; margin: 6px 0 0; }
.fe-card p { margin: 0; color: var(--txt-2); line-height: 1.55; flex: 1; }
.fe-card-ir { display: inline-flex; align-items: center; gap: 6px; color: #1d4ed8; font-weight: 800; }
.fe-card-ir .ic { width: 15px; height: 15px; }
.fe-cards-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.fe-outras { background: linear-gradient(180deg, #fff, #f3f6fc); }
.fe-outras-tit { text-align: center; font-size: 1.5rem; margin: 0 0 22px; }
.fe-sec .faq-duas { max-width: 1080px; }

@media (max-width: 900px) {
  .fe-ct { grid-template-columns: 1fr; }
  .fe-cta2, .fe-cards, .fe-cards-mini { grid-template-columns: 1fr; }
  .fe-ct-num strong { font-size: 3.6rem; }
}
@media (max-width: 560px) {
}
@media (prefers-reduced-motion: reduce) { .fe-card:hover { transform: none; } .fe-ct-barra i { transition: none; } }

/* =============================================================================
   ACABAMENTO PREMIUM DAS FERRAMENTAS (27/11/2026, 2ª passada)
   Só nas páginas de ferramentas (.fe-sec-ferr); Locutores e Vinhetas ficam como estão.
   ============================================================================= */
.fe-sec-ferr .ger-caixa { position: relative; border-radius: 26px; border: 1px solid #e3e8f3; background: #fff; padding: 28px; }
.fe-sec-ferr .ger-caixa::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #1f4fc4, #22c55e); }
.fe-sec-ferr .ger-rot, .fe-rot { display: block; margin: 0 0 8px; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #64748b; }
.fe-sec-ferr .ger-campo > span { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #64748b; }
.fe-sec-ferr .ger-campo small { text-transform: none; letter-spacing: 0; font-weight: 600; color: #94a3b8; }
.fe-sec-ferr .ger-campo input, .fe-sec-ferr .ger-campo select, .fe-sec-ferr .ger-saida textarea, .fe-sec-ferr .ger-painel textarea {
  min-height: 50px; border: 1.5px solid #e3e8f3; border-radius: 14px; background: #f8fafc; padding: 12px 14px; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.fe-sec-ferr .ger-campo input:focus, .fe-sec-ferr .ger-campo select:focus, .fe-sec-ferr textarea:focus {
  outline: none; background: #fff; border-color: #2f6bf0; box-shadow: 0 0 0 4px rgba(47, 107, 240, .12); }
.fe-ct textarea { background: #f8fafc; border: 1.5px solid #e3e8f3; }
.fe-sec-ferr .ger-form .btn-primario { min-height: 54px; font-size: 1.02rem; border-radius: 14px; box-shadow: 0 14px 30px -14px rgba(22, 163, 74, .8); }

/* Abas (Quero uma ideia / Já tenho o texto) */
.fe-sec-ferr .ger-abas { background: #eef2f9; border-radius: 16px; padding: 5px; }
.fe-sec-ferr .ger-aba { border-radius: 12px; padding: 12px 10px; }
.fe-sec-ferr .ger-aba[aria-selected="true"] { background: #0b1633; color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 22, 51, .7); }

/* Ritmo: rótulo acima, opções como seletor (não como botões soltos) */
.fe-ritmo-bloco { display: flex; flex-direction: column; }
.fe-ritmo { display: inline-flex; gap: 0; padding: 4px; border-radius: 14px; background: #eef2f9; border: 1px solid #e3e8f3; }
.fe-ritmo button { border: 0; border-radius: 10px; padding: 8px 18px; font: inherit; font-weight: 700; font-size: .9rem; background: transparent; color: #64748b; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.fe-ritmo button:hover { color: #0b1633; }
.fe-ritmo button[aria-pressed="true"] { background: #fff; color: #0b1633; box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 14px -8px rgba(15, 23, 42, .35); }
.fe-ritmo button:focus-visible { outline: 2px solid #2f6bf0; outline-offset: 2px; }
.fe-ct-linha { align-items: flex-end; }

/* Copiar, Limpar e afins: botões de verdade, com ícone */
.fe-sec-ferr .ger-copiar { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid #dbe2ee; background: #fff; color: #0b1633; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .15s; }
.fe-sec-ferr .ger-copiar:hover { border-color: #b9ccf7; background: #f5f8ff; }
.fe-sec-ferr .ger-copiar:active { transform: scale(.98); }
.fe-ic-copiar::before, .fe-ic-limpar::before, .fe-ic-outra::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--fe-ic) center / contain no-repeat; mask: var(--fe-ic) center / contain no-repeat; }
.fe-ic-copiar { --fe-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
.fe-ic-limpar { --fe-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3C/svg%3E"); }
.fe-ic-outra { display: inline-flex; align-items: center; gap: 8px;
  --fe-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E"); }

/* Resultado */
.fe-sec-ferr .ger-saida { margin-top: 24px; padding-top: 24px; border-top: 1px solid #eef1f6; }
.fe-sec-ferr .ger-aviso { border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; }
.fe-sec-ferr .ger-info { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.fe-sec-ferr .ger-info.ger-longo { background: #fff4e0; color: #b45309; }
.fe-sec-ferr .vp-ideias { counter-reset: fe-n; list-style: none; padding: 0; grid-template-columns: 1fr 1fr; gap: 10px; }
.fe-sec-ferr .vp-ideias li { counter-increment: fe-n; position: relative; padding: 14px 14px 14px 50px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef1f6; font-weight: 600; }
.fe-sec-ferr .vp-ideias li::before { content: counter(fe-n); position: absolute; left: 14px; top: 13px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #0e1f4f, #1f4fc4); }
.fe-sec-ferr .calc-barra { background: #eef2f9; }
@media (max-width: 700px) { .fe-sec-ferr .vp-ideias { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .fe-ritmo-bloco, .fe-ritmo { width: 100%; }
  .fe-ritmo button { flex: 1; padding: 8px 6px; }
  .fe-ct-btns { width: 100%; }
  .fe-ct-btns .ger-copiar { flex: 1; justify-content: center; }
  .fe-sec-ferr .ger-caixa { padding: 20px 16px; }
}
