/* ============================================================
   Notacil — página inicial
   Carregado depois de styles.css, que fornece fontes, tokens, botões,
   cabeçalho, rodapé, .reveal, .text-link, o acordeão do FAQ e o aviso
   de cookies.
   ============================================================ */

.home {
  --good: #059669;
  --bad: #dc2626;
}

.home .accent { color: var(--teal); }
.home section[id] { scroll-margin-top: 88px; }

/* ============================================================
   Hero
   ============================================================ */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 56px var(--gutter) 96px;
}
.intro__copy { display: flex; flex-direction: column; gap: 24px; }
.intro__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -1px;
  text-wrap: pretty;
}
.intro__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.intro__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.intro__assurance { font-size: 14px; color: var(--muted); }
.intro__assurance a { color: var(--ink); text-decoration: underline; text-underline-position: from-font; }
.intro__assurance a:hover { color: var(--orange-text); }
.intro__assurance a[href^="guias/"] { white-space: nowrap; }

.intro__stage { position: relative; aspect-ratio: 6 / 5; }
.intro__shot {
  position: absolute;
  inset: 12% 4% 16% 6%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(1, 36, 50, .35), 0 0 0 1px var(--card-line);
}
.intro__shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.intro__card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px -12px rgba(1, 36, 50, .3), 0 0 0 1px var(--card-line);
  animation: float 6s ease-in-out infinite;
}
.intro__card small { font-size: 12px; color: var(--muted); }
.intro__card strong { font-family: var(--font-heading); font-size: 16px; }

.intro__card--status { flex-direction: row; align-items: center; gap: 12px; top: 2%; left: 0; }
.intro__card--status div { display: flex; flex-direction: column; }
.intro__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--good);
  color: #fff;
  font-weight: 700;
}
.intro__card--receivable { right: 0; top: 30%; animation-delay: -2s; }
.intro__card--receivable strong { font-size: 22px; }
.intro__tag { font-size: 11px; font-weight: 600; color: var(--teal); }
.intro__card--limit { left: 10%; bottom: 2%; width: 220px; animation-delay: -4s; }
.intro__bar { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.intro__bar span { display: block; width: 38%; height: 100%; background: var(--orange); border-radius: inherit; }

/* Selo informativo, e não botão: marcador à esquerda e texto teal sobre fundo
   claro, para não se confundir com os botões de ação, que são preenchidos. */
.intro__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--teal);
  animation: float 7s ease-in-out infinite;
}
.intro__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.intro__chip--national { top: 0; right: 8%; background: #fff; box-shadow: 0 8px 20px -10px rgba(1, 36, 50, .3), 0 0 0 1px var(--card-line); animation-delay: -1s; }
.intro__chip--flat { bottom: 8%; right: 2%; background: var(--tint); animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   Pilares
   ============================================================ */

.pillars { padding: 88px var(--gutter); background: var(--tint); }
.pillars__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 40px; margin-bottom: 48px; }
.pillars__title {
  max-width: 560px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.35;
  color: var(--navy);
}
.pillars__title strong { font-weight: 700; }
.pillars__flow { position: relative; display: flex; gap: 28px; flex-shrink: 0; }
.pillars__flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  right: 24px;
  border-top: 2px dashed var(--teal);
  opacity: .4;
}
.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px -14px rgba(1, 36, 50, .3), 0 0 0 1px var(--card-line);
  animation: float 6s ease-in-out infinite;
}
.flow-step:nth-child(2) { animation-delay: -2s; }
.flow-step:nth-child(3) { animation-delay: -4s; }
.flow-step__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
}
.flow-step__icon--ok { background: var(--good); color: #fff; }
.flow-step__icon--money { background: var(--teal); color: #fff; }
.flow-step__icon--limit { background: var(--orange); color: var(--navy); }
.flow-step__text { display: flex; flex-direction: column; }
.flow-step__text strong { font-family: var(--font-heading); font-size: 14px; white-space: nowrap; }
.flow-step__text small { font-size: 12px; color: var(--muted); }

.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 20px 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(1, 36, 50, .25); }
.pillar__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  line-height: .9;
  color: var(--teal);
  opacity: .22;
}
.pillar__title { align-self: center; font-family: var(--font-heading); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--navy); }
.pillar__text { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; color: var(--muted); }
.pillar__text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-position: from-font; }

/* ============================================================
   Áreas do produto
   ============================================================ */

.areas { padding: 96px var(--gutter) 40px; }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.area:hover { border-color: var(--teal); box-shadow: 0 16px 32px -20px rgba(2, 110, 144, .45); }
.area__icon { width: 44px; height: 44px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.area__for { margin-top: 14px; font-size: 13px; color: var(--muted); }
.area__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy);
}
.area__list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; text-align: left; }
.area__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23026e90' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.5l4 4L15 7.5M11 15.5l1 1L22 6.5'/%3E%3C/svg%3E") no-repeat 0 2px / 20px;
}
.area__list strong { font-weight: 600; font-size: 15px; line-height: 1.35; }
.area__list span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.area__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--navy); transition: color .2s ease; }
.area__more:hover { color: var(--teal); }

/* ============================================================
   Fatos
   ============================================================ */

.facts { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: 72px var(--gutter) 96px; }
.facts__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.facts__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; width: 100%; }
.fact { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fact svg { width: 40px; height: 40px; margin-bottom: 10px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact__label { font-family: var(--font-heading); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.fact__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.fact__text strong { color: var(--ink); }

/* ============================================================
   Faixa de chamada
   ============================================================ */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px var(--gutter);
  background: var(--soft);
}
.cta-band h2 { font-family: var(--font-heading); font-weight: 600; font-size: 30px; }
.cta-band p { margin-top: 6px; font-size: 18px; color: var(--muted); }

/* ============================================================
   Emissor Nacional x Notacil
   ============================================================ */

.versus { display: flex; flex-direction: column; align-items: center; padding: 96px 0 72px; }
.versus__head { max-width: 760px; padding: 0 24px; margin-bottom: 56px; text-align: center; }
.versus__title { font-family: var(--font-heading); font-weight: 400; font-size: 30px; text-transform: uppercase; letter-spacing: .5px; }
.versus__sub { margin-top: 20px; font-size: 18px; line-height: 1.6; }
.versus__grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.versus__col { padding: 56px max(24px, calc((100vw - var(--wrap)) / 2)) 56px 56px; }
.versus__col--gov { padding: 56px 56px 56px max(24px, calc((100vw - var(--wrap)) / 2)); background: #fdf7f6; }
.versus__col--us { background: #f3faf7; }
.versus__name { font-family: var(--font-heading); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--bad); }
.versus__name img { height: 32px; width: auto; }
.versus__lead { margin: 16px 0 32px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.versus__list { display: flex; flex-direction: column; gap: 22px; }
.versus__list li { position: relative; padding-left: 36px; font-size: 15px; line-height: 1.55; }
.versus__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: no-repeat center / 12px;
}
.versus__list .is-plus::before {
  background-color: var(--good);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.versus__list .is-minus::before {
  background-color: #f87171;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.versus__list .is-note::before {
  background-color: var(--muted);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E");
}
.versus__more { margin-top: 40px; }

/* ============================================================
   Nota e financeiro em um só lugar
   ============================================================ */

.showcase { padding: 88px var(--gutter); }
.showcase__head { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.showcase__title { font-family: var(--font-heading); font-weight: 400; font-size: 30px; line-height: 1.5; text-transform: uppercase; letter-spacing: .5px; }
.showcase__title mark { padding: 2px 10px; background: var(--teal); color: #fff; }
.showcase__sub { margin-top: 20px; font-size: 18px; line-height: 1.6; }

.showcase__tabs { display: flex; justify-content: center; gap: 4px; }
.showcase__tab {
  flex: 0 1 220px;
  padding: 14px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.showcase__tab:hover { color: var(--teal); }
.showcase__tab.is-active { background: var(--tint); color: var(--teal); font-weight: 700; }

.showcase__panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--tint);
}
.showcase__panel[hidden] { display: none; }
.showcase__panel.is-anim .showcase__list li { animation: rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.showcase__panel.is-anim .showcase__list li:nth-child(2) { animation-delay: .08s; }
.showcase__panel.is-anim .showcase__list li:nth-child(3) { animation-delay: .16s; }
.showcase__panel.is-anim .showcase__shot { animation: rise .6s .1s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.showcase__list { display: flex; flex-direction: column; gap: 24px; }
.showcase__list li {
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23026e90'/%3E%3Cpath d='M7 12.5l3.5 3.5L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 3px / 20px;
}
.showcase__list strong { color: var(--teal); }
.showcase__shot { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -24px rgba(1, 36, 50, .4); }
.showcase__shot img { width: 100%; height: auto; }
.showcase__shot figcaption { padding: 10px 16px; font-size: 12px; font-style: italic; color: var(--muted); }

/* ============================================================
   Como começar
   ============================================================ */

.steps { padding: 40px var(--gutter) 96px; }
.steps__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.steps__title { font-family: var(--font-heading); font-weight: 600; font-size: 32px; line-height: 1.2; max-width: 560px; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 32px; border: 2px dashed var(--teal); border-radius: var(--radius); }
.step-card__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.step-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 19px; }
.step-card p:last-child { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   Preço
   ============================================================ */

.offer { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 88px var(--gutter); background: var(--tint); }
.offer__title { font-family: var(--font-heading); font-weight: 600; font-size: 32px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 960px; }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(1, 36, 50, .35);
}
.plan--paid { background: var(--navy); color: #fff; }
.plan__name { font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.plan__price { font-size: 18px; color: var(--muted); }
.plan__price span { font-family: var(--font-heading); font-weight: 700; font-size: 48px; color: var(--ink); }
.plan--paid .plan__price span { color: var(--orange); }
.plan__pitch { font-size: 15px; color: var(--muted); }
.plan--paid .plan__price, .plan--paid .plan__pitch { color: rgba(255, 255, 255, .8); }
.plan__features { display: flex; flex-direction: column; gap: 14px; margin: 12px 0 20px; }
.plan__features li {
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23059669'/%3E%3Cpath d='M7 12.5l3.5 3.5L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 1px / 19px;
}
.plan .button { margin-top: auto; }
.plans__notes { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 760px; text-align: center; }
.plans__guide { font-size: 16px; line-height: 1.5; }
.plans__guide a { text-decoration: underline; }
.plans__note { font-size: 13px; color: var(--muted); }

/* ============================================================
   FAQ (o acordeão vem de styles.css)
   ============================================================ */

.home .faq { gap: 40px; padding: 96px var(--gutter); background: #fff; }
.faq__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.faq__title { font-family: var(--font-heading); font-weight: 600; font-size: 32px; }
.faq__links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.home .faq__item { border-bottom-color: var(--card-line); }
.home .faq__question:hover span { color: var(--teal); }

/* ============================================================
   Contato
   ============================================================ */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 48px;
  padding: 24px var(--gutter) 96px;
}
.contact__card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: var(--radius); background: var(--soft); }
.contact__title { font-family: var(--font-heading); font-weight: 700; font-size: 34px; line-height: 1.15; }
.contact__text { font-size: 17px; line-height: 1.6; color: var(--muted); }
.contact__channels { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact__channels li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 16px; }
.contact__channels a:hover { color: var(--teal); }
.contact__channels small { color: var(--muted); }
.contact__channels svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact__close { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.contact__logo { height: 48px; width: auto; }
.contact__slogan { font-family: var(--font-heading); font-weight: 700; font-size: 52px; color: var(--navy); }
.contact__slogan span { color: var(--orange-text); }
.contact__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.contact__note { font-size: 14px; color: var(--muted); }

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1080px) {
  .intro, .contact { grid-template-columns: minmax(0, 1fr); }
  .intro { padding-top: 32px; }
  .intro__stage { max-width: 640px; width: 100%; margin: 0 auto; }

  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .areas__grid, .steps__grid { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }

  .showcase__panel { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .versus__grid { grid-template-columns: 1fr; }
  .versus__col, .versus__col--gov { padding: 48px 24px; }
}

@media (max-width: 760px) {
  .intro__title { letter-spacing: -.5px; }
  .intro__lead { font-size: 16px; }
  .intro__ctas .button { width: 100%; }
  .intro__card { padding: 10px 12px; }
  .intro__card strong { font-size: 14px; }
  .intro__card--receivable strong { font-size: 17px; }
  .intro__card--limit { width: 170px; }
  .intro__chip { font-size: 11px; padding: 6px 10px; }

  .pillars__head { margin-bottom: 32px; }
  .pillars__title { font-size: 23px; }
  .pillars__flow { display: none; }
  .pillars__grid { grid-template-columns: 1fr; }

  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__title, .versus__title, .showcase__title { font-size: 23px; }

  .cta-band, .steps__head, .faq__head { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 24px; }
  .faq__links { align-items: flex-start; }

  .showcase__tab { font-size: 15px; padding: 12px 10px; }
  .showcase__panel { padding: 28px 20px; gap: 28px; }

  .plan { padding: 32px 24px; }
  .plan__price span { font-size: 42px; }

  .steps__title, .faq__title, .offer__title { font-size: 26px; }
  .contact__card { padding: 28px 24px; }
  .contact__slogan { font-size: 40px; }
  .contact__buttons .button { width: 100%; }

}
