/* Arte em Flor — UX tokens + layout compacto */

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

:root {
    --rosa-principal: #b8706d;
    --rosa-claro: #faf6f5;
    --rosa-muted: rgba(184, 112, 109, 0.1);
    --rosa-deep: #52312f;
    --verde-accent: #6b8e5f;
    --verde-soft: rgba(107, 142, 95, 0.12);

    --ink: #1a1514;
    --texto: #2a2420;
    --texto-soft: #605a54;
    --texto-muted: #8b8278;

    --surface: #ffffff;
    --surface-elevated: #fefdfb;
    --bg-page: #f8f5f1;
    --border: rgba(42, 36, 32, 0.07);

    --nav-h: 68px;
    --scroll-pad: calc(var(--nav-h) + 16px);
    --page-max: 1120px;
    --prose-max: 40rem;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(26, 21, 20, 0.03);
    --shadow-sm: 0 2px 6px rgba(26, 21, 20, 0.05), 0 1px 2px rgba(26, 21, 20, 0.02);
    --shadow-md: 0 4px 12px rgba(26, 21, 20, 0.08), 0 2px 4px rgba(26, 21, 20, 0.03);
    --shadow-lg: 0 12px 32px rgba(26, 21, 20, 0.12);

    --section-y: clamp(4rem, 8vw, 5.5rem);
    --space-xs: 0.375rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    font-synthesis-weight: none;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--texto);
    background: var(--bg-page);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus-visible {
    outline: 2px solid var(--rosa-principal);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: var(--space-sm) var(--space-md);
    background: var(--ink);
    color: var(--surface);
    border-radius: var(--radius-sm);
}
.skip-link:focus {
    left: var(--space-md);
    top: var(--space-md);
    outline-offset: 2px;
}

#inicio, .page-section[id], #contacto, #trabalhos {
    scroll-margin-top: var(--scroll-pad);
}

.page-main { min-height: 50vh; }

.section-inner {
    max-width: var(--page-max);
    margin-inline: auto;
    padding-inline: clamp(18px, 4vw, 28px);
}

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

body.nav-open {
    overflow: hidden;
}

@media (min-width: 769px) {
    body.nav-open {
        overflow: unset;
    }
}

/* ===== CABEÇALHO (marca + navegação apenas) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(254, 253, 251, 0.96);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header-inner {
    width: 100%;
    max-width: var(--page-max);
    margin-inline: auto;
    padding-inline: clamp(18px, 4vw, 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-header-logo {
    flex-shrink: 0;
}

.site-header-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);
    flex: 1;
    min-width: 0;
}

.logo,
.site-header-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rosa-deep);
    text-decoration: none;
    letter-spacing: -0.015em;
    transition: color 0.25s ease;
}

.site-header-logo:hover {
    color: var(--rosa-principal);
}

.logo span,
.site-header-logo span {
    font-weight: 500;
    font-style: italic;
    color: var(--verde-accent);
}

.site-header-nav-main {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
}

.nav-links > li:not(.nav-item-cta):not(.nav-item-cta-primary) > a {
    text-decoration: none;
    color: var(--texto);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    position: relative;
}

.nav-links > li:not(.nav-item-cta):not(.nav-item-cta-primary) > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosa-principal);
    transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-links > li:not(.nav-item-cta):not(.nav-item-cta-primary) > a:hover {
    color: var(--rosa-deep);
    background: var(--rosa-muted);
}

.nav-links > li:not(.nav-item-cta):not(.nav-item-cta-primary) > a:hover::after {
    width: 100%;
}

.nav-link-accent {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--texto);
    margin-left: 0.25rem;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.nav-link-accent:hover {
    border-color: rgba(45, 32, 35, 0.15);
    background: var(--surface);
}

.nav-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.35rem;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--rosa-deep);
    color: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: filter 0.18s ease, transform 0.18s ease;
}

.nav-btn-cta:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.nav-desktop-only {
    display: list-item;
}

.nav-mobile-only {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--texto);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== INTRO (hero no fluxo do conteúdo) ===== */
.intro-hero.page-section {
    padding-block: clamp(1.75rem, 4vw, 2.5rem);
}

.intro-hero {
    background:
        radial-gradient(ellipse 140% 90% at 80% -10%, var(--rosa-muted), transparent 50%),
        radial-gradient(ellipse 80% 60% at -5% 95%, var(--verde-soft), transparent 50%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg-page) 100%);
}

.intro-hero-inner {
    max-width: 40rem;
}

.intro-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rosa-principal);
    margin-bottom: 0.75rem;
    opacity: 0.95;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--rosa-muted);
    border-radius: var(--radius-full);
}

.intro-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.25rem, 5vw + 0.5rem, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.intro-title em {
    font-style: italic;
    font-weight: 550;
    color: var(--verde-accent);
}

.intro-lead {
    font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.2rem);
    color: var(--texto-soft);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 38rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--rosa-principal) 0%, var(--rosa-deep) 100%);
    color: var(--surface);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.25s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--texto);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: rgba(45, 32, 35, 0.14);
}

/* ===== SECTIONS ===== */
.section,
.page-section {
    padding-block: var(--section-y);
}

.section-intro {
    max-width: 34rem;
    margin-bottom: var(--space-xl);
}

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

@media (min-width: 769px) {
    .section-intro:not(.section-intro-centered) {
        margin-bottom: var(--space-2xl);
    }
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rosa-principal);
    opacity: 0.95;
    margin-bottom: 0.75rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--rosa-muted);
    border-radius: var(--radius-full);
}

.section-intro h2,
.section-intro .section-intro-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3.2vw + 0.7rem, 2.35rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
    font-weight: 700;
}

.section-intro-desc {
    color: var(--texto-soft);
    font-size: 0.98rem;
    line-height: 1.62;
}

.flower-deco {
    display: none;
}

/* ===== PORTFÓLIO ===== */
.trabalhos-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

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

.galeria-count {
    font-size: 0.8125rem;
    color: var(--texto-muted);
    white-space: nowrap;
}

.galeria-count strong {
    color: var(--rosa-deep);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

.galeria-loading {
    text-align: center;
    padding: var(--space-xl);
    color: var(--texto-soft);
}

.galeria-loading .spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--rosa-claro);
    border-top-color: var(--rosa-principal);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    margin: 0 auto 0.75rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.trabalhos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-sm);
}

@media (min-width: 640px) {
    .trabalhos-grid {
        grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
        gap: var(--space-md);
    }
}

@media (min-width: 1024px) {
    .trabalhos-grid {
        grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    }
}

.trabalho-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.3s ease;
}

.trabalho-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rosa-muted);
}

.trabalho-card.show {
    animation: cardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

.card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, var(--rosa-claro), var(--bg-page));
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.trabalho-card:hover .card-image img {
    transform: scale(1.08);
    filter: brightness(1.02);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,21,20,0.7) 0%, rgba(26,21,20,0.15) 35%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem 0.75rem;
}

.trabalho-card:hover .card-overlay { opacity: 1; }

.card-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: rgba(254,253,251,0.98);
    color: var(--rosa-deep);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.25s ease,
                color 0.25s ease;
}

.trabalho-card:hover .card-overlay-btn {
    opacity: 1;
    transform: translateY(0);
    background: var(--rosa-principal);
    color: var(--surface);
}

.card-overlay-btn svg { width: 12px; height: 12px; }

.card-info {
    padding: 0.65rem 0.75rem 0.75rem;
}

.card-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.8375rem;
    font-weight: 600;
    color: var(--texto);
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.375rem;
}

.card-ref-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 26px;
}

.card-ref-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--texto-muted);
    flex-shrink: 0;
}

.card-ref-code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--rosa-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-ref-copy {
    flex-shrink: 0;
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: var(--surface);
    color: var(--texto-soft);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.card-ref-copy:hover {
    border-color: rgba(176, 88, 100, 0.35);
    color: var(--rosa-deep);
}

.card-ref-copy.is-done {
    border-color: rgba(92, 122, 82, 0.35);
    color: var(--verde-accent);
    background: var(--verde-soft);
}

.card-ref-copy svg { width: 13px; height: 13px; }

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: clamp(2rem, 6vw, 3rem);
    color: var(--texto-soft);
    font-size: 0.94rem;
    line-height: 1.6;
}

.gallery-empty strong { color: var(--rosa-deep); font-weight: 600; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 8, 9, 0.94);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox-content {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255,255,255,0.1) inset;
    object-fit: contain;
    animation: fadeInScale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: fixed;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    transform: rotate(90deg);
}

.lightbox-close svg { width: 22px; height: 22px; stroke: #fff; }

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav svg { width: 22px; height: 22px; stroke: #fff; fill: none; }

.lightbox-prev { left: var(--space-md); }
.lightbox-next { right: var(--space-md); }

.lightbox-caption {
    text-align: center;
    margin-top: var(--space-md);
    color: rgba(255,255,255, 0.9);
}

.lightbox-caption-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
}

.lightbox-ref {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.52);
}

.lightbox-counter {
    text-align: center;
    margin-top: 0.45rem;
    font-size: 0.76rem;
    color: rgba(255,255,255, 0.4);
}

/* ===== CONTACTO ===== */
.contacto {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.contacto-shell {
    display: grid;
    gap: var(--space-xl);
    align-items: start;
}

@media (min-width: 880px) {
    .contacto-shell {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
        gap: clamp(2rem, 5vw, 4rem);
    }
}

.contacto-aside-ul {
    list-style: none;
    margin-top: var(--space-md);
}

.contacto-aside-ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.62rem;
    font-size: 0.895rem;
    color: var(--texto-soft);
    line-height: 1.5;
}

.contacto-aside-ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--verde-accent);
}

.contacto-panel {
    padding: 2rem var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface) 100%);
}

@media (min-width: 769px) {
    .contacto-panel {
        padding: 2.5rem clamp(1.5rem, 4vw, 2.25rem);
    }
}

.form-group { margin-bottom: 1rem; }

.form-row {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr 1fr;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--texto-soft);
    margin-bottom: 0.375rem;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--texto);
    background: var(--surface);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.25s ease;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--rosa-principal);
    background: var(--surface-elevated);
    box-shadow: 0 0 0 4px var(--rosa-muted);
}

.btn-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--rosa-principal) 0%, var(--rosa-deep) 100%);
    color: var(--surface);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.25s ease;
    box-shadow: var(--shadow-md);
}

.btn-enviar:hover:not(:disabled) {
    filter: brightness(1.04);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-enviar:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.78rem;
    color: var(--texto-muted);
    line-height: 1.5;
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-xl) var(--space-sm);
}

.form-success.show { display: block; }

.form-success h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: var(--verde-accent);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--texto-soft);
    max-width: 26rem;
    margin: 0 auto;
}

.form-error {
    color: #9e3d4a;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.form-group input.invalid,
.form-group textarea.invalid { border-color: #c9959d; }

/* ===== FOOTER ===== */
footer.site-footer {
    padding: 3rem clamp(18px, 4vw, 28px) 2.5rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-page) 0%, rgba(184, 112, 109, 0.03) 100%);
}

.footer-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--rosa-deep);
}

.footer-logo span {
    font-style: italic;
    font-weight: 500;
    color: var(--verde-accent);
}

.footer-meta {
    font-size: 0.8rem;
    color: var(--texto-muted);
    line-height: 1.5;
}

/* ===== UTIL / FADE ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { transition-duration: 0.01ms; transform: none; }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header-end {
        flex: 0 0 auto;
        position: relative;
    }

    .nav-desktop-only {
        display: none !important;
    }

    .nav-mobile-only {
        display: list-item !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(18.5rem, calc(100vw - 28px));
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        padding: var(--space-md);
        margin: 0;
        background: var(--surface);
        border: 1px solid rgba(45, 32, 35, 0.08);
        border-radius: var(--radius-lg);
        box-shadow:
            0 4px 24px rgba(23, 19, 20, 0.08),
            0 1px 3px rgba(23, 19, 20, 0.04);
        z-index: 1001;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-mobile-li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-mobile-action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 0.7rem 1.15rem;
        border-radius: var(--radius-md);
        font-family: inherit;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box;
        transition:
            background 0.18s ease,
            border-color 0.18s ease,
            color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
    }

    .nav-mobile-action::after {
        display: none !important;
    }

    .nav-mobile-action:active {
        transform: scale(0.98);
    }

    .nav-mobile-action--secondary {
        border: 1px solid rgba(45, 32, 35, 0.12);
        background: var(--surface-elevated);
        color: var(--texto);
    }

    .nav-mobile-action--secondary:hover {
        border-color: rgba(176, 88, 100, 0.35);
        background: var(--rosa-claro);
        color: var(--rosa-deep);
    }

    .nav-mobile-action--primary {
        border: none;
        background: linear-gradient(165deg, #6e4349 0%, var(--rosa-deep) 55%, #4a2e34 100%);
        color: var(--surface);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.78rem;
        box-shadow: 0 2px 10px rgba(92, 56, 63, 0.22);
    }

    .nav-mobile-action--primary:hover {
        filter: brightness(1.06);
        box-shadow: 0 4px 14px rgba(92, 56, 63, 0.28);
    }

    .nav-links > li:not(.nav-item-cta):not(.nav-item-cta-primary) > a:not(.nav-mobile-action) {
        display: block;
        padding: 0.8rem 0.95rem;
    }

    .hamburger {
        display: flex;
        order: 1;
    }

    .site-header-nav-main {
        flex: 0;
        position: static;
        order: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contacto-shell {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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