/* Layout da página — complementa tokens.css e components.css (design system Sumeru) */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 56px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 96px); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: clamp(28px, 3vw, 48px); row-gap: clamp(40px, 4vw, 64px); }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(28px, 3vw, 48px); }
.dot { display: inline-block; width: .15em; height: .15em; margin-left: .06em; background: var(--dot); }
.h-xl { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.lead-muted { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-muted); max-width: 540px; }
.body-muted { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.body-muted strong { color: var(--ink); }
.body-muted em { font-style: normal; }
.rule-top { border-top: 2px solid var(--accent); padding-top: 28px; }
.sunken { background: var(--surface-sunken); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 1px solid var(--line-soft); }
.site-header .bar { max-width: 1320px; margin: 0 auto; padding: 18px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo img { display: block; height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav a, .mobile-nav a { color: var(--neutral-800); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: none; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mobile-nav { display: none; flex-direction: column; padding: 8px clamp(20px, 4vw, 56px) 24px; border-top: 1px solid var(--line-soft); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-nav a:last-child { border-bottom: none; color: var(--accent); }
.site-header.open .mobile-nav { display: flex; }
.site-header .icon-close { display: none; }
.site-header.open .icon-close { display: block; }
.site-header.open .icon-menu { display: none; }
@media (max-width: 1079px) {
  .site-nav, .btn-acessar { display: none; }
  .menu-btn { display: flex; }
}

/* Hero */
.home-hero.su-photo { display: block; }
.home-hero .inner { position: relative; z-index: 1; min-height: min(88vh, 820px); max-width: 1320px; margin: 0 auto; padding: clamp(56px, 9vw, 112px) clamp(20px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; color: var(--papel); }
.home-hero h1 { max-width: 1120px; color: var(--papel); }
.home-hero .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.home-hero p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 520px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sobre */
#sobre h3 { margin: 0; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; color: var(--accent); }
#sobre .text { display: flex; flex-direction: column; gap: 24px; }

/* Manifesto (Maré) */
.manifesto { background: var(--surface-brand); color: var(--ink-on-brand); }
.manifesto .su-super { display: block; }
.manifesto .su-super-glyph { font-size: clamp(360px, 44vw, 640px); right: -0.16em; bottom: -0.23em; }
.manifesto .wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.manifesto .su-title { color: var(--papel); }
.manifesto .text { display: flex; flex-direction: column; gap: 20px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; border-top: 2px solid var(--espuma); padding-top: 28px; }
.manifesto .text p { margin: 0; }
.manifesto .grid3 { max-width: 1040px; }

/* Serviços */
#servicos .wrap { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
#servicos .stack { max-width: 860px; }

/* Governança (Abismo) */
#governanca { background: var(--surface); color: var(--ink); }
#governanca .split { gap: clamp(40px, 6vw, 112px); }
#governanca .left { display: flex; flex-direction: column; gap: 32px; }
#governanca .stack p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-muted); max-width: 460px; }
.gov-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.gov-ic { color: var(--espuma); padding-top: 2px; }
.gov-row h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.gov-row p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-muted); }

/* Quem somos */
#quem-somos .wrap { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
#quem-somos .split { align-items: end; }

/* Políticas */
#politicas .split { gap: clamp(40px, 6vw, 112px); }
#politicas .list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
#politicas .body-muted { max-width: 480px; }

/* Contato */
#contato .split { gap: clamp(40px, 6vw, 112px); }
#contato .left { display: flex; flex-direction: column; gap: 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.contact-cards > div { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--accent); padding-top: 20px; }
.contact-cards .lbl { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.contact-cards .val { font-size: 17px; line-height: 1.5; }
.contact-cards a { font-size: 17px; font-weight: 700; text-decoration: none; }
.form { background: var(--surface-raised); padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.form .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
select.su-input { border-radius: 0; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23127C78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; }

/* Rodapé */
.site-footer { background: var(--surface-inverse); color: var(--papel); }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.site-footer .top img { display: block; height: 64px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.site-footer nav a { color: var(--papel); text-decoration: none; }
.site-footer nav a:hover { color: var(--espuma); }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid #24403D; font-size: 13px; line-height: 1.6; color: var(--ink-on-inverse-muted); }
.site-footer .legal p { margin: 0; max-width: 720px; }
.site-footer .legal .num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
