/* ============================================================
   COMO-FUNCIONA.CSS — Página explicando o fluxo da consulta
   Segue o padrão visual das ferramentas (fer-*)
   ============================================================ */

.cf-root {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #172621;
  background: #FAFBF7;
  margin: 0;
  line-height: 1.55;
}

/* ---- Hero ---- */
.cf-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  text-align: center;
}
.cf-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2F745B;
  font-weight: 600;
  margin: 0 0 12px;
}
.cf-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #172621;
  margin: 0 0 18px;
}
.cf-hero h1 em {
  font-style: italic;
  color: #2F745B;
}
.cf-hero-sub {
  font-size: 1.05rem;
  color: #5a6963;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Seção "Como funciona" (4 passos) ---- */
.cf-passos {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.cf-passos h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 36px;
  color: #172621;
}
.cf-passos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.cf-passo {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  border: 1px solid #dae7e0;
  box-shadow: 0 2px 8px rgba(23,38,33,.04);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
}
.cf-passo-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3AAF7E, #2F745B);
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cf-passo h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #172621;
  margin: 0 0 8px;
}
.cf-passo p {
  color: #4a5852;
  margin: 0 0 12px;
  font-size: 0.94rem;
}
.cf-passo ul {
  margin: 0;
  padding-left: 20px;
  color: #4a5852;
  font-size: 0.9rem;
}
.cf-passo ul li { margin-bottom: 4px; }
.cf-passo-hint {
  font-size: 0.82rem;
  color: #2F745B;
  font-weight: 500;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(58,175,126,0.08);
  border-radius: 6px;
  display: inline-block;
}

/* ---- Seção "O que está incluído" ---- */
.cf-incluido {
  background: #fff;
  padding: 60px 24px;
  border-top: 1px solid #dae7e0;
  border-bottom: 1px solid #dae7e0;
}
.cf-incluido-inner {
  max-width: 900px;
  margin: 0 auto;
}
.cf-incluido h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 36px;
  color: #172621;
}
.cf-incluido-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.cf-item {
  display: flex;
  gap: 14px;
  align-items: start;
}
.cf-item-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(58,175,126,0.15);
  color: #2F745B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cf-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #172621;
  margin: 0 0 4px;
}
.cf-item p {
  font-size: 0.86rem;
  color: #5a6963;
  margin: 0;
  line-height: 1.5;
}

/* ---- Diferenciais ---- */
.cf-diferenciais {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px 20px;
}
.cf-diferenciais h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 36px;
  color: #172621;
}
.cf-dif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cf-dif-card {
  background: #fff;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid #dae7e0;
  text-align: center;
}
.cf-dif-icone {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #3AAF7E, #2F745B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cf-dif-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #172621;
}
.cf-dif-card p {
  font-size: 0.9rem;
  color: #5a6963;
  margin: 0;
}

/* ---- Investimento ---- */
.cf-investimento {
  background: linear-gradient(135deg, #f7faf8, #eef5f1);
  padding: 60px 24px;
  margin-top: 40px;
}
.cf-inv-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.cf-inv-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 12px;
  color: #172621;
}
.cf-inv-sub {
  color: #5a6963;
  margin: 0 0 30px;
  font-size: 1rem;
}
.cf-inv-box {
  background: #fff;
  border-radius: 14px;
  padding: 30px 28px;
  border: 1px solid #dae7e0;
  box-shadow: 0 4px 14px rgba(23,38,33,.06);
}
.cf-inv-item {
  padding: 14px 0;
  border-bottom: 1px solid #eef2ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex-wrap: wrap;
}
.cf-inv-item:last-child { border-bottom: none; }
.cf-inv-item-nome {
  font-weight: 500;
  color: #172621;
  font-size: 0.98rem;
}
.cf-inv-item-desc {
  font-size: 0.82rem;
  color: #5a6963;
  margin-top: 2px;
}
.cf-inv-item-preco {
  color: #2F745B;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.cf-inv-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #5a6963;
  font-style: italic;
}

/* ---- FAQ ---- */
.cf-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.cf-faq h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin: 0 0 30px;
  color: #172621;
}
.cf-faq-item {
  background: #fff;
  border: 1px solid #dae7e0;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.cf-faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #172621;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cf-faq-item summary::-webkit-details-marker { display: none; }
.cf-faq-item summary::after {
  content: '+';
  color: #2F745B;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.cf-faq-item[open] summary::after {
  content: '−';
}
.cf-faq-item summary:hover {
  background: rgba(58,175,126,0.04);
}
.cf-faq-answer {
  padding: 0 20px 18px;
  color: #4a5852;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---- CTA Final ---- */
.cf-cta {
  background: linear-gradient(135deg, #172621, #2F745B);
  color: #fff;
  padding: 70px 24px;
  text-align: center;
}
.cf-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}
.cf-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin: 0 0 14px;
  color: #fff;
}
.cf-cta h2 em {
  font-style: italic;
  color: #A7E9C4;
}
.cf-cta p {
  color: #d9e8dc;
  font-size: 1.05rem;
  margin: 0 0 30px;
}
.cf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.15s;
}
.cf-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 26px rgba(37,211,102,0.55);
}

@media (max-width: 640px) {
  .cf-hero { padding: 40px 20px 30px; }
  .cf-passo { grid-template-columns: 44px 1fr; padding: 20px; gap: 14px; }
  .cf-passo-num { width: 36px; height: 36px; font-size: 1.15rem; }
  .cf-passo h3 { font-size: 1.2rem; }
  .cf-inv-item { flex-direction: column; align-items: flex-start; }
  .cf-cta h2 { font-size: 1.7rem; }
}
