:root {
  --navy: #191c2d;
  --accent: #4c74b8;
  --accent-light: #8fb0e3;
  --accent-deep: #2b3f7a;
  --surface: #222640;
  
  
  --white: #ffffff;
  
  --text: #c9d3e8;
  --line: #2b3f7a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(7, 10, 25, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--navy); font: 400 1rem/1.65 var(--sans); }
body.intro-active { overflow: hidden; }
body.intro-active > :not(.site-intro) { opacity: 0; filter: blur(8px); transform: translateY(90px) scale(.985); }
body.intro-active.intro-revealing > :not(.site-intro) { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); transition: opacity 1.35s .18s ease, filter 1.25s .18s ease, transform 1.45s .08s cubic-bezier(.16,1,.3,1); }
.site-intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; color: var(--white); background: var(--navy); transform: translateY(0); }
.intro-panel { position: absolute; inset-block: 0; width: 50.1%; background: var(--navy); transition: transform .9s cubic-bezier(.77,0,.18,1); }
.intro-panel-left { left: 0; }
.intro-panel-right { right: 0; }
.intro-brand { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; opacity: 0; transform: translateY(18px); animation: intro-brand-in .8s .18s cubic-bezier(.22,1,.36,1) forwards; }
.intro-mark { font: 700 clamp(4.8rem, 11vw, 8.5rem)/.9 var(--serif); letter-spacing: -.13em; }
.intro-mark i { color: var(--accent-light); font-style: normal; }
.intro-rule { width: 0; height: 1px; margin: 30px 0 24px; background: var(--accent-light); animation: intro-rule-in .8s .65s cubic-bezier(.22,1,.36,1) forwards; }
.intro-brand strong { font: 600 clamp(1.45rem, 3vw, 2.35rem)/1.1 var(--serif); letter-spacing: .015em; }
.intro-brand small { margin-top: 9px; color: var(--text); font-size: clamp(.55rem, 1vw, .72rem); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.site-intro.is-leaving { border-radius: 0 0 48% 48% / 0 0 9% 9%; transform: translateY(-102%); transition: transform 1.45s cubic-bezier(.76,0,.24,1), border-radius 1.2s ease; }
.site-intro.is-leaving .intro-brand { opacity: 0; transform: translateY(-24px) scale(.98); transition: opacity .55s ease, transform .7s ease; }
@keyframes intro-brand-in { to { opacity: 1; transform: translateY(0); } }
@keyframes intro-rule-in { to { width: min(280px, 52vw); } }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 99; padding: 10px 16px; background: var(--surface); }
.skip-link:focus { top: 16px; }
.info-note { padding: 7px 20px; text-align: center; color: var(--text); background: var(--surface); font-size: .74rem; letter-spacing: .03em; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(25, 28, 45, .94); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { font: 700 1.55rem/1 var(--serif); letter-spacing: -.12em; color: var(--accent); }
.brand-mark i { color: var(--accent-light); font-style: normal; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--serif); font-size: 1.04rem; }
.brand-copy small { color: var(--text); font-size: .56rem; text-transform: uppercase; letter-spacing: .14em; }
.navigation { display: flex; align-items: center; gap: 26px; }
.navigation a { color: var(--text); font-size: .82rem; text-decoration: none; }
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--accent-light); }
.navigation .nav-contact { padding: 10px 17px; color: var(--navy); border: 1px solid var(--accent-light); border-radius: 99px; }
.menu-button { display: none; border: 0; background: transparent; padding: 9px; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 4px; background: var(--navy); }

.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--accent-light); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
p { margin-top: 0; }
.lead { max-width: 650px; color: var(--text); font-size: 1.08rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 0; border-radius: 3px; color: var(--white); background: var(--accent); font-size: .8rem; font-weight: 750; text-decoration: none; cursor: pointer; }
.button.secondary { color: var(--navy); background: transparent; border: 1px solid var(--accent-light); }
.text-link { display: inline-block; color: var(--accent-light); border-bottom: 1px solid var(--accent-light); font-size: .8rem; text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero { overflow: hidden; background: linear-gradient(135deg, var(--surface), var(--surface)); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 72px; min-height: 690px; }
.hero-copy h1 em { color: var(--accent-light); font-weight: 400; }
.hero-art { position: relative; display: grid; align-items: end; justify-items: end; min-height: 590px; padding: 28px 0; }
.hero-art::before { content: ""; position: absolute; inset: 7% 2% 3% 12%; border-radius: 220px 220px 24px 24px; background: linear-gradient(145deg, var(--accent-deep), var(--surface)); }
.hero-art img { position: absolute; right: 0; bottom: 28px; z-index: 1; width: min(88%, 500px); height: calc(100% - 56px); max-height: 560px; object-fit: contain; border-radius: 24px; box-shadow: var(--shadow); }
.hero-slide { opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .8s ease, transform .8s ease, visibility .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.hero-professional { position: absolute; z-index: 3; left: 6%; bottom: 58px; display: grid; gap: 2px; max-width: 240px; padding: 14px 18px; background: var(--surface); border-left: 3px solid var(--accent-light); box-shadow: var(--shadow); }
.hero-professional span { color: var(--text); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-professional strong { color: var(--accent); font-family: var(--serif); font-size: 1.1rem; }
.hero-dots { position: absolute; z-index: 4; right: 20px; bottom: 44px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid var(--white); border-radius: 50%; background: var(--surface); cursor: pointer; box-shadow: var(--shadow); }
.hero-dots button.is-active { width: 28px; border-radius: 8px; background: var(--accent-light); }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 28px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { display: block; color: var(--accent); font-family: var(--serif); font-size: 1.15rem; }
.trust-grid span { color: var(--text); font-size: .8rem; }

.section { padding: 110px 0; }
.section.soft { background: var(--surface); }
.section.cream { background: var(--surface); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.section-head > p { max-width: 430px; color: var(--text); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.image-frame { padding: 20px; background: var(--surface); box-shadow: var(--shadow); }
.image-frame img { width: 100%; max-height: 660px; object-fit: cover; object-position: top; }

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-card { min-height: 250px; padding: 32px; border: 1px solid var(--line); background: var(--surface); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.practice-card, .team-card { cursor: pointer; }
.practice-card:hover, .team-card:hover, .practice-card:focus-visible, .team-card:focus-visible { transform: translateY(-6px); border-color: var(--accent-light); box-shadow: 0 22px 48px rgba(7, 10, 25, .3); }
.practice-card span { color: var(--accent-light); font-size: .7rem; }
.practice-card h3 { margin: 48px 0 12px; color: var(--navy); font-size: 1.55rem; }
.practice-card p { color: var(--text); font-size: .9rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.team-card img { width: 100%; aspect-ratio: .72; object-fit: cover; object-position: top; }
.team-card div { padding: 22px; }
.team-card h3 { margin-bottom: 6px; font-size: 1.35rem; }
.team-card p { color: var(--text); font-size: .82rem; }
.card-dialog { width: min(680px, calc(100% - 32px)); max-height: min(82vh, 760px); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.card-dialog::backdrop { background: rgba(12,31,47,.74); backdrop-filter: blur(5px); }
.card-dialog-inner { position: relative; max-height: min(82vh, 760px); padding: clamp(34px, 6vw, 64px); overflow-y: auto; }
.card-dialog-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--white); background: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.card-dialog .eyebrow { margin-bottom: 13px; }
.card-dialog h2 { max-width: 540px; margin-bottom: 20px; font-size: clamp(2rem, 5vw, 3.4rem); }
.card-dialog-description { color: var(--text); font-size: 1.03rem; }
.card-dialog-topics { display: grid; gap: 10px; margin: 28px 0 34px; padding: 0; list-style: none; }
.card-dialog-topics li { position: relative; padding: 12px 15px 12px 38px; background: var(--surface); }
.card-dialog-topics li::before { content: ""; position: absolute; top: 20px; left: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); }
.card-dialog-note { margin-bottom: 26px; padding-left: 16px; border-left: 3px solid var(--accent-light); color: var(--text); font-size: .78rem; }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.content-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.content-image { display: block; overflow: hidden; background: var(--surface); }
.content-image img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: top; transition: transform .35s ease; }
.content-card:hover .content-image img { transform: scale(1.025); }
.content-card-body { padding: 24px; }
.content-card-body span { color: var(--accent-light); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.content-card-body h2 { margin: 12px 0 20px; font-size: 1.45rem; }
.content-card-body h2 a { text-decoration: none; }

.page-hero { padding: 105px 0 82px; background: linear-gradient(135deg, var(--surface), var(--surface)); }
.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 5vw, 5rem); }
.page-hero p { max-width: 690px; color: var(--text); }
.article-layout { display: grid; grid-template-columns: .84fr 1.16fr; align-items: start; gap: 70px; }
.article-layout figure { position: sticky; top: 115px; margin: 0; padding: 18px; background: var(--surface); }
.article-layout figure img { width: 100%; max-height: 760px; object-fit: contain; }
.article-layout h1 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.article-copy { margin: 36px 0; }
.article-copy p { margin: 0 0 10px; }
.article-copy br { display: block; content: ""; margin: 10px 0; }
.article-note { padding: 18px; border-left: 3px solid var(--accent-light); color: var(--text); background: var(--surface); font-size: .82rem; }

.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 56px; background: var(--surface); }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--text); }
.contact-list strong { display: block; color: var(--accent); font: 600 1rem/1.45 var(--sans); }
.contact-list a { color: inherit; text-underline-offset: 3px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 34px; background: var(--surface); }
.contact-form label { color: var(--text); font-size: .72rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); background: var(--navy); font: inherit; }
.contact-form .full, .contact-form button, .form-message { grid-column: 1 / -1; }
.form-message { margin: 0; color: var(--accent); font-size: .8rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .consent-field { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.contact-form .consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; }
.contact-form .consent-field a { color: var(--accent-light); }
.legal-copy { max-width: 780px; }
.legal-copy h2 { margin-top: 48px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.legal-copy h3 { margin-top: 30px; font-size: 1.25rem; }
.legal-copy a { color: var(--accent-light); }
.status-page { display: grid; place-items: center; min-height: calc(100vh - 82px); text-align: center; }
.status-page .page-copy { max-width: 680px; }

.site-footer { padding: 58px 0 30px; color: var(--text); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.site-footer .brand-copy strong, .site-footer .brand-mark { color: var(--white); }
.site-footer p, .site-footer a { color: var(--text); font-size: .8rem; }
.footer-links { display: grid; align-content: start; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-contact { display: grid; align-content: start; gap: 7px; }
.footer-contact a { text-decoration: none; }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .72rem; color: var(--text); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }

@media (max-width: 940px) {
  .menu-button { display: block; }
  .navigation { display: none; position: absolute; inset: 82px 0 auto; padding: 28px; background: var(--surface); box-shadow: var(--shadow); flex-direction: column; }
  .navigation.is-open { display: flex; }
  .hero-grid, .two-column, .article-layout, .contact-panel { grid-template-columns: 1fr; }
  .hero-grid { padding: 70px 0; }
  .hero-art { min-height: 520px; justify-items: center; }
  .article-layout figure { position: static; }
  .practice-grid, .content-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .intro-brand { width: calc(100% - 44px); }
  .intro-brand small { letter-spacing: .16em; }
  .container { width: min(100% - 30px, 1180px); }
  .brand-copy small { display: none; }
  .section { padding: 76px 0; }
  .section-head { display: block; }
  .trust-grid, .practice-grid, .content-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child { border-left: 1px solid var(--line); }
  .hero-art { min-height: 430px; padding: 12px 0; }
  .hero-art img { right: 3%; bottom: 12px; width: min(94%, 430px); height: calc(100% - 24px); max-height: 520px; }
  .hero-professional { left: 2%; bottom: 38px; }
  .hero-dots { right: 6%; bottom: 26px; }
  .contact-panel { padding: 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .contact-form label { grid-column: 1; }
  .card-dialog-inner { padding: 54px 24px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-intro { display: none; }
  body.intro-active { overflow: auto; }
  body.intro-active > :not(.site-intro) { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Paleta institucional e superfícies */
body { background: var(--navy); }
.site-header { border-bottom-color: var(--line); background: rgba(25, 28, 45, .94); }
.info-note { color: var(--text); background: var(--surface); }
.skip-link { color: var(--white); background: var(--surface); }
.brand-mark, .navigation a:hover, .navigation a[aria-current="page"] { color: var(--accent-light); }
.brand-mark i { color: var(--white); }
.navigation a, .site-footer a, .text-link { transition: color .25s ease, border-color .25s ease; }
.navigation .nav-contact { color: var(--white); border-color: var(--accent-light); }
.menu-button span { background: var(--white); }
h1, h2, h3 { color: var(--white); }
.button { border: 1px solid var(--accent-deep); border-radius: 4px; background: linear-gradient(120deg, var(--accent-deep), var(--accent)); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.button:hover { border-color: var(--accent-light); box-shadow: 0 8px 22px rgba(76, 116, 184, .24); transform: translateY(-2px); }
.button.secondary { color: var(--white); border-color: var(--accent-light); background: transparent; }
.button.secondary:hover { background: var(--surface); }
.text-link { color: var(--accent-light); border-bottom-color: var(--accent); }
.text-link:hover, .site-footer a:hover { color: var(--white); }
.hero, .page-hero { background: linear-gradient(135deg, var(--navy), var(--surface)); }
.hero-art::before { background: linear-gradient(145deg, var(--accent-deep), var(--surface)); }
.hero-professional { background: var(--surface); border-left-color: var(--accent-light); }
.hero-professional strong, .trust-grid strong, .practice-card h3, .contact-list strong { color: var(--white); }
.hero-dots button { border-color: var(--white); background: var(--surface); }
.hero-dots button.is-active { background: var(--accent-light); }
.trust-strip, .section.soft, .section.cream { background: var(--surface); }
.practice-card, .team-card, .content-card, .card-dialog, .contact-form { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.practice-card, .team-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.practice-card:hover, .team-card:hover, .practice-card:focus-visible, .team-card:focus-visible { border-color: var(--accent-light); box-shadow: 0 22px 48px rgba(7, 10, 25, .3); }
.card-dialog { color: var(--text); }
.card-dialog::backdrop { background: rgba(7, 10, 25, .8); }
.card-dialog-close { color: var(--white); background: var(--navy); }
.card-dialog-topics li, .content-image { background: var(--navy); }
.contact-list div, .footer-bottom { border-color: var(--line); }
.contact-form input, .contact-form select, .contact-form textarea { border-color: var(--line); border-radius: 4px; color: var(--white); background: var(--navy); color-scheme: dark; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text); opacity: 1; }
.site-footer { color: var(--text); background: var(--surface); }
.site-footer p, .site-footer a, .footer-bottom { color: var(--text); }
.form-message { color: var(--accent-light); }
:focus-visible { outline: 3px solid var(--accent-light); }
@media (max-width: 940px) {
  .navigation { background: var(--surface); }
}

/* Movimento sutil entre os cards */
.practice-card,
.team-card,
.content-card,
.trust-grid > div,
.image-frame,
.contact-list > div {
  position: relative;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform .32s cubic-bezier(.22, 1, .36, 1),
    border-color .26s ease,
    box-shadow .32s ease,
    opacity .26s ease;
}

.team-card img,
.content-card .content-image img {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .32s ease;
}

.practice-grid:has(.practice-card:hover) .practice-card:not(:hover),
.team-grid:has(.team-card:hover) .team-card:not(:hover),
.content-grid:has(.content-card:hover) .content-card:not(:hover) {
  opacity: .72;
  transform: translateY(5px) scale(.975);
}

.practice-card:hover,
.team-card:hover,
.content-card:hover {
  z-index: 2;
  opacity: 1;
  transform: translateY(-14px) scale(1.025);
  border-color: var(--accent-light);
  box-shadow: 0 28px 58px rgba(7, 10, 25, .46);
}

.team-card:hover img,
.content-card:hover .content-image img {
  transform: scale(1.045);
  filter: brightness(1.06);
}

.trust-grid:has(> div:hover) > div:not(:hover),
.contact-list:has(> div:hover) > div:not(:hover) {
  opacity: .7;
  transform: scale(.985);
}

.trust-grid > div:hover,
.image-frame:hover,
.contact-list > div:hover {
  z-index: 2;
  opacity: 1;
  transform: translateY(-8px) scale(1.012);
  border-color: var(--accent-light);
  box-shadow: 0 20px 44px rgba(7, 10, 25, .32);
}

.image-frame img {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .32s ease;
}

.image-frame:hover img {
  transform: scale(1.018);
  filter: brightness(1.05);
}
