/* ═══════════════════════════════════════════════════════════════
   Meu portal NFe — index.css
   Estilos exclusivos da landing principal (index.html).
   Requer: shared.css carregado antes.
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO (versão principal — centralizado) ─────────────────── */
.hero { padding-top: calc(var(--nav-h) + 90px); padding-bottom: 0; position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(200,16,46,.09) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 0% 100%, rgba(200,16,46,.06) 0%, transparent 60%);
}
.hero__stripe { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; z-index: 0; background: var(--white); clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%); }
.hero__container { position: relative; z-index: 1; }
.hero__top { text-align: center; max-width: 820px; margin: 0 auto; padding-bottom: 72px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--red-light); color: var(--red-dark); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 28px; }
.hero__eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero__headline { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); margin-bottom: 24px; }
.hero__headline .line-italic { font-style: italic; font-weight: 700; color: var(--ink-soft); font-size: 88%; }
.hero__sub { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); max-width: 600px; margin: 0 auto 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 56px; }
.hero__stats { display: flex; justify-content: center; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); max-width: 600px; margin: 0 auto; }
.hero__stat { flex: 1; padding: 20px 24px; text-align: center; border-right: 1px solid var(--border); }
.hero__stat:last-child { border-right: none; }
.hero__stat-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--ink); line-height: 1; }
.hero__stat-label { font-size: .73rem; font-weight: 500; color: var(--ink-muted); margin-top: 4px; }

/* ─── PROFILES ───────────────────────────────────────────────── */
.profiles { padding: 100px 0; background: var(--white); position: relative; }
.profiles__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.profile-card { border-radius: var(--r-lg); padding: 40px 32px; border: 1px solid var(--border); background: var(--cream); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.profile-card.featured { background: var(--ink); border-color: var(--ink); color: var(--white); }
.profile-card__num { font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: 1; color: var(--red-light); margin-bottom: 24px; opacity: .6; }
.profile-card.featured .profile-card__num { color: rgba(200,16,46,.7); }
.profile-card__tag { display: inline-flex; align-items: center; gap: 6px; background: var(--red-light); color: var(--red-dark); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 50px; margin-bottom: 16px; align-self: flex-start; }
.profile-card.featured .profile-card__tag { background: rgba(200,16,46,.25); color: #ffaaaa; }
.profile-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; margin-bottom: 12px; line-height: 1.2; }
.profile-card.featured .profile-card__title { color: var(--white); }
.profile-card__text { font-size: .9rem; line-height: 1.7; color: var(--ink-soft); flex: 1; }
.profile-card.featured .profile-card__text { color: rgba(255,255,255,.6); }
.profile-card__gains { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.profile-card.featured .profile-card__gains { border-color: rgba(255,255,255,.1); }
.profile-card__gain { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.profile-card.featured .profile-card__gain { color: rgba(255,255,255,.7); }
.profile-card__gain svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.profile-card.featured .profile-card__gain svg { color: #ff8888; }
.profile-card__cta { margin-top: 28px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--red); transition: gap .2s; }
.profile-card.featured .profile-card__cta { color: #ff8888; }
.profile-card__cta:hover { gap: 10px; }
.profile-card__cta svg { width: 16px; height: 16px; }

/* ─── HOW (fundo cream nesta página + step branco) ───────────── */
.how { background: var(--cream); }
.how__step { background: var(--white); }

/* ─── NUMBERS ────────────────────────────────────────────────── */
.numbers { padding: 100px 0; background: var(--red); position: relative; overflow: hidden; }
.numbers::before { content: ''; position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.05); }
.numbers::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); }
.numbers__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; z-index: 1; }
.numbers__item { padding: 40px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.15); }
.numbers__item:last-child { border-right: none; }
.numbers__value { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 8px; }
.numbers__label { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--white); }
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.features__list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); border: 1px solid transparent; transition: all .25s; }
.feature-item:hover { border-color: var(--border); background: var(--cream); }
.feature-item__icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--red-light); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--red); transition: background .25s; }
.feature-item:hover .feature-item__icon { background: var(--red); color: var(--white); }
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item__title { font-weight: 700; font-size: .98rem; margin-bottom: 4px; }
.feature-item__text { font-size: .87rem; line-height: 1.6; color: var(--ink-soft); }
.features__visual { position: relative; }
.features__panel { background: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.features__panel-bar { height: 36px; background: #2A2520; display: flex; align-items: center; padding: 0 16px; gap: 8px; }
.features__panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.features__panel-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.features__panel-row { display: flex; gap: 12px; }
.features__panel-block { background: rgba(255,255,255,.06); border-radius: 8px; height: 40px; }
.features__panel-block.w3 { flex: 3; }
.features__panel-block.w1 { flex: 1; }
.features__panel-block.full { height: 56px; flex: 1; }
.features__panel-block.accent { background: rgba(200,16,46,.4); }
.features__panel-block.green { background: rgba(46,125,50,.35); }
.features__panel-table { display: flex; flex-direction: column; gap: 6px; }
.features__panel-tr { display: flex; gap: 8px; }
.features__panel-td { background: rgba(255,255,255,.05); border-radius: 4px; height: 22px; flex: 1; }
.features__panel-td.hl { background: rgba(200,16,46,.2); }
.features__badge { position: absolute; bottom: -16px; right: -16px; background: var(--red); color: var(--white); border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-md); text-align: center; }
.features__badge strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; display: block; line-height: 1; }
.features__badge span { font-size: .72rem; opacity: .85; }

/* ─── TESTIMONIALS (.tc, exclusiva desta página) ─────────────── */
.testimonials { padding: 100px 0; background: var(--cream); }
.tc { background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; transition: transform .3s, box-shadow .3s; }
.tc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tc.featured { background: var(--ink); border-color: var(--ink); }
.tc-stars svg { width: 15px; height: 15px; fill: #F59E0B; }
.tc.featured .tc-stars svg { fill: #FFF9C4; }
.tc-text { font-size: .88rem; line-height: 1.7; color: var(--ink-soft); flex: 1; }
.tc.featured .tc-text { color: rgba(255,255,255,.65); }
.tc-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--red-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: .9rem; color: var(--red); }
.tc.featured .tc-avatar { background: rgba(255,255,255,.12); color: var(--white); }
.tc-name { font-weight: 700; font-size: .88rem; }
.tc.featured .tc-name { color: var(--white); }
.tc-role { font-size: .75rem; color: var(--ink-muted); }
.tc.featured .tc-role { color: rgba(255,255,255,.45); }
.tc-profile-tag { display: inline-flex; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--red-light); color: var(--red-dark); }
.tc.featured .tc-profile-tag { background: rgba(200,16,46,.25); color: #ffaaaa; }

/* ─── FAQ (fundo branco nesta página) ───────────────────────── */
.faq { padding: 100px 0; background: var(--white); }
.faq__item { background: var(--cream); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .profiles__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .numbers__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .numbers__item:nth-child(2n) { border-right: none; }
  .numbers__item:last-child { border-bottom: none; }
  .features__grid { grid-template-columns: 1fr; gap: 48px; }
  .features__badge { bottom: -10px; right: 0; }
  .testimonials__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .how__steps { grid-template-columns: 1fr 1fr; }
  .how__steps::before { display: none; }
  .hero__stats { flex-direction: column; max-width: 280px; }
  .hero__stat { border-right: none; border-bottom: 1px solid var(--border); }
  .hero__stat:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .how__steps { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: 1fr; }
}
