@import url("variables.css");

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-ui);
    color: var(--dmat-text);
    background: var(--dmat-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

#main-content {
    flex: 1 0 auto;
    width: 100%;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    background: var(--dmat-primary);
    color: #fff;
    padding: 8px 14px;
    z-index: 2000;
    border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.area-icon { color: var(--dmat-primary); font-size: 1.15rem; margin-top: 8px; }
.dmat-ico {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: -0.15em;
}
.area-icon .dmat-ico { width: 1.25rem; height: 1.25rem; }
.contact-ico .dmat-ico { width: 1.05rem; height: 1.05rem; }
.wa-float .dmat-ico { width: 26px; height: 26px; }

a { color: inherit; text-decoration: none; }

.dmat-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section { padding: var(--section-y) 0; }
.section-alt { background: var(--dmat-bg); }
.section-cream { background: var(--dmat-cream); }
.section-plum { background: var(--dmat-primary); color: var(--dmat-white); }
.section-dark { background: var(--dmat-dark); color: var(--dmat-white); }

.eyebrow {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dmat-primary);
    font-weight: 600;
    margin: 0 0 14px;
}

.section-plum .eyebrow,
.section-dark .eyebrow { color: var(--dmat-secondary); }

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--dmat-dark);
}

.section-plum h1, .section-plum h2, .section-plum h3,
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.lead {
    font-family: var(--font-editorial);
    font-size: 1.28rem;
    line-height: 1.55;
    color: #3a3536;
}

.muted { color: var(--dmat-gray); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}
.site-header.is-home {
    position: fixed;
    left: 0; right: 0;
    height: 92px;
    background: transparent;
}
.site-header.is-solid,
.site-header:not(.is-home) {
    background: rgba(27, 25, 26, 0.82);
    box-shadow: 0 10px 30px rgba(27, 25, 26, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.site-header.is-home.is-solid {
    height: 74px;
}
.brand img { height: 42px; width: auto; max-width: 180px; object-fit: contain; transition: height 0.35s ease; }
.site-header.is-solid .brand img { height: 36px; }
.site-header .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #fff;
}
.brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}
.brand-line {
    font-family: var(--font-ui);
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    margin-top: 4px;
    color: var(--dmat-secondary);
}

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
    color: rgba(255,255,255,0.86);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 8px;
    white-space: nowrap;
    position: relative;
}
.nav-desktop a::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 4px;
    height: 1px;
    background: var(--dmat-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }
.nav-search {
    background: none; border: 0; color: #fff; padding: 8px; cursor: pointer;
}

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
    border-radius: 8px;
}
.nav-toggle span {
    display: block; width: 18px; height: 1px; background: #fff; margin: 4px auto;
}

.mobile-panel {
    display: none;
    position: fixed; inset: 0;
    background: var(--dmat-dark);
    z-index: 1100;
    padding: 28px;
}
.mobile-panel.is-open { display: flex; flex-direction: column; }
.mobile-panel a {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-close { align-self: flex-end; background: none; border: 0; color: #fff; font-size: 1.4rem; }

/* Search overlay */
.search-overlay {
    position: fixed; inset: 0; background: rgba(17,17,17,0.86);
    z-index: 1200; display: none; align-items: flex-start; justify-content: center; padding-top: 18vh;
}
.search-overlay.is-open { display: flex; }
.search-overlay form {
    width: min(640px, calc(100% - 40px));
}
.search-overlay input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--dmat-secondary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 2rem;
    padding: 12px 0;
    outline: none;
}

/* Hero */
.hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background-color: #1B191A;
    background-size: cover;
    background-position: center;
}
.hero-media, .hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,15,20,0.28) 0%, rgba(20,15,20,0.48) 50%, rgba(20,15,20,0.72) 100%);
    z-index: 2;
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}
.hero.has-video .hero-slide { opacity: 1; }
.hero-content {
    position: relative;
    z-index: 3;
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto 88px;
    max-width: 820px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.82); max-width: 46ch; font-size: 1.35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-dots {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,0.35); cursor: pointer;
}
.hero-dot.active { background: #fff; }
.hero-nav {
    position: absolute; top: 50%; z-index: 3;
    background: transparent; border: 1px solid rgba(255,255,255,0.25);
    color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.page-hero {
    min-height: 42vh;
    background: var(--dmat-dark);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 56px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.page-hero.has-photo::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,15,20,.35), rgba(20,15,20,.72));
}
.page-hero .dmat-container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dmat-gray); margin-bottom: 12px; }
.breadcrumb a { color: var(--dmat-secondary); }

.footer {
    background: var(--dmat-dark);
    color: rgba(255,255,255,0.78);
    padding: 72px 0 24px;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
    gap: 36px;
}
.footer h3 {
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 48px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--dmat-gray);
}
.legal-name { display: block; margin-top: 10px; font-size: 0.75rem; color: var(--dmat-gray); }

/* One-page institucional */
.has-motion { overflow-x: clip; }
.is-home-page .section { padding: 112px 0; }
#escritorio, #areas, #profissionais, #conteudo, #contato { scroll-margin-top: 88px; }

.hero-simple { min-height: 88vh; background-image: none; }
.hero-simple .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-simple .hero-media-inner {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-repeat: no-repeat;
    transform-origin: 42% 48%;
}
.hero-simple .hero-content { max-width: 720px; margin-bottom: 12vh; }
.hero-simple h1 { max-width: 16em; color: #fff; }
.hero-kicker {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.88);
    margin: 0 0 18px;
}
.hero-simple .btn { margin-top: 28px; }

.hero-simple .btn-light::after {
    content: "→";
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.35s var(--ease);
}
.hero-simple .btn-light:hover::after { transform: translateX(5px); }

.dmat-narrow { max-width: 760px; }
.lede {
    font-family: var(--font-editorial);
    font-size: 1.2rem;
    line-height: 1.55;
    color: #4a4546;
    max-width: 38ch;
}
.split-quiet { gap: 80px; }
.split-quiet .split-media { border-radius: 0; }

#areas {
    text-align: center;
    background:
        linear-gradient(180deg, rgba(226, 216, 224, 0.28), rgba(247, 243, 242, 0.9)),
        repeating-linear-gradient(
            -18deg,
            transparent 0 18px,
            rgba(226, 216, 224, 0.35) 18px 19px
        );
}
#areas .areas-wrap { max-width: 1120px; }
#areas .has-draw::after {
    margin-inline: auto;
    transform-origin: center;
}
#areas .area-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    margin-top: 48px;
}
#areas .area-card {
    grid-column: span 2;
    width: auto;
    max-width: none;
    height: 100%;
    min-height: 250px;
    background: #fff;
    border: 1px solid var(--dmat-secondary);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(109, 57, 103, 0.06);
    padding: 32px 32px 34px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: visible;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
#areas .area-card:nth-child(4) { grid-column: 2 / span 2; }
#areas .area-card:nth-child(5) { grid-column: 4 / span 2; }
#areas .area-card:hover {
    box-shadow: 0 16px 40px rgba(109, 57, 103, 0.1);
}
#areas .area-card .area-icon {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    color: var(--dmat-primary);
    font-size: 1.85rem;
    line-height: 1;
    margin: 0 0 26px;
}
#areas .area-card h3 {
    flex: 0 0 auto;
    margin: 0 0 14px;
    font-size: 1.22rem;
    line-height: 1.25;
    color: var(--dmat-dark);
}
#areas .area-card p {
    flex: 0 0 auto;
    margin: 0 auto;
    max-width: 290px;
    width: 100%;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--dmat-gray);
}

.pro-feature-section {
    padding: 0;
    background: var(--dmat-cream);
}
.pro-feature {
    display: flex;
    align-items: stretch;
    min-height: min(88vh, 960px);
}
.pro-feature-copy {
    flex: 1 1 0;
    min-width: 0;
    padding: 88px 40px 72px clamp(28px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    background:
        linear-gradient(180deg, #FBF8F4 0%, #F6F1EE 58%, rgba(109, 57, 103, 0.14) 100%);
}
.pro-feature-copy .eyebrow { margin-bottom: 18px; }
.pro-feature-copy .eyebrow,
.pro-feature-title,
.pro-feature-role,
.pro-feature-copy p,
.pro-feature-copy .link-more {
    max-width: 38rem;
    width: 100%;
}
.pro-feature-title {
    margin: 0 0 10px;
    font-size: clamp(2.4rem, 4.6vw, 4.1rem);
    line-height: 1.05;
    font-weight: 500;
}
.pro-feature-title span {
    font-family: var(--font-ui);
    font-size: 0.32em;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--dmat-primary);
    vertical-align: middle;
    margin-left: 8px;
}
.pro-feature-role { margin: 0 0 28px; }
.pro-feature-copy p:not(.eyebrow):not(.card-meta) {
    margin: 0 0 16px;
    font-family: var(--font-editorial);
    font-size: 1.18rem;
    line-height: 1.55;
    color: #4a4546;
}
.pro-feature-copy .link-more { margin-top: 18px; }
.pro-feature-photo {
    position: relative;
    flex: 0 0 auto;
    align-self: stretch;
    overflow: hidden;
    background: var(--dmat-cream);
    line-height: 0;
}
.pro-feature-photo img {
    display: block;
    width: auto;
    height: min(88vh, 960px);
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.pro-feature.is-reverse .pro-feature-copy {
    align-items: flex-start;
    padding: 88px clamp(28px, 5vw, 72px) 72px 40px;
}

#profissionais > .dmat-container > h2.has-draw {
    text-align: center;
}
#profissionais .has-draw::after {
    margin-inline: auto;
    transform-origin: center;
}

.people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px 96px;
    max-width: 860px;
    margin-top: 48px;
    margin-inline: auto;
}
.person {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.person .portrait { width: 100%; }
.person h3 { margin: 18px 0 4px; font-size: 1.3rem; }
.person p { margin: 0 auto 12px; color: #4a4546; max-width: 36ch; }
.person .card-meta { margin-bottom: 10px; }
.person .link-more { margin-top: 4px; }

.content-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 28px;
    align-items: stretch;
    margin-top: 48px;
}
.content-list article {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 22px 0 0;
    border-top: 1px solid var(--dmat-border);
    box-sizing: border-box;
    transition: transform 0.45s var(--ease);
}
.content-list h3 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 6px 0 16px;
    max-width: none;
}
.content-list .link-more { margin-top: auto; }

.section-contact {
    padding-bottom: 96px;
    background: #fff;
}
.contact-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px 72px;
    align-items: start;
}
.contact-copy h2 { margin: 0 0 18px; }
.contact-lead {
    margin: 0 0 36px;
    max-width: 36ch;
    font-family: var(--font-editorial);
    font-size: 1.15rem;
    line-height: 1.55;
    color: #5a5455;
}
.contact-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}
.contact-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--dmat-dark);
}
.contact-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--dmat-bg);
    color: var(--dmat-primary);
    font-size: 1rem;
}
.contact-points a { color: var(--dmat-dark); }
.contact-points a:hover { color: var(--dmat-primary); }
.contact-form-panel {
    background: var(--dmat-bg);
    border-radius: 28px;
    padding: 36px 32px 32px;
}
.contact-form { display: grid; gap: 16px; }
.contact-field label {
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dmat-dark);
}
.contact-form-panel input,
.contact-form-panel textarea {
    height: 50px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: #fff;
    box-shadow: 0 0 0 1px #ece6ea;
}
.contact-form-panel textarea {
    height: auto;
    min-height: 132px;
    border-radius: 22px;
    padding: 14px 18px;
    resize: vertical;
}
.contact-privacy {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: var(--dmat-gray);
}
.contact-privacy a { color: var(--dmat-primary); }
.contact-form-panel .btn {
    justify-self: start;
    margin-top: 6px;
}
.contact-form-panel .btn-primary::after {
    content: "→";
    margin-left: 8px;
}

.footer-simple {
    background: var(--dmat-cream);
    color: var(--dmat-text);
    padding: 36px 0 18px;
}
.footer-simple-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.footer-simple .brand-name { color: var(--dmat-dark); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.78rem; color: var(--dmat-gray); }
.footer-simple .footer-bottom {
    border-top: 1px solid var(--dmat-border);
    margin-top: 24px;
    padding-top: 16px;
    color: var(--dmat-gray);
}

.has-draw::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin-top: 18px;
    background: var(--dmat-primary);
    transform: scaleX(1);
    transform-origin: left;
}
.has-motion .has-draw::after {
    transform: scaleX(0);
    transition: transform 0.9s var(--ease) 0.15s;
}
.has-motion .has-draw.is-in::after { transform: scaleX(1); }

.photo-reveal { position: relative; }
.photo-reveal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dmat-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    z-index: 2;
    pointer-events: none;
}
.has-motion .photo-reveal::after {
    transform: scaleY(1);
    transition: transform 1.15s var(--ease);
}
.has-motion .photo-reveal.is-in::after {
    transform: scaleY(0);
    transform-origin: top;
}
.has-motion .photo-reveal img {
    transform: scale(1.08);
    transition: transform 1.35s var(--ease);
}
.has-motion .photo-reveal.is-in img {
    transform: scale(1.03);
}

.has-motion [data-reveal] {
    opacity: 0;
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--stagger, 0ms);
}
.has-motion [data-reveal="up"] { transform: translate3d(0, 40px, 0); }
.has-motion [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.has-motion [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.has-motion [data-reveal="zoom"] { transform: scale(1.04) translate3d(0, 24px, 0); }
.has-motion [data-reveal="group"] { opacity: 1; transform: none; }
.has-motion [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.has-motion .office-copy > *,
.has-motion .pro-feature-copy > * {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.has-motion .office-copy.is-in > *,
.has-motion .pro-feature-copy.is-in > * {
    opacity: 1;
    transform: none;
}
.has-motion .office-copy.is-in > *:nth-child(1),
.has-motion .pro-feature-copy.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.has-motion .office-copy.is-in > *:nth-child(2),
.has-motion .pro-feature-copy.is-in > *:nth-child(2) { transition-delay: 0.16s; }
.has-motion .office-copy.is-in > *:nth-child(3),
.has-motion .pro-feature-copy.is-in > *:nth-child(3) { transition-delay: 0.28s; }

.has-motion .person .portrait img {
    transform: scale(1.06);
    transition: transform 1.2s var(--ease);
}
.has-motion .person.is-in .portrait img { transform: scale(1); }
.has-motion .person h3,
.has-motion .person .card-meta,
.has-motion .person p,
.has-motion .person .link-more {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-motion .person.is-in h3,
.has-motion .person.is-in .card-meta,
.has-motion .person.is-in p,
.has-motion .person.is-in .link-more {
    opacity: 1;
    transform: none;
}
.has-motion .person.is-in h3 { transition-delay: 0.12s; }
.has-motion .person.is-in .card-meta { transition-delay: 0.18s; }
.has-motion .person.is-in p { transition-delay: 0.24s; }
.has-motion .person.is-in .link-more { transition-delay: 0.3s; }

.has-motion [data-reveal].is-in.area-card:hover,
.has-motion .content-list article.is-in:hover {
    transition-delay: 0s;
    transform: translate3d(0, -4px, 0);
}
.area-card h3,
.content-list h3 { transition: color 0.35s var(--ease); }
.area-card:hover h3,
.content-list article:hover h3 { color: var(--dmat-primary); }

.portrait { overflow: hidden; }
.has-motion .person.is-in:hover .portrait img { transform: scale(1.03); }

.link-more {
    position: relative;
    display: inline-block;
}
.link-more::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.link-more:hover::after { transform: scaleX(1); }

.wa-float { animation: waPulse 4s ease-in-out infinite; }

@keyframes heroImageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroKenBurns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-2%, -1.2%, 0); }
}
@keyframes overlayBreathe {
    from { opacity: 0.9; }
    to { opacity: 1; }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes headerIn {
    from { opacity: 0; transform: translate3d(0, -8px, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes waPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.045); }
}

@media (max-width: 900px) {
    .has-motion [data-reveal="left"],
    .has-motion [data-reveal="right"] { transform: translate3d(0, 28px, 0); }
    .has-motion [data-reveal="up"] { transform: translate3d(0, 28px, 0); }
    .has-motion .office-copy > * { transform: translate3d(0, 24px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-video { display: none; }
}
