:root {
    --bg: #120f0d;
    --bg-soft: #1a1513;
    --panel: rgba(34, 27, 23, 0.92);
    --panel-solid: #201916;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f7f1eb;
    --muted: #c2b5aa;
    --accent: #d8a35f;
    --accent-strong: #f0b86a;
    --success: #1db26b;
    --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(216, 163, 95, 0.18), transparent 25%),
        linear-gradient(180deg, #0a0807 0%, #120f0d 100%);
}

a {
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(10, 8, 7, 0.8);
    border-bottom: 1px solid var(--line);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-lockup img {
    width: 84px;
    height: 64px;
    object-fit: contain;
}

.brand-lockup span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-lockup strong,
.brand-lockup small {
    color: var(--text);
}

.brand-lockup strong,
.eyebrow,
.hero-title,
.section-heading h2,
.spotlight-card h2,
.contact-card h2,
.internal-hero h1 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.03em;
}

.brand-lockup small {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.nav-link {
    color: var(--muted) !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text) !important;
}

.btn-brand {
    border: 0;
    color: #1a120c;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 12px 30px rgba(216, 163, 95, 0.22);
}

.btn-brand:hover {
    color: #1a120c;
    filter: brightness(1.05);
}

.hero-section,
.services-section,
.subscription-section,
.contact-section,
.gallery-section,
.services-table-section,
.internal-hero {
    position: relative;
}

.hero-section {
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 8, 7, 0.92) 10%, rgba(10, 8, 7, 0.72) 45%, rgba(10, 8, 7, 0.9) 100%),
        url('../images/fundo.webp') center/cover no-repeat;
    opacity: 0.95;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.95rem;
    text-transform: uppercase;
}

.hero-title {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
}

.hero-copy,
.internal-hero p,
.contact-address,
.service-card p,
.spotlight-card p,
.footer-copy {
    color: var(--muted);
}

.hero-copy {
    max-width: 48rem;
    margin: 1.5rem 0 0;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.metric-card,
.spotlight-card,
.service-card,
.contact-card,
.table-shell {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 1.1rem;
    border-radius: 1.2rem;
}

.metric-card strong {
    display: block;
    font-size: 1.25rem;
    color: var(--accent-strong);
}

.metric-card span {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.spotlight-card {
    padding: 2rem;
    border-radius: 1.6rem;
}

.spotlight-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.spotlight-card h2 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.spotlight-list {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 1.5rem 0 0;
    list-style: none;
}

.spotlight-list li {
    color: var(--text);
}

.spotlight-list i {
    color: var(--success);
    margin-right: 0.45rem;
}

.gallery-section,
.services-section,
.subscription-section,
.contact-section,
.services-table-section {
    padding: 1.5rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.contact-card h2,
.internal-hero h1 {
    margin: 0;
    font-size: 2rem ;
    line-height: 1;
}

.showcase-carousel img {
    height: 520px;
    object-fit: cover;
    filter: saturate(0.95);
}

.carousel-control-prev,
.carousel-control-next {
    width: 9%;
    opacity: 1;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.5rem;
    border-radius: 1.4rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 163, 95, 0.4);
}

.service-meta,
.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-meta span:first-child {
    color: var(--accent);
    font-weight: 800;
}

.service-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.service-footer strong {
    font-size: 1.25rem;
    color: var(--accent-strong);
}

.service-footer a,
.link-highlight,
.footer-links a,
.contact-link {
    color: var(--text);
}

.service-footer a:hover,
.link-highlight:hover,
.footer-links a:hover,
.contact-link:hover {
    color: var(--accent-strong);
}

.subscription-intro {
    max-width: 36rem;
    color: var(--muted);
}

.subscription-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        var(--panel);
    box-shadow: var(--shadow);
}

.subscription-header h3,
.subscription-highlight h3 {
    margin: 0.75rem 0;
    font-size: 1.75rem;
}

.subscription-header p {
    color: var(--muted);
}

.subscription-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    color: #1a120c;
    background: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subscription-plans {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.subscription-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.subscription-plan strong {
    display: block;
    font-size: 1rem;
}

.subscription-plan span {
    color: var(--muted);
    font-size: 0.9rem;
}

.subscription-plan b {
    color: var(--accent-strong);
    font-size: 1.05rem;
    white-space: nowrap;
}

.subscription-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(216, 163, 95, 0.22);
    border-radius: 1.5rem;
    background: rgba(216, 163, 95, 0.08);
}

.map-card {
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map-card iframe {
    min-height: 420px;
}

.contact-card {
    padding: 2rem;
    border-radius: 1.6rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1rem 0 1.5rem;
    font-weight: 700;
}

.hours-list {
    display: grid;
    gap: 0.9rem;
}

.hours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.internal-hero {
    padding: 5rem 0 2rem;
}

.internal-hero p {
    max-width: 44rem;
    margin: 1rem 0 0;
}

.table-shell {
    overflow: hidden;
    border-radius: 1.6rem;
}

.service-table {
    color: var(--text);
}

.service-table thead th {
    padding: 1.2rem 1.4rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--line);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.service-table tbody td {
    padding: 1.3rem 1.4rem;
    border-color: var(--line);
    background: var(--panel-solid);
    vertical-align: middle;
}

.service-table .text-muted {
    color: var(--muted) !important;
}

.site-footer {
    padding: 1.5rem 0 2.25rem;
    border-top: 1px solid var(--line);
}

.auth-page {
    min-height: 100vh;
}

.auth-main {
    padding: 4.5rem 0;
}

.auth-section {
    position: relative;
    min-height: 70vh;
}

.auth-showcase,
.auth-card {
    height: 100%;
}

.auth-showcase h1,
.auth-card h2 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    line-height: 1;
}

.auth-showcase h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.auth-showcase p {
    margin-top: 1rem;
    color: var(--muted);
}

.auth-metrics {
    margin-top: 2rem;
}

.auth-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        var(--panel);
    box-shadow: var(--shadow);
}

.auth-card-copy {
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.auth-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--text);
    font-weight: 700;
}

.auth-input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--text);
    background: rgba(10, 8, 7, 0.55);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
    color: rgba(194, 181, 170, 0.72);
}

.auth-input:focus {
    outline: none;
    border-color: rgba(216, 163, 95, 0.75);
    box-shadow: 0 0 0 0.2rem rgba(216, 163, 95, 0.14);
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--muted);
}

.auth-checkbox input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.auth-terms {
    color: var(--muted);
}

.auth-terms .auth-checkbox {
    align-items: flex-start;
}

.auth-terms a {
    font-weight: 700;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.auth-submit {
    min-width: 160px;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
}

.auth-note {
    margin-top: 1.5rem;
    color: var(--muted);
}

.auth-alert {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid var(--line);
}

.auth-alert ul {
    padding-left: 1.1rem;
    margin-top: 0.6rem;
}

.auth-alert-error {
    border-color: rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.12);
    color: #ffd5da;
}

.auth-alert-success {
    border-color: rgba(29, 178, 107, 0.35);
    background: rgba(29, 178, 107, 0.12);
    color: #c7f1dd;
}

.developer-hero {
    padding-top: 4rem;
}

.developer-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.developer-list {
    display: grid;
    gap: 0.8rem;
    padding-left: 1.1rem;
    color: var(--muted);
}

.developer-list li::marker {
    color: var(--accent);
}

.developer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
}

.developer-tag {
    color: #1a120c;
}

.developer-public-card {
    gap: 1.25rem;
}

.developer-project-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.footer-brand {
    font-family: 'Oswald', sans-serif;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 4.5rem;
    }

    .hero-title {
        max-width: none;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .developer-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-carousel img {
        height: 360px;
    }

    .auth-main {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .brand-lockup img {
        width: 68px;
        height: 52px;
    }

    .hero-actions .btn,
    .btn-brand {
        width: 100%;
    }

    .hours-item,
    .service-footer,
    .subscription-plan,
    .subscription-highlight,
    .auth-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-table thead {
        display: none;
    }

    .service-table,
    .service-table tbody,
    .service-table tr,
    .service-table td {
        display: block;
        width: 100%;
    }

    .service-table tr {
        border-bottom: 1px solid var(--line);
    }

    .service-table tbody td {
        padding: 0.8rem 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-submit {
        width: 100%;
    }

    .developer-metrics {
        grid-template-columns: 1fr;
    }

    .developer-project-image {
        height: 170px;
    }
}
