:root {
    --bg-night: #140f0b;
    --bg-earth: #24160f;
    --bg-sand: #f4dfbe;
    --text-light: #f8f1e3;
    --text-mid: #e8d0a5;
    --text-dark: #2d1d15;
    --sun: #f3a02a;
    --sun-strong: #db6c22;
    --green-caatinga: #315c44;
    --card: #2a1c14;
    --stroke: rgba(249, 217, 160, 0.22);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background: radial-gradient(circle at 12% 16%, #3a2518 0%, var(--bg-night) 42%, #0f0a07 100%);
    color: var(--text-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand-text {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.04em;
}

p,
li,
span,
small {
    font-family: "Spectral", serif;
}

.section-space {
    padding: 5.4rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-mid);
}

.navbar-matinha {
    background: rgba(20, 14, 10, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(250, 225, 184, 0.12);
}

.brand-text {
    font-size: 1.25rem;
    color: #fff5e1;
}

.nav-link {
    color: #ffe6bd;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
    color: #ffd27e;
}

.btn-sunrise {
    border: none;
    color: #24140c;
    background: linear-gradient(120deg, #f9c150, var(--sun));
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(232, 128, 36, 0.36);
}

.btn-sunrise:hover,
.btn-sunrise:focus {
    background: linear-gradient(120deg, #ffd36f, #f39a2a);
    color: #1d120d;
}

.btn-outline-solar {
    border: 1px solid #f4be66;
    color: #f8d8a1;
    background: transparent;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.btn-outline-solar:hover,
.btn-outline-solar:focus {
    color: #2a180f;
    background: #f4be66;
}

.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: 4rem;
    background: linear-gradient(155deg, rgba(244, 136, 53, 0.2), rgba(16, 10, 7, 0.9));
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 242, 210, 0.06) 1px, transparent 1px),
        radial-gradient(rgba(255, 197, 115, 0.05) 1px, transparent 1px);
    background-size: 22px 22px, 32px 32px;
    background-position: 0 0, 16px 10px;
    pointer-events: none;
}

.hero-eyebrow {
    color: #ffd79b;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    margin-bottom: 1rem;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(3rem, 8.5vw, 6.8rem);
    line-height: 0.9;
    margin: 0;
}

.hero-title span {
    display: block;
    color: #ffd9aa;
    font-size: clamp(1.6rem, 4vw, 2.7rem);
    margin-top: 0.9rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    color: #f2d7ad;
    margin-top: 1.2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-badges span {
    border: 1px solid rgba(252, 217, 157, 0.34);
    color: #ffe9c5;
    border-radius: 999px;
    padding: 0.34rem 0.92rem;
    font-size: 0.84rem;
    backdrop-filter: blur(5px);
}

.hero-art-wrap {
    border: 1px solid rgba(251, 218, 161, 0.22);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.33);
}

.about-section {
    background: linear-gradient(180deg, rgba(21, 14, 10, 0.2), rgba(35, 23, 16, 0.84));
}

.about-card {
    background: linear-gradient(140deg, #2d1f15, #20140e);
    border: 1px solid var(--stroke);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.about-card li {
    padding: 0.36rem 0;
    border-bottom: 1px dashed rgba(244, 223, 186, 0.16);
}

.telemetry-section {
    background:
        linear-gradient(180deg, rgba(28, 18, 12, 0.97), rgba(19, 13, 9, 0.95));
}

.feature-card {
    height: 100%;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(245, 199, 128, 0.24);
    background: linear-gradient(170deg, rgba(48, 32, 23, 0.9), rgba(29, 19, 14, 0.9));
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card h3 {
    font-size: 1.7rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 189, 90, 0.58);
}

.gallery-section {
    background: linear-gradient(180deg, rgba(20, 13, 10, 0.97), rgba(28, 18, 12, 0.94));
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    border: 1px solid rgba(243, 206, 142, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    background: #130e0a;
}

.gallery-item.large {
    grid-row: span 2;
}

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

.gallery-item figcaption {
    padding: 0.8rem 0.95rem;
    color: #f7e0b8;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.social-section {
    background: linear-gradient(180deg, rgba(22, 15, 11, 0.95), rgba(19, 12, 9, 0.96));
}

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

.social-post {
    border-radius: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, #2b1d15, #1f140f);
    border: 1px solid rgba(244, 211, 154, 0.22);
}

.social-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f6b954, #d96b23);
    color: #27180f;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
}

.social-header h3 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.social-header small {
    color: #eecf9f;
    font-family: "Manrope", sans-serif;
}

.social-photo {
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(250, 216, 157, 0.26);
    margin-bottom: 0.8rem;
}

.social-actions {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
}

.social-action {
    border: 1px solid rgba(246, 189, 105, 0.38);
    border-radius: 999px;
    background: rgba(250, 216, 157, 0.08);
    color: #ffe6be;
    padding: 0.4rem 0.8rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.social-action.is-liked {
    color: #29170f;
    background: #ffc86e;
}

.reaction-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.6rem;
}

.reaction-pills span {
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    background: rgba(255, 233, 197, 0.08);
    border: 1px solid rgba(248, 209, 146, 0.25);
    border-radius: 999px;
    padding: 0.2rem 0.58rem;
}

.social-caption {
    margin-bottom: 0.7rem;
}

.comment-thread {
    border-top: 1px solid rgba(244, 212, 157, 0.18);
    padding-top: 0.75rem;
}

.comment-item {
    background: rgba(12, 9, 7, 0.27);
    border: 1px solid rgba(243, 201, 132, 0.19);
    border-radius: 0.82rem;
    padding: 0.75rem;
    margin-bottom: 0.7rem;
}

.reply-item {
    margin-top: 0.5rem;
    margin-left: 1rem;
    padding: 0.5rem 0.7rem;
    border-left: 2px solid rgba(242, 170, 80, 0.55);
    background: rgba(18, 13, 10, 0.32);
}

.auth-modal {
    background: linear-gradient(180deg, #2a1c14, #1d130e);
    border: 1px solid rgba(244, 206, 144, 0.28);
    color: #fdeccd;
}

.auth-modal .modal-title {
    font-size: 1.9rem;
}

.form-control-auth {
    background: rgba(18, 12, 9, 0.8);
    border: 1px solid rgba(247, 210, 145, 0.25);
    color: #ffe7bf;
}

.form-control-auth:focus {
    background: rgba(18, 12, 9, 0.92);
    color: #ffefcf;
    border-color: #f4bb62;
    box-shadow: 0 0 0 0.2rem rgba(244, 187, 98, 0.2);
}

.auth-link {
    color: #ffd38b;
    text-decoration: none;
}

.auth-link:hover {
    color: #ffb648;
}

.access-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(246, 148, 46, 0.22), transparent 48%),
        linear-gradient(180deg, rgba(20, 13, 9, 0.95), rgba(16, 11, 8, 1));
}

.access-panel {
    border-radius: 1.1rem;
    border: 1px solid rgba(243, 201, 132, 0.22);
    overflow: hidden;
}

.site-footer {
    background: #120d09;
    border-top: 1px solid rgba(241, 205, 143, 0.2);
}

.footer-links a {
    color: #ffdba1;
    text-decoration: none;
    display: inline-block;
    padding: 0.1rem 0;
}

.footer-links a:hover {
    color: #ffbf5f;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 229, 179, 0.11);
    color: #cfae84;
    font-size: 0.88rem;
    font-family: "Manrope", sans-serif;
}

.reveal-up {
    opacity: 0;
    transform: translateY(18px);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5.5rem;
    }

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

    .gallery-item.large {
        grid-row: auto;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .section-space {
        padding: 4.2rem 0;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badges span {
        font-size: 0.76rem;
    }

    .btn-lg {
        width: 100%;
    }
}
