
/* ==========================================
   LUCAS NASCIMENTO — DEVELOPER PORTFOLIO
   DARK MINIMAL / BLACK & WHITE
========================================== */

/* ---------- 1. CONFIGURAÇÕES GERAIS ---------- */

:root {
    --background: #080808;
    --background-secondary: #101010;
    --background-card: #141414;

    --white: #f5f5f5;
    --white-pure: #ffffff;

    --text: #d4d4d8;
    --text-muted: #929292;

    --border: #292929;
    --border-hover: #666666;

    --font-title: 'Space Grotesk', sans-serif;
    --font-text: 'Inter', sans-serif;
    --font-code: 'DM Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--white);
    font-family: var(--font-text);
    line-height: 1.7;
    letter-spacing: normal;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

::selection {
    background: white;
    color: black;
}

.gallery-item,
.education-card,
.contact-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
/* ==========================================
   2. HOME / HERO
========================================== */

.home {
    width: 100%;
    min-height: 500px;

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

    padding: 60px 20px;
    text-align: center;
}

.home h1 {
    max-width: 1000px;

    font-family: var(--font-title);
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 600;

    line-height: 1.12;
    letter-spacing: -0.055em;

    color: var(--white);
}

/* =========================================
   FOTO DE PERFIL - EFEITO DE PROFUNDIDADE
========================================= */

.hero-photo {
    width: 200px;
    height: 260px;
    object-fit: cover;
    object-position: center top;

    display: block;
    margin: 0 auto;

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);

    /* Profundidade */
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(255, 255, 255, 0.08);

    /* Transição suave */
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;

    position: relative;
    z-index: 2;
}

/* Efeito ao passar o rato */

.hero-photo:hover {
    transform: translateY(-8px) scale(1.03);

    border-color: rgba(255, 255, 255, 0.65);

    box-shadow:
        0 20px 35px rgba(0, 0, 0, 0.55),
        0 30px 65px rgba(0, 0, 0, 0.4),
        0 0 45px rgba(255, 255, 255, 0.15);
}

/* =========================================
   DESCRIÇÃO DO HERO
========================================= */

.hero-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 25px;

    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* =========================================
   RESPONSIVIDADE
========================================= */
@media (max-width: 768px) {

    .hero-photo {
        display: none;
    }

    .home {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-description {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        margin: 0;
        gap: 0;
    }

    .hero-description h3 {
        margin: 0;
    }
}
/* ==========================================
   3. CONTAINER PRINCIPAL
========================================== */

/* =========================================
   HERO / MENU PRINCIPAL
========================================= */


.futuristic-menu::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.07), transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 25%);

    animation: backgroundMove 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes backgroundMove {
    from {
        transform: translate(-2%, -1%);
    }

    to {
        transform: translate(2%, 1%);
    }
}

/* Conteúdo acima do fundo */

.futuristic-menu > * {
    position: relative;
    z-index: 2;
}

/* Animação de entrada */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==========================================
   4. MENU / NAVBAR
========================================== */

.container-menu-container {
    width: 100%;

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

    gap: 25px;
    padding: 15px 5%;

    background: rgba(8, 8, 8, 0.94);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

    position: relative;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.logo-img {
    width: 75px;
    height: auto;
    display: block;
    object-fit: contain;
}

.container-menu-container a {
    text-decoration: none;
}

.container-menu-container nav ul {
    display: flex;
    align-items: center;
    gap: 35px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.container-menu-container .nav-container .nav-item a {
    display: inline-block;

    color: var(--text-muted);

    font-family: var(--font-code);
    font-size: 12px;
    letter-spacing: 0.03em;

    transition: color 0.25s ease;
}

.container-menu-container .nav-container .nav-item:hover a {
    color: var(--white-pure);
}

/* Pequeno detalhe no hover */

.container-menu-container .nav-container .nav-item a::after {
    content: "";
    display: block;

    width: 0;
    height: 1px;

    margin-top: 5px;

    background: var(--white);

    transition: width 0.25s ease;
}

.container-menu-container .nav-container .nav-item:hover a::after {
    width: 100%;
}


/* ---------- MENU HAMBURGUER ---------- */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: 5px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    height: 2px;
    margin: 6px 0;

    background: var(--white);
    border-radius: 5px;

    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* ==========================================
   5. PROJETOS / GALERIA
========================================== */

/* =========================================
   SEÇÃO PROJETOS
========================================= */

.projects-section {
    width: 100%;
    padding: 80px 8% 100px;
    background: #080808;
    color: #f5f5f5;
}

/* Cabeçalho */

.projects-header {
    text-align: center;
    margin-bottom: 55px;
}


.projects-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.projects-header p {
    color: #999;
    font-size: 1rem;
}

/* Grelha dos projetos */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1250px;
    margin: 0 auto;
}

/* Cartões */

.gallery-item {
    position: relative;
    min-height: 350px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: linear-gradient(145deg, #171717, #0d0d0d);
    border: 1px solid #292929;
    border-radius: 16px;

    transition: transform 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;

    overflow: hidden;
}

/* Brilho subtil */

.gallery-item::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    background: radial-gradient(
        circle,
        rgba(255,255,255,0.08),
        transparent 70%
    );

    pointer-events: none;
}

/* Profundidade ao passar o rato */

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: #666;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.45),
        0 0 25px rgba(255,255,255,0.04);
}

/* Parte superior */

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.project-number {
    color: #777;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
}

.project-top i {
    font-size: 1.5rem;
    color: #aaa;
}

/* Conteúdo */

.project-type {
    color: #888;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
}

.project-content h3 {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin: 12px 0;
    text-align: left;
}

.project-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Tecnologias */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-tags span {
    padding: 6px 11px;
    background: #222;
    border: 1px solid #333;
    border-radius: 5px;

    color: #ddd;
    font-size: 0.75rem;
}

/* Links */

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;

    transition: gap 0.3s ease, color 0.3s ease;
}

.project-link:hover {
    color: #bbb;
    gap: 15px;
}

/* Estado do projeto */

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #aaaaaa;
    font-size: 0.8rem;
}

.project-status i {
    font-size: 0.55rem;
    color: #00ff80;
}

/* =========================================
   RESPONSIVIDADE
========================================= */

@media (max-width: 768px) {

    .projects-section {
        padding: 65px 6%;
    }

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

    .gallery-item {
        min-height: 320px;
        padding: 25px;
    }

    .projects-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {

    .gallery-item {
        min-height: 300px;
        padding: 22px;
    }

    .project-content h3 {
        font-size: 1.4rem;
    }
}


/* ==========================================
   6. DIVISORES E TÍTULOS DAS SECÇÕES
========================================== */

hr {
    width: 80%;
    max-width: 1100px;

    margin: 80px auto;

    border: none;
    border-top: 1px solid var(--border);
}

h2,
h3 {
    font-family: var(--font-title);
    color: var(--white);

    text-align: center;
    font-weight: 600;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(30px, 4vw, 42px);
    margin: 70px 0 45px;
}

h3 {
    font-size: 20px;
    margin: 15px 0;
}


/* ==========================================
   7. SECÇÃO QUEM SOU EU
========================================== */

.container-sobre-nos {
    width: 90%;
    max-width: 1200px;

    min-height: 480px;

    margin: 0 auto;
    padding: 40px 20px;

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

    gap: 65px;

    background: var(--background-secondary);

    border: 1px solid var(--border);
    border-radius: 8px;
}

.colum-sobre-nos1 {
    width: 42%;
    min-height: 420px;

    border-radius: 6px;

    background-image: url(../img/Foto-perfil.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 30%;

    border: 1px solid var(--border);
}

.colum-sobre-nos2 {
    width: 55%;
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 20px;

    text-align: left;

    font-family: var(--font-text);
    font-size: 15px;

    color: var(--text-muted);
    line-height: 1.9;
}


/* ==========================================
   8. CONTACTOS
========================================== */

/* =========================================
   CONTACTO - GRELHA DE CARTÕES
========================================= */

.contact-cards {
    width: 90%;
    max-width: 1100px;

    margin: 60px auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

/* CARTÕES */

.contact-card {
    min-width: 0;
    min-height: 240px;

    padding: 30px 18px;

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

    background: linear-gradient(
        145deg,
        var(--background-card),
        #0d0d0d
    );


    color: var(--text-muted);
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

/* EFEITO HOVER */

.contact-card:hover {
    transform: translateY(-7px);

    background: #191919;
    border-color: var(--border-hover);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(255, 255, 255, 0.04);
}

/* ÍCONES */

.contact-card > i {
    font-size: 32px;
    color: var(--white);

    margin-bottom: 20px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.contact-card:hover > i {
    transform: scale(1.12);
}

/* TÍTULOS */

.contact-card h3 {
    margin: 5px 0 10px;

    font-family: var(--font-title);
    font-size: 17px;

    letter-spacing: 0;
    color: var(--white);
}

/* DESCRIÇÃO */

.contact-card p {
    margin: 5px 0 18px;

    font-family: var(--font-text);
    font-size: 13px;

    color: var(--text-muted);
}

/* TEXTO DO LINK */

.contact-card span {
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 600;

    color: var(--white);
}

/* =========================================
   RESPONSIVIDADE
========================================= */

@media (max-width: 900px) {

    .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}

@media (max-width: 550px) {

    .contact-cards {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 40px auto;
    }

    .contact-card {
        min-height: 190px;
    }

}

/* ==========================================
   9. FOOTER
========================================== */

.rodape,
.social {
    margin: 0;
    padding: 0;
}

.footer {
    width: 100%;

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

    padding: 30px 20px;

    background: #050505;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    text-align: center;
    font-family: var(--font-code);
    font-size: 11px;
    letter-spacing: 0.03em;
}


/* ==========================================
   10. RESPONSIVIDADE — TABLETS
========================================== */

@media (max-width: 1100px) {

    div.gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 90%;
    }

    div.gallery-item img {
        height: 330px;
    }

    .container-menu-container nav ul {
        gap: 20px;
    }
}


/* ==========================================
   11. RESPONSIVIDADE — MENU MOBILE
========================================== */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .container-menu-container {
        padding: 12px 20px;
    }

    .nav-container {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: none;

        padding: 20px;

        background: #0b0b0b;

        border-bottom: 1px solid var(--border);

        z-index: 999;
    }

    .nav-container.active {
        display: block;
    }

    .container-menu-container nav ul {
        flex-direction: column;
        align-items: flex-start;

        gap: 18px;
    }

    .container-menu-container .nav-container .nav-item a {
        font-size: 13px;
    }
}


/* ==========================================
   12. RESPONSIVIDADE — QUEM SOU EU
========================================== */

@media (max-width: 900px) {

    .container-sobre-nos {
        gap: 30px;
        padding: 30px;
    }

    .colum-sobre-nos1 {
        width: 45%;
        min-height: 350px;
    }

    .colum-sobre-nos2 {
        width: 55%;
        min-height: 300px;
        font-size: 14px;
    }
}


/* ==========================================
   13. RESPONSIVIDADE — CONTACTOS
========================================== */

@media (max-width: 900px) {

    .contact-cards {
        flex-wrap: wrap;
        gap: 18px;
    }

    .contact-card {
        flex: 0 0 calc(50% - 10px);
        max-width: none;
    }
}


/* ==========================================
   14. RESPONSIVIDADE — TELEMÓVEIS
========================================== */

@media (max-width: 650px) {

    .home {
        min-height: 400px;
        padding: 40px 20px;
    }

    .home h1 {
        font-size: clamp(35px, 9vw, 48px);
        line-height: 1.15;
    }

    .futuristic-menu {
        min-height: 480px;
        background-position: center;
    }

    .logo-img {
        width: 65px;
    }

    /* Galeria */

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

        width: 90%;

        gap: 20px;
        margin: 65px auto;
    }

    div.gallery-item img {
        height: 280px;
    }

    /* Quem sou eu */

    .container-sobre-nos {
        flex-direction: column;

        width: 90%;

        padding: 22px;
        gap: 25px;
    }

    .colum-sobre-nos1 {
        width: 100%;
        max-width: 450px;
        min-height: 320px;
    }

    .colum-sobre-nos2 {
        width: 100%;
        min-height: auto;

        padding: 10px 2px;

        font-size: 14px;
        text-align: left;
    }

    /* Contactos */

    .contact-cards {
        width: 90%;

        flex-direction: column;
        align-items: center;

        gap: 16px;
        margin: 40px auto;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;

        min-height: 190px;
        flex: none;
    }

    .contact-card i {
        font-size: 29px;
        margin-bottom: 12px;
    }

    .contact-card h3 {
        font-size: 16px;
    }

    .contact-card p {
        font-size: 13px;
    }

    /* Títulos */

    h2 {
        font-size: 29px;
        margin: 55px 0 35px;
    }

    h3 {
        font-size: 18px;
    }

    hr {
        width: 85%;
        margin: 55px auto;
    }

    /* Footer */

    .footer {
        padding: 22px 15px;
        font-size: 10px;
    }
}


/* ==========================================
   15. ACESSIBILIDADE E MOVIMENTO
========================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   SEÇÃO FORMAÇÕES
========================================= */

.education-section {
    width: 100%;
    padding: 90px 8% 100px;
    background: #080808;
    color: var(--white);
}

/* Cabeçalho */

.education-header {
    text-align: center;
    margin-bottom: 55px;
}

.education-header h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 12px 0;
}

.education-header p {
    color: var(--text-muted);
    font-family: var(--font-text);
    font-size: 15px;
    line-height: 1.7;
}

/* Grelha */

.education-cards {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* Cartões */

.education-card {
    position: relative;
    min-height: 360px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    background: linear-gradient(145deg, #171717, #0d0d0d);

    border: 1px solid var(--border);
    border-radius: 12px;

    transition: transform 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;

    overflow: hidden;
}

/* Brilho de fundo */

.education-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    background: radial-gradient(
        circle,
        rgba(255,255,255,0.07),
        transparent 70%
    );

    pointer-events: none;
}

/* Hover */

.education-card:hover {
    transform: translateY(-7px);
    border-color: var(--border-hover);

    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Topo */

.education-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.education-number {
    color: #777;
    font-family: monospace;
    font-size: 13px;
}

.education-top i {
    color: #ccc;
    font-size: 25px;
}

/* Conteúdo */

.education-type {
    color: #888;
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.education-content h3 {
    color: var(--white);
    font-family: var(--font-title);
    font-size: 21px;
    text-align: left;
    margin: 13px 0 8px;
    line-height: 1.4;
}

.education-content h4 {
    color: #aaa;
    font-family: var(--font-title);
    font-size: 16px;
    margin-bottom: 18px;
}

.education-content p {
    color: var(--text-muted);
    font-family: var(--font-text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Tecnologias */

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.education-tags span {
    padding: 7px 11px;

    background: #222;
    border: 1px solid #333;
    border-radius: 5px;

    color: #ddd;
    font-size: 11px;
}

/* Data */

.education-date {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: auto;

    color: #888;
    font-size: 13px;
}

/* =========================================
   RESPONSIVIDADE
========================================= */

@media (max-width: 768px) {

    .education-section {
        padding: 65px 6%;
    }

    .education-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .education-card {
        min-height: 330px;
        padding: 25px;
    }

    .education-header {
        margin-bottom: 35px;
    }
}


/* =========================================
   SEÇÃO CURRICULUM VITAE
========================================= */


/* =========================
   CV SECTION
========================= */

.cv-section {
    width: 84%;
    max-width: 1100px;
    margin: 30px auto 100px;
    padding: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: linear-gradient(145deg, #191919, #0c0c0c);
    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Conteúdo */

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 650px;
}

.cv-heading h2 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.cv-heading p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* Botões */

.cv-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cv-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 20px;

    background: var(--white);
    color: #080808;

    border: 1px solid var(--white);
    border-radius: 6px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.cv-button:hover {
    background: #ccc;
    border-color: #ccc;
    transform: translateY(-3px);
}

/* Segundo botão */

.cv-button-outline {
    background: transparent;
    color: var(--white);
}

.cv-button-outline:hover {
    background: var(--white);
    color: #080808;
    border-color: var(--white);
}

/* Ícone PDF */

.cv-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #ddd;
}

.cv-icon i {
    font-size: 65px;
}

.cv-icon span {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 3px;
    color: #888;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 650px) {

    .cv-section {
        width: 90%;
        padding: 30px 22px;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 25px;
        margin-bottom: 70px;
    }

    .cv-content {
        width: 100%;
    }

    .cv-heading h2 {
        font-size: 21px;
    }

    .cv-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .cv-button {
        width: 100%;
        box-sizing: border-box;
    }

    .cv-icon {
        align-self: center;
    }

    .cv-icon i {
        font-size: 48px;
    }
}

/* =========================================
   SEÇÃO IDIOMAS
========================================= */

.languages-section {
    width: 100%;
    
    background: var(--background);
    color: var(--white);
}

.languages-header {
    text-align: center;
    margin-bottom: 45px;
}

.languages-header h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 12px 0;
}

.languages-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Grelha */

.languages-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Cartões */

.language-card {
    min-height: 150px;
    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;

    background: linear-gradient(145deg, #171717, #0d0d0d);
    border: 1px solid var(--border);
    border-radius: 12px;

    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.language-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Ícone */

.language-icon {
    color: #ddd;
    font-size: 23px;
}

/* Nome e descrição */

.language-info h3 {
    color: var(--white);
    font-family: var(--font-title);
    font-size: 19px;
    text-align: left;
    margin-bottom: 4px;
}

.language-info span {
    color: var(--text-muted);
    font-size: 13px;
}

/* Nível */

.language-level {
    color: #ccc;
    font-family: var(--font-code);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsividade */

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

@media (max-width: 550px) {
    .languages-section {
        padding: 60px 6%;
    }

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


.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-code);
    font-size: 15px;
}

.language-selector button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 2px;
    transition: color 0.3s ease;
}

.language-selector button:hover,
.language-selector button.active {
    color: var(--white-pure);
}

.language-selector button.active {
    font-weight: 700;
}

.language-selector span {
    color: var(--border);
}





