:root {
    --bg-cream: #faf9f7;
    --bg-warm: #f3f1ec;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6b6b6b;
    --gold: #b8944b;
    --gold-light: #d4b978;
    --gold-dark: #8b6914;
    --border-subtle: #e5e1d8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.1);
    --font-serif: 'Playfair Display', 'Times New Roman', serif;
    --font-sans: 'Hanken Grotesk', 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1280px;
    --margin-mobile: 1.5rem;
    --margin-desktop: 2.5rem;
    --section-gap: 5rem;
}

/* Notícias jurídicas */
.news-section {
    background: var(--bg-cream);
    color: var(--text-primary);
    scroll-margin-top: 5rem;
}
.news-section .section-title { max-width: 850px; }
.news-section .news-intro { color: var(--text-secondary); margin: 1.5rem 0 3rem; }
.news-list { display: grid; gap: 1.25rem; }
.news-card {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    transition: transform .5s var(--transition-smooth), box-shadow .5s var(--transition-smooth);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-category {
    display: block;
    color: var(--gold-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}
.news-card h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: .85rem;
}
.news-card p { color: var(--text-secondary); line-height: 1.75; margin: 0 0 .8rem; }
.news-links { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 1.65rem; }
.news-links a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.news-links a:hover, .news-links a:focus-visible { color: var(--gold-dark); }
.news-links a:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
.news-note { color: var(--text-tertiary); font-size: .9rem; margin-top: 1.5rem; }
@media (max-width: 600px) {
    .news-card { padding: 1.5rem; }
    .news-links { display: grid; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #c5bfb2 transparent;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c5bfb2;
    border-radius: 10px;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #1a1a1a;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s var(--transition-smooth), visibility 0.7s;
    pointer-events: all;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-line {
    width: 80px;
    height: 1.5px;
    background: var(--gold);
    animation: preloaderPulse 1.2s ease-in-out infinite;
    border-radius: 2px;
}

.preloader-text {
    font-family: var(--font-serif);
    color: #d4b978;
    font-size: 1rem;
    letter-spacing: 0.3em;
    animation: fadeInOut 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 0.6;
    }

    50% {
        transform: scaleX(2.5);
        opacity: 1;
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Header fixo */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem var(--margin-mobile);
    transition: all 0.5s var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
}

@media (min-width: 768px) {
    .site-header {
        padding: 1.2rem var(--margin-desktop);
    }
}

.site-header.scrolled {
    background-color: rgba(250, 249, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem var(--margin-mobile);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .site-header.scrolled {
        padding: 0.8rem var(--margin-desktop);
    }
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
}


.logo-img {
    display: block;
    width: clamp(140px, 16vw, 200px);
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--gold);
    transition: width 0.4s var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--gold-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    border: 1.5px solid var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-primary);
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--transition-smooth);
    z-index: 0;
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--text-primary);
}

.btn-outline span {
    position: relative;
    z-index: 1;
}

/* Menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.4s var(--transition-smooth);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(250, 249, 247, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.6s var(--transition-smooth);
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.08);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta {
        margin-top: 1rem;
    }

    .mobile-cta .btn-outline {
        display: inline-flex;
    }

    /* Botão mobile fixo no header */
    .mobile-header-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--text-primary);
        color: #fff;
        padding: 0.5rem 1.2rem;
        border-radius: 50px;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        letter-spacing: 0.03em;
        white-space: nowrap;
        margin-right: 1rem;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    .mobile-header-cta span {
        font-size: 1rem;
    }

    .mobile-header-cta:hover {
        background: #2a2a2a;
        transform: translateY(-1px);
    }
}

@media (min-width: 1025px) {
    .mobile-header-cta {
        display: none;
    }
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Hero com imagem da balança */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem var(--margin-mobile) 5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem var(--margin-desktop) 5rem;
    }
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.02;
    background-image: radial-gradient(circle at 1px 1px, #1a1a1a 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 148, 75, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 12s ease-in-out infinite;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.08);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gold-rule {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.2rem 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.2rem;
    background: var(--text-primary);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.4s var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary-hero:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--text-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: all 0.4s var(--transition-smooth);
    border: 1.5px solid var(--border-subtle);
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-secondary-hero:hover {
    border-color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Container da imagem da balança */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatBalance 7s ease-in-out infinite;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 185, 120, 0.15) 0%, rgba(184, 148, 75, 0.05) 50%, transparent 70%);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.balance-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s var(--transition-bounce), filter 0.4s ease;
    animation: subtleRotate 10s ease-in-out infinite;
}

.balance-image:hover {
    transform: scale(1.03) rotate(1deg);
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.2)) brightness(1.02);
}

@keyframes floatBalance {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes subtleRotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(0.5deg);
    }

    75% {
        transform: rotate(-0.5deg);
    }
}

/* Seções */
.section {
    padding: var(--section-gap) var(--margin-mobile);
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-gap) var(--margin-desktop);
    }
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 550px;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Grid áreas */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.5s var(--transition-smooth);
    cursor: default;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--transition-smooth);
    border-radius: 0 0 2px 2px;
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-subtle);
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card-icon {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.area-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.area-card p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Sobre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image {
    width: 459px;
    height: 475px;
    opacity: 0.8;
    object-fit: cover;
    border-radius: 16px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    letter-spacing: 0.03em;
}

/* Diferenciais */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.diff-item {
    border-left: 1px solid var(--border-subtle);
    padding-left: 1.5rem;
}

/* Contato */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 2rem 0;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #b0a895;
    padding: 4rem var(--margin-mobile) 2rem;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 4rem var(--margin-desktop) 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.footer-links h3 {
    color: #e5dfd0;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #8a8070;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b6055;
}

/* Revelação */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--transition-slow), transform 0.9s var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.max-w-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.wordmark {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.5rem;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    display: inline-block
}

.wordmark small {
    display: block;
    font: 500 .55rem Arial, sans-serif;
    letter-spacing: .3em;
    margin-top: .3rem
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.5rem
}

.seo-links a {
    color: var(--gold-dark, #876a36);
    text-decoration: underline;
    text-underline-offset: 4px
}

.area-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit
}

.area-card-link:focus-visible,
.theme-links a:focus-visible {
    outline: 3px solid var(--gold-dark, #876a36);
    outline-offset: 3px
}

.area-card-link h3 {
    margin-bottom: auto
}

.card-more {
    color: var(--gold-dark, #876a36);
    font-size: .88rem;
    font-weight: 600;
    margin-top: 1.5rem
}

.theme-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: 0.5rem;
}

.theme-links a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid #d8cdb6;
    border-radius: 999px;
    padding: .65rem 1rem;
    color: var(--gold-dark, #876a36);
    text-decoration: none;
    transition: background .2s, border-color .2s
}

.theme-links a:hover {
    background: #f7f2e8;
    border-color: var(--gold-dark, #876a36)
}

/* Ajustes responsivos compartilhados */
.area-card-link {
    cursor: pointer
}

.footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr))
}

.logo-img {
    max-width: 100%
}

.site-header {
    gap: 1rem
}

.site-header nav {
    min-width: 0
}

.nav-links {
    gap: clamp(.8rem, 2vw, 2.5rem)
}

.contact-row {
    min-width: 0;
    overflow-wrap: anywhere
}

.hero-content,
.hero-image-wrapper {
    min-width: 0
}

.hero-image-wrapper img {
    max-height: min(60vh, 610px);
    object-fit: contain
}

.hero-content .gold-rule {
    max-width: 100%
}

@media(max-width:1024px) {
    .nav-links {
        width: min(320px, 88vw);
        right: calc(-1 * min(320px, 88vw) - 1rem);
        max-height: 100dvh;
        overflow-y: auto
    }

    .site-header .logo-img {
        width: clamp(125px, 19vw, 175px)
    }
}

@media(max-width:768px) {
    .hero {
        min-height: 0;
        padding-top: 7rem;
        padding-bottom: 4rem
    }

    .hero-grid {
        text-align: left;
        gap: 1rem
    }

    .hero-image-wrapper {
        order: 0;
        margin: 0
    }

    .hero-image-wrapper img {
        max-height: 300px
    }

    .hero-content .gold-rule {
        margin-left: 0
    }

    .hero-subtitle {
        max-width: 65ch
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .about-image {
        height: auto;
        max-height: 500px;
        object-fit: contain
    }
}

@media(max-width:560px) {
    .site-header {
        padding: .75rem 1rem
    }

    .site-header.scrolled {
        padding: .65rem 1rem
    }

    .site-header .logo-img {
        width: clamp(115px, 32vw, 150px)
    }

    .mobile-header-cta {
        padding: .45rem .75rem;
        margin-right: 0;
        font-size: .75rem
    }

    .hero {
        padding: 7rem 1.2rem 3.5rem
    }

    .hero-title {
        font-size: clamp(2.15rem, 10vw, 3rem)
    }

    .hero-subtitle {
        font-size: 1rem
    }

    .hero-content .reveal:has(.btn-primary-hero) {
        gap: .65rem !important
    }

    .hero-content .btn-primary-hero,
    .hero-content .btn-secondary-hero {
        padding: .85rem 1.2rem
    }

    .areas-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 3.5rem 1.2rem
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .contact-row {
        align-items: flex-start
    }

    .contact-row .material-symbols-outlined {
        flex: none
    }

    .about-image {
        max-height: 340px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-image-wrapper,
    .balance-image,
    .hero-glow {
        animation: none
    }
}

.site-footer .footer-logo {
    display: inline-block;
    padding: 1rem 1.25rem;
    border-radius: 8px
}

.site-footer .footer-logo .logo-img {
    width: clamp(160px, 18vw, 230px)
}

.site-footer .footer-logo {
    background: transparent;
    padding: 0;
}

.site-footer .footer-logo img {
    filter: brightness(0) invert(1);
}
.hero-grid:has(.hero-image-wrapper[hidden]){grid-template-columns:minmax(0,1fr)}.hero-image-wrapper[hidden]{display:none}

/* Chamadas de contato pelo WhatsApp */
.btn-primary-hero[href^="https://wa.me/"],
.btn-outline[href^="https://wa.me/"],
.mobile-header-cta[href^="https://wa.me/"] {
    background: #176b45;
    border-color: #176b45;
    color: #fff;
}

.btn-outline[href^="https://wa.me/"]::before {
    background: #12583a;
}

.btn-primary-hero[href^="https://wa.me/"]:hover,
.btn-primary-hero[href^="https://wa.me/"]:focus-visible,
.btn-outline[href^="https://wa.me/"]:hover,
.btn-outline[href^="https://wa.me/"]:focus-visible,
.mobile-header-cta[href^="https://wa.me/"]:hover,
.mobile-header-cta[href^="https://wa.me/"]:focus-visible {
    background: #12583a;
    border-color: #12583a;
    color: #fff;
}

/* Ajustes sem mudança da identidade visual. */
.hero-image-wrapper picture{display:block}
.footer-identity{color:#8a8070;font-size:.85rem;line-height:1.7;margin-top:1rem}
.local-inline{display:block;color:var(--gold-dark);margin:1rem 0 0;font-size:.88rem;font-weight:600}
.contact-row a{color:inherit}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.hero-glow,.balance-image{animation:none}}

.footer-address{font-style:normal;color:#8a8070;overflow-wrap:anywhere}

/* Navegação por seções com o header compartilhado. */
.section[id]{scroll-margin-top:90px}
