:root {
    --bg: #08090a;
    --ink: #f4f5f5;
    --panel: #141619;
    --panel-2: #1d2024;
    --dark: #0b0c0e;
    --dark-2: #202327;
    --text: #f4f5f5;
    --muted: #aeb4b9;
    --line: rgba(255, 255, 255, 0.12);
    --red: #ff3030;
    --red-dark: #c91f1f;
    --steel: #5a5d60;
    --white: #ffffff;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 76% 0%, rgba(255, 48, 48, 0.2), transparent 32rem),
        radial-gradient(circle at 4% 18%, rgba(108, 116, 124, 0.22), transparent 28rem),
        linear-gradient(180deg, #111417 0%, var(--bg) 46%, #101214 100%);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 12px clamp(18px, 4vw, 44px);
    background: rgba(9, 10, 11, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand img {
    width: 150px;
    height: 48px;
    object-fit: cover;
    object-position: center;
}

.site-nav {
    display: flex;
    gap: 26px;
    color: #c8cdd1;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--red);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--panel);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.hero {
    display: flex;
    align-items: flex-end;
    max-width: var(--max);
    min-height: calc(60vh - 76px);
    margin: 0 auto;
    padding: clamp(44px, 7vw, 96px) clamp(18px, 4vw, 34px);
}

.hero-copy {
    max-width: 980px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
}

h2 {
    margin-bottom: 16px;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
}

h3 {
    margin-bottom: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.lead {
    max-width: 650px;
    color: #d2d6d9;
    font-size: 18px;
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.btn.primary {
    background: var(--red);
    color: var(--white);
}

.btn.primary:hover {
    background: var(--red-dark);
}

.btn.secondary {
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn.secondary:hover {
    border-color: var(--red);
    color: var(--red);
}

.btn.whatsapp {
    background: #111615;
    color: var(--white);
}

.btn.whatsapp:hover {
    background: #24302b;
}

.work-card,
.project-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--panel);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--max);
    margin: 0 auto;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    color: var(--white);
    border: 0;
}

.strip div {
    min-height: 118px;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.strip div:last-child {
    border-right: 0;
}

.strip strong,
.strip span {
    display: block;
}

.strip strong {
    margin-bottom: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.strip span {
    color: var(--muted);
    color: #c7cbce;
}

.section,
.work-section,
.contact {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 34px);
}

.section-soft {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.work-copy p,
.contact p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid var(--line);
}

.service-card {
    min-height: 230px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.055);
}

.service-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.09);
}

.work-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    background: linear-gradient(135deg, #17191b, #2a2d30);
    color: var(--white);
    border: 0;
}

.work-section h2 {
    color: var(--white);
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.muted-link {
    color: #d8dbdd;
}

.work-card img {
    width: 100%;
    aspect-ratio: 1.55;
    object-fit: cover;
}

.project-grid {
    display: grid;
    gap: 18px;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

.project-card div {
    padding: 22px;
}

.project-card h3 {
    color: var(--ink);
}

.project-card p {
    margin: 0;
    color: #586066;
    font-size: 15px;
    line-height: 1.55;
}

.project-meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font-size: 13px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-location {
    color: var(--red);
}

.project-category {
    color: #8a9099;
    padding-left: 12px;
    border-left: 1px solid #d0d4d8;
}

/* Páginas legais */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-container h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-container section {
    margin-bottom: 32px;
}

.legal-container h2 {
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.legal-container p,
.legal-container li {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.legal-container ul {
    margin: 8px 0 0 20px;
}

.legal-container li {
    margin-bottom: 6px;
}

.legal-actions {
    margin-top: 48px;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 44px);
    justify-content: center;
    border-top: 1px solid var(--line);
    background: var(--dark);
    font-size: 13px;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--red);
}

.process {
    border-bottom: 1px solid var(--line);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
}

.contact-panel {
    display: grid;
    gap: 12px;
    padding: 26px;
    background: linear-gradient(135deg, var(--red), #b81616);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-panel a,
.contact-panel span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 4vw, 44px);
    color: #c7cbce;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    border-top: 1px solid var(--line);
    background: var(--dark);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 14px;
    }

    .work-section,
    .contact {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: 0;
    }

    .strip,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .strip div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .strip div:last-child {
        border-bottom: 0;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .brand img {
        width: 128px;
        height: 42px;
    }

    h1 {
        font-size: 38px;
    }

    .btn {
        width: 100%;
    }
}
