/* =========================================================
   Alexandre Campos Puchetti Advocacia — design system 2026
   "Advocacia sólida com raízes no campo"
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    /* Cores */
    --ink: #07130f;
    --forest-900: #0b1c16;
    --forest-800: #10261e;
    --moss-700: #1d3b2f;
    --moss-500: #3d6b55;
    --wheat: #c9a45c;
    --wheat-light: #e3c88e;
    --wheat-deep: #7d5f22;
    --cream: #f5f1e8;
    --cream-2: #ece5d6;
    --paper: #fbf9f4;
    --text: #12201a;
    --text-muted: #4b5a52;
    --on-dark: #f5f1e8;
    --on-dark-muted: rgba(245, 241, 232, 0.74);
    --line-dark: rgba(245, 241, 232, 0.12);
    --line-light: rgba(18, 32, 26, 0.12);
    --focus: #e3c88e;

    /* Tipografia */
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --fs-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
    --fs-h1: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem);
    --fs-h2: clamp(1.9rem, 1.3rem + 2.5vw, 3.3rem);
    --fs-h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
    --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);

    /* Espaço e forma */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(80px, 6rem + 4vw, 150px);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(7, 19, 15, 0.06);
    --shadow: 0 18px 50px -20px rgba(7, 19, 15, 0.35);
    --shadow-lg: 0 40px 90px -40px rgba(7, 19, 15, 0.6);

    /* Movimento */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
picture,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 120;
}

h3 {
    font-family: var(--sans);
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--wheat);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}

.section--light :focus-visible,
.section--cream :focus-visible {
    outline-color: var(--wheat-deep);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--wheat);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
    transform: none;
}

main:focus {
    outline: none;
}

.container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - var(--gutter) * 2, 920px);
}

/* Grão sutil sobre toda a página */
.grain {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* Curvas de nível */
.topo {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
}

.topo--dark {
    background-image: url("../svg/topo-dark.svg");
    opacity: 0.9;
}

.topo--light {
    background-image: url("../svg/topo-light.svg");
}

/* ---------- 3. Tipos utilitários ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wheat-deep);
}

.kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.section--dark .kicker,
.hero .kicker,
.page-hero .kicker,
.rural-band .kicker,
.cta-band .kicker,
.mobile-menu .kicker {
    color: var(--wheat);
}

.section-head {
    position: relative;
    max-width: 760px;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
    font-size: var(--fs-h2);
}

.section-head__text {
    margin-top: 20px;
    max-width: 640px;
    font-size: var(--fs-lead);
    color: var(--text-muted);
}

.section--dark .section-head__text,
.page-hero .section-head__text {
    color: var(--on-dark-muted);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .kicker {
    justify-content: center;
}

.section-head--center .section-head__text {
    margin-inline: auto;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: gap 0.3s var(--ease-out), color 0.3s;
}

.text-link:hover {
    gap: 14px;
}

.text-link--light {
    color: var(--wheat-light);
}

.legal-note {
    max-width: 760px;
    margin-top: 36px;
    padding: 18px 22px;
    border-left: 2px solid var(--wheat);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(201, 164, 92, 0.1);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.section--dark .legal-note {
    color: var(--on-dark-muted);
}

.legal-note--inline {
    margin-top: 24px;
}

/* ---------- 4. Botões ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
    will-change: transform;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn .btn__fill {
    position: absolute;
    z-index: 0;
    left: var(--fx, 50%);
    top: var(--fy, 50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}

.btn:hover .btn__fill,
.btn:focus-visible .btn__fill {
    width: 260%;
    height: 520%;
}

.btn .icon-wa {
    width: 22px;
    height: 22px;
    flex: none;
}

.btn-gold {
    background: var(--wheat);
    color: var(--ink);
    box-shadow: 0 10px 30px -12px rgba(201, 164, 92, 0.7);
}

.btn-gold .btn__fill {
    background: var(--cream);
}

.btn-dark {
    background: var(--ink);
    color: var(--cream);
}

.btn-dark .btn__fill {
    background: var(--moss-700);
}

.btn-outline-light {
    border-color: rgba(245, 241, 232, 0.35);
    color: var(--cream);
}

.btn-outline-light .btn__fill {
    background: var(--cream);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    color: var(--ink);
    border-color: var(--cream);
}

.btn-ghost-dark {
    border-color: var(--line-light);
    background: transparent;
    color: var(--text);
}

.btn-ghost-dark:hover {
    border-color: var(--text);
}

.btn-sm {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.9rem;
}

/* ---------- 5. Preloader e transição de página ---------- */
.preloader {
    display: none;
}

.show-preloader .preloader {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 22px;
    background: var(--ink);
    animation: preloaderOut 0.7s var(--ease-in-out) 0.85s forwards;
    pointer-events: none;
}

.preloader__mark img {
    width: 72px;
    height: 72px;
    animation: markIn 0.7s var(--ease-out) both;
}

.preloader__line {
    width: 120px;
    height: 1px;
    background: var(--wheat);
    transform-origin: left;
    animation: lineGrow 0.8s var(--ease-in-out) 0.1s both;
}

@keyframes markIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.92);
    }
}

@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }
}

@keyframes preloaderOut {
    to {
        transform: translateY(-100%);
        visibility: hidden;
    }
}

.page-curtain {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--moss-700);
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}

.page-curtain::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/monograma-trigo.png") center / 56px no-repeat;
    opacity: 0.9;
}

.is-leaving .page-curtain {
    transform: scaleY(1);
    transition: transform 0.45s var(--ease-in-out);
}

.page-enter .page-curtain {
    transform-origin: top;
    animation: curtainOut 0.6s var(--ease-in-out) 0.05s both;
}

@keyframes curtainOut {
    from {
        transform: scaleY(1);
    }
    to {
        transform: scaleY(0);
    }
}

/* ---------- 6. Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 800;
    color: var(--cream);
    transition: transform 0.5s var(--ease-out), background-color 0.4s, box-shadow 0.4s;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(100% - var(--gutter) * 2, 1320px);
    height: var(--header-h);
    margin-inline: auto;
    transition: height 0.4s var(--ease-out);
}

.site-header.is-scrolled {
    background: rgba(7, 19, 15, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 1px 0 var(--line-dark);
}

.site-header.is-scrolled .site-header__inner {
    height: 68px;
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.menu-open .site-header {
    transform: none;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    text-decoration: none;
    min-width: 0;
}

.brand img {
    width: 40px;
    height: 40px;
    transition: transform 0.6s var(--ease-out);
}

.brand:hover img {
    transform: rotate(-6deg) scale(1.05);
}

.brand__text {
    display: grid;
    line-height: 1.15;
}

.brand__text strong {
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.brand__text small {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.main-nav ul {
    display: flex;
    gap: 4px;
}

.main-nav a {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--on-dark-muted);
    transition: color 0.3s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: var(--wheat);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.is-active {
    color: var(--cream);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    background: transparent;
}

.menu-toggle span {
    position: absolute;
    left: 14px;
    right: 14px;
    height: 1.5px;
    background: var(--cream);
    transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.menu-toggle span:first-child {
    top: 19px;
}

.menu-toggle span:last-child {
    top: 27px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    top: 23px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    top: 23px;
    transform: rotate(-45deg);
}

.read-progress {
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    pointer-events: none;
}

.read-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--wheat-deep), var(--wheat), var(--wheat-light));
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
}

/* Menu mobile em tela cheia */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 790;
    overflow-y: auto;
    background: var(--forest-900);
    color: var(--cream);
    clip-path: circle(0 at calc(100% - 44px) 42px);
    transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
    visibility: hidden;
}

.mobile-menu.is-open {
    clip-path: circle(150% at calc(100% - 44px) 42px);
    transition: clip-path 0.8s var(--ease-in-out);
    visibility: visible;
}

.mobile-menu__inner {
    display: grid;
    gap: 40px;
    min-height: 100%;
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
}

.mobile-menu__main a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--serif);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.15;
    text-decoration: none;
}

.mobile-menu__num {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--wheat);
}

.mobile-menu__areas ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-menu__areas a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--on-dark-muted);
}

.mobile-menu__foot {
    display: grid;
    gap: 14px;
    align-content: end;
}

.mobile-menu__foot p {
    font-size: 0.9rem;
    color: var(--on-dark-muted);
}

.mobile-menu__main li,
.mobile-menu__areas,
.mobile-menu__foot {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.4s, transform 0.4s;
}

.mobile-menu.is-open .mobile-menu__main li,
.mobile-menu.is-open .mobile-menu__areas,
.mobile-menu.is-open .mobile-menu__foot {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__main li:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(2) { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(4) { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__main li:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu.is-open .mobile-menu__areas { transition-delay: 0.5s; }
.mobile-menu.is-open .mobile-menu__foot { transition-delay: 0.58s; }

/* ---------- 7. Animações de entrada ---------- */
/* Palavras (títulos) */
.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
}

.w__i {
    display: inline-block;
}

:where(.js:not(.reduce-motion):not(.anim-failed)) [data-split]:not([data-split="hero"]) .w__i {
    transform: translateY(108%);
    transition: transform 1s var(--ease-out) calc(var(--i) * 45ms);
}

[data-split].is-in .w__i {
    transform: none;
}

/* Elementos */
:where(.js:not(.anim-failed)) [data-reveal] {
    opacity: 0;
    transition: opacity 0.9s var(--ease-out) var(--d, 0ms), transform 0.9s var(--ease-out) var(--d, 0ms), clip-path 1.2s var(--ease-in-out) var(--d, 0ms);
}

:where(.js:not(.reduce-motion):not(.anim-failed)) [data-reveal]:not([data-reveal="clip"]) {
    transform: translateY(28px);
}

:where(.js:not(.reduce-motion):not(.anim-failed)) [data-reveal="clip"] {
    opacity: 1;
    clip-path: inset(100% 0 0 0 round var(--radius-lg));
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

[data-reveal="clip"].is-in {
    clip-path: inset(-40px -40px -40px -40px round var(--radius-lg));
}

.js.reduce-motion [data-split]:not([data-split="hero"]) {
    opacity: 0;
    transition: opacity 0.6s;
}

.js.reduce-motion [data-split].is-in,
.anim-failed [data-split] {
    opacity: 1;
}

/* Hero: animação de carregamento só com CSS (não depende de JS) */
:root {
    --hero-delay: 0.15s;
}

.show-preloader {
    --hero-delay: 1.15s;
}

.page-enter {
    --hero-delay: 0.45s;
}

.js:not(.reduce-motion) [data-split="hero"] .w__i {
    animation: wordUp 1.1s var(--ease-out) both;
    animation-delay: calc(var(--hero-delay) + var(--i) * 55ms);
}

.js:not(.reduce-motion) [data-hero-item] {
    animation: fadeUp 1s var(--ease-out) both;
    animation-delay: calc(var(--hero-delay) + 0.35s + var(--hi) * 0.12s);
}

.js:not(.reduce-motion) [data-seal] {
    animation: sealIn 0.8s var(--ease-out) both;
    animation-delay: calc(var(--hero-delay) + 1s + var(--si) * 0.16s);
}

.js:not(.reduce-motion) [data-hero-media] {
    animation: mediaIn 1.5s var(--ease-in-out) both;
    animation-delay: calc(var(--hero-delay) + 0.1s);
}

.js.reduce-motion [data-hero-item],
.js.reduce-motion [data-seal],
.js.reduce-motion [data-hero-media],
.js.reduce-motion [data-split="hero"] {
    animation: fadeIn 0.6s ease both;
}

@keyframes wordUp {
    from {
        transform: translateY(108%);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
}

@keyframes sealIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.94);
    }
}

@keyframes mediaIn {
    from {
        clip-path: inset(100% 0 0 0 round 260px 260px var(--radius-lg) var(--radius-lg));
    }
    to {
        clip-path: inset(0 0 0 0 round 260px 260px var(--radius-lg) var(--radius-lg));
    }
}

/* Ícones que se desenham */
:where(.js:not(.reduce-motion):not(.anim-failed)) .icon-draw > * {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s var(--ease-in-out) 0.25s;
}

.is-in .icon-draw > *,
.page-hero .icon-draw > * {
    stroke-dashoffset: 0;
}

.js:not(.reduce-motion) .page-hero .icon-draw > * {
    animation: draw 1.8s var(--ease-in-out) both;
    animation-delay: calc(var(--hero-delay) + 0.2s);
}

@keyframes draw {
    from {
        stroke-dashoffset: 1;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* ---------- 8. Seções ---------- */
.section {
    position: relative;
    padding-block: var(--section);
    overflow: clip;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section--dark {
    background: var(--ink);
    color: var(--on-dark);
}

.section--light {
    background: var(--paper);
}

.section--cream {
    background: var(--cream);
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ---------- 9. Hero (home) ---------- */
.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: calc(var(--header-h) + 32px) 0 96px;
    overflow: clip;
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(61, 107, 85, 0.35), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, rgba(201, 164, 92, 0.12), transparent 70%),
        var(--ink);
    color: var(--on-dark);
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.hero h1 {
    font-size: var(--fs-hero);
    font-weight: 400;
    max-width: 13ch;
}

.hero__lead {
    max-width: 560px;
    margin-top: 28px;
    font-size: var(--fs-lead);
    color: var(--on-dark-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.seals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 12px;
    border: 1px solid rgba(201, 164, 92, 0.35);
    border-radius: 999px;
    background: rgba(201, 164, 92, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cream);
}

.seal svg {
    color: var(--wheat);
}

.hero__media {
    position: relative;
}

.hero__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 19, 15, 0.55));
}

.hero__photo picture,
.hero__img {
    width: 100%;
    height: 100%;
}

.hero__img {
    object-fit: cover;
    transform-origin: 50% 40%;
    animation: kenBurns 24s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.14) translate(-1.5%, -1%);
    }
}

.hero__caption {
    position: absolute;
    left: -28px;
    bottom: 40px;
    display: grid;
    gap: 2px;
    padding: 16px 20px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(11, 28, 22, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 0.85rem;
    color: var(--on-dark-muted);
    box-shadow: var(--shadow);
}

.hero__caption span {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--wheat-light);
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: -18px -18px 18px 18px;
    border: 1px solid rgba(201, 164, 92, 0.35);
    border-radius: 270px 270px var(--radius-lg) var(--radius-lg);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--on-dark-muted);
    transform: translateX(-50%);
}

.scroll-cue svg path {
    animation: wheel 1.8s var(--ease-in-out) infinite;
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(5px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ---------- 10. Marquee ---------- */
.marquee {
    position: relative;
    padding-block: 26px;
    overflow: hidden;
    border-block: 1px solid var(--line-dark);
    background: var(--forest-900);
    color: var(--cream);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
}

.marquee__list {
    display: flex;
    flex: none;
}

.marquee__list li {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-inline: 34px;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
    white-space: nowrap;
}

.marquee__list li svg {
    color: var(--wheat);
}

.marquee__list li::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 34px;
    border-radius: 50%;
    background: var(--wheat);
    opacity: 0.6;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- 11. Introdução e valores ---------- */
.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 6vw, 96px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.intro-grid .section-head {
    margin-bottom: 0;
}

.intro-grid__text {
    font-size: var(--fs-lead);
    color: var(--text-muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    position: relative;
    padding: 30px 26px 32px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--cream);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 164, 92, 0.6);
    box-shadow: var(--shadow);
}

.section--cream .value-card {
    background: var(--paper);
}

.value-card__num {
    display: block;
    margin-bottom: 36px;
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--wheat-deep);
}

.value-card h3 {
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
}

.inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    margin-top: clamp(48px, 6vw, 72px);
    padding: 28px clamp(22px, 4vw, 40px);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(201, 164, 92, 0.14), transparent 70%);
}

.inline-cta p {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
    line-height: 1.25;
    max-width: 560px;
}

.inline-cta--dark {
    border-color: var(--line-dark);
}

/* ---------- 12. Áreas ---------- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.area-card {
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 28px 26px 24px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(29, 59, 47, 0.55), rgba(11, 28, 22, 0.85));
    color: var(--on-dark);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform 0.6s var(--ease-out), border-color 0.4s, opacity 0.9s var(--ease-out) var(--d, 0ms);
    transform-style: preserve-3d;
}

:where(.js:not(.reduce-motion):not(.anim-failed)) .area-card[data-reveal] {
    transform: perspective(1000px) translateY(28px);
}

.area-card[data-reveal].is-in {
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
}

.area-card.is-tilting {
    transition: transform 0.15s linear, border-color 0.4s, opacity 0.9s;
}

.area-card:hover,
.area-card:focus-within {
    border-color: rgba(201, 164, 92, 0.5);
}

.area-card__glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 164, 92, 0.18), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s;
}

.area-card:hover .area-card__glow {
    opacity: 1;
}

.area-card > *:not(.area-card__glow):not(.area-card__panel) {
    position: relative;
    z-index: 1;
}

.area-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.area-card__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(201, 164, 92, 0.35);
    border-radius: 16px;
    background: rgba(201, 164, 92, 0.08);
    color: var(--wheat);
}

.area-card__badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--wheat);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.area-card__title {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.area-card__title a {
    text-decoration: none;
}

/* Link "esticado": todo o card é clicável */
.area-card__title a::after {
    content: "";
    position: absolute;
    inset: -400px;
}

.area-card__title a:focus-visible {
    outline: none;
}

.area-card:has(.area-card__title a:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.area-card__text {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--on-dark-muted);
}

.area-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
}

.area-card__toggle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(7, 19, 15, 0.4);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cream);
}

.area-card__toggle svg {
    transition: transform 0.4s var(--ease-out);
}

.area-card.is-open .area-card__toggle svg {
    transform: rotate(45deg);
}

.area-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--wheat-light);
    transition: gap 0.3s var(--ease-out);
}

.area-card:hover .area-card__more {
    gap: 12px;
}

/* Painel de serviços revelado no hover/toque */
.area-card__panel {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    max-height: 100%;
    padding: 24px 26px 76px;
    overflow: auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(16, 38, 30, 0.97), rgba(7, 19, 15, 0.99));
    transform: translateY(101%);
    transition: transform 0.6s var(--ease-out);
    pointer-events: none;
}

.area-card__panel-title {
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wheat);
}

.area-card__panel li {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.area-card__panel li svg {
    flex: none;
    margin-top: 2px;
    color: var(--wheat);
}

.area-card.is-open .area-card__panel {
    transform: none;
    pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
    .area-card:hover .area-card__panel {
        transform: none;
        pointer-events: auto;
    }

    .area-card:hover .area-card__toggle svg {
        transform: rotate(45deg);
    }
}

html:not(.js) .area-card__panel {
    position: static;
    transform: none;
    margin: 18px -26px 0;
    padding-bottom: 24px;
    pointer-events: auto;
}

html:not(.js) .area-card__toggle {
    display: none;
}

/* Card em destaque (Produtor Rural) */
.area-card--featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
    padding: 36px 34px 32px;
    border-color: rgba(201, 164, 92, 0.45);
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(201, 164, 92, 0.22), transparent 70%),
        linear-gradient(160deg, var(--moss-700), var(--forest-900));
}

.area-card--featured .area-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.area-card--featured .area-card__title {
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
}

.area-card--featured .area-card__text {
    max-width: 520px;
    font-size: 1.05rem;
}

.area-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.area-card__chips li {
    padding: 7px 13px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(7, 19, 15, 0.35);
    font-size: 0.84rem;
    color: var(--cream);
}

.area-card--featured .area-card__more {
    margin-top: auto;
    padding-top: 28px;
    font-size: 1rem;
}

.area-card--cta {
    grid-column: span 2;
    min-height: 0;
    justify-content: center;
    gap: 6px;
    border-style: dashed;
    background: transparent;
}

.area-card--cta .area-card__title {
    font-size: 1.5rem;
}

.area-card--cta .btn {
    align-self: flex-start;
    margin-top: 18px;
}

/* ---------- 13. Faixa do produtor rural ---------- */
.rural-band {
    position: relative;
    padding-block: clamp(96px, 12vw, 180px);
    overflow: clip;
    background: var(--ink);
    color: var(--on-dark);
}

.rural-band__media {
    position: absolute;
    inset: -12% 0;
    z-index: 0;
}

.rural-band__media picture,
.rural-band__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rural-band__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 19, 15, 0.94) 0%, rgba(7, 19, 15, 0.82) 45%, rgba(7, 19, 15, 0.45) 100%),
        linear-gradient(0deg, rgba(7, 19, 15, 0.7), transparent 40%);
}

.rural-band__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}

.rural-band h2 {
    font-size: var(--fs-h2);
    max-width: 18ch;
    margin-bottom: 24px;
}

.rural-band__copy > p:not(.kicker) {
    max-width: 600px;
    margin-bottom: 14px;
    color: var(--on-dark-muted);
}

.rural-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 30px;
}

.rural-band__list {
    display: grid;
    gap: 10px;
}

.rural-band__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(11, 28, 22, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out);
}

.rural-band__list li:hover {
    border-color: rgba(201, 164, 92, 0.5);
    background: rgba(29, 59, 47, 0.75);
}

.rural-band__list svg {
    flex: none;
    color: var(--wheat);
}

/* ---------- 14. Galeria ---------- */
.section--gallery {
    padding-bottom: clamp(60px, 8vw, 110px);
}

.gallery {
    position: relative;
    z-index: 1;
}

.gallery__viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
}

.gallery__viewport::-webkit-scrollbar {
    display: none;
}

.gallery__viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.gallery__track {
    display: flex;
    gap: clamp(14px, 2vw, 28px);
    width: max-content;
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.gallery__item {
    flex: none;
    width: clamp(260px, 72vw, 460px);
    scroll-snap-align: center;
}

.gallery__item:nth-child(even) {
    margin-top: clamp(0px, 5vw, 70px);
}

.gallery__open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--cream-2);
    aspect-ratio: 4 / 5;
}

.gallery__open picture,
.gallery__open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
    -webkit-user-drag: none;
    user-select: none;
}

.gallery__open:hover img {
    transform: scale(1.06);
}

.gallery__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 241, 232, 0.92);
    color: var(--ink);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.gallery__open:hover .gallery__zoom,
.gallery__open:focus-visible .gallery__zoom {
    transform: none;
    opacity: 1;
}

.gallery__item figcaption {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 14px;
    font-weight: 600;
}

.gallery__num {
    font-family: var(--serif);
    color: var(--wheat-deep);
}

.gallery__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(100% - var(--gutter) * 2, var(--container));
    margin: 26px auto 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Galeria fixada com rolagem horizontal (desktop, via JS) */
.gallery.is-pinned .gallery__viewport {
    overflow: visible;
    scroll-snap-type: none;
    cursor: default;
}

.gallery.is-pinned .gallery__hint {
    display: none;
}

/* No modo fixado, as fotos cabem na altura da tela junto com o título */
.section--gallery:has(.gallery.is-pinned) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-block: calc(var(--header-h) + 8px) 32px;
}

.section--gallery:has(.gallery.is-pinned) .section-head {
    margin-bottom: 28px;
}

.section--gallery:has(.gallery.is-pinned) .section-head__text {
    margin-top: 10px;
    font-size: 1rem;
}

.gallery.is-pinned .gallery__item {
    width: clamp(220px, calc((100vh - var(--header-h) - 300px) * 0.72), 440px);
}

.gallery.is-pinned .gallery__item:nth-child(even) {
    margin-top: 40px;
}

/* Lightbox */
.lightbox {
    width: min(100vw - 32px, 1100px);
    max-width: none;
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cream);
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(7, 19, 15, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lightbox[open] {
    animation: fadeIn 0.4s ease;
}

.lightbox__figure img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    margin-inline: auto;
    border-radius: var(--radius);
}

.lightbox__figure figcaption {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
}

.lightbox__btn {
    position: fixed;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(245, 241, 232, 0.3);
    border-radius: 50%;
    background: rgba(7, 19, 15, 0.6);
    color: var(--cream);
    transition: background 0.3s, color 0.3s;
}

.lightbox__btn:hover {
    background: var(--wheat);
    color: var(--ink);
}

.lightbox__close {
    top: 16px;
    right: 16px;
}

.lightbox__prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- 15. Linha do tempo ---------- */
.timeline {
    --p: 1;
    position: relative;
}

.js:not(.reduce-motion):not(.anim-failed) .timeline {
    --p: 0;
}

.timeline__rail {
    position: absolute;
    top: 27px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line-light);
}

.section--dark .timeline__rail {
    background: var(--line-dark);
}

.timeline__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--wheat-deep), var(--wheat));
    transform: scaleX(var(--p));
    transform-origin: left;
}

.timeline__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.timeline__dot {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: var(--cream);
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: background 0.5s, color 0.5s, border-color 0.5s, transform 0.6s var(--ease-out), box-shadow 0.5s;
}

.section--dark .timeline__dot {
    border-color: var(--line-dark);
    background: var(--ink);
    color: var(--on-dark-muted);
}

.timeline__step h3 {
    margin-bottom: 10px;
}

.timeline__step p {
    color: var(--text-muted);
    font-size: 0.97rem;
}

.section--dark .timeline__step p {
    color: var(--on-dark-muted);
}

.timeline__step > div {
    transition: opacity 0.6s;
}

.js:not(.reduce-motion):not(.anim-failed) .timeline__step:not(.is-active) > div {
    opacity: 0.45;
}

.timeline__step.is-active .timeline__dot,
html:not(.js) .timeline__dot,
.reduce-motion .timeline__dot,
.anim-failed .timeline__dot {
    border-color: var(--wheat);
    background: var(--wheat);
    color: var(--ink);
    box-shadow: 0 0 0 8px rgba(201, 164, 92, 0.16);
}

.timeline__step.is-active .timeline__dot {
    transform: scale(1.06);
}

/* ---------- 16. Orientação (check-list) ---------- */
.guidance__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}

.guidance .section-head {
    margin-bottom: 0;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(29, 59, 47, 0.25);
    font-size: 1.05rem;
    font-weight: 600;
}

.check-list__mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--wheat);
    color: var(--ink);
}

/* ---------- 17. Sobre ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
}

.about-media {
    position: relative;
}

.about-media picture,
.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: var(--radius-lg);
}

.about-media__frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid var(--wheat);
    border-radius: var(--radius-lg);
    transform: translate(0, 0);
    transition: transform 1.4s var(--ease-out) 0.5s;
}

.about-media.is-in .about-media__frame,
html:not(.js) .about-media__frame,
.anim-failed .about-media__frame {
    transform: translate(22px, 22px);
}

.js .about-media[data-reveal="clip"] {
    overflow: visible;
}

.about-copy h2 {
    font-size: var(--fs-h2);
    margin-bottom: 30px;
}

.about-copy > p:not(.kicker) {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.about-copy .btn {
    margin-top: 16px;
}

.oab-mark {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 18px;
    margin-bottom: 30px;
    padding-block: 18px;
    border-block: 1px solid var(--line-light);
}

.oab-mark__label {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.oab-mark__prefix {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
    font-style: italic;
    color: var(--wheat-deep);
    padding-bottom: 0.55em;
}

.oab-mark__number {
    font-family: var(--serif);
    font-size: clamp(3.4rem, 2rem + 6vw, 6.4rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-variant-numeric: lining-nums;
    color: var(--text);
}

/* ---------- 18. FAQ ---------- */
.faq-controls {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
}

.faq-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(29, 59, 47, 0.3);
    transition: border-color 0.3s, background 0.3s;
}

.faq-search:focus-within {
    border-color: var(--wheat);
    background: rgba(29, 59, 47, 0.55);
}

.faq-search svg {
    flex: none;
    color: var(--wheat);
}

.faq-search input {
    width: 100%;
    min-height: 56px;
    border: 0;
    background: transparent;
    color: var(--cream);
    outline: none;
}

.faq-search input::placeholder {
    color: var(--on-dark-muted);
}

.faq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: transparent;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--on-dark-muted);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.chip:hover {
    border-color: rgba(201, 164, 92, 0.6);
    color: var(--cream);
}

.chip[aria-pressed="true"] {
    border-color: var(--wheat);
    background: var(--wheat);
    color: var(--ink);
}

.faq-count {
    font-size: 0.85rem;
    color: var(--on-dark-muted);
}

html:not(.js) .faq-controls {
    display: none;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(16, 38, 30, 0.6);
    transition: border-color 0.3s, background 0.3s;
}

.faq-item[open] {
    border-color: rgba(201, 164, 92, 0.45);
    background: rgba(29, 59, 47, 0.45);
}

.faq-item[hidden] {
    display: none;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline-offset: -2px;
    border-radius: var(--radius);
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--wheat);
    transform: translate(-50%, -50%);
    transition: transform 0.4s var(--ease-out);
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq-item__body {
    overflow: hidden;
}

.faq-item__body p {
    padding: 0 24px 22px;
    color: var(--on-dark-muted);
}

.faq-item mark {
    background: rgba(201, 164, 92, 0.35);
    color: inherit;
    border-radius: 3px;
}

.faq-empty {
    margin-top: 24px;
    text-align: center;
    color: var(--on-dark-muted);
}

/* ---------- 19. Contato e formulário ---------- */
.contact__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 6vw, 88px);
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-info li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--paper);
}

.contact-info svg {
    flex: none;
    color: var(--wheat-deep);
}

.contact-info__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-info a {
    font-weight: 700;
    text-decoration-color: var(--wheat);
    text-underline-offset: 4px;
}

.mstep {
    position: relative;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.mstep__head {
    margin-bottom: 30px;
}

.mstep__labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mstep__labels li {
    transition: color 0.3s;
}

.mstep__labels li.is-current,
.mstep__labels li.is-done {
    color: var(--wheat-deep);
}

.mstep__bar {
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--cream-2);
}

.mstep__bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--wheat-deep), var(--wheat));
    transform: scaleX(var(--form-progress, 0.333));
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

.mstep__step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.js .mstep__step:not(.is-active) {
    display: none;
}

.mstep__step.is-active {
    animation: stepIn 0.5s var(--ease-out);
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
}

html:not(.js) .mstep__step + .mstep__step {
    margin-top: 28px;
}

html:not(.js) .mstep__nav,
html:not(.js) .mstep__head {
    display: none;
}

.mstep legend {
    margin-bottom: 20px;
    padding: 0;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
    line-height: 1.2;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.choice {
    position: relative;
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__box {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

.choice__box svg {
    flex: none;
    color: var(--wheat-deep);
}

.choice:hover .choice__box {
    border-color: var(--wheat);
}

.choice input:checked + .choice__box {
    border-color: var(--wheat-deep);
    background: rgba(201, 164, 92, 0.18);
    box-shadow: inset 0 0 0 1px var(--wheat-deep);
}

.choice input:focus-visible + .choice__box {
    outline: 2px solid var(--wheat-deep);
    outline-offset: 2px;
}

.field {
    margin-bottom: 16px;
}

.mstep label:not(.choice):not(.consent) {
    display: block;
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 700;
}

.optional {
    font-weight: 500;
    color: var(--text-muted);
}

.mstep input[type="text"],
.mstep input[type="tel"],
.mstep input[type="email"],
.mstep textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(18, 32, 26, 0.24);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.mstep textarea {
    resize: vertical;
    min-height: 150px;
}

.mstep input:focus,
.mstep textarea:focus {
    outline: none;
    border-color: var(--wheat-deep);
    box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.25);
}

.mstep [aria-invalid="true"] {
    border-color: #a2382b !important;
    animation: shake 0.4s;
}

.mstep .is-valid {
    border-color: var(--moss-500) !important;
}

@keyframes shake {
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.field-error {
    min-height: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #a2382b;
}

.field-error:not(:empty) {
    margin-top: 6px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
    font-size: 0.94rem;
    cursor: pointer;
}

.consent input {
    position: absolute;
    opacity: 0;
}

.consent__box {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(18, 32, 26, 0.4);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    transition: background 0.3s, border-color 0.3s;
}

.consent__box svg {
    transform: scale(0);
    transition: transform 0.35s var(--ease-out);
}

.consent input:checked + .consent__box {
    border-color: var(--wheat-deep);
    background: var(--wheat);
}

.consent input:checked + .consent__box svg {
    transform: none;
}

.consent input:focus-visible + .consent__box {
    outline: 2px solid var(--wheat-deep);
    outline-offset: 2px;
}

.consent a {
    font-weight: 700;
    text-underline-offset: 3px;
}

.form-note {
    margin-top: 18px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.mstep__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
}

.mstep__nav [data-form-back] {
    margin-right: auto;
}

.mstep__nav [hidden] {
    display: none;
}

.form-status {
    margin-top: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--moss-700);
}

.form-status.is-error {
    color: #a2382b;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Mapa */
.map-frame {
    position: relative;
    margin-top: clamp(48px, 6vw, 80px);
    height: clamp(320px, 40vw, 460px);
    overflow: hidden;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-lg);
    background:
        url("../svg/topo-light.svg") center / cover,
        var(--cream-2);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.85) sepia(0.25) contrast(1.02);
    transition: filter 0.6s;
}

.map-frame:hover iframe {
    filter: none;
}

.map-frame__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.map-frame__placeholder svg {
    color: var(--wheat-deep);
}

/* ---------- 20. Páginas internas ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(72px, 9vw, 130px);
    overflow: clip;
    background:
        radial-gradient(60% 80% at 90% 10%, rgba(61, 107, 85, 0.35), transparent 70%),
        var(--ink);
    color: var(--on-dark);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 18ch;
    font-size: var(--fs-h1);
    font-weight: 400;
}

.page-hero__text {
    max-width: 720px;
    margin-top: 26px;
    font-size: var(--fs-lead);
    color: var(--on-dark-muted);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.page-hero__icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 30px;
    border: 1px solid rgba(201, 164, 92, 0.4);
    border-radius: 24px;
    background: rgba(201, 164, 92, 0.08);
    color: var(--wheat);
}

.breadcrumbs {
    margin-bottom: 34px;
    font-size: 0.86rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark-muted);
}

.breadcrumbs li + li::before {
    content: "/";
    color: var(--wheat);
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--cream);
    text-decoration: underline;
}

.breadcrumbs [aria-current] {
    color: var(--cream);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 24px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--cream);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--wheat);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 92, 0.6);
    box-shadow: var(--shadow);
}

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

.service-card__num {
    font-family: var(--serif);
    color: var(--wheat-deep);
}

.service-card__text {
    flex: 1;
    font-weight: 600;
    line-height: 1.4;
}

.service-card__check {
    flex: none;
    color: var(--moss-500);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 96px);
    align-items: start;
}

.split .section-head {
    margin-bottom: 0;
}

.doc-list {
    display: grid;
    gap: 10px;
}

.doc-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--paper);
    font-weight: 600;
}

.doc-list svg {
    flex: none;
    color: var(--wheat-deep);
}

.cta-band {
    position: relative;
    padding-block: clamp(64px, 8vw, 110px);
    overflow: clip;
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(201, 164, 92, 0.25), transparent 60%),
        var(--moss-700);
    color: var(--on-dark);
}

.cta-band__inner {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 32px;
    align-items: end;
}

.cta-band h2 {
    font-size: var(--fs-h2);
    max-width: 20ch;
    margin-bottom: 18px;
}

.cta-band p:not(.kicker) {
    max-width: 640px;
    color: var(--on-dark-muted);
}

.other-areas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.other-area {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 22px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: var(--cream);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
}

.other-area__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--wheat);
}

.other-area__name {
    flex: 1;
    line-height: 1.3;
}

.other-area__arrow {
    flex: none;
    transition: transform 0.4s var(--ease-out);
}

.other-area:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
    transform: translateY(-3px);
}

.other-area:hover .other-area__arrow {
    transform: translate(3px, -3px);
    color: var(--wheat);
}

/* Páginas legais */
.prose {
    max-width: 780px;
}

.prose__block {
    padding-block: 28px;
    border-bottom: 1px solid var(--line-light);
}

.prose__block h2 {
    margin-bottom: 12px;
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}

.prose__block p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.prose__updated {
    margin-top: 28px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---------- 21. Rodapé ---------- */
.site-footer {
    position: relative;
    padding: clamp(72px, 9vw, 120px) 0 36px;
    overflow: clip;
    background: var(--forest-900);
    color: var(--on-dark);
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: clamp(48px, 6vw, 72px);
    border-bottom: 1px solid var(--line-dark);
}

.footer-cta__title {
    max-width: 18ch;
    font-family: var(--serif);
    font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr;
    gap: 36px;
    padding-block: 56px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-brand address {
    font-style: normal;
    color: var(--on-dark-muted);
    font-size: 0.94rem;
}

.footer-brand strong {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--cream);
}

.footer-brand address {
    margin-top: 12px;
}

.footer-col__title {
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wheat);
}

.footer-col__title--spaced {
    margin-top: 28px;
}

.footer-col li {
    padding-block: 4px;
    font-size: 0.94rem;
    color: var(--on-dark-muted);
}

.footer-col a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-disclaimer {
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
    font-size: 0.86rem;
    color: var(--on-dark-muted);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 0.82rem;
    color: var(--on-dark-muted);
}

/* ---------- 22. WhatsApp flutuante ---------- */
.wa-float {
    position: fixed;
    right: clamp(16px, 2.5vw, 28px);
    bottom: clamp(16px, 2.5vw, 28px);
    z-index: 780;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-float__btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #1f9d55;
    color: #fff;
    box-shadow: 0 16px 34px -10px rgba(7, 19, 15, 0.55);
    transition: transform 0.4s var(--ease-out), background 0.3s;
}

.wa-float__btn:hover {
    transform: scale(1.07);
    background: #198246;
}

.wa-float__btn .icon-wa {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.wa-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #1f9d55;
    animation: pulse 2.6s var(--ease-out) infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.wa-float__tip {
    display: grid;
    gap: 2px;
    max-width: 240px;
    padding: 12px 16px;
    border: 1px solid var(--line-light);
    border-radius: 14px 14px 4px 14px;
    background: var(--paper);
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.4;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(10px) scale(0.96);
    transform-origin: right center;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.wa-float__tip strong {
    font-size: 0.92rem;
}

.wa-float__tip span {
    color: var(--text-muted);
}

.wa-float.is-tip-visible .wa-float__tip,
.wa-float:hover .wa-float__tip,
.wa-float:focus-within .wa-float__tip {
    opacity: 1;
    transform: none;
}

.wa-float__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wa-float__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status, #1f9d55);
}

/* ---------- 23. Responsivo ---------- */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .area-card--featured {
        grid-row: auto;
        min-height: 0;
    }

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

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

    .service-grid,
    .other-areas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Sem JS no celular: o menu vira uma linha rolável */
@media (max-width: 1100px) {
    html:not(.js) .main-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        overflow-x: auto;
        background: var(--ink);
    }

    html:not(.js) .menu-toggle {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }

    .hero {
        min-height: 0;
        padding-bottom: 110px;
    }

    .hero__grid,
    .intro-grid,
    .rural-band__inner,
    .guidance__grid,
    .about-grid,
    .contact__grid,
    .split,
    .cta-band__inner {
        grid-template-columns: 1fr;
    }

    .hero__media {
        width: min(100%, 460px);
        margin-inline: auto;
    }

    .hero__caption {
        left: 12px;
    }

    .hero__media::before {
        inset: -12px 12px 12px -12px;
    }

    .timeline__rail {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline__fill {
        width: 100%;
        height: 100%;
        transform: scaleY(var(--p));
        transform-origin: top;
    }

    .timeline__list {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .timeline__step {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 22px;
    }

    .timeline__dot {
        margin-bottom: 0;
    }

    .about-media {
        width: min(100%, 460px);
    }

    .about-media.is-in .about-media__frame,
    html:not(.js) .about-media__frame {
        transform: translate(14px, 14px);
    }
}

@media (max-width: 640px) {
    .site-header .header-cta {
        display: none;
    }

    .brand__text strong {
        font-size: 1rem;
    }

    .brand__text small {
        font-size: 0.66rem;
    }

    .areas-grid,
    .values-grid,
    .service-grid,
    .other-areas,
    .choice-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .area-card--featured,
    .area-card--cta {
        grid-column: auto;
    }

    .area-card {
        min-height: 300px;
    }

    .area-card--featured,
    .area-card--cta {
        min-height: 0;
    }

    .btn {
        white-space: normal;
        text-align: center;
        min-height: 52px;
        padding-block: 12px;
    }

    .hero__actions .btn,
    .page-hero__actions .btn,
    .rural-band__actions .btn,
    .inline-cta .btn,
    .cta-band .btn,
    .footer-cta .btn {
        width: 100%;
    }

    .mstep__nav .btn {
        flex: 1;
    }

    .gallery__item:nth-child(even) {
        margin-top: 0;
    }

    .service-card {
        align-items: center;
        padding: 16px 18px;
    }

    .doc-list li,
    .check-list li {
        padding: 14px 16px;
    }

    .wa-float__tip {
        max-width: 190px;
    }

    .faq-item summary {
        padding: 18px;
    }

    .faq-item__body p {
        padding: 0 18px 18px;
    }
}

/* ---------- 24. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .marquee__track {
        animation: none;
        width: auto;
    }

    .marquee__list {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 12px;
    }

    .marquee__list[aria-hidden="true"] {
        display: none;
    }

    .hero__img {
        animation: none;
    }

    .wa-float__pulse {
        display: none;
    }

    .area-card {
        transform: none !important;
    }
}

.reduce-motion [data-hero-item],
.reduce-motion [data-seal],
.reduce-motion [data-hero-media],
.reduce-motion [data-split="hero"] {
    animation-duration: 0.6s !important;
}

/* ---------- 25. Impressão ---------- */
@media print {
    .site-header,
    .mobile-menu,
    .wa-float,
    .grain,
    .preloader,
    .page-curtain,
    .marquee,
    .map-frame {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
