/* ==========================================================================
   AKD HOLDING LTDA — folha de estilo principal
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --bg-deep: #0f1a2b;
  --bg-deeper: #0a1220;
  --ink: #111a28;
  --ink-soft: #3a4556;
  --muted: #667085;
  --line: #e6e1d6;
  --brand: #1c3557;
  --brand-dark: #13263f;
  --brand-soft: #e8edf4;
  --gold: #b08a4a;
  --gold-dark: #8f6d33;
  --gold-soft: #f5ecdc;
  --success: #2f7d5b;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 40, .05), 0 4px 14px rgba(17, 26, 40, .05);
  --shadow-md: 0 12px 40px rgba(17, 26, 40, .11);
  --wrap: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -.015em; font-weight: 500; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

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

/* ---------- Barra superior ---------- */
.topbar { background: var(--bg-deeper); color: #a9b4c4; font-size: .8rem; letter-spacing: .02em; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  align-items: center; justify-content: space-between;
  min-height: 38px; padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #fff; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px; flex: none;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.12; letter-spacing: .01em; }
.brand-name small {
  display: block; font-family: var(--font); font-weight: 500; font-size: .66rem;
  color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px;
}

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

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 44px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: .93rem; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(28, 53, 87, .25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 20px rgba(176, 138, 74, .3); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-block { width: 100%; }

/* ---------- Seções ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head p { font-size: 1.03rem; margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(176, 138, 74, .22) 0%, transparent 60%),
    radial-gradient(900px 520px at 0% 120%, #1c3557 0%, transparent 60%),
    var(--bg-deep);
  color: #fff; padding: 90px 0 96px;
}
.hero .eyebrow { color: #d9bb86; }
.hero h1 { color: #fff; }
.hero p { color: #b3bfcf; font-size: 1.08rem; max-width: 50ch; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 58px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.card-data {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg); padding: 28px 30px;
}
.card-data h3 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #d9bb86; margin-bottom: 20px; }
.card-data dl { margin: 0; display: grid; gap: 14px; }
.card-data div { padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.card-data div:last-child { border-bottom: 0; padding-bottom: 0; }
.card-data dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8d9bb0; }
.card-data dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-size: .95rem; }

/* ---------- Faixa de pilares ---------- */
.pillars { border-bottom: 1px solid var(--line); padding: 32px 0; background: #fff; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar .ico {
  width: 40px; height: 40px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark);
}
.pillar strong { display: block; font-size: .92rem; }
.pillar span { font-size: .84rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .93rem; margin-bottom: 0; }
.card .ico {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card .num {
  font-family: var(--serif); font-size: .9rem; color: var(--gold-dark);
  display: block; margin-bottom: 8px; letter-spacing: .04em;
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-dark); font-size: .76rem; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 24px 24px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.22rem; letter-spacing: -.01em; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.stat span { font-size: .8rem; color: var(--muted); }

/* ---------- Estrutura (diagrama) ---------- */
.structure { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.org {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm); text-align: center;
}
.org-top {
  display: inline-block; background: var(--brand); color: #fff; border-radius: 8px;
  padding: 14px 22px; font-family: var(--serif); font-size: 1.05rem;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.org-top small { display: block; font-family: var(--font); font-size: .7rem; color: #b9c6d8; letter-spacing: .08em; text-transform: uppercase; }
.org-line { width: 1px; height: 28px; background: var(--gold); margin: 0 auto; }
.org-bar { height: 1px; background: var(--gold); margin: 0 12%; }
.org-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.org-row > div { position: relative; padding-top: 22px; }
.org-row > div::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 22px; background: var(--gold); }
.org-node {
  border: 1px solid var(--line); background: var(--bg-soft); border-radius: 8px;
  padding: 12px 8px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); line-height: 1.35;
}
.org-node small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
.org-note { font-size: .78rem; color: var(--muted); margin: 20px 0 0; }

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 6px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold);
  margin: 14px 0 8px; line-height: 1;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; padding: 18px 34px 18px 0;
  position: relative; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.35rem; color: var(--gold-dark); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: .94rem; padding-bottom: 6px; margin-bottom: 8px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico {
  width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.contact-list strong { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .93rem; color: var(--muted); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28, 53, 87, .13);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin: 4px 0 18px; }
.field-check input { margin-top: 4px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(176, 138, 74, .28), transparent 70%),
    var(--brand);
  color: #fff; border-radius: var(--radius-lg); padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 54ch; }

/* ---------- Página de conteúdo (legais) ---------- */
.page-head { background: var(--bg-deep); color: #fff; padding: 62px 0; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { margin-bottom: 0; color: #b3bfcf; max-width: 64ch; }
.breadcrumb { font-size: .8rem; color: #8d9bb0; margin-bottom: 14px; letter-spacing: .02em; }
.breadcrumb a { color: #d9bb86; }

.legal { padding: 62px 0 84px; }
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.1em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.04rem; margin-top: 1.6em; }
.legal ul, .legal ol { padding-left: 22px; color: var(--ink-soft); margin: 0 0 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated {
  display: inline-block; font-size: .8rem; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 34px;
}
.callout {
  background: var(--brand-soft); border: 1px solid #d3dce9; border-left: 4px solid var(--brand);
  border-radius: 8px; padding: 18px 22px; margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p { color: var(--ink); font-size: .94rem; }
.callout-gold { background: var(--gold-soft); border-color: #eadbbf; border-left-color: var(--gold); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--bg-deeper); color: #8e9aac; padding: 64px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: #d9bb86; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { color: #8e9aac; font-size: .9rem; }
.site-footer a { color: #c3ccd8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #7d8aa0; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: #717e92;
}
.company-line { font-size: .84rem; line-height: 1.75; color: #8290a4; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .structure { grid-template-columns: 1fr; gap: 38px; }
  .grid-3, .pillars-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .cta { padding: 38px 26px; }
  .topbar .wrap { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .grid-3, .pillars-grid, .steps, .grid-2, .stat-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .org-row { grid-template-columns: 1fr; }
  .org-row > div::before, .org-bar { display: none; }
  .org-row > div { padding-top: 10px; }
}
