/* Inecont Assessoria Contábil — estilos do site */
:root {
  --navy: #0B2038;
  --navy-2: #091A2E;
  --blue-text: #42536A;
  --gold: #C99A5B;
  --gold-dark: #8A5E27;
  --gold-light: #E7C58F;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FA;
  --line: #D9E1EC;
  --radius: 6px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Montserrat', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #1B2A3D;
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* Barra superior */
.topbar { background: var(--navy-2); color: #C9D6E6; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* Cabeçalho */
.header { background: #fff; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.header__logo img { height: 80px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; width: 48px; height: 48px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Botões */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); padding: 11px 22px; font-size: 14px; }
.btn--gold:hover { background: var(--gold-light); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #14345A; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--block { display: block; width: 100%; }

/* Textos comuns */
.eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-weight: 800; font-size: 38px; line-height: 1.2; max-width: 720px; margin-bottom: 48px; }
.lead { font-size: 18px; line-height: 1.7; color: var(--blue-text); max-width: 580px; }

/* Hero */
.hero { background: var(--bg-alt); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.hero__text { flex: 1.3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__text .eyebrow { margin-bottom: 0; }
.hero h1 { font-weight: 800; font-size: 52px; line-height: 1.12; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__card {
  flex: 1 1 300px; min-width: 0; background: var(--navy); color: #C9D6E6;
  border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 18px; line-height: 1.7;
}
.hero__card h2 { color: #fff; font-size: 20px; font-weight: 700; }
.hero__card strong { color: #fff; font-weight: 600; }
.hero__card hr { border: 0; height: 1px; background: #27415F; width: 100%; margin: 0; }

/* Serviços */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; gap: 12px; }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--gold-dark); }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.7; color: var(--blue-text); }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps__n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 20px; font-weight: 700; }
.steps p { color: var(--blue-text); line-height: 1.7; }

/* Sobre */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about__head { flex: 1 1 360px; min-width: 0; }
.about__head .section__title { margin-bottom: 0; }
.about__body { flex: 1.2 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.75; color: var(--blue-text); }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.facts li { border-top: 3px solid var(--gold); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--navy); }
.facts span { font-size: 14px; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stats > div { display: flex; flex-direction: column; align-items: center; }
.stats span { font-size: 14px; }
.stats strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--navy); }

.person { margin-top: 32px; background: var(--navy); color: #C9D6E6; border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 28px 28px 24px; max-width: 420px; }
.person__role { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); }
.person__name { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; margin-top: 6px; }
.person__crc { font-size: 14px; margin-top: 2px; }
.person__list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid #27415F; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.person__list li { padding-left: 18px; position: relative; color: #E6ECF4; }
.person__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Materiais gratuitos */
.resource { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); overflow: hidden; }
.resource__img { flex: 1 1 380px; min-width: 0; background: #FDF7EB; display: flex; align-items: center; justify-content: center; padding: 16px; }
.resource__img img { width: 100%; max-width: 480px; }
.resource__body { flex: 1.1 1 400px; min-width: 0; padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.resource__tag { align-self: flex-start; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--navy); color: var(--gold-light); padding: 6px 12px; border-radius: 99px; }
.resource__body h3 { font-size: 24px; font-weight: 800; line-height: 1.25; }
.resource__body p { color: var(--blue-text); line-height: 1.7; }
.resource__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.resource__note { font-size: 13px; color: #5A6B82 !important; }
.resource__more { margin-top: 20px; font-size: 15px; color: #5A6B82; }

/* Contato */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact__info { flex: 1 1 360px; min-width: 0; }
.contact__info .section__title { margin-bottom: 20px; }
.lead--dark { margin-bottom: 32px; }
.contact__list { margin: 0; display: grid; gap: 20px; }
.contact__list div { border-top: 1px solid var(--line); padding-top: 14px; }
.contact__list dt { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #5A6B82; margin-bottom: 4px; }
.contact__list dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--navy); }
.contact__list a:hover { color: var(--gold-dark); text-decoration: underline; }

.form { flex: 1 1 380px; min-width: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 8px; }
.form h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.form label { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 10px; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #B5C2D3; border-radius: var(--radius);
  background: #fff; color: #1B2A3D; width: 100%;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.form .btn { margin-top: 16px; }
.form__error { color: #A32020; font-size: 14px; font-weight: 600; margin-top: 4px; }
.form__error[hidden] { display: none; }
.form__note { font-size: 13px; color: #5A6B82; line-height: 1.5; margin-top: 8px; }
.form__note a { text-decoration: underline; }

/* Rodapé */
.footer { background: var(--navy-2); color: #C9D6E6; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 56px; padding-bottom: 28px; font-size: 15px; line-height: 1.8; }
.footer__inner > div { flex: 1 1 240px; min-width: 0; }
.footer__brand { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer__brand span { color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: 2px; display: block; }
.footer__title { font-family: var(--font-head); color: var(--gold-light); font-weight: 700; margin-bottom: 6px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-bottom: 32px; font-size: 13px; color: #9FB1C7; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }

/* Páginas de texto (privacidade) */
.doc { max-width: 800px; margin: 0 auto; padding: 72px 32px 96px; }
.doc h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--blue-text); line-height: 1.8; }
.doc ul { padding-left: 22px; }
.doc a { text-decoration: underline; color: var(--navy); }
.doc .updated { font-size: 14px; color: #5A6B82; margin-bottom: 32px; }


/* Quem somos: título centralizado e colunas alinhadas */
.about__intro { text-align: center; max-width: 860px; margin: 0 auto 48px; }
.about__intro .section__title { margin: 0 auto; max-width: 860px; }
.about { align-items: center; }
.about__head .person { margin-top: 0; margin-left: auto; margin-right: auto; }
.facts { text-align: center; }
.facts li { align-items: center; }

/* Cartão do topo: lista do que cuidamos + guia */
.hero__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero__list li { position: relative; padding-left: 28px; color: #E6ECF4; font-size: 15.5px; line-height: 1.5; }
.hero__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }
.hero__list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero__guide { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 12px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid #27415F; transition: background .2s, border-color .2s; }
.hero__guide:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.hero__guide img { width: 44px; height: auto; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.hero__guide span { font-size: 13.5px; color: #C9D6E6; line-height: 1.4; }
.hero__guide strong { display: block; color: #fff; font-size: 15px; }
.resource__img img { width: auto; max-width: 100%; max-height: 360px; box-shadow: 0 18px 36px rgba(11,32,56,.25); border-radius: 4px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.28); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.28); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.28); } }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Topo: entrada em sequência ao carregar */
.hero__text > * { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__text > *:nth-child(1) { animation-delay: .05s; }
.hero__text > *:nth-child(2) { animation-delay: .15s; }
.hero__text > *:nth-child(3) { animation-delay: .3s; }
.hero__text > *:nth-child(4) { animation-delay: .45s; }
.hero__card { animation: cardIn .9s cubic-bezier(.2,.7,.2,1) .35s both; }
.header { animation: fadeIn .6s ease both; }
.header { transition: box-shadow .25s ease; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(11,32,56,.10); }

/* Elementos que aparecem ao rolar a página */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Linhas douradas que "crescem" */
.js .facts li.reveal { border-top-color: transparent; position: relative; }
.js .facts li.reveal::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0s) + .15s); }
.js .facts li.reveal.is-visible::before { transform: scaleX(1); }

/* Interações ao passar o mouse */
.card, .resource, .person, .form { transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(11,32,56,.12); }
.resource:hover { box-shadow: 0 14px 34px rgba(11,32,56,.10); }
.resource__img img { transition: transform .5s ease; }
.resource:hover .resource__img img { transform: scale(1.03); }
.steps__n { transition: transform .25s ease, background .25s ease; }
.steps li:hover .steps__n { transform: scale(1.1); background: var(--gold); color: var(--navy); }
.btn { transition: background .15s, color .15s, transform .15s, box-shadow .2s; }
.btn:hover { box-shadow: 0 8px 18px rgba(11,32,56,.18); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* Botão do WhatsApp com pulso suave */
.wa-float { animation: waPulse 2.4s ease-out 1.5s infinite; }

@media (max-width: 1040px) { .nav a:not(.btn)::after { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .hero__card, .header, .wa-float { animation: none !important; }
  .js .reveal, .js .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .facts li.reveal { border-top-color: var(--gold); }
  .js .facts li.reveal::before { display: none; }
  .card:hover, .resource:hover .resource__img img, .steps li:hover .steps__n { transform: none; }
}

/* ===== Detalhes animados extras ===== */
/* Barra de progresso de leitura */
#progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }

/* Título do topo: palavras sobem uma a uma; "rigor, clareza" em dourado */
.hero h1 .hl { color: var(--gold-dark); }
.js .hero__text > h1 { animation: none; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ready .hero h1 .w > span { transform: none; }

/* Cabeçalho encolhe ao rolar */
.header__inner, .header__logo img { transition: padding .3s ease, height .3s ease; }
.header.is-scrolled .header__inner { padding-top: 6px; padding-bottom: 6px; }
.header.is-scrolled .header__logo img { height: 60px; }

/* Link do menu da seção atual */
.nav a.is-active:not(.btn) { color: var(--gold-dark); }
.nav a.is-active:not(.btn)::after { transform: scaleX(1); }

/* Linha que liga os passos do "Como funciona" */
.steps { position: relative; }
.steps__line { position: absolute; top: 21px; left: 22px; right: calc(33.33% - 22px); height: 2px; background: var(--line); list-style: none; pointer-events: none; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2,.7,.2,1) .2s; }
.steps.is-visible .steps__line i, .no-js .steps__line i { transform: scaleX(1); }
.steps li:not(.steps__line) { position: relative; z-index: 1; }
.steps__n { box-shadow: 0 0 0 6px var(--bg-alt); }

/* Botão voltar ao topo */
.to-top { position: fixed; right: 29px; bottom: 92px; z-index: 60; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 18px rgba(11,32,56,.15); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); color: #fff; }

@media (max-width: 960px) { .steps .steps__line { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w > span { transform: none !important; transition: none !important; }
  .steps__line i { transform: scaleX(1) !important; transition: none !important; }
  .to-top, .header__inner, .header__logo img { transition: none !important; }
}

/* Responsivo */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 20px;
    border-bottom: 3px solid var(--gold); box-shadow: 0 12px 20px rgba(11,32,56,.12);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; padding: 14px 22px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section__title { font-size: 29px; margin-bottom: 32px; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
  .hero h1 { font-size: 33px; }
  .lead { font-size: 17px; }
  .grid--4 { grid-template-columns: 1fr; }
  .header__logo img { height: 60px; }
  .header.is-scrolled .header__logo img { height: 52px; }
  .nav { padding-left: 20px; padding-right: 20px; }
  .form { padding: 28px 20px; }
  .topbar__inner { font-size: 12px; }
  .hero__actions .btn, .resource__actions .btn { flex: 1 1 100%; }
  .resource__body { padding: 26px 20px; }
  .resource__body h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 600px) { .header .header__inner { padding-top: 10px; padding-bottom: 10px; } }
