/* Layout 2 — Dossiê Corporativo: nav clássica, credenciais, índice numerado */

:root {
  --ink: #0f2138; --ink-soft: #4d5c72; --paper: #f5f6f3; --paper-raised: #ffffff;
  --line: #d9dde0; --navy: #0f2138; --teal: #2f7a6b; --teal-soft: #e6f0ed;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 24px 48px -28px rgb(15 33 56 / .35);
}

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; }
:focus-visible { outline-color: var(--teal); }
::selection { background: var(--teal); color: #fff; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tint { background: var(--paper-raised); border-block: 1px solid var(--line); }
.tag { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 20ch; margin-bottom: 2.5rem; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 200; background: rgb(245 246 243 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 2rem; padding-block: .8rem; }
.brand2 { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.crest { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .8rem; font-weight: 700; }
.brand2-text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; display: flex; flex-direction: column; }
.brand2-text small { font-family: var(--font-body); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav2 { display: flex; gap: 1.75rem; }
.nav2 a { font-size: .9rem; font-weight: 600; color: var(--ink-soft); position: relative; padding-block: .3rem; transition: color .2s ease; }
.nav2 a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--teal); transition: right .3s cubic-bezier(.2,.8,.2,1); }
.nav2 a:hover { color: var(--ink); }
.nav2 a:hover::after { right: 0; }
.topbar-actions { display: flex; align-items: center; gap: .75rem; }
.menu-btn2 { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; font-size: 1.1rem; }
@media (max-width: 860px) { .nav2 { display: none; } .menu-btn2 { display: block; } }

.overlay2 {
  position: fixed; inset: 0; top: 60px; z-index: 190; background: #fff;
  transform: translateY(-110%); transition: transform .35s ease; border-bottom: 1px solid var(--line);
}
.overlay2.is-open { transform: translateY(0); }
.overlay2 nav { display: flex; flex-direction: column; padding: 1rem clamp(1.25rem,4vw,2.5rem) 2rem; }
.overlay2 nav a { padding-block: 1rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.1rem; }

/* buttons */
.btn2 { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.6rem; border-radius: 4px; font-weight: 700; font-size: .9rem; border: 1.5px solid transparent; transition: all .2s ease; }
.btn2-solid { background: var(--navy); color: #fff; }
.btn2-solid:hover { background: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn2-line { border-color: var(--navy); color: var(--navy); }
.btn2-line:hover { background: var(--navy); color: #fff; }

/* hero */
.hero2 { padding-block: clamp(3rem, 7vw, 5rem); background: linear-gradient(180deg, var(--teal-soft), var(--paper) 60%); }
.hero2-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero2-grid { grid-template-columns: 1fr; } }
.hero2 h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.15; margin-block: .6rem 1.2rem; }
.hero2 h1 span { color: var(--teal); }
.lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 50ch; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.stat-strip { display: flex; gap: 2.5rem; border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.stat-strip strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.stat-strip span { font-size: .78rem; color: var(--ink-soft); }

.hero2-photo { position: relative; border: 10px solid #fff; box-shadow: var(--shadow); border-radius: 2px; }
.hero2-photo img { aspect-ratio: 3/4; object-fit: cover; width: 100%; filter: sepia(.08) contrast(1.05); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.hero2-photo:hover img { transform: scale(1.04); }
.stamp {
  position: absolute; top: 1.5rem; right: -1rem; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .5rem 1rem; letter-spacing: .04em; box-shadow: var(--shadow); transform: rotate(3deg);
  animation: sway 4s ease-in-out infinite;
}
@keyframes sway { 0%,100% { transform: rotate(3deg); } 50% { transform: rotate(-1deg); } }

/* sobre */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1rem; font-size: 1.02rem; }
.fact-box { background: var(--navy); color: #fff; border-radius: 4px; padding: 2rem; }
.fact-box h3 { font-size: 1rem; margin-bottom: 1.25rem; }
.fact-box dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .88rem; }
.fact-box dt { color: rgb(255 255 255 / .6); }
.fact-box dd { text-align: right; font-weight: 600; }

/* areas index */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 3rem 16rem 1fr; gap: 1.5rem; align-items: baseline;
  padding-block: 1.1rem; border-bottom: 1px solid var(--line); transition: background-color .25s ease, padding-left .25s ease;
}
.index-row:hover { background: var(--teal-soft); padding-left: .75rem; }
@media (max-width: 700px) { .index-row { grid-template-columns: 2.2rem 1fr; } .ix-d { grid-column: 2 / 3; } }
.ix { font-family: var(--font-display); color: var(--teal); font-weight: 600; }
.ix-t { font-weight: 700; }
.ix-d { color: var(--ink-soft); font-size: .92rem; }

/* equipe */
.id-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 780px) { .id-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }
.id-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.id-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.id-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 3px solid var(--teal-soft); filter: grayscale(.3); }
.id-card h3 { font-size: 1.05rem; }
.oab { font-size: .78rem; color: var(--ink-soft); margin-top: .2rem; font-variant-numeric: tabular-nums; }
.role2 { font-size: .82rem; font-weight: 700; color: var(--teal); margin-top: .6rem; }
.areas2 { font-size: .84rem; color: var(--ink-soft); margin-top: .3rem; }

/* localizacao */
address { font-style: normal; color: var(--ink-soft); margin-block: 1rem 1.25rem; line-height: 1.7; }
.contact-list2 li { margin-bottom: .5rem; }
.contact-list2 a:not(.link-whatsapp) { font-weight: 600; color: var(--navy); }
.portal-links2 { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.portal-links2 a { font-size: .84rem; color: var(--ink-soft); }
.portal-links2 a:hover { color: var(--teal); }
.map-box { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* contato */
.form2 { max-width: 640px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem,4vw,2.25rem); display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.two-col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 480px) { .two-col2 { grid-template-columns: 1fr; } }
.form-row label { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea { padding: .7rem .85rem; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); outline: none; }
.hp-field { position: absolute; left: -9999px; }
.form-status { font-size: .84rem; min-height: 1.2em; }
.form-status[data-state="ok"] { color: var(--teal); }
.form-status[data-state="err"] { color: #b3452f; }

/* footer */
.foot2 { background: var(--navy); color: rgb(255 255 255 / .8); }
.foot2-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 2rem; font-size: .85rem; }
.foot-social { display: flex; gap: 1.25rem; }
.foot-social a:hover { color: #fff; }
