/* =========================================================
   FNOT
   HOME
========================================================= */
:root {
    --fnot-black: #000000;
    --fnot-white: #f5f5f5;
    --fnot-gray: #a3a3a3;
    --fnot-border: rgba(255, 255, 255, 0.42);
    --hero-header-height: 82px;
}

/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--fnot-black);
    color: var(--fnot-white);
    font-family: var(--font-primary);
}

.home {
    overflow-x: hidden;
}

/* =========================================================
   HERO — MOBILE FIRST
========================================================= */
.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--fnot-black);
}

/* Fotografia começa abaixo do cabeçalho */
.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: var(--hero-header-height);
    right: 0;
    bottom: 0;
    left: 0;

    background-image: url("../images/fundo_primeira_parte.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 28% center;

    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    z-index: 1;
    top: var(--hero-header-height);
    right: 0;
    bottom: 0;
    left: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0) 28%,
            rgba(0, 0, 0, 0.08) 70%,
            rgba(0, 0, 0, 0.78) 100%
        );

    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
    padding-right: 0;
    padding-left: 0;
}

/* =========================================================
   CABEÇALHO
========================================================= */
.hero__header {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: var(--hero-header-height);

    background-color: var(--fnot-black);
    border-bottom: 1px solid var(--fnot-border);
}


.hero__languages {
    position: absolute;
    top: 50%;
    right: 1.25rem;

    display: flex;
    align-items: center;
    gap: 0.35rem;

    transform: translateY(-50%);
}

.hero__language-link {
    position: relative;

    padding: 0.25rem 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.68rem;
    font-weight: var(--fw-medium);
    line-height: 1;
    letter-spacing: 0.12em;
    text-decoration: none;

    transition: color 160ms ease;
}

.hero__language-link:hover,
.hero__language-link:focus-visible {
    color: var(--fnot-white);
}

.hero__language-link.is-active {
    color: var(--fnot-white);
}

.hero__language-link.is-active::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;

    height: 1px;

    background-color: currentColor;
}

.hero__language-separator {
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.65rem;
}

.hero__brand {
    display: inline-flex;
    align-items: flex-start;

    margin: 0;
    padding: 0;

    color: var(--fnot-white);
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;

    font-size: clamp(1.45rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.hero__brand:hover,
.hero__brand:focus,
.hero__brand:focus-visible,
.hero__brand:active {
    color: var(--fnot-white);
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
    text-decoration: none;
}

.hero__brand sup {
    position: relative;
    top: -0.45em;
    margin-left: 0.12rem;
    font-size: 0.42em;
    letter-spacing: 0;
}

/* =========================================================
   CONTEÚDO CENTRAL
========================================================= */

.hero__content {
    position: relative;
    min-height: 0;
}

/* Menu lateral da referência mobile */

.hero__navigation {
    position: absolute;
    top: 18%;
    right: clamp(1.5rem, 8vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__navigation-link {
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(1rem, 4.7vw, 1.4rem);
    font-weight: 500;
    line-height: 1.12;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.hero__navigation-link:hover,
.hero__navigation-link:focus-visible {
    color: var(--fnot-white);
    transform: translateX(0.35rem);
}

/* Título */

.hero__title-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 0 1.25rem;
    transform: translateY(-50%);
}

.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    color: var(--fnot-white);
    font-size: clamp(2.2rem, 9.5vw, 4rem);
    font-family: "SF Pro Display";
    font-weight: var(--fw-semibold);
    line-height: 0.98;
    text-transform: uppercase;
    letter-spacing: -0.06em;
}

/* =========================================================
   INDICAÇÃO DE SCROLL
========================================================= */
.hero__scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 76px;
    padding: 1rem;
    color: var(--fnot-white);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
    color: var(--fnot-white);
}

.hero__scroll-arrow {
    display: inline-block;
    font-size: 1rem;
    animation: fnot-scroll-arrow 1.5s ease-in-out infinite;
}

@keyframes fnot-scroll-arrow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(0.35rem);
    }
}

/* =========================================================
   SEÇÕES POSTERIORES — ESTRUTURA INICIAL
========================================================= */
.content-section {
    display: flex;
    align-items: center;
    min-height: 70vh;
    padding: 6rem 0;
    background-color: #080808;
    color: var(--fnot-white);
}

.content-section--light {
    background-color: #eeeeee;
    color: #111111;
}

.content-section__eyebrow {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #878787;
}

.content-section__title {
    margin: 0;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #878787;
    text-transform: uppercase;
}


/* =========================================================
   ABOUT
========================================================= */
.about-section {
    display: block;
    padding-bottom: 0;
    background-color: #000000;
}

.about-section .container {
    width: 100%;
    padding-right: clamp(1.5rem, 8vw, 8rem);
    padding-left: clamp(1.5rem, 8vw, 8rem);
    background-color: #000000;
}

.about-section__content {
    width: 100%;
    max-width: none;
    background-color: #000000;
}

.about-section__content--left {
    margin-right: auto;
}

.about-section__content--right {
    margin-left: auto;
}

.about-section__content--right .content-section__title {
    text-align: right;
}

.about__description {
    width: 100%;
    color: #878787;
    font-size: 1.05rem;
    font-weight: var(--fw-regular);
    line-height: 1.9;
    letter-spacing: normal;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    white-space: pre-line;
}

.about-section__media {
    width: 100%;
    overflow: hidden;
    background-color: #000000;
}

.about__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */
@media (max-width: 359.98px) {

    .hero__languages {
        right: 0.75rem;
        gap: 0.2rem;
    }

    .hero__language-link {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    .hero__brand {
        font-size: 1.25rem;
    }

}

/* =========================================================
   TABLET
========================================================= */
@media (min-width: 576px) {

    .hero {
        background-position: 22% center;
    }

    .hero__header {
        min-height: 94px;
    }

    .hero__navigation {
        top: 20%;
        right: 12%;
    }

    .hero__title-wrapper {
        top: 55%;
    }

}

/* =========================================================
   DESKTOP
========================================================= */
@media (min-width: 992px) {

    :root {
        --hero-header-height: 80px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero::before {
        background-size: cover;
        background-position: center center;
    }

    .hero__container {
        min-height: 100vh;
    }

    .hero__header {
        justify-content: center;
        min-height: var(--hero-header-height);
        padding: 0;
    }

    .hero__brand {
        font-size: 2rem;
    }

    .hero__languages {
        right: clamp(3rem, 6vw, 8rem);
    }

    .hero__language-link {
        font-size: 0.72rem;
    }

    .hero__content {
        display: grid;
        grid-template-columns: 52% 48%;
    }

    .hero__navigation {
        position: absolute;
        top: 12%;
        right: clamp(4rem, 9vw, 11rem);
    }

    .hero__navigation-link {
        font-family: "SF Pro Display", sans-serif;
        font-size: clamp(1.15rem, 1.6vw, 1.75rem);
        font-weight: 300;
    }

    .hero__title-wrapper {
        top: 51%;
        right: 0; /*clamp(3rem, 6vw, 8rem);*/
        left: 0; /*auto;*/
        justify-content: center; /*flex-end;*/
        width: 100%; /*48%;*/
        padding: 0;
        transform: translateY(-50%);
    }

    .hero__title {
        align-items: flex-start;
        font-size: clamp(3.5rem, 5.5vw, 7rem);
        text-align: left;
    }

    .hero__scroll {
        justify-content: center;
        min-height: 80px;
        padding-right: 0;
        font-size: 0.82rem;
    }

    .about-section {
        padding-top: 5rem;
    }

    .about-section__content {
        margin-bottom: 3rem;
    }

    .about-section__image {
        height: 55vw;
        min-height: 260px;
        max-height: 520px;
        object-position: center;
    }
}

/* =========================================================
   TELAS GRANDES
========================================================= */
@media (min-width: 1200px) {

    .about-section__content {
        padding: 10px;
        width: 95%;
        text-align: center;
    }

    .about-section__content--left {
        margin-right: auto;
    }

    .about-section__content--right {
        margin-right: 0;
        margin-left: auto;
    }

}

@media (min-width: 1400px) {

    .hero__navigation {
        top: 15%;
    }

    .hero__title-wrapper {
        top: 54%;
    }

    .about-section__image {
        height: 820px;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero__navigation-link,
    .hero__scroll-arrow {
        transition: none;
        animation: none;
    }

}