/* Paleta neutra e tipografia institucional */
:root {
    --bg: #f7f6f3;
    --surface: #ffffff;
    --text: #121212;
    --muted: #525252;
    --line: #dddddd;
    --accent: #1a1a1a;
    --header-offset: 4.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
}

.narrow {
    max-width: 760px;
}

.section {
    padding: 6.5rem 0;
    border-bottom: 1px solid var(--line);
}

.section h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 1.6rem;
}

/* Navbar fixa */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(247, 246, 243, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.nav {
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

main {
    padding-top: var(--header-offset);
}

/* Hero */
.hero {
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    border-top: none;
}

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

.eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 7vw, 5rem);
    margin-bottom: 1rem;
}

.hero-text {
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    color: var(--muted);
    max-width: 680px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    background-color: var(--accent);
    color: var(--surface);
}

/* Secao imersiva */
.immersive-section {
    height: 180vh;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.immersive-sticky {
    position: sticky;
    top: var(--header-offset);
    height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
}

.immersive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.immersive-visual {
    display: flex;
    justify-content: center;
}

.house-stage {
    width: min(780px, 100%);
    aspect-ratio: 16 / 10.5;
    position: relative;
    background: #f8f7f4;
    border: 1px solid #d9d5cd;
    box-shadow: 0 18px 34px rgba(10, 10, 10, 0.08), 0 40px 72px rgba(10, 10, 10, 0.06);
    overflow: hidden;
    isolation: isolate;
    contain: layout paint;
}

.house-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.032) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.032) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.12;
    pointer-events: none;
}

.construction-scene {
    position: absolute;
    inset: 8% 6%;
    transform-origin: 50% 58%;
    will-change: transform;
    transform: translateZ(0);
}

.house-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.house-svg g {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

#scene {
    opacity: 1;
    transform-origin: 50% 50%;
}

#group-shadow {
    pointer-events: none;
}

.shadow-shape {
    fill: rgba(0, 0, 0, 0.24);
    opacity: 0;
    will-change: opacity, transform;
}

.floor-base {
    fill: #f1efe9;
    stroke: none;
}

.floor-edge {
    fill: #e6e2d8;
    stroke: none;
}

.plan-line {
    fill: none;
    stroke: #101010;
    stroke-width: 1;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    will-change: stroke-dashoffset, stroke-width, opacity;
}

.plan-labels text {
    fill: #5f5f5f;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.11em;
    opacity: 0;
    user-select: none;
    will-change: opacity;
}

.wire-line {
    fill: none;
    stroke: #171717;
    stroke-width: 1;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    will-change: stroke-dashoffset, opacity;
}

.wall-face,
.volume-face,
.roof-face,
.opening {
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

.wall-face,
.volume-face,
.roof-face {
    stroke-width: 1;
    opacity: 1;
    will-change: opacity, fill-opacity;
}

.wall-face.wall-top.wall-external {
    fill: #f9f8f5;
    stroke: #c5c1b8;
}

.wall-face.wall-front.wall-external {
    fill: #ffffff;
    stroke: #bdb9af;
}

.wall-face.wall-side.wall-external {
    fill: #dfdbd3;
    stroke: #aea99f;
}

.wall-face.wall-top.wall-internal {
    fill: #f3f1ec;
    stroke: #cbc7be;
}

.wall-face.wall-front.wall-internal {
    fill: #faf9f6;
    stroke: #c9c5bc;
}

.wall-face.wall-side.wall-internal {
    fill: #eeece6;
    stroke: #beb9af;
}

.volume-face.volume-top {
    fill: #fcfbf8;
    stroke: #c7c3b9;
}

.volume-face.volume-front {
    fill: #ffffff;
    stroke: #bdb8ae;
}

.volume-face.volume-side {
    fill: #e1ddd5;
    stroke: #b0aca2;
}

.volume-face.volume-side-left {
    fill: #f5f4f0;
    stroke: #c2beb4;
}

.volume-face.volume-back {
    fill: #d1cdc4;
    stroke: #a29e95;
}

.roof-face.roof-top {
    fill: #f1f0eb;
    stroke: #a7a49b;
}

.roof-face.roof-front {
    fill: #e7e4dd;
    stroke: #9f9b92;
}

.roof-face.roof-side {
    fill: #dfdcd4;
    stroke: #97938a;
}

.roof-face.roof-under {
    fill: #d5d1c9;
    stroke: #98938a;
}

.roof-eave-shadow {
    fill: rgba(0, 0, 0, 0.12);
    stroke: none;
    opacity: 0;
}

.opening {
    fill: #433f3a;
    stroke: #2b2825;
    stroke-width: 1;
    opacity: 0;
    will-change: opacity;
}

.opening.door {
    fill: #4a4640;
    stroke: #312d29;
}

.opening.window,
.opening.window-side {
    fill: #7d8892;
    stroke: #616a72;
}

.window-shine {
    fill: url(#window-shine-gradient);
    stroke: none;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

.immersive-copy {
    max-width: 360px;
    opacity: 0.12;
    transform: translateY(22px);
    will-change: transform, opacity;
}

.immersive-copy h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.9rem);
    margin-bottom: 1.2rem;
}

.immersive-message {
    font-size: clamp(0.98rem, 1.9vw, 1.15rem);
    color: #5b5b5b;
    max-width: 34ch;
}

/* Blocos de conte?do */
.grid {
    display: grid;
    gap: 1rem;
}

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

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

.card,
.project-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.6rem;
}

.card h3,
.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.card p,
.project-card p {
    color: var(--muted);
}

.project-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Rodap? */
.site-footer {
    padding: 2.8rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-content p {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.footer-content a {
    font-size: 0.95rem;
    border-bottom: 1px solid currentColor;
}

/* Ajustes de responsividade */
@media (max-width: 1024px) {
    .immersive-layout {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .immersive-copy {
        max-width: 620px;
    }
}

@media (max-width: 900px) {
    .immersive-section {
        height: 165vh;
    }

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

    .immersive-section.is-mobile [data-mobile="false"] {
        display: none;
    }

    .immersive-section.is-mobile .plan-labels text {
        opacity: 0;
    }

    .immersive-section.is-mobile .construction-scene {
        inset: 9% 5%;
    }

    .immersive-section.is-mobile .house-stage {
        box-shadow: 0 14px 28px rgba(10, 10, 10, 0.08), 0 28px 46px rgba(10, 10, 10, 0.05);
    }

    .immersive-section.is-mobile .house-stage::before {
        opacity: 0.09;
        background-size: 28px 28px;
    }
}

@media (max-width: 680px) {
    .immersive-section {
        height: 150vh;
    }

    .container {
        width: min(1120px, calc(100% - 2rem));
    }

    .nav {
        justify-content: center;
        padding: 0.9rem 0;
    }

    .nav-links {
        justify-content: center;
    }

    .section {
        padding: 4.8rem 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .immersive-sticky {
        align-items: center;
    }

    .house-stage {
        aspect-ratio: 4 / 3;
    }

    .immersive-copy h2 {
        font-size: 1.8rem;
    }
}

/* Refresh visual com foco em imagem e movimento */
:root {
    --bg: #eee9e0;
    --surface: #f7f2ea;
    --surface-strong: #ffffff;
    --text: #1b1511;
    --muted: #62594f;
    --line: #d5cbc0;
    --accent: #7f5f41;
    --accent-soft: #e3d1bf;
    --font-sans: "Manrope", sans-serif;
    --font-serif: "Sora", sans-serif;
    --radius-lg: 24px;
}

body {
    background:
        radial-gradient(circle at 10% -10%, #fbf5ec 0%, rgba(251, 245, 236, 0) 44%),
        radial-gradient(circle at 92% 20%, #e8ddcf 0%, rgba(232, 221, 207, 0) 36%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    letter-spacing: 0.01em;
    font-weight: 600;
}

img[data-parallax] {
    will-change: transform;
}

.site-header {
    background: rgba(241, 235, 226, 0.88);
    border-bottom: 1px solid rgba(126, 106, 84, 0.22);
    backdrop-filter: blur(10px);
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    letter-spacing: 0.02em;
}

.nav-links a {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: #675c52;
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-offset));
    padding: 0;
    overflow: clip;
    isolation: isolate;
    border-bottom: 1px solid rgba(126, 106, 84, 0.25);
}

.hero-bg-media,
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.08);
    filter: saturate(0.84) contrast(1.05) brightness(0.76);
}

.hero-overlay {
    background:
        linear-gradient(108deg, rgba(22, 18, 15, 0.84) 0%, rgba(22, 18, 15, 0.63) 44%, rgba(22, 18, 15, 0.26) 72%, rgba(22, 18, 15, 0.56) 100%),
        radial-gradient(circle at 8% 18%, rgba(215, 182, 148, 0.24), rgba(215, 182, 148, 0) 42%);
}

.hero-layout {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    margin-inline: auto;
    padding: clamp(2.4rem, 6vh, 4.2rem) 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    justify-content: center;
    align-items: center;
    gap: clamp(1.2rem, 5vw, 4rem);
}

.hero-content {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    background: rgba(24, 20, 17, 0.57);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: clamp(1.3rem, 3.2vw, 2.4rem);
    backdrop-filter: blur(7px);
    box-shadow: 0 24px 54px rgba(10, 8, 7, 0.34);
}

.eyebrow {
    color: rgba(243, 228, 211, 0.95);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
}

.hero h1 {
    color: #fff6ea;
    font-size: clamp(2.45rem, 7.2vw, 5.25rem);
    line-height: 1;
}

.hero-text {
    color: rgba(255, 246, 233, 0.86);
    max-width: 52ch;
    margin-bottom: 1.45rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.btn {
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.8rem 1.35rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(130deg, #946f4d 0%, #7b5839 100%);
    color: #fffaf4;
    border-color: transparent;
    box-shadow: 0 12px 20px rgba(67, 44, 27, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-2px);
    background: linear-gradient(130deg, #a17852 0%, #845e3f 100%);
    color: #fffaf4;
}

.btn-ghost {
    border-color: rgba(247, 234, 217, 0.62);
    color: #f7ead9;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(251, 239, 224, 0.16);
    color: #fff6e8;
}

.hero-metrics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.hero-metrics li {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.72rem 0.9rem;
    display: grid;
    gap: 0.18rem;
}

.hero-metrics strong {
    color: #fff8ed;
    font-size: 1rem;
    line-height: 1.1;
}

.hero-metrics span {
    color: rgba(255, 245, 232, 0.84);
    font-size: 0.78rem;
    line-height: 1.35;
}

.hero-portrait {
    position: relative;
    justify-self: center;
    width: min(100%, 360px);
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 30px 56px rgba(8, 7, 7, 0.32);
    animation: portraitFloat 7s ease-in-out infinite;
}

.hero-portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(17, 14, 11, 0.48) 0%, rgba(17, 14, 11, 0.06) 52%, rgba(17, 14, 11, 0) 72%);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.06);
}

.hero-portrait figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(17, 14, 11, 0.38);
    color: rgba(248, 239, 228, 0.96);
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.45rem 0.72rem;
}

#sobre {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 100%);
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
}

.about-copy p + p {
    margin-top: 1rem;
}

.about-visual {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(126, 106, 84, 0.22);
    box-shadow: 0 28px 48px rgba(30, 24, 20, 0.18);
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(20, 16, 12, 0.58) 0%, rgba(20, 16, 12, 0) 56%);
}

.about-visual img {
    display: block;
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.06);
}

.about-visual figcaption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1rem;
    z-index: 2;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 239, 226, 0.95);
}

.immersive-section {
    position: relative;
    background: linear-gradient(145deg, #f5f0e6 0%, #ffffff 56%, #f1e9dd 100%);
}

.immersive-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 14% 18%, rgba(182, 145, 110, 0.16), rgba(182, 145, 110, 0) 42%);
}

.immersive-visual {
    position: relative;
}

.immersive-badge {
    position: absolute;
    top: -0.95rem;
    left: 1.1rem;
    z-index: 3;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(127, 95, 65, 0.36);
    background: rgba(255, 251, 245, 0.9);
    color: #61472e;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-weight: 700;
    animation: badgePulse 4.2s ease-in-out infinite;
}

.house-stage {
    border-radius: 24px;
    border: 1px solid rgba(134, 111, 88, 0.35);
    background: linear-gradient(180deg, #f9f5ee 0%, #f2ece1 100%);
    box-shadow: 0 22px 40px rgba(10, 10, 10, 0.1), 0 48px 76px rgba(10, 10, 10, 0.08);
}

.house-stage::before {
    opacity: 0.14;
}

.house-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 58%);
}

.immersive-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #805c3b;
    margin-bottom: 0.55rem;
}

.immersive-copy h2 {
    margin-bottom: 0.9rem;
}

.immersive-message {
    color: #5f554c;
}

.immersive-hint {
    margin-top: 1rem;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #866547;
}

.volume-face.highlight {
    filter: brightness(1.07);
    stroke: #805c3b;
}

.house-svg.is-interactive .volume-face {
    cursor: pointer;
}

.card,
.project-card {
    border-radius: 18px;
    border: 1px solid rgba(128, 108, 84, 0.24);
    background: linear-gradient(180deg, #fffdf9 0%, #faf6ef 100%);
    box-shadow: 0 16px 26px rgba(30, 24, 20, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 22px 34px rgba(30, 24, 20, 0.14);
    border-color: rgba(124, 91, 61, 0.42);
}

.section-projects {
    background: linear-gradient(180deg, rgba(241, 233, 222, 0.55) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.projects-placeholder {
    min-height: clamp(220px, 34vw, 340px);
    border-radius: 18px;
    border: 1px solid rgba(128, 108, 84, 0.26);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 12px 24px rgba(30, 24, 20, 0.07);
}

.project-grid {
    gap: 1.2rem;
}

.project-card {
    min-height: 420px;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.project-media {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.05);
    transform-origin: center center;
    transition: transform 0.65s ease;
}

.project-media-alt {
    object-position: 74% center;
}

.project-card-profile .project-media {
    object-position: center 20%;
}

.project-card-content {
    padding: 1.2rem 1.35rem 1.4rem;
    display: grid;
    gap: 0.62rem;
}

.project-card .project-kicker {
    color: #7f5f41;
    font-size: 0.69rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.project-card h3 {
    font-size: 1.48rem;
    margin-bottom: 0;
}

.project-card p {
    color: #5f564d;
}

.project-card:hover,
.project-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 26px 38px rgba(30, 24, 20, 0.16);
    border-color: rgba(124, 91, 61, 0.38);
}

.project-card:hover .project-media,
.project-card:focus-within .project-media {
    transform: translate3d(0, calc(var(--parallax-shift, 0px) - 8px), 0) scale(1.09);
}

#proposito .narrow {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(130, 108, 84, 0.22);
    border-radius: 20px;
    padding: 2.2rem clamp(1.2rem, 3vw, 2.8rem);
}

.site-footer {
    background: linear-gradient(180deg, rgba(242, 235, 224, 0.82) 0%, rgba(238, 229, 217, 0.95) 100%);
}

.footer-content a {
    border-bottom: 1px solid rgba(127, 95, 65, 0.55);
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    transition: opacity 0.75s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.65, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@keyframes portraitFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

@keyframes badgePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(127, 95, 65, 0.24);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(127, 95, 65, 0);
    }
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        justify-items: center;
    }

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

    .hero-portrait {
        justify-self: center;
        width: min(100%, 340px);
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-visual img {
        min-height: 320px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 1.3rem;
    }

    .hero-portrait {
        animation: none;
    }

    .hero-content {
        padding: 1.2rem 1.15rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 390px;
    }

    .project-media {
        height: 220px;
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 3.3rem;
    }

    .hero-layout {
        padding: 0;
        justify-items: center;
    }

    .hero-portrait {
        width: min(100%, 300px);
    }

    .hero-portrait figcaption {
        font-size: 0.64rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .immersive-badge {
        left: 0.7rem;
        right: 0.7rem;
        top: -0.8rem;
        text-align: center;
    }

    #proposito .narrow {
        padding: 1.4rem 1rem;
    }
}

/* Final polish: composicao visual harmonica */
:root {
    --bg: #f3eee6;
    --surface: #fbf8f3;
    --surface-strong: #ffffff;
    --text: #1f1a16;
    --muted: #655b51;
    --line: #d9cfc3;
    --accent: #8a6848;
    --accent-strong: #6f4f34;
    --accent-soft: #e9d8c5;
    --shadow-soft: 0 12px 30px rgba(41, 31, 23, 0.08);
    --shadow-medium: 0 22px 46px rgba(41, 31, 23, 0.14);
    --radius-lg: 26px;
    --radius-md: 18px;
}

body {
    background:
        radial-gradient(circle at 8% -6%, rgba(255, 248, 238, 0.9), rgba(255, 248, 238, 0) 42%),
        radial-gradient(circle at 90% 12%, rgba(224, 206, 186, 0.58), rgba(224, 206, 186, 0) 38%),
        linear-gradient(180deg, #f5f1ea 0%, #f1ebe1 100%);
    color: var(--text);
}

.container {
    width: min(1160px, calc(100% - 2.6rem));
}

.section {
    position: relative;
    padding: clamp(4.8rem, 7.5vw, 7.2rem) 0;
    border-bottom: 1px solid rgba(122, 98, 74, 0.16);
}

.section h2 {
    margin-bottom: 1.15rem;
    font-size: clamp(2.05rem, 3.8vw, 3.05rem);
    color: #2a221b;
}

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

.site-header {
    background: rgba(244, 236, 226, 0.86);
    border-bottom: 1px solid rgba(133, 108, 81, 0.24);
    box-shadow: 0 8px 28px rgba(36, 28, 21, 0.08);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 4.75rem;
}

.brand {
    font-size: 1.52rem;
    letter-spacing: 0.012em;
}

.nav-links {
    gap: 0.52rem;
}

.nav-links a {
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: border-color 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    border-color: rgba(128, 97, 68, 0.28);
    background: rgba(255, 255, 255, 0.44);
    color: #3e3125;
}

.hero {
    border-bottom: 1px solid rgba(133, 108, 81, 0.22);
}

.hero-overlay {
    background:
        linear-gradient(105deg, rgba(18, 14, 12, 0.84) 0%, rgba(18, 14, 12, 0.64) 40%, rgba(18, 14, 12, 0.3) 70%, rgba(18, 14, 12, 0.6) 100%),
        radial-gradient(circle at 12% 16%, rgba(220, 177, 130, 0.25), rgba(220, 177, 130, 0) 46%);
}

.hero-layout {
    width: min(1040px, 100%);
    padding: clamp(2.25rem, 6.5vh, 4.3rem) 0;
    gap: clamp(1.3rem, 4.4vw, 3.5rem);
}

.hero-content {
    max-width: 650px;
    background: rgba(22, 18, 14, 0.58);
    border: 1px solid rgba(255, 250, 243, 0.2);
    border-radius: calc(var(--radius-lg) + 2px);
    box-shadow: 0 30px 62px rgba(9, 7, 5, 0.33);
}

.hero h1 {
    font-size: clamp(2.6rem, 7.1vw, 5.45rem);
    letter-spacing: 0.005em;
    line-height: 1.02;
}

.hero-text {
    max-width: 50ch;
}

.btn {
    border-radius: 999px;
    letter-spacing: 0.17em;
    font-weight: 700;
}

.btn-primary {
    background: linear-gradient(132deg, #9a7655 0%, #7a5738 100%);
    box-shadow: 0 12px 22px rgba(55, 37, 22, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(132deg, #a98561 0%, #865f3f 100%);
}

.btn-ghost {
    background: rgba(255, 249, 242, 0.06);
    border-color: rgba(248, 233, 216, 0.7);
}

.hero-metrics li {
    border-radius: 16px;
    border: 1px solid rgba(255, 247, 235, 0.22);
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.14) 0%, rgba(255, 252, 248, 0.07) 100%);
}

.hero-portrait {
    border-radius: 30px;
    box-shadow: 0 34px 58px rgba(8, 7, 6, 0.34);
}

#sobre {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.about-layout {
    gap: clamp(1.6rem, 4vw, 3.2rem);
}

.about-copy {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 1px solid rgba(133, 108, 81, 0.2);
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.about-visual {
    border-radius: calc(var(--radius-lg) + 2px);
    box-shadow: var(--shadow-medium);
}

.immersive-section {
    height: 158vh;
    background: linear-gradient(145deg, #f4ede2 0%, #fffdfa 52%, #efe5d7 100%);
}

.immersive-section::before {
    background:
        radial-gradient(circle at 14% 22%, rgba(179, 136, 96, 0.18), rgba(179, 136, 96, 0) 40%),
        radial-gradient(circle at 84% 84%, rgba(171, 138, 102, 0.13), rgba(171, 138, 102, 0) 42%);
}

.immersive-layout {
    gap: clamp(1.9rem, 4.2vw, 4.1rem);
}

.immersive-copy {
    max-width: 390px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(133, 108, 81, 0.22);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.immersive-kicker {
    color: #7a5738;
}

.immersive-message {
    color: #5a5148;
}

.immersive-hint {
    color: #815c3c;
}

.card,
.project-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(133, 108, 81, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 244, 237, 0.98) 100%);
    box-shadow: var(--shadow-soft);
}

.card:hover,
.card:focus-within,
.project-card:hover,
.project-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(128, 97, 68, 0.34);
}

.card h3,
.project-card h3 {
    color: #2d241c;
}

.card p,
.project-card p {
    color: #62584f;
}

#atuacao {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%);
}

#experiencia {
    background: linear-gradient(180deg, rgba(242, 234, 223, 0.5) 0%, rgba(242, 234, 223, 0.12) 100%);
}

.section-projects {
    background: linear-gradient(180deg, rgba(243, 236, 226, 0.62) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.projects-placeholder {
    position: relative;
    min-height: clamp(250px, 34vw, 360px);
    border-radius: calc(var(--radius-md) + 2px);
    border: 1px solid rgba(133, 108, 81, 0.28);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(243, 234, 224, 0.85)),
        repeating-linear-gradient(135deg, rgba(133, 108, 81, 0.055) 0 12px, rgba(133, 108, 81, 0.02) 12px 24px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62), var(--shadow-soft);
    overflow: hidden;
}

.projects-placeholder::before {
    content: "Portifolio em atualizacao";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -54%);
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    color: #6a4e35;
    letter-spacing: 0.03em;
    text-align: center;
    width: min(90%, 460px);
}

.projects-placeholder::after {
    content: "Em breve, estudos e projetos executados com enfoque tecnico e impacto social.";
    position: absolute;
    left: 50%;
    top: calc(50% + 1.5rem);
    transform: translateX(-50%);
    width: min(90%, 520px);
    text-align: center;
    color: #7d6957;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#proposito .narrow {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(252, 247, 239, 0.72) 100%);
    border: 1px solid rgba(128, 97, 68, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.site-footer {
    border-top: 1px solid rgba(133, 108, 81, 0.2);
    background: linear-gradient(180deg, rgba(241, 233, 222, 0.84) 0%, rgba(236, 225, 211, 0.96) 100%);
}

.footer-content p {
    color: #67594c;
}

.footer-content a {
    border-bottom: 1px solid rgba(116, 86, 58, 0.55);
    color: #3f3126;
}

[data-reveal] {
    transition: opacity 0.72s cubic-bezier(0.2, 0.65, 0.2, 1), transform 0.72s cubic-bezier(0.2, 0.65, 0.2, 1);
}

@media (max-width: 1024px) {
    .container {
        width: min(1100px, calc(100% - 2.2rem));
    }

    .about-copy {
        padding: 1.25rem 1.2rem;
    }

    .immersive-copy {
        max-width: 640px;
    }
}

@media (max-width: 900px) {
    .immersive-section {
        height: 145vh;
    }

    .nav {
        justify-content: center;
    }

    .hero-content {
        border-radius: 22px;
    }

    .immersive-copy {
        padding: 1rem 0.95rem;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1100px, calc(100% - 1.4rem));
    }

    .section {
        padding: 4.3rem 0;
    }

    .immersive-section {
        height: 132vh;
    }

    .projects-placeholder::before {
        transform: translate(-50%, -62%);
    }

    .projects-placeholder::after {
        top: calc(50% + 1rem);
        font-size: 0.74rem;
        letter-spacing: 0.04em;
    }
}

/* Layout upgrade: secoes de destaque */
.section-intro {
    max-width: 760px;
    margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a5738;
    margin-bottom: 0.55rem;
    font-weight: 700;
}

.section-highlight,
.section-experience,
.section-purpose {
    position: relative;
}

.section-highlight::before,
.section-experience::before,
.section-purpose::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.section-highlight::before {
    background: radial-gradient(circle at 10% 18%, rgba(186, 149, 113, 0.14), rgba(186, 149, 113, 0) 38%);
}

.section-experience::before {
    background: radial-gradient(circle at 92% 18%, rgba(163, 129, 96, 0.13), rgba(163, 129, 96, 0) 34%);
}

.section-purpose::before {
    background: radial-gradient(circle at 90% 82%, rgba(173, 136, 98, 0.12), rgba(173, 136, 98, 0) 40%);
}

.atuacao-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.9rem, 2.4vw, 1.35rem);
}

.atuacao-intro-panel {
    border-radius: 22px;
    border: 1px solid rgba(126, 99, 71, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 235, 223, 0.94));
    box-shadow: 0 18px 30px rgba(29, 21, 15, 0.1);
    padding: clamp(1rem, 2.2vw, 1.35rem);
}

.atuacao-intro-panel p {
    color: #564b40;
    font-size: clamp(1.02rem, 1.4vw, 1.12rem);
    max-width: 70ch;
}

.atuacao-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.88rem;
}

.atuacao-points li {
    border-radius: 14px;
    border: 1px solid rgba(124, 95, 67, 0.2);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.62rem 0.72rem;
    font-size: 0.82rem;
    color: #66594d;
}

.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.atuacao-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(124, 98, 72, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 233, 0.95));
    padding: 1.15rem 1.1rem 1.2rem;
    box-shadow: 0 12px 26px rgba(29, 21, 15, 0.08);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.atuacao-card:hover,
.atuacao-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(29, 21, 15, 0.13);
    border-color: rgba(122, 93, 64, 0.36);
}

.atuacao-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(121, 94, 67, 0.38);
    background: rgba(251, 243, 233, 0.92);
    color: #714f31;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.atuacao-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
}

.atuacao-card p {
    color: #60554b;
}

.atuacao-card ul {
    list-style: none;
    display: grid;
    gap: 0.34rem;
    margin-top: 0.78rem;
}

.atuacao-card li {
    position: relative;
    padding-left: 0.85rem;
    font-size: 0.87rem;
    color: #756759;
}

.atuacao-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 999px;
    background: #876342;
}

.section-experience {
    background: linear-gradient(180deg, rgba(244, 236, 225, 0.6) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.experiencia-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1rem, 2.8vw, 1.8rem);
    align-items: start;
}

.experiencia-profile {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(122, 97, 72, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 230, 0.95));
    box-shadow: 0 16px 34px rgba(32, 24, 17, 0.12);
}

.experiencia-profile img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 8%;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.04);
}

.experiencia-profile-content {
    padding: 1rem 1rem 1.15rem;
}

.profile-label {
    margin-bottom: 0.45rem;
    color: #7a5738;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.68rem;
    font-weight: 700;
}

.experiencia-profile h3 {
    margin-bottom: 0.8rem;
}

.profile-metrics {
    list-style: none;
    display: grid;
    gap: 0.62rem;
}

.profile-metrics li {
    border-radius: 14px;
    border: 1px solid rgba(126, 99, 72, 0.18);
    background: rgba(255, 255, 255, 0.68);
    padding: 0.68rem 0.74rem;
    display: grid;
    gap: 0.2rem;
}

.profile-metrics strong {
    color: #3e3023;
    font-size: 0.95rem;
    line-height: 1.1;
}

.profile-metrics span {
    color: #6b5f53;
    font-size: 0.84rem;
}

.experiencia-timeline {
    display: grid;
    gap: 0.78rem;
}

.timeline-item {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(123, 97, 71, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 241, 233, 0.95));
    padding: 0.95rem 1rem 0.95rem 1.15rem;
    box-shadow: 0 12px 25px rgba(29, 22, 16, 0.08);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(138, 103, 67, 0.72), rgba(138, 103, 67, 0.2));
}

.timeline-step {
    margin-left: 0.58rem;
    margin-bottom: 0.32rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8a6746;
    font-weight: 700;
}

.timeline-item h3 {
    margin-left: 0.58rem;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.timeline-item p:last-child {
    margin-left: 0.58rem;
    color: #64594f;
}

.section-purpose {
    background: linear-gradient(180deg, rgba(241, 232, 220, 0.58) 0%, rgba(253, 250, 245, 0.92) 100%);
}

.proposito-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
}

.proposito-media {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(123, 97, 72, 0.24);
    box-shadow: 0 20px 38px rgba(30, 22, 15, 0.15);
}

.proposito-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transform: translate3d(0, var(--parallax-shift, 0px), 0) scale(1.04);
}

.proposito-content {
    border-radius: 24px;
    border: 1px solid rgba(126, 99, 72, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 243, 235, 0.94));
    box-shadow: 0 14px 30px rgba(30, 22, 15, 0.1);
    padding: clamp(1.15rem, 2.6vw, 1.9rem);
    display: grid;
    align-content: start;
    gap: 0.82rem;
}

.proposito-lead {
    font-size: clamp(1.06rem, 1.75vw, 1.24rem);
    line-height: 1.65;
    color: #54493f;
}

.proposito-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.62rem;
}

.pillar-card {
    border-radius: 14px;
    border: 1px solid rgba(126, 99, 72, 0.2);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.75rem 0.72rem;
}

.pillar-card h3 {
    margin-bottom: 0.28rem;
    font-size: 1.02rem;
}

.pillar-card p {
    color: #6b5f53;
    font-size: 0.86rem;
    line-height: 1.5;
}

@media (max-width: 1080px) {
    .atuacao-layout,
    .experiencia-layout,
    .proposito-layout {
        grid-template-columns: 1fr;
    }

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

    .atuacao-points {
        grid-template-columns: 1fr;
    }

    .experiencia-profile img {
        height: 330px;
    }

    .proposito-media img {
        min-height: 340px;
    }
}

@media (max-width: 800px) {
    .atuacao-grid,
    .proposito-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .section-intro {
        margin-bottom: 1.1rem;
    }

    .proposito-media img {
        min-height: 290px;
    }

    .experiencia-profile img {
        height: 280px;
    }

    .atuacao-card,
    .timeline-item,
    .proposito-content {
        padding: 0.9rem;
    }
}

/* Contato */
.section-contact {
    background: linear-gradient(180deg, rgba(241, 231, 218, 0.66) 0%, rgba(255, 252, 248, 0.95) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1rem, 3vw, 1.8rem);
    align-items: start;
}

.contact-info,
.contact-form {
    border-radius: 22px;
    border: 1px solid rgba(128, 100, 72, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 241, 232, 0.94));
    box-shadow: 0 16px 30px rgba(31, 22, 15, 0.1);
}

.contact-info {
    padding: clamp(1rem, 2.4vw, 1.4rem);
    display: grid;
    gap: 0.95rem;
}

.contact-info h3 {
    font-size: 1.35rem;
}

.contact-details {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.contact-details li {
    border-radius: 14px;
    border: 1px solid rgba(126, 98, 71, 0.16);
    background: rgba(255, 255, 255, 0.68);
    padding: 0.72rem 0.76rem;
    display: grid;
    gap: 0.18rem;
}

.contact-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8a6646;
    font-weight: 700;
}

.contact-details strong,
.contact-details a {
    color: #3f3225;
    font-size: 0.95rem;
}

.contact-social {
    display: grid;
    gap: 0.45rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.56rem;
    border-radius: 12px;
    border: 1px solid rgba(127, 99, 71, 0.22);
    background: rgba(255, 255, 255, 0.76);
    padding: 0.55rem 0.65rem;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f4a36;
    transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(118, 87, 58, 0.45);
    background: rgba(255, 255, 255, 0.96);
}

.social-link svg {
    width: 1.08rem;
    height: 1.08rem;
    fill: currentColor;
    flex-shrink: 0;
}

.contact-form {
    padding: clamp(1rem, 2.5vw, 1.55rem);
    display: grid;
    gap: 0.72rem;
}

.form-row {
    display: grid;
    gap: 0.38rem;
}

.form-row label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #7a5738;
    font-weight: 700;
}

.form-row input,
.form-row textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(125, 96, 67, 0.28);
    background: rgba(255, 255, 255, 0.88);
    color: #2f241a;
    font: inherit;
    padding: 0.75rem 0.8rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-row textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(125, 93, 61, 0.62);
    box-shadow: 0 0 0 3px rgba(157, 121, 87, 0.18);
}

.contact-submit {
    margin-top: 0.3rem;
    width: fit-content;
    min-width: 210px;
}

@media (max-width: 980px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .contact-info,
    .contact-form {
        padding: 0.9rem;
    }

    .contact-submit {
        width: 100%;
    }
}

/* Experiencia diferenciada para projetos */
.section-projects {
    --spot-x: 50%;
    --spot-y: 50%;
    background:
        radial-gradient(circle at 10% 16%, rgba(173, 126, 85, 0.16), rgba(173, 126, 85, 0) 42%),
        linear-gradient(180deg, rgba(247, 239, 228, 0.72) 0%, rgba(255, 252, 247, 0.9) 100%);
    isolation: isolate;
}

.section-projects::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(143, 108, 75, 0.22), rgba(143, 108, 75, 0) 28%);
    opacity: 0.65;
    transition: background-position 0.2s ease;
}

/* Diferencial de identidade visual */
:root {
    --page-progress: 0;
    --cursor-x: 50%;
    --cursor-y: 26%;
}

body {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
}

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

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(201, 140, 87, 0.26) 0%, rgba(201, 140, 87, 0.12) 20%, rgba(201, 140, 87, 0) 46%),
        radial-gradient(circle at 86% 16%, rgba(70, 115, 122, 0.18) 0%, rgba(70, 115, 122, 0) 44%);
    animation: auraDrift 18s ease-in-out infinite alternate;
}

body::after {
    background:
        repeating-linear-gradient(112deg, rgba(119, 89, 61, 0.05) 0 1px, rgba(119, 89, 61, 0) 1px 26px),
        repeating-linear-gradient(-22deg, rgba(255, 255, 255, 0.35) 0 1px, rgba(255, 255, 255, 0) 1px 22px);
    opacity: 0.34;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.2));
    animation: latticeSlide 24s linear infinite;
}

.site-header {
    transition: background-color 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: calc(var(--page-progress) * 100%);
    background: linear-gradient(90deg, #7a5536 0%, #b88a61 52%, #4f787b 100%);
    box-shadow: 0 0 10px rgba(163, 120, 78, 0.45);
    transition: width 0.16s linear;
}

.site-header.is-scrolled {
    background: rgba(246, 238, 228, 0.95);
    border-bottom-color: rgba(116, 88, 60, 0.3);
    box-shadow: 0 10px 20px rgba(35, 26, 18, 0.1);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.2rem;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(106, 77, 50, 0), rgba(106, 77, 50, 0.85), rgba(106, 77, 50, 0));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.08) 100%),
        repeating-linear-gradient(125deg, rgba(247, 230, 208, 0.12) 0 1px, rgba(247, 230, 208, 0) 1px 15px);
    opacity: 0.38;
    mix-blend-mode: soft-light;
    animation: heroSweep 16s linear infinite;
}

.section::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(118, 86, 57, 0), rgba(118, 86, 57, 0.45), rgba(118, 86, 57, 0));
    pointer-events: none;
}

.section-intro h2 {
    color: #2b221a;
    background: linear-gradient(100deg, #2f261d 0%, #684b31 56%, #325f63 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn,
.card,
.project-card {
    backdrop-filter: blur(3px);
}

[data-reveal] {
    transition-duration: 0.82s;
    transition-timing-function: cubic-bezier(0.16, 0.8, 0.2, 1);
}

@keyframes auraDrift {
    0% {
        filter: hue-rotate(0deg) saturate(1);
    }
    100% {
        filter: hue-rotate(-8deg) saturate(1.08);
    }
}

@keyframes latticeSlide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-46px, 34px, 0);
    }
}

@keyframes heroSweep {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 220px 0, 320px 0;
    }
}

@media (max-width: 760px) {
    body::after {
        opacity: 0.2;
    }

    .hero::after {
        opacity: 0.24;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .hero::after {
        animation: none;
    }
}

/* Novas fotos: enquadramento estrategico */
.about-visual img.about-portrait-image {
    object-position: center 18%;
}

.experiencia-profile img.experiencia-portrait-image {
    object-position: center 16%;
}

@media (max-width: 680px) {
    .about-visual img.about-portrait-image {
        object-position: center 14%;
    }

    .experiencia-profile img.experiencia-portrait-image {
        object-position: center 12%;
    }
}

/* Rebuild completo da secao de projetos */
.projects-rebuild {
    background:
        radial-gradient(circle at 16% 20%, rgba(164, 123, 83, 0.16), rgba(164, 123, 83, 0) 36%),
        linear-gradient(180deg, rgba(244, 236, 226, 0.66) 0%, rgba(255, 252, 247, 0.94) 100%);
}

.projects-stack {
    display: grid;
    gap: clamp(1rem, 2.4vw, 1.4rem);
}

.projects-group {
    padding: clamp(1rem, 2.4vw, 1.5rem);
    border-radius: 32px;
    border: 1px solid rgba(121, 90, 61, 0.18);
    background: rgba(255, 252, 247, 0.82);
    box-shadow: 0 20px 40px rgba(43, 31, 20, 0.08);
    backdrop-filter: blur(6px);
}

.projects-group-header {
    max-width: 760px;
    margin-bottom: 1.1rem;
}

.projects-group-kicker {
    display: inline-flex;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7a5a3d;
}

.projects-group-header h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-bottom: 0.7rem;
    color: #261b13;
}

.projects-group-header p {
    color: #5f5143;
}

.projects-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.8vw, 1rem);
}

.project-mini {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(121, 90, 61, 0.18);
    background: #fffdf9;
    box-shadow: 0 18px 34px rgba(31, 23, 16, 0.08);
}

.project-mini-media {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ebdfd0;
}

.project-mini img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-mini:hover img,
.project-mini:focus-within img {
    transform: scale(1.03);
}

.project-mini-body {
    padding: 0.9rem 0.9rem 1rem;
}

.project-mini-tag,
.project-entry-tag,
.project-entry-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-mini-tag,
.project-entry-tag {
    border: 1px solid rgba(164, 123, 83, 0.24);
    background: rgba(164, 123, 83, 0.12);
    color: #765338;
}

.project-mini h4 {
    margin: 0.6rem 0 0.55rem;
    font-size: 1.12rem;
    color: #261c14;
}

.project-mini p {
    color: #5f5143;
    font-size: 0.9rem;
}

.projects-detailed {
    display: grid;
    gap: 0.95rem;
}

.project-entry {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(0.85rem, 2.6vw, 1.25rem);
    align-items: start;
    padding: clamp(0.9rem, 1.8vw, 1.15rem);
    border-radius: 24px;
    border: 1px solid rgba(121, 90, 61, 0.16);
    background: rgba(247, 241, 232, 0.82);
}

.project-entry-copy {
    display: grid;
    gap: 0.68rem;
}

.project-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-entry-count {
    border: 1px solid rgba(121, 90, 61, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: #675547;
}

.project-entry h3 {
    font-size: clamp(1.28rem, 1.9vw, 1.68rem);
    color: #241a13;
}

.project-entry p {
    color: #4f4135;
}

.project-entry-lead {
    font-size: 0.98rem;
    color: #3a2f26;
}

.project-note {
    padding: 0.85rem 0.9rem 0.9rem;
    border-radius: 18px;
    border-left: 4px solid #a47b53;
    background: rgba(255, 251, 246, 0.92);
}

.project-note h4 {
    margin-bottom: 0.32rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7a593c;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.project-gallery-single {
    grid-template-columns: 1fr;
}

.project-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #e8dccb;
    box-shadow: 0 14px 28px rgba(31, 23, 16, 0.08);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.project-gallery-single img,
.project-gallery-two img {
    aspect-ratio: 16 / 9;
}

.project-gallery-three .project-gallery-item:first-child {
    grid-column: span 2;
}

.project-gallery-three .project-gallery-item:first-child img {
    aspect-ratio: 16 / 9;
}

@media (max-width: 1080px) {
    .projects-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-entry {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .projects-group {
        padding: 0.9rem;
        border-radius: 24px;
    }

    .projects-event-grid,
    .project-gallery,
    .project-gallery-three {
        grid-template-columns: 1fr;
    }

    .project-gallery-three .project-gallery-item:first-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-mini img {
        transition: none;
    }
}
