.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.header-shell {
    width: min(1280px, calc(100% - 64px));
    height: 92px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-img img {
    width: 118px;
    height: 58px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 34px;
}

.menu a {
    position: relative;
    color: rgb(242 239 232 / 72%);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 180ms ease;
}

.menu a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--gold-light);
}

.menu a:hover::after,
.menu a:focus-visible::after {
    transform: scaleX(1);
}

.menu .nav-contact {
    padding: 12px 18px;
    border: 1px solid rgb(200 173 115 / 55%);
}

.menu .nav-contact::after {
    display: none;
}

.hero-container {
    position: relative;
    min-height: 720px;
    height: 92vh;
    max-height: 920px;
    overflow: hidden;
    background: #080808;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% 50%;
    filter: contrast(1.08) saturate(0.72) brightness(0.76);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(5 5 5 / 92%) 0%, rgb(5 5 5 / 58%) 38%, rgb(5 5 5 / 8%) 68%),
        linear-gradient(0deg, rgb(5 5 5 / 64%) 0%, transparent 38%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1280px, calc(100% - 64px));
    height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
}

.eyebrow {
    color: var(--gold);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 720px;
    margin: 22px 0 24px;
    color: #f4f1e9;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(58px, 7vw, 104px);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.hero-content h1 em {
    color: var(--gold-light);
    font-style: normal;
}

.hero-description {
    max-width: 430px;
    color: rgb(242 239 232 / 70%);
    font-size: 16px;
    line-height: 1.75;
}

.hero-button {
    min-width: 210px;
    margin-top: 38px;
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgb(200 173 115 / 70%);
    color: var(--gold-light);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 200ms ease, color 200ms ease;
}

.hero-button:hover {
    color: var(--ink);
    background: var(--gold-light);
}

.hero-index {
    position: absolute;
    z-index: 4;
    right: 32px;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgb(242 239 232 / 60%);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
}

.hero-index-line {
    width: 58px;
    height: 1px;
    background: rgb(255 255 255 / 30%);
}

.collections {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
    padding: 112px 0 120px;
}

.product-container {
    width: min(1280px, calc(100% - 64px));
    margin: 120px auto 84px;
    padding: 40px;
    border: 1px solid rgb(200 173 115 / 20%);
    background:
        linear-gradient(145deg, rgb(200 173 115 / 5%), transparent 48%),
        var(--ink-soft);
}

.product-container .section-heading h1 {
    margin-top: 12px;
    color: var(--paper);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.section-heading {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-heading h2 {
    margin-top: 12px;
    color: var(--paper);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.section-heading > p {
    max-width: 290px;
    padding-bottom: 7px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 16px;
}

.collections .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-container .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-cards {
    overflow: hidden;
    border: 1px solid rgb(200 173 115 / 20%);
    background: var(--ink-soft);
    transition: border-color 260ms ease, transform 260ms ease;
}

.products-cards:hover {
    border-color: rgb(200 173 115 / 55%);
    transform: translateY(-4px);
}

.products-cards-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--paper);
}

.products-cards-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 300ms ease;
}

.products-cards:hover .products-cards-image img {
    transform: scale(1.04);
}

.products-cards-copy {
    min-height: 146px;
    padding: 24px;
    border-top: 1px solid rgb(200 173 115 / 24%);
}

.products-cards-copy h2 {
    margin-bottom: 10px;
    color: var(--paper);
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.products-cards-copy p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgb(200 173 115 / 16%);
    background:
        linear-gradient(145deg, rgb(200 173 115 / 8%), transparent 55%),
        var(--ink-soft);
    transition: transform 260ms ease, border-color 260ms ease;
}

.product-card::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: 44%;
    left: 50%;
    border: 1px solid rgb(200 173 115 / 12%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 36px rgb(200 173 115 / 2%),
        0 0 0 72px rgb(200 173 115 / 2%);
}

.product-card.featured {
    background-color: var(--ink-soft);
    background-position: center, center;
    background-size: cover, contain;
    background-repeat: no-repeat;
}

.collections .product-card.featured {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 2.8 / 1;
}

.product-card.featured.tokai-card {
    background-image:
        linear-gradient(90deg, rgb(8 8 8 / 82%) 0%, rgb(8 8 8 / 48%) 52%, rgb(8 8 8 / 10%) 100%),
        url("../img/oculos/armacao-colorida-tokai-azul.webp");
}

.product-card.featured.infantil-card {
    background-image:
        linear-gradient(90deg, rgb(8 8 8 / 82%) 0%, rgb(8 8 8 / 48%) 52%, rgb(8 8 8 / 10%) 100%),
        url("../img/oculos/infantil-graduada-rosa.webp");
}

.product-card.featured.panther-card {
    background-image:
        linear-gradient(90deg, rgb(8 8 8 / 82%) 0%, rgb(8 8 8 / 48%) 52%, rgb(8 8 8 / 10%) 100%),
        url("../img/oculos/panther-polarizado-azul.webp");
}

.product-card.featured::before {
    display: none;
}

.collections .product-card.featured .card-number {
    padding: 14px 18px;
}

.collections .product-card.featured .card-copy {
    padding: 16px 18px;
}

.collections .product-card.featured .card-copy h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2vw, 26px);
}

.product-card:hover {
    border-color: rgb(200 173 115 / 48%);
    transform: translateY(-6px);
}

.card-number {
    position: relative;
    z-index: 2;
    padding: 24px;
    color: rgb(200 173 115 / 65%);
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
}

.card-copy {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.card-copy p {
    color: var(--muted);
    font-size: 12px;
}

.card-copy h3 {
    margin: 7px 0 24px;
    color: var(--paper);
    font-family: "Montserrat", sans-serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.card-copy span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer {
    width: min(1280px, calc(100% - 64px));
    margin-inline: auto;
    padding: 48px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid rgb(255 255 255 / 8%);
}

.footer-brand img {
    width: 108px;
    height: 54px;
    object-fit: contain;
}

.footer-brand p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
}

.footer-meta {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 11px;
}

.footer-meta a {
    color: var(--gold);
}

@media (max-width: 900px) {
    .header-shell,
    .hero-content,
    .collections,
    .product-container,
    .footer {
        width: min(100% - 40px, 1280px);
    }

    .product-container {
        padding: 32px;
    }

    .header-shell {
        height: 78px;
    }

    .header-img img {
        width: 96px;
    }

    .menu {
        gap: 18px;
    }

    .menu li:nth-child(3),
    .menu li:nth-child(4) {
        display: none;
    }

    .hero-container {
        height: 86vh;
        min-height: 620px;
    }

    .hero-video {
        object-position: 58% 50%;
    }

    .hero-vignette {
        background:
            linear-gradient(90deg, rgb(5 5 5 / 88%) 0%, rgb(5 5 5 / 32%) 68%, rgb(5 5 5 / 12%) 100%),
            linear-gradient(0deg, rgb(5 5 5 / 72%) 0%, transparent 50%);
    }

    .hero-content h1 {
        font-size: clamp(52px, 10vw, 82px);
    }

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

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

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

    .collections .product-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 8px);
    }
}

@media (max-width: 600px) {
    .header-shell,
    .hero-content,
    .collections,
    .product-container,
    .footer {
        width: calc(100% - 32px);
    }

    .site-header {
        background: linear-gradient(180deg, rgb(8 8 8 / 72%), transparent);
        border-bottom: 0;
    }

    .header-shell {
        height: 70px;
    }

    .header-img img {
        width: 82px;
        height: 44px;
    }

    .menu li:not(:last-child) {
        display: none;
    }

    .menu .nav-contact {
        padding: 10px 12px;
        font-size: 10px;
    }

    .hero-container {
        min-height: 680px;
        height: 92svh;
        max-height: 780px;
    }

    .hero-video {
        object-position: 58% 50%;
    }

    .hero-vignette {
        background:
            linear-gradient(90deg, rgb(5 5 5 / 82%) 0%, rgb(5 5 5 / 22%) 100%),
            linear-gradient(0deg, rgb(5 5 5 / 82%) 0%, transparent 58%);
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        margin: 16px 0 18px;
        font-size: clamp(46px, 15vw, 64px);
        line-height: 0.98;
    }

    .hero-description {
        max-width: 330px;
        font-size: 14px;
    }

    .hero-button {
        margin-top: 28px;
    }

    .hero-index {
        display: none;
    }

    .collections {
        padding: 76px 0 84px;
    }

    .product-container {
        margin-top: 100px;
        margin-bottom: 64px;
        padding: 24px 18px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

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

    .product-container .products-grid {
        grid-template-columns: 1fr;
    }

    .collections .products-grid {
        grid-template-columns: 1fr;
    }

    .collections .product-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .products-cards-copy {
        min-height: 0;
        padding: 20px;
    }

    .collections .product-card.featured .card-number {
        padding: 8px 12px;
    }

    .collections .product-card.featured .card-copy {
        padding: 10px 12px;
    }

    .collections .product-card.featured .card-copy h3 {
        margin: 0 0 6px;
        font-size: 20px;
    }

    .product-card {
        min-height: 300px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 34px;
    }

    .footer-meta {
        width: 100%;
        justify-content: space-between;
    }
}