/* ==========================================
   RESET
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #F5F1E8;
    color: #222222;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================
   VARIABLES
========================================== */

:root {

    --dark: #111111;
    --light: #F5F1E8;

    --text: #222222;
    --text-light: #F4F4F4;

    --accent: #8C7A4F;

    --border: #DDD6CA;

    --shadow:
        0 15px 35px rgba(0, 0, 0, .08);

    --shadow-hover:
        0 25px 55px rgba(0, 0, 0, .15);

}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

h1 {
    font-size: 5rem;
    line-height: 1;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.05rem;
}

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

/* ==========================================
   GLOBAL SPACING
========================================== */

.content {
    padding-left: 10%;
    padding-right: 10%;
}

.section {
    padding: 120px 0;
}

.light {
    background: var(--light);
}

.dark {
    background: var(--dark);
    color: white;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    letter-spacing: 2px;
}

.section-heading h2 {
    max-width: 800px;
}

/* ==========================================
   HEADER
========================================== */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(12px);
    background: rgba(17, 17, 17, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.header .container {
    padding: 22px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-weight: 600;
    letter-spacing: .5px;
}

.menu {
    display: flex;
    gap: 35px;
}

.menu a {
    color: white;
    transition: .3s;
}

.menu a:hover {
    color: var(--accent);
}

.login-link {
    opacity: .75;
    transition: .3s;
}

.login-link:hover {
    opacity: 1;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-primary,
.btn-header {

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

    padding: 16px 28px;

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

    transition: .35s ease;

    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(140, 122, 79, .35);

}

.btn-header {
    color: white;
}

.btn-header:hover {
    background: var(--accent);
}

/* ==========================================
   HERO
========================================== */

.hero {

    position: relative;

    overflow: hidden;

    min-height: 850px;

    display: flex;

    align-items: center;

    padding-top: 140px;
    padding-bottom: 120px;

    background: #111111;

}

/* IMAGEM DE FUNDO */

.hero-background-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: .80;

    pointer-events: none;

}

/* OVERLAY ESCURO */

.hero::after {

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(17, 17, 17, .96) 0%,
            rgba(17, 17, 17, .88) 45%,
            rgba(17, 17, 17, .75) 100%);

}

.hero-content {

    position: relative;

    z-index: 5;

    width: 100%;

    padding-left: 10%;
    padding-right: 10%;

}

.hero-text {

    max-width: 860px;

}

.eyebrow {

    color: var(--accent);

    letter-spacing: 2px;

    text-transform: uppercase;

    display: block;

    margin-bottom: 20px;

}

.hero h1 {

    color: white;

    margin-bottom: 25px;

    text-shadow:
        0 10px 30px rgba(0, 0, 0, .55);

}

.hero p {

    color: #D4D4D4;

    max-width: 650px;

    font-size: 1.15rem;

    margin-bottom: 35px;

}

.section-heading {

    margin-bottom: 60px;

}

.section-heading h2 {

    margin-bottom: 18px;

    max-width: 800px;

}

.section-heading-1 {

    max-width: 700px;

    color: #222222;

    font-size: 1.05rem;

    margin-bottom: 60px;

}


.section-heading p {

    max-width: 700px;

    color: #D4D4D4;

    font-size: 1.05rem;

}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-intro p {
    max-width: 700px;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ==========================================
   KNOWLEDGE GRID
========================================== */

.knowledge-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    margin-bottom: 60px;
}

.knowledge-grid div {

    padding: 28px;

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

    text-align: center;

    font-weight: 600;

    background: white;

    transition: .3s;

    box-shadow: var(--shadow);
}

.knowledge-grid div:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

/* ==========================================
   TEXT BLOCKS
========================================== */

.reading-block {

    max-width: 850px;

    display: flex;

    flex-direction: column;

    gap: 24px;
}

.light-text p {
    color: #D0D0D0;
}

/* ==========================================
   APPROACH CARDS
========================================== */

.cards-5 {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    margin-top: 50px;
}

.card {

    padding: 35px;

    border: 1px solid rgba(255, 255, 255, .12);

    background: rgba(255, 255, 255, .03);

    transition: .35s;

    backdrop-filter: blur(8px);
}

.card:hover {

    transform: translateY(-10px);

    border-color: var(--accent);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .4);
}

.closing-text {

    margin-top: 40px;

    color: #D4D4D4;
}

/* ==========================================
   PROCESS
========================================== */

.process-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.process-card {

    padding: 35px;

    background: white;

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

    transition: .3s;

    box-shadow: var(--shadow);
}

.process-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.process-card span {

    color: var(--accent);

    font-weight: 700;

    display: block;

    margin-bottom: 15px;
}

/* ==========================================
   SKILLS
========================================== */

.skills-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.skill-card {

    padding: 45px;

    border: 1px solid rgba(255, 255, 255, .08);

    transition: .35s;
}

.skill-card:hover {

    border-color: var(--accent);

    transform: translateY(-10px);
}

.skill-card p {

    margin-top: 15px;

    color: #D4D4D4;
}

/* ==========================================
   ABOUT
========================================== */

.about-layout {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.about-image img {
    display: flex;
    justify-content: center;
    width: 100%;

    height: auto;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: var(--shadow-hover);

    display: block;
}

.about-text {

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text span {
    color: var(--accent);
}

/* ==========================================
   BIBLIOTECA
========================================== */

.library-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.library-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 50px;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 24px;

    overflow: hidden;

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

/* Hover */

.library-mockup:hover {

    transform: translateY(-6px);

    border-color: rgba(220, 188, 140, .30);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .35);

}

/* Glow */

.library-mockup::before {
    content: '';

    position: absolute;

    width: 700px;
    height: 700px;

    background: radial-gradient(circle,
            rgba(140, 122, 79, 0.22) 0%,
            rgba(140, 122, 79, 0.08) 35%,
            rgba(140, 122, 79, 0) 75%);

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    transition:
        width .35s ease,
        height .35s ease,
        opacity .35s ease;
}

.library-mockup:hover::before {

    width: 760px;
    height: 760px;

}

/* Notebook */

.library-dashboard-image {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 700px;

    display: block;

    transition:
        transform .35s ease;
}

.library-mockup:hover .library-dashboard-image {

    transform: scale(1.02);

}

.library-text {
    max-width: 600px;
}

.library-text p {
    margin-bottom: 32px;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* ==========================================
   CTA
========================================== */

.cta-section {

    text-align: center;

    padding: 140px 10%;

    background: var(--light);
}

.cta-section .content {

    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.cta-section span {

    color: var(--accent);

    display: block;

    margin-bottom: 20px;
}

.cta-section h2 {

    max-width: 900px;

    margin: 0 auto 40px;
}

.cta-section p {

    max-width: 960px;
    margin: 0 auto 24px;
    text-align: left;
    font-size: 1.15rem;
    line-height: 1.9;
}

.cta-section p:last-of-type {

    margin-bottom: 0;
}

.cta-section .btn-primary {
    margin-top: 35px;
}

/* ==========================================
   FOOTER
========================================== */

.footer {

    background: var(--dark);

    color: white;

    padding: 90px 10%;
}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer h4 {

    margin-bottom: 20px;
}

.footer a {

    display: block;

    margin-bottom: 12px;

    color: #BDBDBD;

    transition: .3s;
}

.footer a:hover {
    color: var(--accent);
}

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

@media(max-width:991px) {

    .hero-content,
    .about-layout,
    .library-layout {
        grid-template-columns: 1fr;
    }

    .cards-5,
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        gap: 60px;
    }

    .about-layout {
        gap: 60px;
    }

    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
        order: -1;
    }

    .about-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Biblioteca */

    .library-layout {
        gap: 60px;
    }

    .library-mockup {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        padding: 40px;
    }

    .library-mockup::before {
        width: 550px;
        height: 550px;
    }

    .library-dashboard-image {
        width: 100%;
        max-width: 700px;
        display: block;
        margin: 0 auto;
    }

    .library-text {
        max-width: 100%;
    }

}

@media(max-width:768px) {

    .content,
    .hero-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .menu {
        display: none;
    }

    .skills-grid,
    .cards-5,
    .process-grid,
    .knowledge-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-content {
        gap: 40px;
    }

    .about-layout {
        gap: 40px;
    }

    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Biblioteca */

    .library-layout {
        gap: 40px;
    }

    .library-mockup {
        padding: 20px;
        border-radius: 20px;
    }

    .library-mockup::before {
        width: 350px;
        height: 350px;
    }

    .library-dashboard-image {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    .library-text {
        text-align: left;
    }

    .library-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .cta-section {
        padding: 100px 5%;
    }

    .cta-section h2 {
        margin-bottom: 30px;
    }

    .cta-section p {
        font-size: 1.1rem;
        line-height: 1.85;
        margin-bottom: 20px;
    }

    .cta-section .btn-primary {
        margin-top: 28px;
    }

}

@media(max-width:480px) {

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 100px;
    }

    .about-image img {
        max-width: 280px;
    }

    .library-mockup {
        padding: 15px;
    }

    .library-mockup::before {
        width: 280px;
        height: 280px;
    }

    .library-dashboard-image {
        width: 100%;
        max-width: 100%;
    }

}
