/* Castrillon Contabilidade Digital — estilos do site */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/michroma-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Michroma'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/michroma-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070706;
  --surface: #121110;
  --surface-hover: #171511;
  --text: #f3efe6;
  --accent: #d4af37;
  --accent-hover: #e0c15a;
  --accent-soft: #2a2411;
  --accent-soft-text: #efdb95;
  --divider: color-mix(in srgb, #d4af37 22%, transparent);
  --muted-1: #cfc8b8;   /* texto de apoio */
  --muted-2: #b3ac9c;   /* rótulos */
  --muted-3: #8e887a;   /* legendas */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.55; text-wrap: pretty;
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: #6b5a22; color: var(--text); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* — pular para o conteúdo — */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--bg); }

/* — botões — */
.btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-weight: 800; font-size: 14px; line-height: 1.2;
  padding: 10px 16px; border: 1px solid transparent; background: transparent; color: var(--text);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-secondary { border-color: var(--divider); color: var(--text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text); }

/* — menu — */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; flex-shrink: 0; text-decoration: none; }
.brand-symbol { height: 44px; width: auto; }
.brand-name { height: 16px; width: auto; }
.brand-digital {
  font-family: 'Michroma', var(--font); font-size: 13px; line-height: 1; padding-top: 1px;
  background: linear-gradient(180deg, #f7e7a6 0%, #d4af37 45%, #b8902e 60%, #f1dc8c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) {
  color: var(--text); text-decoration: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links a:not(.btn):hover { color: var(--accent); }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--divider); color: var(--text);
}
.menu-toggle svg { display: block; margin: auto; }
.menu-toggle .icon-close { display: none; }
.nav.open .menu-toggle .icon-open { display: none; }
.nav.open .menu-toggle .icon-close { display: block; }

/* — seções — */
section { padding: 84px 0; border-top: 1px solid var(--divider); }
.eyebrow {
  display: block; font-size: 12px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.lead { font-size: 16px; line-height: 28px; color: var(--muted-1); max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(24px, 5vw, 96px); align-items: start; margin-bottom: 40px; }
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* — cartões — */
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 24px;
  background: var(--surface); border: 1px solid var(--divider); color: inherit; text-decoration: none;
}
a.card:hover { border-color: var(--accent); background: var(--surface-hover); color: inherit; }
.card h3 { font-size: 19px; line-height: 1.25; }
.card p { font-size: 14.5px; line-height: 24px; color: var(--muted-1); }
.card .grow { flex: 1; }
.card-media { padding: 0; gap: 0; }
.card-media .card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.num { font-weight: 800; font-size: 13px; color: var(--accent); font-feature-settings: 'tnum' 1; }
.cta { font-size: 14px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; font-size: 11px; letter-spacing: 0.02em; padding: 3px 10px; background: var(--accent-soft); color: var(--accent-soft-text); }
.tag-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

/* — fotos: coloque o arquivo em assets/fotos/ com o nome indicado e ele aparece sozinho — */
.foto {
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
  padding: 16px; font-size: 12px; color: var(--muted-3);
  background:
    radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
    var(--surface);
}
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.foto img[src$=".svg"] { filter: none; }   /* ilustrações já vêm no tom do site */
.foto .selo { inset: auto 12px 12px auto; width: 36px; height: auto; object-fit: contain; filter: none; pointer-events: none; z-index: 1; }
.ratio-4-3 { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--divider); }
.ratio-16-9 { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--divider); }
.ratio-21-9 { aspect-ratio: 21 / 9; border: 1px solid var(--divider); }

/* — abertura — */
.hero {
  position: relative; border-top: 0; padding: 96px 0 84px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 35%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
}
.hero > * { position: relative; }
.hero-logo { width: min(100%, 180px); height: auto; }
.hero .eyebrow { margin: 36px 0 24px; letter-spacing: 0.18em; }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -0.02em; max-width: 18ch; }
.hero p { font-size: 18px; line-height: 30px; max-width: 62ch; margin-top: 28px; color: var(--muted-1); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .actions { justify-content: center; }

/* — serviços — */
.service { gap: 14px; padding: 28px 24px; min-height: 300px; }
.service h3 { font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.service p { font-size: 15px; line-height: 26px; }
.service-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.service-links a { text-decoration: none; }
.service-links a + a { color: var(--muted-2); }
.service-cta { justify-content: flex-end; background: var(--accent); color: var(--bg); border-color: var(--accent); }
a.service-cta:hover { background: var(--accent-hover); color: var(--bg); border-color: var(--accent-hover); }
.service-cta h3 { font-size: 24px; line-height: 1.1; }
.service-cta p { color: var(--bg); }
.combo {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 40px; align-items: center;
  padding: 28px; background: var(--surface); border: 1px solid var(--divider); color: inherit; text-decoration: none;
}
.combo:hover { border-color: var(--accent); color: inherit; }
.combo-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.combo h4 { font-size: 20px; line-height: 1.2; }
.combo p { font-size: 15px; line-height: 24px; color: var(--muted-1); }

/* — método — */
.method { list-style: none; margin: 0; padding: 0; }
.method .num { font-size: 28px; line-height: 1; }
.caduceu { width: 100%; max-width: 260px; height: auto; justify-self: end; }

/* — equipe — */
.person { gap: 16px; padding: 28px; }
.person-head { display: flex; gap: 18px; align-items: center; }
.avatar { width: 84px; height: 84px; flex-shrink: 0; border: 2px solid var(--accent); border-radius: 50%; padding: 0; font-size: 11px; }
.person h3 { font-size: 21px; line-height: 1.2; }
.person .role { font-size: 13px; line-height: 20px; margin-top: 4px; color: var(--accent); }
.person .creds { font-size: 13px; line-height: 20px; margin-top: 2px; color: var(--muted-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.stat { padding: 12px 14px; border: 1px solid var(--divider); }
.stat b { display: block; font-size: 18px; color: var(--accent); }
.stat span { display: block; font-size: 12px; line-height: 16px; color: var(--muted-2); margin-top: 4px; }

/* — conteúdo — */
.post { gap: 10px; padding: 28px 24px; min-height: 300px; }
.post h3 { font-size: 20px; line-height: 1.2; }
.post .sub { font-size: 14px; line-height: 22px; color: var(--muted-2); }
.badge { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.soon { font-size: 14px; color: var(--muted-2); }

/* — contato — */
.contact-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 42px clamp(24px, 5vw, 96px); margin-bottom: 0; }
.contact-list { margin: 0; font-size: 15px; line-height: 24px; }
.contact-list > div { padding: 14px 0; border-top: 1px solid var(--divider); }
.contact-list > div:last-child { border-bottom: 1px solid var(--divider); }
.contact-list dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.contact-list dd { margin: 4px 0 0; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.dot { width: 8px; height: 8px; background: var(--accent); display: inline-block; margin-right: 8px; }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px;
  background: var(--surface); border: 1px solid var(--divider);
}
.field label { display: block; font-size: 12px; margin-bottom: 5px; color: var(--muted-2); }
.input {
  width: 100%; min-height: 40px; padding: 8px 10px; font: inherit; font-size: 14px;
  color: var(--text); caret-color: var(--accent); background: var(--bg);
  border: 1px solid var(--divider); border-radius: 0;
}
.input::placeholder { color: var(--muted-3); }
.input:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
textarea.input { min-height: 110px; resize: vertical; }
.span-2 { grid-column: 1 / -1; }
.form-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted-2); }

/* — chamada final — */
.final { background: var(--accent); color: var(--bg); border-top: 0; }
.final .eyebrow { color: var(--bg); margin-bottom: 28px; }
.final h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; max-width: 20ch; }
.final p { font-size: 17px; line-height: 28px; margin-top: 24px; max-width: 56ch; }
.btn-dark { background: var(--bg); color: var(--accent); }
.btn-dark:hover { background: var(--surface); color: var(--accent); }
.btn-outline-dark { border-color: var(--bg); color: var(--bg); }
.btn-outline-dark:hover { background: color-mix(in srgb, var(--bg) 14%, transparent); color: var(--bg); }

/* — rodapé — */
.footer { border-top: 1px solid var(--divider); font-size: 14px; line-height: 24px; }
.footer-grid {
  padding-top: 56px; padding-bottom: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 32px;
}
.footer-title { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer .muted { color: var(--muted-2); }
.footer-legal {
  padding-top: 18px; padding-bottom: 32px; border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 12px; color: var(--muted-2);
}
.footer-legal a { color: var(--muted-2); }

/* — página de texto (privacidade) — */
.doc { max-width: 760px; padding-top: 64px; padding-bottom: 84px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 28px; color: var(--muted-1); }
.doc p + p { margin-top: 12px; }

/* — responsivo — */
@media (max-width: 1000px) {
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-split, .combo { grid-template-columns: 1fr; }
  .caduceu { justify-self: start; max-width: 180px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--divider);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 13px; }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
}
@media (max-width: 720px) {
  .cols-2, .cols-3, .cols-4, .cols-5, .form { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .brand-name, .brand-digital { display: none; }
  .ratio-21-9 { aspect-ratio: 16 / 9; }
  .form { padding: 22px; }
  .card { min-height: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
