@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ========================================
   VARIÁVEIS
   ======================================== */

:root {

    --yellow: #F2C811;
    --yellow-hover: #FFD83D;

    --background: #0B0B0B;
    --background-secondary: #111111;

    --card: #171717;

    --text: #F5F5F5;
    --text-secondary: #A6A6A6;

    --border: #292929;

    --max-width: 1200px;
}


/* ========================================
   RESET
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    max-width: 100%;
}


.container {
    width: 90%;
    max-width: var(--max-width);

    margin: 0 auto;
}


/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    background: rgba(11, 11, 11, 0.88);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}


.nav-container {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-size: 1.25rem;
    font-weight: 700;

    letter-spacing: -0.03em;
}


.logo::after {
    content: ".";

    color: var(--yellow);
}


.nav {
    display: flex;

    gap: 32px;
}


.nav a {
    color: var(--text-secondary);

    font-size: 0.9rem;
    font-weight: 500;

    transition: color 0.2s ease;
}


.nav a:hover {
    color: var(--yellow);
}


/* ========================================
   HERO
   ======================================== */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 76px;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(242, 200, 17, 0.08),
            transparent 30%
        );
}


.hero-content {
    max-width: var(--max-width);
}


.eyebrow,
.section-label {
    color: var(--yellow);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    margin-bottom: 18px;
}


.hero h1 {
    max-width: 900px;

    font-size: clamp(3.5rem, 8vw, 7.5rem);

    line-height: 0.98;

    letter-spacing: -0.065em;

    font-weight: 800;

    margin-bottom: 32px;
}


.hero h1 span {
    color: var(--yellow);
}


.hero-description {
    max-width: 650px;

    color: var(--text-secondary);

    font-size: 1.15rem;

    margin-bottom: 40px;
}


.hero-buttons {
    display: flex;

    gap: 16px;
}


/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 6px;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border 0.2s ease,
        transform 0.2s ease;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {
    background: var(--yellow);

    color: #111111;
}


.btn-primary:hover {
    background: var(--yellow-hover);
}


.btn-secondary {
    border: 1px solid var(--border);

    color: var(--text);
}


.btn-secondary:hover {
    border-color: var(--yellow);

    color: var(--yellow);
}


/* ========================================
   SEÇÕES
   ======================================== */

.section {
    padding: 120px 0;
}


.section-dark {
    background: var(--background-secondary);
}


.section h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.1;

    letter-spacing: -0.045em;

    margin-bottom: 20px;
}


.section-description {
    max-width: 650px;

    color: var(--text-secondary);

    margin-bottom: 60px;
}


/* ========================================
   PORTFÓLIO
   ======================================== */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


.project-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.project-card:hover {
    transform: translateY(-6px);

    border-color: rgba(242, 200, 17, 0.5);
}


.project-image {
    width: 100%;
    height: 220px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #F5F5F5;

    color: #555555;

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.2em;

    border-bottom: 1px solid var(--border);
}


.project-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;

    transition: transform 0.4s ease;
}


.project-card:hover .project-image img {
    transform: scale(1.025);
}


.project-content {
    padding: 28px;
}


.project-content > span {
    color: var(--yellow);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}


.project-content h3 {
    font-size: 1.4rem;

    margin: 10px 0 12px;
}


.project-content p {
    color: var(--text-secondary);

    font-size: 0.9rem;

    margin-bottom: 24px;
}


.project-content a {
    color: var(--text);

    font-size: 0.85rem;
    font-weight: 600;

    transition: color 0.2s ease;
}


.project-content a:hover {
    color: var(--yellow);
}


/* ========================================
   SOBRE
   ======================================== */

.about-content {
    display: grid;

    grid-template-columns: 280px minmax(0, 1fr);

    gap: 72px;

    align-items: center;
}


.about-profile {
    width: 100%;

    aspect-ratio: 1;

    overflow: hidden;

    border: 3px solid var(--yellow);

    border-radius: 50%;

    background: var(--card);

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}


.about-profile img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 27%;
}


.about-copy {
    max-width: 760px;
}


.about-text {
    color: var(--text-secondary);

    font-size: 1.08rem;

    line-height: 1.8;
}


.about-text + .about-text {
    margin-top: 20px;
}


.about-personal {
    color: var(--text);
}


/* ========================================
   TECNOLOGIAS
   ======================================== */

.technologies {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 40px;
}


.technologies span {
    padding: 10px 18px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 100px;

    color: var(--text-secondary);

    font-size: 0.85rem;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.technologies span:hover {
    border-color: var(--yellow);

    color: var(--yellow);

    transform: translateY(-2px);
}


/* ========================================
   CONTATO
   ======================================== */

.contact {
    background: var(--yellow);

    color: #111111;
}


.contact .section-label {
    color: #111111;
}


.contact-container {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;

    align-items: start;
}


.contact-header h2 {
    max-width: 500px;

    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 0.95;

    letter-spacing: -0.055em;

    margin-bottom: 28px;
}


.contact-description {
    max-width: 520px;

    color: rgba(17, 17, 17, 0.7);

    font-size: 1rem;

    line-height: 1.7;
}


.contact-links {
    display: flex;

    flex-direction: column;

    border-top: 1px solid rgba(17, 17, 17, 0.25);
}


.contact-card {
    position: relative;

    display: grid;

    grid-template-columns: 42px 1fr auto;

    gap: 24px;

    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid rgba(17, 17, 17, 0.25);

    color: #111111;

    transition:
        padding-left 0.25s ease,
        opacity 0.25s ease;
}


.contact-card:hover {
    padding-left: 10px;
}


.contact-icon {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.contact-icon svg {
    width: 25px;
    height: 25px;

    display: block;

    fill: currentColor;

    transition: transform 0.25s ease;
}


.contact-card:hover .contact-icon svg {
    transform: scale(1.12);
}


.contact-card strong {
    font-size: 1.05rem;

    font-weight: 600;
}


.contact-arrow {
    font-size: 1.5rem;

    transition: transform 0.25s ease;
}


.contact-card:hover .contact-arrow {
    transform: translate(4px, -4px);
}


/* ========================================
   FOOTER
   ======================================== */

footer {
    padding: 32px 0;

    border-top: 1px solid var(--border);

    color: var(--text-secondary);

    font-size: 0.8rem;
}


.footer-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.footer-container a {
    transition: color 0.2s ease;
}


.footer-container a:hover {
    color: var(--yellow);
}


/* ========================================
   PÁGINA DE PROJETO
   ======================================== */

.project-hero {
    padding: 180px 0 80px;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(242, 200, 17, 0.08),
            transparent 30%
        );
}


.back-link {
    display: inline-block;

    color: var(--text-secondary);

    font-size: 0.85rem;
    font-weight: 500;

    margin-bottom: 70px;

    transition: color 0.2s ease;
}


.back-link:hover {
    color: var(--yellow);
}


.project-hero h1 {
    max-width: 900px;

    font-size: clamp(3.5rem, 7vw, 7rem);

    line-height: 0.98;

    letter-spacing: -0.06em;

    margin-bottom: 32px;
}


.project-hero h1 span {
    color: var(--yellow);
}


.project-lead {
    max-width: 750px;

    color: var(--text-secondary);

    font-size: 1.2rem;

    margin-bottom: 36px;
}


.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.project-tags span {
    padding: 8px 14px;

    border: 1px solid var(--border);

    border-radius: 100px;

    color: var(--text-secondary);

    font-size: 0.78rem;
}


.project-showcase {
    padding: 20px 0 100px;
}


.project-main-image {
    overflow: hidden;

    background: #F5F5F5;

    border: 1px solid var(--border);

    border-radius: 12px;
}


.project-main-image img {
    display: block;

    width: 100%;
    height: auto;
}


.project-details-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}


.project-text {
    max-width: 700px;
}


.project-text p {
    color: var(--text-secondary);

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 24px;
}


.metrics-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-top: 60px;
}


.metric-card {
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 10px;
}


.metric-card > span {
    color: var(--yellow);

    font-size: 0.75rem;
    font-weight: 700;
}


.metric-card h3 {
    margin: 30px 0 12px;

    font-size: 1.1rem;
}


.metric-card p {
    color: var(--text-secondary);

    font-size: 0.85rem;
}


/* ========================================
   POWER BI INTERATIVO
   ======================================== */

.powerbi-container {
    position: relative;

    width: 100%;
    max-width: 1200px;

    aspect-ratio: 16 / 9;

    margin: 50px auto 0;

    background: #0D0D0D;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;
}


.powerbi-container iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    min-width: 100%;
    min-height: 100%;

    border: none;

    display: block;
}


/* ========================================
   NAVEGAÇÃO ENTRE PROJETOS
   ======================================== */

.project-navigation {
    padding: 100px 0;

    background: var(--yellow);

    color: #111111;
}


.project-navigation p {
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.15em;

    margin-bottom: 12px;
}


.project-navigation a {
    font-size: clamp(2rem, 5vw, 4rem);

    font-weight: 800;

    letter-spacing: -0.05em;
}


/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 900px) {

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }


    .contact-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .about-content {
        grid-template-columns: 230px minmax(0, 1fr);

        gap: 48px;
    }


    .project-details-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 700px) {

    .nav {
        display: none;
    }


    .nav-container {
        height: 64px;
    }


    .hero {
        min-height: 90vh;

        padding-top: 64px;
    }


    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }


    .hero-description {
        font-size: 1rem;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .projects-grid {
        grid-template-columns: 1fr;
    }


    .about-content {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .about-profile {
        width: min(220px, 65vw);
    }


    .section {
        padding: 80px 0;
    }


    .project-image {
        height: 200px;
    }


    .contact-card {
        grid-template-columns: 36px 1fr auto;

        gap: 15px;

        padding: 24px 0;
    }


    .contact-card strong {
        font-size: 0.9rem;
    }


    .contact-icon svg {
        width: 22px;
        height: 22px;
    }


    .footer-container {
        flex-direction: column;

        align-items: flex-start;
    }


    .project-hero {
        padding: 130px 0 60px;
    }


    .back-link {
        margin-bottom: 50px;
    }


    .metrics-grid {
        grid-template-columns: 1fr;
    }

}
