/* ==========================================================
   Goiânia Soluções Contábeis — folha de estilos
   ========================================================== */
:root {
  --navy-950: #050f24;
  --navy-900: #071834;
  --navy-800: #0b1e3f;
  --navy-700: #13294f;
  --gold-300: #e6c48e;
  --gold-400: #d9b072;
  --gold-500: #c39457;
  --gold-600: #a9773e;
  --gold-grad: linear-gradient(135deg, #e3bd82 0%, #d9b072 35%, #a9773e 100%);
  --ink: #0b1e3f;
  --text: #4a5568;
  --muted: #6b7a90;
  --line: #e6e1d8;
  --bg-soft: #f7f5f1;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(7, 24, 52, .35);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.text-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold-grad); }
.eyebrow--dark { color: var(--gold-600); }
.ph, .placeholder-note { color: var(--gold-600); font-weight: 600; }
.placeholder-note {
  border: 1px dashed var(--gold-400);
  padding: .6rem .9rem;
  font-size: .9rem;
  background: rgba(217, 176, 114, .08);
}

/* ----- Botões ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--gold { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(169, 119, 62, .8); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(169, 119, 62, .9); }
.btn--outline { border-color: rgba(217, 176, 114, .6); color: var(--white); }
.btn--outline:hover { background: rgba(217, 176, 114, .12); border-color: var(--gold-400); }
.btn--sm { padding: .72rem 1.2rem; font-size: .72rem; }
.btn--block { width: 100%; }
.ico-wa { width: 16px; height: 16px; fill: currentColor; }

/* ----- Cabeçalho ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--navy-900);
  border-bottom: 1px solid rgba(217, 176, 114, .18);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  position: relative; padding: .4rem 0;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold-grad); transition: width .25s ease;
}
.nav a:not(.btn):hover { color: var(--gold-300); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--gold-400); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(217, 176, 114, .10), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, .78);
  padding: clamp(4rem, 9vw, 7.5rem) 0 3rem;
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.1rem; max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__visual { display: flex; justify-content: center; }
.hero__frame {
  position: relative;
  width: min(360px, 100%); aspect-ratio: 1;
  display: grid; place-items: center;
  border: 1px solid rgba(217, 176, 114, .35);
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; border: 1px solid rgba(217, 176, 114, .18);
}
.hero__frame::before { inset: -18px 18px 18px -18px; }
.hero__frame::after { inset: 18px -18px -18px 18px; }
.hero__frame img { width: 62%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.hero__pillars {
  position: relative;
  list-style: none; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: 2rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  border-top: 1px solid rgba(217, 176, 114, .2);
}
.hero__pillars li { display: flex; flex-direction: column; gap: .3rem; }
.hero__pillars strong { font-family: var(--font-head); color: var(--white); font-weight: 600; letter-spacing: .04em; }
.hero__pillars span:not(.pillar__line) { font-size: .92rem; color: rgba(255, 255, 255, .6); }
.pillar__line { width: 28px; height: 2px; background: var(--gold-grad); margin-bottom: .6rem; }

/* ----- Seções ----- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section__head .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold-grad); }
.section__lead { font-size: 1.05rem; color: var(--muted); margin: 0; }
.section__head--light h2 { color: var(--white); }

/* ----- Serviços ----- */
.services { background: var(--bg-soft); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  position: relative;
  background: var(--white);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 0; height: 2px;
  background: var(--gold-grad); transition: width .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: calc(100% + 2px); }
.card__icon {
  width: 46px; height: 46px; margin-bottom: 1.4rem;
  fill: none; stroke: var(--gold-500); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter;
}
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .94rem; margin: 0; }
.card--cta {
  background: var(--navy-900); border-color: var(--navy-900);
  display: flex; flex-direction: column; align-items: flex-start;
}
.card--cta .eyebrow { font-size: .62rem; letter-spacing: .24em; margin-bottom: 1rem; }
.card--cta .eyebrow::before { width: 20px; }
.card--cta h3 { color: var(--white); }
.card--cta p { color: rgba(255, 255, 255, .7); margin-bottom: 1.5rem; }
.card--cta .btn { margin-top: auto; }

/* ----- Diferenciais ----- */
.why {
  background:
    linear-gradient(90deg, rgba(217, 176, 114, .06) 1px, transparent 1px) 0 0 / 120px 100%,
    var(--navy-900);
  color: rgba(255, 255, 255, .7);
}
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(217, 176, 114, .25); }
.why__item { padding: 2.4rem 2rem 0 0; }
.why__item + .why__item { padding-left: 2rem; border-left: 1px solid rgba(217, 176, 114, .15); }
.why__num {
  display: block; font-family: var(--font-head); font-weight: 300; font-size: 2.6rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1.2rem;
}
.why h3 { color: var(--white); }
.why p { font-size: .94rem; margin: 0; }

/* ----- Como funciona ----- */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; position: relative; }
.steps__list::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.steps__list li { text-align: center; position: relative; }
.steps__n {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 1.2rem;
  font-family: var(--font-head); font-weight: 600; color: var(--gold-600);
  font-size: 1rem; position: relative;
  background: var(--white); border: 1px solid var(--gold-400); border-radius: 50%;
}
.steps__list p { font-size: .94rem; margin: 0; color: var(--muted); }

/* ----- Sobre ----- */
.about { background: var(--bg-soft); }
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: center; }
.about__panel {
  position: relative; aspect-ratio: 4 / 5;
  background:
    radial-gradient(400px 300px at 70% 20%, rgba(217, 176, 114, .14), transparent 70%),
    var(--navy-900);
  display: grid; place-items: center;
}
.about__panel::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(217, 176, 114, .3); }
.about__panel img { width: 52%; }
.about__content strong { color: var(--ink); }
.about__values { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about__values li { border-left: 2px solid var(--gold-400); padding-left: 1rem; display: flex; flex-direction: column; gap: .3rem; font-size: .94rem; }
.about__values strong { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold-600); }
.about__crc { font-size: .9rem; color: var(--muted); margin: 0; }

/* ----- Faixa CTA ----- */
.cta-band { background: var(--gold-grad); padding: 3.5rem 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--navy-900); margin-bottom: .3rem; }
.cta-band p { margin: 0; color: var(--navy-800); }
.cta-band .btn--gold { background: var(--navy-900); color: var(--white); box-shadow: none; }
.cta-band .btn--gold:hover { background: var(--navy-700); }

/* ----- Contato ----- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.4rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list svg {
  flex: none; width: 44px; height: 44px; padding: 10px;
  border: 1px solid var(--gold-400); border-radius: 50%;
  fill: none; stroke: var(--gold-600); stroke-width: 1.5;
}
.info-list strong { display: block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: .15rem; }
.info-list span { color: var(--text); }
.info-list small { color: var(--muted); }
.info-list a:hover { color: var(--gold-600); }
.map { border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 280px; border: 0; filter: grayscale(.35) contrast(1.05); }
.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-400);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.contact__form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); transition: border-color .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: var(--white); }
.field .is-invalid { border-color: #c0392b; }
.field textarea { resize: vertical; }
.form__status { margin: 1rem 0 0; font-size: .9rem; min-height: 1.2em; color: var(--gold-600); }

/* ----- Rodapé ----- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding: 4rem 0 0; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer__brand img { width: 230px; margin-bottom: 1.2rem; }
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer h4 { color: var(--gold-400); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: .6rem; }
.footer__col a:hover { color: var(--gold-300); }
.footer__bottom {
  border-top: 1px solid rgba(217, 176, 114, .15);
  padding: 1.5rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bottom p { margin: 0; }

/* ----- WhatsApp flutuante ----- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ----- Animação de entrada ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__item { padding-bottom: 2rem; }
  .nav { gap: 1.5rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header__logo img { height: 42px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(217, 176, 114, .2);
    padding: .5rem 24px 1.5rem;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1.2rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual { max-width: 380px; }
  .contact__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps__list::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 40px); }
  body { font-size: 15.5px; }
  .hero__pillars { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__actions .btn { width: 100%; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 2rem 0; border-left: 0; border-bottom: 1px solid rgba(217, 176, 114, .15); }
  .steps__list { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .contact__form { padding: 1.6rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
  .eyebrow { letter-spacing: .24em; font-size: .7rem; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
.info-list span, .footer__col a, .footer__col span { overflow-wrap: anywhere; }

/* ----- v2: grade de serviços, selo e responsável técnico ----- */
.hero__pillars { grid-template-columns: repeat(4, 1fr); }
.card--cta { grid-column: span 3; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 2rem; }
.card--cta .card__cta-text { flex: 1 1 320px; }
.card--cta .btn { margin-top: 0; }
.card--cta p { margin-bottom: 0; }
.about__badge {
  position: absolute; right: -22px; bottom: 36px; z-index: 1;
  background: var(--gold-grad); color: var(--navy-900);
  padding: 1.1rem 1.4rem; max-width: 190px;
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; gap: .2rem;
}
.about__badge strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; font-weight: 700; color: var(--navy-900); }
.about__badge span { font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.about__rt {
  display: flex; flex-direction: column; gap: .15rem;
  border-top: 1px solid var(--line); padding-top: 1.4rem; font-size: .92rem;
}
.about__rt-label { font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); }
.about__rt strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.about__rt span:last-child { color: var(--muted); }
@media (max-width: 1100px) {
  .card--cta { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .card--cta .card__cta-text { flex: none; }
  .card--cta p { margin-bottom: 1.5rem; }
  .card--cta .btn { margin-top: auto; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .about__badge { right: 16px; }
}
@media (max-width: 640px) {
  .hero__pillars { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .footer__bottom { padding-bottom: 6rem; }
}
