/* Layout 3 — Suíço Minimalista: tipografia grande, grid, vermelho de acento */

:root {
  --ink: #0a0a0a; --ink-soft: #666; --paper: #ffffff; --line: #e5e5e5; --red: #e63312;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
:focus-visible { outline-color: var(--red); }
::selection { background: var(--red); color: #fff; }
.mono { font-family: var(--font-mono); font-size: .82rem; letter-spacing: -0.01em; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section3 { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.index-label { color: var(--red); margin-bottom: 2rem; }

/* header */
.bar3 { position: sticky; top: 0; z-index: 200; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar3-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 1.1rem; }
.word { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.menu-btn { font-family: var(--font-mono); font-size: .82rem; border: 1px solid var(--ink); border-radius: 999px; padding: .5rem 1.1rem; transition: background-color .2s ease, color .2s ease; }
.menu-btn:hover { background: var(--ink); color: #fff; }

.overlay3 { position: fixed; inset: 0; top: 57px; z-index: 190; background: #fff; transform: translateY(-105%); transition: transform .4s cubic-bezier(.65,0,.35,1); }
.overlay3.is-open { transform: translateY(0); }
.overlay3 .wrap { padding-top: 3rem; display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 3rem); padding-bottom: 3rem; }
.overlay3 nav { display: flex; flex-direction: column; }
.overlay3 nav a { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 4rem); padding-block: .2rem; border-bottom: 1px solid var(--line); transition: color .2s ease, padding-left .2s ease; }
.overlay3 nav a:hover { color: var(--red); padding-left: .5rem; }
.overlay3-meta { display: flex; gap: 2rem; font-size: .95rem; flex-wrap: wrap; }

/* hero */
.hero3 { padding-block: clamp(3rem, 9vw, 7rem) clamp(2rem, 5vw, 3rem); }
.hero3 h1 { font-size: clamp(3rem, 11vw, 8rem); line-height: .95; margin-block: 1rem; }
.hero3-lede { max-width: 50ch; color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 2rem; }
.hero3-cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.link3 { font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.link3:hover { color: var(--red); border-color: var(--red); }
.hero3-rule { height: 3px; background: var(--red); margin-top: clamp(2.5rem, 6vw, 4rem); transform-origin: left; animation: grow-rule 1.1s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes grow-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* sobre */
.grid3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }
.col3 p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 56ch; }
.stat3-row { display: flex; gap: 2rem; margin-top: 1.5rem; }
.stat3-row strong { display: block; font-family: var(--font-display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.stat3-row span { font-size: .78rem; color: var(--ink-soft); }

/* areas table */
.table3 { border-top: 1px solid var(--ink); }
.row3 { display: grid; grid-template-columns: 4rem 18rem 1fr; gap: 1.5rem; padding-block: 1rem; border-bottom: 1px solid var(--line); align-items: baseline; transition: background-color .2s ease, padding-left .2s ease; }
.row3:hover:not(.head3) { background: #fafafa; padding-left: .6rem; }
.head3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 600; }
.row3 span:nth-child(2) { font-weight: 600; }
.row3 span:nth-child(3) { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 700px) { .row3 { grid-template-columns: 2.5rem 1fr; } .row3 span:nth-child(3) { grid-column: 2/3; } }

/* equipe */
.team3-list { border-top: 1px solid var(--ink); }
.team3-row { display: grid; grid-template-columns: 3.5rem 1fr auto 1fr; gap: 1.5rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.team3-row:hover { background: #fafafa; }
.team3-row img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.t3-name { font-weight: 700; }
.t3-oab { color: var(--ink-soft); }
.t3-areas { color: var(--ink-soft); font-size: .9rem; text-align: right; }
@media (max-width: 700px) { .team3-row { grid-template-columns: 3rem 1fr; row-gap: .3rem; } .t3-oab, .t3-areas { grid-column: 2/3; text-align: left; } }

/* local + contato */
address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.8; }
.links3 { margin-bottom: .75rem; font-size: .92rem; }
.links3 a { font-weight: 600; }
.links3 a:hover { color: var(--red); }
.form3 { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  border: none; border-bottom: 1.5px solid var(--ink); padding: .6rem .1rem; background: transparent; font-size: 1rem;
  transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--red); }
.hp-field { position: absolute; left: -9999px; }
.btn3 { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: .9rem 1.8rem; background: var(--ink); color: #fff; border-radius: 0; transition: background-color .2s ease, transform .2s ease; }
.btn3:hover { background: var(--red); transform: translateX(4px); }
.form-status { font-size: .84rem; min-height: 1.2em; }
.form-status[data-state="ok"] { color: #1a7a4c; }
.form-status[data-state="err"] { color: var(--red); }

.foot3 { border-top: 1px solid var(--ink); padding-block: 1.5rem; }
.foot3-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
