/* =========================================================
   Site institucional - paleta sobria
   Provimento 205/2021 OAB
   ========================================================= */
:root {
    --bg: #fafaf9;
    --bg-alt: #f4f1ec;
    --bg-frame: #e8e5e0;
    --text: #1a1a1a;
    --text-muted: #6a6a64;
    --text-soft: #8a8a83;
    --accent-dark: #15171a;
    --blue: #1e3a5f;
    --gold: #b58a4a;
    --gold-soft: #c4a778;
    --border: #e5e2dc;
    --border-soft: #ecebe6;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.04);
    --shadow: 0 8px 24px rgba(15, 20, 25, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 20, 25, 0.1);
    --font-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --max-width: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg-frame);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-body {
    padding: 14px;
}

.site-shell {
    background: var(--bg);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.025em;
    color: var(--accent-dark);
}

em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

p { margin: 0; }

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 44px;
}
.container--narrow { max-width: 920px; }
.container--wide { max-width: 1440px; }

/* Header */
.site-header {
    background: var(--bg);
}
.site-header__inner {
    padding: 28px 36px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--accent-dark);
    white-space: nowrap;
}
.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--accent-dark);
    border-radius: 6px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    line-height: 1;
}
.site-logo__sub {
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}
.site-nav {
    display: flex;
    gap: 36px;
}
.site-nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
}
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a.is-active { border-bottom-color: var(--accent-dark); }

.site-header__toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    position: relative;
    z-index: 101;
}
.site-header__toggle span {
    position: absolute;
    left: 9px;
    width: 22px;
    height: 1.5px;
    background: var(--accent-dark);
    transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
    border-radius: 1px;
}
.site-header__toggle span:nth-child(1) { top: 14px; }
.site-header__toggle span:nth-child(2) { top: 19px; }
.site-header__toggle span:nth-child(3) { top: 24px; }
.site-header.is-open .site-header__toggle span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}
.site-header.is-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.site-header.is-open .site-header__toggle span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: -0.005em;
    padding: 12px 22px;
    border-radius: 10px;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--pill { border-radius: 999px; padding: 12px 24px; }
.btn--dark { background: var(--accent-dark); color: #fff; }
.btn--dark:hover { background: #25292f; }
.btn--light { background: #fff; color: var(--accent-dark); border: 1px solid rgba(255,255,255,0.5); }
.btn--light:hover { background: #f5f5f4; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { background: var(--bg-alt); }
.btn--ghost-light { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.95); border: 1px solid rgba(255,255,255,0.2); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 14px; }
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--danger { color: #a02b2b; }
.btn .arrow { display: inline-flex; transition: transform .2s; }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* Pills */
.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.pill--light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255,255,255,0.18); }
.pill--on-image { background: rgba(255, 255, 255, 0.92); color: var(--accent-dark); border-color: transparent; }
.pill--small { font-size: 10px; padding: 4px 10px; }

/* Section label (underlined, editorial) */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    letter-spacing: -0.005em;
}
.eyebrow--light {
    color: rgba(255,255,255,0.85);
    text-decoration-color: rgba(255,255,255,0.5);
}
.eyebrow--gold {
    color: var(--gold);
    text-decoration-color: var(--gold);
}

/* Sections */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--intro { padding: 90px 0 50px; }
.section--cta { padding: 80px 0 110px; }

/* New hero (editorial reference) */
.hero {
    position: relative;
    margin: 14px 36px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    min-height: 680px;
    padding: 44px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,15,0.55) 0%, rgba(10,12,15,0.25) 35%, rgba(10,12,15,0.75) 100%);
    z-index: 1;
}
.hero__top, .hero__bottom { position: relative; z-index: 2; }
.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}
.hero__stats { display: flex; gap: 56px; }
.hero-stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 6px;
}
.hero-stat__lbl {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
}
.hero__pitch {
    max-width: 280px;
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    line-height: 1.55;
    text-align: right;
}
.hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 108px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #fff;
    max-width: 880px;
    margin: 0;
}
.hero__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
}
.hero__cta-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 28px;
    flex-shrink: 0;
}
.hero__since {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}
.hero__since::before {
    content: '';
    display: block;
    width: 90px;
    height: 1px;
    background: rgba(255,255,255,0.35);
}
.hero__logomark {
    position: absolute;
    left: 44px;
    bottom: 40px;
    z-index: 2;
    color: rgba(255,255,255,0.55);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
}

.avatar-stack { display: inline-flex; }
.avatar-stack__item {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    background: var(--bg-alt);
    margin-left: -8px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-weight: 500;
    font-size: 11px;
}
.avatar-stack__item:first-child { margin-left: 0; }
.avatar-stack__item img { width: 100%; height: 100%; object-fit: cover; }

/* Section heads */
.section__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 64px;
    max-width: 880px;
}
.section__head--with-action {
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    max-width: 100%;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--accent-dark);
    max-width: 820px;
}
.section__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-2--narrow { grid-template-columns: 1fr 1.4fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.lead {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--accent-dark);
    font-weight: 500;
    max-width: 720px;
}
.lead em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* About (3-col) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr 1fr;
    gap: 80px;
    align-items: flex-start;
}
.about-side {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    padding-top: 8px;
}
.about-side__img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    margin-bottom: 18px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-alt);
}
.about-side__pill {
    display: inline-block;
    padding: 8px 14px;
    background: var(--accent-dark);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.about-side__num {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--accent-dark);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.about-side--right { text-align: right; }
.about-side--right .about-side__img { margin-left: auto; }
.about-mid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.about-mid__divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0 4px;
}
.about-mid__action { display: flex; justify-content: flex-end; }

/* Cards institucionais */
.info-card {
    border-radius: var(--radius);
    padding: 36px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.info-card--dark {
    background: var(--accent-dark);
    color: #fff;
}
.info-card--dark .info-card__text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.55; }
.info-card--dark strong { color: #fff; }
.info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 24px;
}
.info-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    align-self: flex-start;
    margin-top: 24px;
}
.toggle-dot {
    width: 28px;
    height: 16px;
    background: var(--blue);
    border-radius: 999px;
    position: relative;
}
.toggle-dot::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    right: 2px;
}
.info-card--image {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}
.info-card--light {
    background: #f6f3ee;
    color: var(--text);
}
.info-card__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.12;
    letter-spacing: -0.015em;
}
.info-card__title em { font-style: italic; }
.info-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-card__list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--text-muted);
    font-size: 14px;
}
.info-card__list li:last-child { border-bottom: 0; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    color: var(--accent-dark);
    line-height: 1;
    margin-bottom: 8px;
}
.stat__label {
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.01em;
}

/* Areas — editorial numbered list */
.areas-list {
    border-top: 1px solid var(--border-soft);
}
.area-row {
    display: grid;
    grid-template-columns: 100px 80px 1fr 360px 140px;
    gap: 36px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-soft);
    text-decoration: none;
    color: inherit;
    transition: background .25s;
}
.area-row:hover { background: rgba(0,0,0,0.015); }
.area-row__thumb {
    width: 100px;
    height: 72px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-alt);
}
.area-row__num {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--accent-dark);
    letter-spacing: -0.02em;
    line-height: 1;
}
.area-row__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--accent-dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.area-row__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}
.area-row__cta {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent-dark);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.area-row__cta:hover { background: #25292f; transform: translateY(-1px); }
.area-row__cta .arrow { transition: transform .2s; }
.area-row:hover .area-row__cta .arrow { transform: translate(3px, -3px); }

/* Grid das areas (paginas internas) */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.area-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 380px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area-card__title { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.area-card__desc { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.5; }
.area-card__more { display: inline-block; margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }
.area-card--lg { min-height: 420px; }

/* Principios / diferenciais */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.principle {
    padding: 36px 28px;
    border-right: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.principle:last-child { border-right: 0; }
.principle__img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-alt);
    margin-bottom: 6px;
}
.principle__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.01em;
}
.principle__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Metodologia */
.method-card {
    border-radius: var(--radius-lg);
    padding: 48px;
}
.method-card--dark { background: var(--accent-dark); color: #fff; }
.method-card--light { background: var(--bg-alt); color: var(--text); }
.method-card__title {
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 18px 0 28px;
    color: #fff;
}
.method-card__title em { font-style: italic; font-weight: 500; }
.method-card__title--dark { color: var(--text); }
.method-card__text { color: var(--text-muted); margin-bottom: 24px; max-width: 460px; }
.method-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.method-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.5;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.method-list li:last-child { border-bottom: 0; }
.method-list__num {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.team-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: 0;
    transition: transform .2s;
}
.team-card:hover { transform: translateY(-2px); }
.team-card__photo {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg-alt);
    margin-bottom: 22px;
    position: relative;
    filter: grayscale(0.15);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--text-muted);
}
.team-card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--accent-dark);
}
.team-card__role { color: var(--gold); font-size: 12px; margin-bottom: 10px; letter-spacing: 0.02em; }
.team-card__oab { color: var(--text-muted); font-size: 13px; margin-bottom: 4px; }
.team-card__formation { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.team-card__areas { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.team-card__bio { color: var(--text); font-size: 13px; line-height: 1.55; margin: 12px 0; }
.team-card__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: 12px; }
.team-card__links a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.team-card__links a:hover { color: var(--gold); }

.team-card--full { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.team-card--full .team-card__photo { aspect-ratio: 1; margin-bottom: 0; }
@media (max-width: 720px) {
    .team-card--full { grid-template-columns: 1fr; }
}

/* Articles — editorial */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.articles-grid--lg { gap: 48px; }
.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    border: 0;
    transition: transform .2s;
}
.article-card:hover { transform: translateY(-2px); }
.article-card__image {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt) center / cover no-repeat;
    border-radius: var(--radius-sm);
    position: relative;
    margin-bottom: 18px;
    filter: grayscale(0.1);
}
.article-card__placeholder {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--bg-alt), #d8d3ca);
    border-radius: var(--radius-sm);
}
.article-card__body { padding: 0; }
.article-card__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--accent-dark);
    margin: 14px 0 10px;
    line-height: 1.18;
}
.article-card__summary { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.article-card__meta { color: var(--text-soft); font-size: 11px; letter-spacing: 0.02em; }

/* Page hero (interior pages) — editorial left-aligned */
.page-hero {
    padding: 96px 0 72px;
    text-align: left;
}
.page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 44px;
}
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6.4vw, 88px);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin: 22px 0 28px;
    max-width: 980px;
    color: var(--accent-dark);
}
.page-hero__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.page-hero__title--light { color: #fff; }
.page-hero__lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.6;
}
.page-hero__lead--light { color: rgba(255,255,255,0.82); }

.page-hero--with-image {
    background-size: cover;
    background-position: center;
    padding: 0;
    border-radius: var(--radius-lg);
    margin: 14px 36px 0;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.page-hero--with-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,15,0.55) 0%, rgba(10,12,15,0.3) 35%, rgba(10,12,15,0.75) 100%);
}
.page-hero--with-image .page-hero__inner {
    position: relative;
    padding: 140px 48px 60px;
    max-width: none;
}

/* Prose */
.prose { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 720px; }
.prose h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 44px 0 16px;
    color: var(--accent-dark);
}
.prose h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.prose h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 32px 0 12px;
    color: var(--accent-dark);
}
.prose p { margin: 16px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose strong { font-weight: 500; color: var(--accent-dark); }

/* Article page */
.article-page__header { padding: 80px 0 36px; text-align: left; max-width: var(--max-width); margin: 0 auto; padding-left: 44px; padding-right: 44px; }
.article-page__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.4vw, 72px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 18px 0 22px;
    max-width: 880px;
    color: var(--accent-dark);
}
.article-page__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.article-page__meta { color: var(--text-soft); font-size: 13px; letter-spacing: 0.02em; }
.article-page__cover { padding: 0 0 40px; }
.article-page__cover img {
    border-radius: var(--radius);
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}
.article-page__body { padding: 0 0 80px; }

/* Layout 2-col com sidebar sticky */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 96px;
    align-items: flex-start;
}
.article-layout__side {
    position: sticky;
    top: 110px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.article-side {
    padding: 24px 0;
    border-top: 1px solid var(--border-soft);
}
.article-side:first-child { border-top: 0; padding-top: 0; }
.article-side__title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    margin-bottom: 18px;
}
.article-side__cats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.article-side__cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--border-soft);
    transition: color 0.25s ease, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-side__cats a:last-child { border-bottom: 0; }
.article-side__cats a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.article-side__cats a.is-active {
    color: var(--accent-dark);
    font-weight: 500;
}
.article-side__cats a.is-active::before {
    content: '→';
    position: absolute;
    margin-left: -16px;
    color: var(--gold);
}
.article-side__cats a.is-active {
    position: relative;
    padding-left: 16px;
}
.article-side__count {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-soft);
    font-variant-numeric: tabular-nums;
}

.article-side__recent {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.article-side__recent a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-side__recent a:hover {
    color: var(--gold);
    transform: translateX(3px);
}
.article-side__recent-title {
    font-family: var(--font-display);
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--accent-dark);
}
.article-side__recent-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.article-side__recent a:hover .article-side__recent-title {
    color: var(--gold);
}
.article-side__recent-date {
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.02em;
}

.article-side--cta {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 22px;
    border-top: 0;
    margin-top: 12px;
}
.article-side--cta .article-side__title { color: var(--text-muted); }
.article-side__cta-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
}

.article-page__share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}
.article-page__share-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
}
.article-page__share a {
    font-size: 13px;
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.article-page__share a:hover { color: var(--gold); }

/* Article title com itálico Instrument Serif */
.article-page__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.article-card__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.article-page__summary em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .article-layout__side {
        position: static;
    }
}
.article-page__summary {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent-dark);
    line-height: 1.4;
    letter-spacing: -0.015em;
    margin-bottom: 32px;
    font-weight: 500;
}
.article-page__disclaimer {
    margin-top: 56px;
    padding: 22px 26px;
    background: var(--bg-alt);
    border-left: 2px solid var(--gold);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Categoria filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
    justify-content: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-soft);
}
.category-filter a {
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    border: 1px solid var(--border);
    transition: background .2s, color .2s, border-color .2s;
}
.category-filter a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.category-filter a.is-active { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }

.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 14px;
}

/* Contact page */
.contact-info__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    color: var(--accent-dark);
}
.contact-info__block { margin-bottom: 28px; }
.contact-info__block h3 {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-info__block p { color: var(--text); font-size: 15px; line-height: 1.5; }
.contact-info__block a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-info__block a:hover { color: var(--gold); }

.contact-form-wrapper {
    background: var(--bg-alt);
    border: 0;
    border-radius: var(--radius-lg);
    padding: 48px;
}
.contact-form .form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.contact-form .form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    background: #fff;
    color: var(--accent-dark);
    transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(21,23,26,0.06);
}
.form-note { font-size: 12px; color: var(--text-muted); margin: 12px 0 20px; line-height: 1.5; }
.form-note a { color: var(--accent-dark); text-decoration: underline; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.alert--success { background: #eaf3ec; color: #1f5132; border: 1px solid #c5dccb; }
.alert--error { background: #fbeaea; color: #7a1f1f; border: 1px solid #e5c2c2; }

.cta-block {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 48px;
    padding: 72px;
    background: var(--accent-dark);
    color: #fff;
    border-radius: var(--radius-lg);
}
.cta-block__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 20px 0 14px;
    max-width: 720px;
}
.cta-block__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.cta-block__text { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; max-width: 480px; }
.cta-block .eyebrow { color: rgba(255,255,255,0.85); text-decoration-color: rgba(255,255,255,0.5); }

/* Footer */
.site-footer {
    background: var(--accent-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
    margin-top: 0;
}
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__title {
    font-family: var(--font-display);
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}
.site-footer__subtitle {
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 500;
}
.site-footer__meta { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.site-footer__col p, .site-footer__col a { font-size: 14px; color: rgba(255,255,255,0.8); }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: #fff; }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__notice {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    line-height: 1.6;
}
.site-footer__notice p { margin-bottom: 12px; max-width: 920px; }
.site-footer__copy { font-size: 12px; color: rgba(255,255,255,0.45); }

/* =====================================================
   RESPONSIVE — breakpoints: 1100 / 980 / 720 / 480
   ===================================================== */

@media (max-width: 1100px) {
    .container { padding: 0 36px; }
    .hero { margin: 14px 22px 0; padding: 36px 36px 32px; min-height: 600px; }
    .page-hero--with-image { margin: 14px 22px 0; }
    .area-row { grid-template-columns: 72px 56px 1fr auto; gap: 28px; }
    .area-row__desc { display: none; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .principle {
        border-bottom: 1px solid var(--border-soft);
        padding: 32px 24px;
    }
    .principle:nth-child(2n) { border-right: 0; }
    .principle:nth-last-child(-n+2) { border-bottom: 0; }
    .team-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .cta-block { padding: 56px 48px; gap: 32px; }
    .section { padding: 90px 0; }
    .article-layout { gap: 60px; grid-template-columns: minmax(0, 1fr) 240px; }
}

@media (max-width: 980px) {
    .container { padding: 0 28px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 24px; }
    .grid-2--narrow { grid-template-columns: 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-side--right { text-align: left; }
    .about-side--right .about-side__img { margin-left: 0; }
    .section__head--with-action { grid-template-columns: 1fr; align-items: flex-start; gap: 16px; }
    .section__head--with-action .btn { align-self: flex-start; }
    .hero { padding: 32px 28px; min-height: 580px; margin: 14px 18px 0; }
    .hero__top { flex-direction: column; gap: 28px; align-items: flex-start; }
    .hero__pitch { text-align: left; max-width: 100%; }
    .hero__bottom { flex-direction: column; align-items: flex-start; gap: 32px; }
    .hero__cta-area { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .hero__title { font-size: clamp(44px, 9vw, 76px); }
    .page-hero { padding: 72px 0 56px; }
    .page-hero--with-image .page-hero__inner { padding: 100px 32px 48px; }
    .article-layout { grid-template-columns: 1fr; gap: 48px; }
    .article-layout__side { position: static; }
    .article-side--cta { display: none; } /* CTA já existe ao final da pagina */
    .article-page__header { padding-top: 64px; }
    .cta-block { grid-template-columns: 1fr; padding: 48px 40px; gap: 28px; }
    .cta-block .btn { align-self: flex-start; }
    .section { padding: 80px 0; }
    .section--intro { padding: 56px 0 32px; }
    .about-mid__action { justify-content: flex-start; }
    .articles-grid--lg { gap: 36px; }
}

@media (max-width: 720px) {
    .site-body { padding: 8px; }
    .site-shell { border-radius: 16px; }
    .site-header { position: relative; z-index: 100; }
    .site-header__inner { padding: 18px 22px 16px; gap: 12px; }
    .site-logo__sub { display: none; }
    .site-nav, .site-header__cta { display: none; }
    .site-header__toggle { display: block; }

    .container { padding: 0 22px; }

    .hero {
        margin: 6px 8px 0;
        padding: 28px 22px 24px;
        min-height: 520px;
        border-radius: 18px;
    }
    .hero__stats { gap: 28px; }
    .hero-stat__num { font-size: 24px; }
    .hero-stat__lbl { font-size: 10px; }
    .hero__pitch { font-size: 12px; }
    .hero__title {
        font-size: clamp(36px, 11vw, 52px);
        letter-spacing: -0.03em;
    }
    .hero__since { font-size: 11px; }
    .hero__since::before { width: 60px; }
    .hero__cta-area .btn { padding: 11px 20px; font-size: 12px; }

    .page-hero { padding: 56px 0 40px; }
    .page-hero__title { font-size: clamp(36px, 9vw, 56px); }
    .page-hero--with-image {
        margin: 6px 8px 0;
        border-radius: 18px;
    }
    .page-hero--with-image .page-hero__inner {
        padding: 80px 22px 36px;
    }

    .area-row {
        grid-template-columns: 56px 1fr auto;
        gap: 16px;
        padding: 20px 0;
    }
    .area-row__thumb { width: 56px; height: 42px; }
    .area-row__num { display: none; }
    .area-row__title { font-size: 17px; }
    .area-row__cta {
        padding: 8px 14px;
        font-size: 11px;
    }

    .principles-grid { grid-template-columns: 1fr; }
    .principle {
        border-right: 0;
        padding: 28px 0;
    }
    .principle:last-child { border-bottom: 0; }

    /* About no mobile: limpa elementos decorativos órfãos */
    .about-grid { gap: 20px; }
    .about-side--right { display: none; } /* pill + img redundantes em mobile */
    .about-side__img { display: none; }
    .about-side > p { display: none; }
    .about-side { padding: 0; }
    .about-mid__divider { margin: 4px 0; }

    .section { padding: 56px 0; }
    .section--intro { padding: 40px 0 16px; }
    .section--cta { padding: 32px 0 56px; }
    .section__head { margin-bottom: 36px; }

    .lead { font-size: clamp(22px, 6vw, 28px); }

    .team-grid,
    .articles-grid,
    .articles-grid--lg {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .team-card__photo { aspect-ratio: 16 / 11; }

    .cta-block {
        padding: 36px 28px;
        border-radius: 18px;
    }
    .cta-block__title { font-size: clamp(28px, 8vw, 40px); }

    .article-page__header {
        padding: 56px 22px 28px;
        margin: 0;
    }
    .article-page__title { font-size: clamp(32px, 9vw, 48px); }
    .article-page__cover { padding: 0 0 28px; }
    .article-page__cover img { max-height: 320px; }
    .article-page__summary { font-size: 17px; }
    .article-page__share {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 32px;
    }

    .contact-info__title { font-size: 24px; margin-bottom: 24px; }
    .contact-info__block { margin-bottom: 22px; }
    .contact-form-wrapper {
        padding: 28px 22px;
        border-radius: 18px;
    }
    .contact-form .form-row--split { grid-template-columns: 1fr; gap: 8px; }
    .form-row { margin-bottom: 16px; }

    .category-filter { gap: 6px; margin-bottom: 36px; }
    .category-filter a { padding: 7px 14px; font-size: 11px; }

    .prose { font-size: 16px; }
    .prose h2 { font-size: 26px; margin-top: 36px; }
    .prose h3 { font-size: 19px; }

    .site-footer { padding-top: 56px; }
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding: 0 22px 40px;
    }
    .site-footer__notice { padding: 24px 22px; }
}

@media (max-width: 480px) {
    .site-header__inner { padding: 14px 18px; }
    .site-logo { font-size: 14px; }
    .hero {
        padding: 24px 20px 22px;
        min-height: 460px;
    }
    .hero__stats { gap: 22px; }
    .hero-stat__num { font-size: 22px; }
    .hero__title { font-size: clamp(32px, 11vw, 44px); }
    .hero__cta-area { width: 100%; gap: 14px; }
    .hero__cta-area .btn { width: 100%; }
    .hero__since {
        order: -1;
        align-self: flex-start;
    }

    .container { padding: 0 18px; }
    .page-hero { padding: 48px 0 32px; }
    .page-hero__inner { padding: 0 18px; }
    .page-hero__title { font-size: clamp(32px, 10vw, 44px); }
    .page-hero__lead { font-size: 15px; }

    .section { padding: 48px 0; }
    .section__title { font-size: clamp(26px, 8vw, 34px); }
    .lead { font-size: clamp(20px, 6vw, 26px); }
    .cta-block { padding: 28px 22px; gap: 20px; }
    .cta-block__title { font-size: clamp(26px, 8vw, 32px); }
    .cta-block .btn { width: 100%; }

    .area-row {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }
    .area-row__thumb {
        grid-column: 1 / -1;
        width: 100%;
        height: 80px;
        border-radius: 8px;
    }
    .area-row__title { font-size: 16px; }

    .article-page__header { padding: 48px 18px 24px; }
    .article-page__title { font-size: clamp(28px, 9vw, 38px); }
    .article-page__body { padding-bottom: 56px; }

    .article-side { padding: 20px 0; }
    .article-side__cats a { font-size: 13px; padding: 7px 0; }

    .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
    .site-footer__title { font-size: 20px; }
}

/* =====================================================
   MOBILE NAV — overlay fullscreen editorial
   ===================================================== */
.mobile-nav { display: none; }

@media (max-width: 720px) {
    .mobile-nav {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 95;
        background: var(--bg);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    }
    .mobile-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .mobile-nav__inner {
        min-height: 100%;
        padding: 100px 28px 32px;
        display: flex;
        flex-direction: column;
        max-width: 540px;
        margin: 0 auto;
    }
    .mobile-nav__list { margin-bottom: 48px; }
    .mobile-nav__list .eyebrow {
        display: inline-block;
        margin-bottom: 28px;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav.is-open .mobile-nav__list .eyebrow {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.05s;
    }
    .mobile-nav__list ol {
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid var(--border-soft);
    }
    .mobile-nav__list li {
        border-bottom: 1px solid var(--border-soft);
        overflow: hidden;
    }
    .mobile-nav__list a {
        display: grid;
        grid-template-columns: 28px 1fr auto;
        gap: 18px;
        align-items: baseline;
        padding: 22px 4px 22px 0;
        text-decoration: none;
        color: var(--accent-dark);
        font-family: var(--font-display);
        font-size: 32px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: -0.025em;
        opacity: 0;
        transform: translateY(16px);
        transition:
            opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
            color 0.25s ease,
            padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav.is-open .mobile-nav__list a {
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-nav.is-open li:nth-child(1) a { transition-delay: 0.12s, 0.12s, 0s, 0s; }
    .mobile-nav.is-open li:nth-child(2) a { transition-delay: 0.18s, 0.18s, 0s, 0s; }
    .mobile-nav.is-open li:nth-child(3) a { transition-delay: 0.24s, 0.24s, 0s, 0s; }
    .mobile-nav.is-open li:nth-child(4) a { transition-delay: 0.30s, 0.30s, 0s, 0s; }
    .mobile-nav.is-open li:nth-child(5) a { transition-delay: 0.36s, 0.36s, 0s, 0s; }
    .mobile-nav__list a:hover,
    .mobile-nav__list a:active { color: var(--gold); padding-left: 6px; }
    .mobile-nav__list a.is-active {
        color: var(--accent-dark);
    }
    .mobile-nav__list a.is-active .mobile-nav__label::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 10px;
        border-radius: 50%;
        background: var(--gold);
        vertical-align: middle;
        margin-bottom: 4px;
    }
    .mobile-nav__num {
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 400;
        color: var(--text-soft);
        letter-spacing: 0.06em;
        line-height: 1;
        align-self: center;
    }
    .mobile-nav__label {
        line-height: 1;
    }
    .mobile-nav__list a .arrow {
        font-size: 18px;
        color: var(--text-soft);
        align-self: center;
        transition: transform 0.3s, color 0.25s;
    }
    .mobile-nav__list a:hover .arrow,
    .mobile-nav__list a:active .arrow {
        color: var(--gold);
        transform: translate(4px, -4px);
    }

    .mobile-nav__footer {
        margin-top: auto;
        padding-top: 36px;
        border-top: 1px solid var(--border-soft);
        display: flex;
        flex-direction: column;
        gap: 10px;
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav.is-open .mobile-nav__footer {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.45s;
    }
    .mobile-nav__footer .eyebrow {
        margin-bottom: 14px;
    }
    .mobile-nav__contact {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }
    .mobile-nav__contact p { margin: 0; }
    .mobile-nav__contact a {
        font-family: var(--font-display);
        font-size: 18px;
        color: var(--accent-dark);
        text-decoration: none;
        letter-spacing: -0.015em;
        transition: color 0.2s;
    }
    .mobile-nav__contact a:hover { color: var(--gold); }
    .mobile-nav__cta {
        margin-top: 20px;
        align-self: flex-start;
        padding: 14px 26px;
        font-size: 13px;
    }
    .mobile-nav__social {
        margin-top: 24px;
        display: flex;
        gap: 18px;
        font-size: 12px;
    }
    .mobile-nav__social a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.2s;
    }
    .mobile-nav__social a:hover { color: var(--accent-dark); }
    .mobile-nav__society {
        margin: 24px 0 0;
        font-size: 11px;
        color: var(--text-soft);
        line-height: 1.6;
        letter-spacing: 0.01em;
    }

    /* Body lock quando overlay aberto */
    body.mobile-nav-locked {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-nav__inner { padding: 88px 22px 28px; }
    .mobile-nav__list a { font-size: 28px; padding: 20px 4px 20px 0; }
    .mobile-nav__contact a { font-size: 16px; }
}

/* =====================================================
   ANIMAÇÕES — sutis, editoriais, respeitando preferências
   ===================================================== */

@media (prefers-reduced-motion: no-preference) {

    /* Reveal on scroll — fade + slide-up suave */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: calc(var(--i, 0) * 70ms);
        will-change: opacity, transform;
    }
    .reveal.is-in {
        opacity: 1;
        transform: translateY(0);
    }

    /* Variante mais sutil (para itens grandes) */
    .reveal--soft {
        transform: translateY(14px);
    }

    /* Hero entrance — staggered */
    .hero__top {
        opacity: 0;
        transform: translateY(20px);
        animation: heroEnter 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    }
    .hero__bottom {
        opacity: 0;
        transform: translateY(28px);
        animation: heroEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    }
    .hero__logomark {
        opacity: 0;
        animation: fadeIn 1s ease 0.9s forwards;
    }
    @keyframes heroEnter {
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
        to { opacity: 1; }
    }

    /* Hero bg — zoom muito leve no carregamento */
    .hero__bg {
        animation: heroBgScale 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        transform: scale(1.08);
    }
    @keyframes heroBgScale {
        to { transform: scale(1); }
    }

    /* Hero title — line shimmer subtil ao carregar */
    .hero__title em {
        position: relative;
        display: inline-block;
    }

    /* Image hover zoom — area rows */
    .area-row__thumb {
        overflow: hidden;
        position: relative;
        background-image: none !important; /* desliga bg do elem, usa pseudo */
    }
    .area-row__thumb[style*="background-image"]::after {
        content: '';
        position: absolute;
        inset: 0;
        background: inherit;
        background-size: cover;
        background-position: center;
        transform: scale(1);
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    /* Fallback: aplica bg via CSS de novo no pseudo */
    .area-row__thumb::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: var(--bg-img);
        background-size: cover;
        background-position: center;
        transform: scale(1);
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .area-row:hover .area-row__thumb::after {
        transform: scale(1.08);
    }
    .area-row {
        transition: background 0.3s, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .area-row:hover {
        background: rgba(0,0,0,0.02);
        padding-left: 8px;
    }
    .area-row__title {
        transition: color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .area-row:hover .area-row__title {
        color: var(--gold);
    }

    /* Article cards hover */
    .article-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .article-card__image {
        overflow: hidden;
        position: relative;
        background-image: none !important;
    }
    .article-card__image::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: var(--bg-img);
        background-size: cover;
        background-position: center;
        transform: scale(1);
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
        filter: grayscale(0.1);
    }
    .article-card:hover .article-card__image::after {
        transform: scale(1.05);
        filter: grayscale(0);
    }
    .article-card__title {
        transition: color 0.3s ease;
    }
    .article-card:hover .article-card__title {
        color: var(--gold);
    }

    /* Team cards — photo zoom + grayscale removal */
    .team-card__photo {
        overflow: hidden;
        transition: transform 0.4s ease;
    }
    .team-card__photo img {
        transition:
            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
            filter 0.5s ease;
    }
    .team-card:hover .team-card__photo img {
        transform: scale(1.04);
        filter: grayscale(0);
    }
    .team-card__name {
        transition: color 0.3s ease;
    }
    .team-card:hover .team-card__name {
        color: var(--gold);
    }

    /* Header — sombra ao rolar */
    .site-header {
        transition:
            background 0.3s ease,
            box-shadow 0.3s ease,
            backdrop-filter 0.3s ease;
    }
    .site-header.is-scrolled {
        background: rgba(250, 250, 249, 0.85);
        backdrop-filter: saturate(180%) blur(10px);
        -webkit-backdrop-filter: saturate(180%) blur(10px);
        box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    }

    /* Links e botões — underline animado */
    .site-nav a {
        position: relative;
    }
    .site-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 1px;
        background: var(--accent-dark);
        transform: scaleX(0);
        transform-origin: right center;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .site-nav a:hover::after,
    .site-nav a.is-active::after {
        transform: scaleX(1);
        transform-origin: left center;
    }
    .site-nav a.is-active { border-bottom-color: transparent; }

    /* Eyebrows — subtle slide on hover */
    a.eyebrow {
        transition: color 0.3s ease, text-decoration-color 0.3s ease;
    }
    a.eyebrow:hover {
        color: var(--gold);
        text-decoration-color: var(--gold);
    }

    /* Buttons refinement */
    .btn {
        position: relative;
        overflow: hidden;
    }
    .btn--dark::before,
    .btn--light::before {
        content: '';
        position: absolute;
        inset: 0;
        background: currentColor;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    .btn--dark:hover::before { opacity: 0.04; }

    /* Hero stat numbers — slide-up on count */
    .hero-stat__num {
        display: inline-block;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hero-stat__num.is-counted {
        opacity: 1;
        transform: translateY(0);
    }

    /* Principle items — icon scale on hover */
    .principle__img {
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .principle:hover .principle__img {
        transform: scale(1.06);
    }
    .principle__title {
        transition: color 0.3s ease;
    }
    .principle:hover .principle__title {
        color: var(--gold-soft);
    }

    /* CTA block — subtle accent on hover */
    .cta-block {
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Form fields focus animation */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        transition:
            border-color 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.3s ease;
    }

    /* About side images — subtle reveal */
    .about-side__img {
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .about-side__img:hover {
        transform: scale(1.04);
    }
}

/* Reduced motion — desliga tudo */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero__top, .hero__bottom, .hero__logomark, .hero__bg {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .hero-stat__num {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =====================================================
   WIDGET WHATSAPP — flutuante canto inferior direito
   ===================================================== */
.wa-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, sans-serif;
}

/* Botão flutuante (FAB) */
.wa-widget__fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    border: 0;
    cursor: pointer;
    box-shadow:
        0 8px 24px rgba(37, 211, 102, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
    animation: waPulse 2.5s ease-in-out infinite;
}
.wa-widget__fab:hover {
    transform: scale(1.06);
    box-shadow:
        0 12px 32px rgba(37, 211, 102, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.15);
    animation: none;
}
.wa-widget__fab:active { transform: scale(0.96); }

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.12), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.12), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.wa-widget__fab svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    transition: opacity 0.25s, transform 0.25s;
    position: absolute;
}
.wa-widget__icon-close { opacity: 0; transform: rotate(-90deg) scale(0.7); }
.wa-widget.is-open .wa-widget__icon-wa { opacity: 0; transform: rotate(90deg) scale(0.7); }
.wa-widget.is-open .wa-widget__icon-close { opacity: 1; transform: rotate(0) scale(1); }
.wa-widget.is-open .wa-widget__fab {
    background: #1a8a47;
    animation: none;
}

/* Painel de chat */
.wa-widget__panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 350px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 110px);
    background: #ECE5DD;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-widget.is-open .wa-widget__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header verde */
.wa-widget__header {
    background: #075E54;
    color: #fff;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.wa-widget__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #128C7E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255,255,255,0.15);
}
.wa-widget__avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-widget__avatar-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    border: 2px solid #075E54;
}
.wa-widget__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.wa-widget__name {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.wa-widget__status {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.2;
}
.wa-widget__close-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.wa-widget__close-btn:hover { background: rgba(255, 255, 255, 0.12); }
.wa-widget__close-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Chat com pattern de fundo (textura WhatsApp) */
.wa-widget__chat {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    background-color: #ECE5DD;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
}

/* Balão recebido (do escritório) */
.wa-widget__bubble {
    max-width: 85%;
    padding: 8px 10px 6px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    position: relative;
    margin-bottom: 10px;
    word-wrap: break-word;
    animation: waBubbleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-widget__bubble--in {
    align-self: flex-start;
    border-top-left-radius: 0;
}
.wa-widget__bubble--in::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent #fff transparent transparent;
}
.wa-widget__bubble--out {
    align-self: flex-end;
    background: #DCF8C6;
    border-top-right-radius: 0;
    margin-left: auto;
}
.wa-widget__bubble--out::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent transparent #DCF8C6;
}
@keyframes waBubbleIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.wa-widget__msg-name {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 600;
    color: #075E54;
}
.wa-widget__msg {
    margin: 0;
    font-size: 14px;
    color: #303030;
    line-height: 1.4;
    padding-right: 50px;
}
.wa-widget__time {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    line-height: 1;
}

/* Form de envio */
.wa-widget__form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #F0F0F0;
    flex-shrink: 0;
}
.wa-widget__form input {
    flex: 1;
    border: 0;
    background: #fff;
    padding: 10px 14px;
    border-radius: 22px;
    font-size: 14px;
    font-family: inherit;
    color: #303030;
    outline: none;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1);
}
.wa-widget__form input::placeholder { color: #999; }
.wa-widget__send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #25D366;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.wa-widget__send:hover { background: #1ebe5a; }
.wa-widget__send:active { transform: scale(0.92); }
.wa-widget__send svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    margin-left: 2px;
}

/* Mobile */
@media (max-width: 480px) {
    .wa-widget { right: 14px; bottom: 14px; }
    .wa-widget__fab { width: 56px; height: 56px; }
    .wa-widget__fab svg { width: 28px; height: 28px; }
    .wa-widget__panel {
        bottom: 70px;
        width: calc(100vw - 28px);
        height: 70vh;
        max-height: 540px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-widget__fab { animation: none; }
    .wa-widget__bubble { animation: none; }
}
