/* B&S Contabilidade — estilos do site institucional */
:root {
  --ink: #111214;
  --ink-soft: #3c3f44;
  --muted: #6e7278;
  --paper: #ffffff;
  --paper-2: #f1f2f4;
  --card: #ffffff;
  --line: #d8dade;
  --brand: #111214;
  --brand-dark: #000000;
  --accent: #6e737a;
  --silver: #c3c7cc;
  --silver-soft: #eceef1;
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  min-width: 42px; height: 42px; padding: 0 8px; border-radius: 10px; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--silver);
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em;
}
.brand-mark span { color: var(--silver); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--paper-2); color: var(--brand-dark); }
.nav .btn { padding: 9px 18px; color: #fff; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .28);
}
.hero-card h3 { margin-bottom: 14px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.check li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.2 1.2 4.8 4.8 9-9-1.2-1.2z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Seções */
section { padding: 84px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--silver-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); margin-bottom: 14px; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .95rem; }
.card ul li { margin-bottom: 4px; }

.values { display: grid; gap: 18px; }
.value { display: flex; gap: 16px; }
.value-num { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1; min-width: 34px; }
.value h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { color: var(--ink-soft); margin: 0; }

/* Faixa área do cliente */
.cta-band { background: linear-gradient(135deg, #1a1b1e 0%, #000 100%); border: 1px solid #2a2c30; color: #e6e8eb; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b4b8be; margin: 0; }
.cta-band .actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.badge-soon { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(195, 199, 204, .16); color: var(--silver); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Contato */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--silver-soft); color: var(--brand); display: grid; place-items: center; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list li > div:last-child { min-width: 0; }
.contact-list a:hover { color: var(--brand); }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Rodapé */
.site-footer { background: #000; border-top: 3px solid var(--silver); color: #a9adb3; padding: 48px 0 32px; font-size: .92rem; }
.site-footer a { color: #eef0f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Página de texto (privacidade) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.page-hero { padding: 64px 0 24px; }
.note { background: #f4f5f7; border: 1px solid #d8dade; border-radius: 10px; padding: 14px 18px; font-size: .95rem; color: #3c3f44; }

/* Responsivo */
@media (max-width: 900px) {
  .hero-grid, .grid-2, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .cta-band .actions { justify-content: flex-start; }
  .hero { padding: 56px 0 48px; }
  section { padding: 60px 0; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
