/* Patrion — institutional site. Tokens from Design System/colors_and_type.css */
:root {
  --green: #0D3B2E;
  --green-deep: #0A3025;
  --gold: #C8A246;
  --gold-hover: #D8B25A;
  --paper: #F7F7F6;
  --cream: #EDE8DB;
  --ink: #1A201D;
  --ink-72: rgba(26, 32, 29, 0.72);
  --line: rgba(26, 32, 29, 0.10);
  --white-82: rgba(247, 247, 246, 0.82);
  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #A98630; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.rule { width: 88px; height: 3px; background: var(--gold); }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; color: var(--green); }
h3 { font-size: 24px; color: var(--green); }
.head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.lead { font-size: 18px; margin-top: 8px; }
.muted { color: var(--ink-72); }
.dashlist { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.dashlist li::before { content: "—"; color: var(--gold); font-weight: 600; margin-right: 12px; }
.callout { border: 1px solid var(--green); background: var(--cream); padding: 22px 28px; font-size: 16px; line-height: 1.55; }
.callout.strong { border-left: 6px solid var(--gold); font-size: 19px; font-weight: 500; color: var(--green); padding: 28px 36px; }
.section { padding: 112px 0; }
.section.alt { background: #FFFFFF; border-top: 1px solid rgba(26,32,29,0.08); border-bottom: 1px solid rgba(26,32,29,0.08); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 40px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: var(--gold-hover); color: var(--green); }
.btn-ghost { border: 1px solid rgba(247,247,246,0.45); color: var(--paper); padding: 0 32px; font-weight: 500; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Nav */
.nav { background: var(--green); border-bottom: 1px solid rgba(200,162,70,0.25); position: sticky; top: 0; z-index: 10; }
.nav .wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .logo img { height: 44px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 36px; }
.nav ul a { color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.nav ul a:hover, .nav ul a.active { color: var(--gold); }
.nav .cta { display: inline-flex; align-items: center; height: 44px; padding: 0 24px; background: var(--gold); color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.nav .cta:hover { background: var(--gold-hover); }
.nav details { display: none; }
.nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.nav summary::-webkit-details-marker { display: none; }

.nav-right { display: flex; align-items: center; gap: 24px; }
.nav .lang { color: rgba(247,247,246,0.7); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; }
.nav .lang:hover { color: var(--gold); }
.nav details ul .lang { color: var(--gold); }
.contact .big a { color: var(--paper); }
.contact .big a:hover { color: var(--gold); }

/* Brand meaning */
.brand-meaning { background: var(--green); }
.brand-meaning .wrap { padding: 112px 0; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.brand-meaning .text { display: flex; flex-direction: column; gap: 24px; }
.brand-meaning h2 { color: var(--paper); }
.brand-rows { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }
.brand-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: baseline; color: var(--paper); font-size: 17px; }
.brand-key { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.brand-note { font-style: italic; font-size: 16px; line-height: 1.6; color: var(--white-82); margin-top: 12px; max-width: 520px; }
.brand-logo { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.brand-logo img { width: 420px; max-width: 100%; height: auto; }
.brand-logo p { font-style: italic; font-size: 15px; letter-spacing: 0.04em; color: var(--gold); }

/* Hero */
.hero { background: var(--green); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-text { padding: 120px 80px 96px 100px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero-text .mark { width: 72px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.12; color: var(--paper); max-width: 560px; }
.hero .tagline { font-style: italic; font-size: 20px; color: var(--gold); }
.hero .sub { font-size: 17px; line-height: 1.6; color: var(--white-82); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.hero-img { position: relative; min-height: 720px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 120px; background: linear-gradient(90deg, var(--green) 0%, rgba(13,59,46,0) 100%); z-index: 1; }
.disclaimer { background: var(--green-deep); padding: 14px 0; font-size: 12px; font-style: italic; color: rgba(247,247,246,0.55); }
.disclaimer .wrap { width: min(1240px, 100% - 48px); }

/* Quem somos */
.about { padding: 120px 0 112px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 96px; align-items: center; }
.about .text { display: flex; flex-direction: column; gap: 24px; }
.about .text .big { font-size: 19px; line-height: 1.6; margin-top: 8px; }
.about .text .muted { font-size: 17px; line-height: 1.65; }
.panel-dark { background: var(--green); border-left: 6px solid var(--gold); padding: 56px 48px; display: flex; flex-direction: column; gap: 14px; }
.panel-dark .title { font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--paper); }
.panel-dark p { font-size: 17px; line-height: 1.65; color: rgba(247,247,246,0.85); }

/* O que fazemos */
.cards6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.card .num { font-family: var(--serif); font-size: 18px; color: var(--gold); }
.card p { font-size: 18px; font-weight: 500; }
.quote { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--green); }
.stack { display: flex; flex-direction: column; gap: 56px; }

/* Etapas */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--ink); }
.steps ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; position: relative; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 22px; }
.dot { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; flex-shrink: 0; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--ink-72); }

/* Oportunidades */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
.two .col { display: flex; flex-direction: column; gap: 20px; }
.values { background: var(--green); padding: 56px 48px; display: flex; flex-direction: column; gap: 36px; margin-top: 8px; }
.values h3 { font-size: 26px; color: var(--paper); }
.values ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.values li { display: flex; align-items: flex-start; gap: 14px; color: var(--paper); font-size: 16px; }
.values li::before { content: ""; display: inline-block; width: 16px; height: 2px; background: var(--gold); margin-top: 11px; flex-shrink: 0; }

/* Comunicação */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-top { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--green); padding: 36px 32px 40px; display: flex; flex-direction: column; gap: 22px; }
.card-top h3 { font-size: 22px; }
.card-top .rule { width: 48px; }
.card-top ul { gap: 10px; font-size: 16px; color: rgba(26,32,29,0.78); }

/* Mercados */
.markets { display: grid; grid-template-columns: 1fr 1fr; }
.markets .text { padding: 120px 80px 112px 100px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.markets h2 { max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 520px; }
.chip { border: 1px solid var(--green); background: var(--cream); padding: 12px 24px; font-size: 14px; font-weight: 500; color: var(--green); }
.markets .partners { font-size: 17px; line-height: 1.65; color: rgba(26,32,29,0.78); max-width: 540px; margin-top: 24px; }
.markets .img { position: relative; min-height: 640px; }
.markets .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.link-arrow:hover { color: var(--gold); }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.qa { border-left: 3px solid var(--gold); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.qa .q { font-size: 17px; font-weight: 600; color: var(--green); }
.qa .a { font-size: 15px; color: var(--ink-72); line-height: 1.6; }

/* CTA */
.cta { background: var(--green); position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; width: 620px; height: 620px; border: 1px solid rgba(200,162,70,0.18); transform: rotate(18deg); pointer-events: none; }
.cta::before { right: -140px; top: -80px; }
.cta::after { right: 60px; top: 120px; border-color: rgba(200,162,70,0.12); }
.cta .wrap { padding: 128px 0; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; position: relative; }
.cta .text { display: flex; flex-direction: column; gap: 24px; }
.cta h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.12; color: var(--paper); }
.cta .sub { font-size: 19px; line-height: 1.6; color: rgba(247,247,246,0.85); max-width: 600px; margin-top: 8px; }
.cta .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 16px; }
.cta .note { font-style: italic; font-size: 16px; color: rgba(247,247,246,0.75); }
.contact { display: flex; flex-direction: column; gap: 22px; border-left: 1px solid rgba(200,162,70,0.35); padding-left: 48px; }
.contact .big { font-size: 20px; color: var(--paper); }
.contact .small { font-size: 15px; line-height: 1.6; color: rgba(247,247,246,0.6); }

/* Footer */
.footer { background: var(--green-deep); border-top: 1px solid rgba(200,162,70,0.25); }
.footer .wrap { padding: 56px 0 48px; display: flex; flex-direction: column; gap: 40px; }
.footer .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { display: flex; flex-direction: column; gap: 16px; }
.footer .brand img { height: 68px; width: auto; }
.footer .brand p { font-style: italic; font-size: 14px; color: var(--gold); }
.footer ul { display: flex; flex-wrap: wrap; gap: 32px; }
.footer ul a { color: var(--paper); font-size: 14px; font-weight: 500; }
.footer ul a:hover { color: var(--gold); }
.footer .bottom { border-top: 1px solid rgba(247,247,246,0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer .bottom p { font-size: 12px; color: rgba(247,247,246,0.55); }
.footer .bottom .legal { font-style: italic; max-width: 760px; }
.footer .bottom .copy { letter-spacing: 0.18em; }

/* FAQ page */
.page-head { background: var(--green); border-bottom: 1px solid rgba(200,162,70,0.25); }
.page-head .wrap { padding: 88px 0 80px; display: flex; flex-direction: column; gap: 22px; }
.page-head h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.12; color: var(--paper); max-width: 800px; }
.page-head .sub { font-size: 18px; line-height: 1.6; color: var(--white-82); max-width: 640px; margin-top: 6px; }
.faq-body { padding: 96px 0 120px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 96px; align-items: start; }
.toc { position: sticky; top: 112px; display: flex; flex-direction: column; }
.toc .label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: rgba(26,32,29,0.55); padding-bottom: 12px; }
.toc a { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--green); }
.toc .n { font-family: var(--serif); color: var(--gold); font-size: 15px; width: 24px; }
.toc .box { margin-top: 32px; background: var(--green); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.toc .box .title { font-family: var(--serif); font-size: 20px; color: var(--paper); line-height: 1.3; }
.toc .box p { font-size: 14px; line-height: 1.6; color: rgba(247,247,246,0.8); }
.toc .box .btn { height: 48px; font-size: 14px; padding: 0; width: 100%; margin-top: 6px; }
.groups { display: flex; flex-direction: column; gap: 96px; }
.group { display: flex; flex-direction: column; gap: 36px; }
.group h2 { font-size: 36px; }
.group .qa-grid { gap: 36px 64px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-text { padding: 80px 48px 64px; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .cards6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .two, .cta .wrap { grid-template-columns: 1fr; gap: 48px; }
  .cards3 { grid-template-columns: 1fr; }
  .markets { grid-template-columns: 1fr; }
  .markets .text { padding: 80px 48px 64px; }
  .markets .img { min-height: 360px; }
  .contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(200,162,70,0.35); padding-top: 24px; }
  .faq-body { grid-template-columns: 1fr; gap: 56px; }
  .toc { position: static; }
  .brand-meaning .wrap { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 760px) {
  .wrap { width: min(1240px, 100% - 48px); }
  .section, .about { padding: 64px 0; }
  .nav .wrap { height: 68px; }
  .nav .logo img { height: 32px; }
  .nav nav, .nav .nav-right { display: none; }
  .nav details { display: block; }
  .nav details[open] ul { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 68px; background: var(--green); border-top: 1px solid rgba(200,162,70,0.25); padding: 12px 24px 20px; }
  .nav details[open] ul a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(247,247,246,0.10); }
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 24px 40px; gap: 20px; }
  .hero-text .mark { width: 56px; }
  .hero .tagline { font-size: 17px; }
  .hero .sub { font-size: 15px; }
  .hero-img { min-height: 260px; }
  .hero-img::before { display: none; }
  .btn { width: 100%; height: 52px; padding: 0 28px; }
  .rule { width: 64px; }
  .eyebrow { font-size: 11px; }
  .lead { font-size: 15px; }
  .panel-dark { padding: 28px 24px; }
  .panel-dark .title { font-size: 21px; }
  .panel-dark p { font-size: 15px; }
  .about .text .big { font-size: 16px; }
  .about .text .muted { font-size: 15px; }
  .cards6 { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
  .card .num { font-size: 16px; width: 28px; flex-shrink: 0; }
  .card p { font-size: 16px; }
  .quote { font-size: 18px; line-height: 1.4; }
  .stack { gap: 28px; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; position: relative; }
  .steps ol::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--ink); }
  .steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
  .steps li > div { padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
  .steps h3 { font-size: 20px; }
  .steps p { font-size: 14px; }
  .dot { width: 44px; height: 44px; font-size: 15px; }
  .values { padding: 28px 24px; gap: 24px; }
  .values ul { grid-template-columns: 1fr; gap: 16px; }
  .callout.strong { padding: 18px 20px; font-size: 15px; }
  .dashlist { font-size: 15px; gap: 10px; }
  .card-top { padding: 28px 24px; }
  .chip { padding: 10px 16px; font-size: 13px; }
  .markets .text { padding: 56px 24px 64px; }
  .markets .img { min-height: 240px; order: -1; }
  .qa-grid, .group .qa-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta .wrap { padding: 64px 0; }
  .cta .sub { font-size: 16px; }
  .cta .actions .btn { padding: 0 28px; }
  .contact .big { font-size: 16px; }
  .footer .wrap { padding: 36px 0 32px; gap: 24px; }
  .footer .brand img { height: 56px; }
  .footer ul { gap: 16px 24px; }
  .page-head .wrap { padding: 56px 0 48px; }
  .faq-body { padding: 56px 0 64px; }
  .group h2 { font-size: 28px; }
  .groups { gap: 56px; }
  .brand-meaning .wrap { padding: 64px 0; }
  .brand-row { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; font-size: 15px; }
  .brand-logo img { width: 260px; }
}
