* {
    box-sizing: border-box;
}

:root {
    --bg: #020814;
    --bg-soft: #061426;
    --gold: #d89422;
    --gold-light: #f5c46b;
    --text: #ffffff;
    --muted: #cbd5e1;
    --card: rgba(6, 20, 38, 0.86);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(216, 148, 34, .18), transparent 30%),
        radial-gradient(circle at top right, rgba(11, 44, 97, .9), transparent 38%),
        linear-gradient(135deg, #020814, #061426);
    color: var(--text);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

body.gallery-open {
    overflow: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.lp-page {
    width: 100%;
}

.lp-header {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(2, 8, 20, .72);
    border: 1px solid rgba(216, 148, 34, .35);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.lp-brand strong {
    color: var(--gold-light);
    font-size: 18px;
}

.lp-brand span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.lp-login {
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7a4306, var(--gold), var(--gold-light));
    color: var(--bg);
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, filter .2s ease;
}

.lp-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.lp-main {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.lp-hero {
    min-height: calc(100vh - 96px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
}

.lp-kicker {
    display: inline-flex;
    color: var(--gold-light);
    border: 1px solid rgba(216, 148, 34, .45);
    background: rgba(216, 148, 34, .08);
    padding: 9px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
    font-size: 14px;
}

.lp-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    margin: 0 0 24px;
    color: var(--gold);
}

.lp-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

.lp-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.lp-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, filter .2s ease;
}

.lp-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.lp-btn.primary {
    background: linear-gradient(135deg, #7a4306, var(--gold), var(--gold-light));
    color: var(--bg);
}

.lp-btn.secondary {
    border: 1px solid rgba(216, 148, 34, .65);
    color: var(--gold-light);
    background: rgba(2, 8, 20, .35);
}

.lp-hero-card {
    background: var(--card);
    border: 1px solid rgba(216, 148, 34, .55);
    border-radius: 28px;
    padding: 34px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.lp-hero-card img {
    width: min(240px, 70%);
    margin-bottom: 18px;
}

.lp-hero-card h2 {
    color: var(--gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    margin: 0 0 10px;
}

.lp-hero-card p {
    font-size: 15px;
    margin: 0;
}

.lp-section {
    padding: 54px 0;
}

.lp-section-title {
    text-align: center;
    margin-bottom: 28px;
}

.lp-section-title span {
    color: var(--gold-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lp-section-title h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--gold);
    font-size: clamp(30px, 4vw, 46px);
    margin: 8px 0 0;
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.lp-card {
    background: rgba(6, 20, 38, .82);
    border: 1px solid rgba(216, 148, 34, .35);
    border-radius: 20px;
    padding: 24px;
}

.lp-card h3 {
    color: var(--gold-light);
    margin: 0 0 10px;
}

.lp-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.lp-about {
    max-width: 900px;
    margin: auto;
    background: rgba(6, 20, 38, .82);
    border: 1px solid rgba(216, 148, 34, .35);
    border-radius: 24px;
    padding: 32px;
}

.lp-about p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 17px;
}

.lp-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.lp-values div {
    padding: 18px;
    text-align: center;
    border-radius: 16px;
    background: rgba(216, 148, 34, .10);
    border: 1px solid rgba(216, 148, 34, .42);
    color: var(--gold-light);
    font-weight: 700;
}

.lp-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lp-contact-box {
    background: rgba(6, 20, 38, .82);
    border: 1px solid rgba(216, 148, 34, .35);
    border-radius: 22px;
    padding: 26px;
}

.lp-contact-box h3 {
    color: var(--gold-light);
    margin-top: 0;
}

.lp-contact-box p {
    color: var(--muted);
    line-height: 1.6;
}

.lp-contact-box a:not(.lp-btn) {
    color: var(--gold-light);
}

.lp-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto 18px;
    padding: 20px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid rgba(216, 148, 34, .25);
}

/* GALERIA */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(216, 148, 34, .35);
    border-radius: 16px;
    background: var(--bg-soft);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .22);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transition: transform .35s ease, filter .35s ease;
}

.gallery-item span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(2, 8, 20, .82);
    border: 1px solid rgba(216, 148, 34, .45);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.05);
    filter: brightness(.78);
}

.gallery-item:hover span,
.gallery-item:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

/* MODAL DA GALERIA */

.gallery-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 72px 84px 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, .94) !important;
    backdrop-filter: blur(10px);
    overflow: hidden !important;
}

.gallery-modal.hidden {
    display: none !important;
}

.gallery-modal-content {
    position: relative;
    width: auto;
    max-width: 90vw;
    max-height: 84vh;
    margin: 0;
    padding: 0;
    text-align: center;
}

.gallery-modal-content img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, 1100px) !important;
    max-height: 74vh !important;
    margin: 0 auto;
    object-fit: contain !important;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .5);
}

.gallery-modal-content figcaption {
    margin-top: 12px;
    color: var(--gold-light);
    font-weight: 700;
}

.gallery-close,
.gallery-nav {
    position: fixed !important;
    z-index: 100000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(216, 148, 34, .55);
    border-radius: 50% !important;
    color: #fff;
    background: rgba(2, 8, 20, .82);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.gallery-close:hover,
.gallery-nav:hover {
    background: rgba(216, 148, 34, .25);
}

.gallery-close {
    top: 20px !important;
    right: 20px !important;
}

.gallery-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.gallery-prev {
    left: 20px !important;
}

.gallery-next {
    right: 20px !important;
}

/* TABLET */

@media (max-width: 950px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MOBILE GERAL */

@media (max-width: 850px) {
    .lp-header {
        margin-top: 12px;
        border-radius: 16px;
    }

    .lp-brand img {
        width: 44px;
        height: 44px;
    }

    .lp-brand strong {
        font-size: 15px;
    }

    .lp-brand span {
        display: none;
    }

    .lp-login {
        padding: 10px 16px;
        font-size: 14px;
    }

    .lp-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 48px 0 34px;
        text-align: center;
        gap: 28px;
    }

    .lp-hero p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .lp-actions {
        flex-direction: column;
    }

    .lp-btn {
        width: 100%;
    }

    .lp-hero-card {
        padding: 26px;
    }

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

    .lp-section {
        padding: 36px 0;
    }

    .lp-about {
        padding: 24px;
    }
}

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

    .gallery-modal {
        padding: 70px 14px 90px !important;
    }

    .gallery-modal-content {
        max-width: 96vw;
        max-height: 78vh;
    }

    .gallery-modal-content img {
        max-width: 94vw !important;
        max-height: 66vh !important;
    }

    .gallery-nav {
        top: auto !important;
        bottom: 18px !important;
        transform: none !important;
    }

    .gallery-prev {
        left: calc(50% - 58px) !important;
    }

    .gallery-next {
        right: calc(50% - 58px) !important;
    }
}

@media (max-width: 480px) {
    .lp-header,
    .lp-main,
    .lp-footer {
        width: min(100% - 20px, 1180px);
    }

    .lp-header {
        padding: 12px;
    }

    .lp-brand img {
        width: 40px;
        height: 40px;
    }

    .lp-login {
        padding: 9px 14px;
    }

    .lp-hero {
        padding-top: 36px;
    }

    .lp-hero h1 {
        font-size: 38px;
    }

    .lp-section-title h2 {
        font-size: 30px;
    }

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

    .gallery-item {
        aspect-ratio: 16 / 10;
    }

    .gallery-item span {
        opacity: 1;
        transform: none;
    }

    .gallery-modal-content img {
        max-width: 94vw !important;
        max-height: 62vh !important;
    }
}