@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --fgv-navy: #0a2540;
    --fgv-slate: #1e3a5f;
    --fgv-gold: #e8b84b;
    --fgv-gold-light: #fdf5dc;
    --fgv-emerald: #0d7a5f;
    --fgv-off: #f7f9fc;
    --fgv-border: #dde4ee;
    --fgv-text: #0a1628;
    --fgv-muted: #5c718a;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--fgv-off);
    color: var(--fgv-text);
    font: 400 .875rem/1.6 Inter, Arial, sans-serif;
}

.fgv-header {
    color: white;
    background:
        radial-gradient(circle at 93% 0, #e8b84b29, transparent 16rem),
        linear-gradient(135deg, var(--fgv-navy), var(--fgv-slate));
}
.fgv-header::after {
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--fgv-gold), var(--fgv-emerald), var(--fgv-gold));
    content: '';
}
.fgv-mentor-bar, .fgv-hero, .fgv-nav-inner, main {
    width: min(100% - 2rem, 74rem);
    margin-inline: auto;
}
.fgv-mentor-bar, .fgv-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-block: .75rem;
}
.fgv-mentor { display: flex; align-items: center; gap: .75rem; }
.fgv-mentor img {
    border: 2px solid var(--fgv-gold);
    border-radius: 50%;
    object-fit: cover;
}
.fgv-mentor small { display: block; color: #c4d0df; }
.fgv-chip {
    border: 1px solid #e8b84b55;
    border-radius: 20px;
    padding: .25rem .75rem;
    background: #e8b84b25;
    color: var(--fgv-gold);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.fgv-apresenta {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .2rem 1rem;
    color: var(--fgv-gold);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.fgv-apresenta::before, .fgv-apresenta::after {
    flex: 1;
    height: 1px;
    background: #e8b84b45;
    content: '';
}
.fgv-hero {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 4vw, 2.5rem);
    padding-block: 1.75rem 2.25rem;
}
.fgv-logo {
    width: clamp(4.5rem, 15vw, 8.75rem);
    height: auto;
    filter: drop-shadow(0 4px 16px #e8b84b40);
}
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: clamp(1.45rem, 4.5vw, 2.5rem); font-weight: 800; }
h1 em { color: var(--fgv-gold); font-style: normal; }
.fgv-hero p { margin: .55rem 0 0; color: #d1dbe8; }
.fgv-nav { background: white; border-bottom: 1px solid var(--fgv-border); }
.fgv-nav-inner { color: var(--fgv-navy); font-weight: 700; }
main { margin-block: 1.5rem 3rem; }
main.login {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    align-items: start;
    gap: 1rem;
    max-width: 58rem;
}
main.login > section { margin: 0; }
main.login > [role] { grid-column: 1 / -1; }
section {
    margin-block: 1rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid var(--fgv-border);
    border-top: 3px solid var(--fgv-gold);
    border-radius: .75rem;
    background: white;
    box-shadow: 0 4px 16px #0a254008;
}
h2, h3 { color: var(--fgv-navy); }
section > h3 { margin-top: 1rem; }
.forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.forms > section { margin-bottom: 0; }
.forms > section > h3 { margin-top: 0; }
label { display: block; margin: .8rem 0 .25rem; font-weight: 600; }
input, select, button { font: inherit; border-radius: .45rem; padding: .55rem .8rem; }
input, select { width: 100%; border: 1px solid #9aaabd; background: white; color: inherit; }
button { border: 1px solid transparent; background: var(--fgv-gold); color: var(--fgv-navy); font-weight: 700; cursor: pointer; }
button:hover { background: var(--fgv-gold-light); }
section button { margin-top: 1rem; }
.button-secondary { border-color: var(--fgv-border); background: var(--fgv-off); }
:focus-visible { outline: 3px solid var(--fgv-emerald); outline-offset: 2px; }
.error, .notice { padding: .65rem 1rem; border-radius: .5rem; font-weight: 600; }
.error { color: #9c2525; background: #fdecea; }
.notice { color: var(--fgv-emerald); background: #e3f5f0; }
.study-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
a { color: var(--fgv-slate); }
a[aria-current="page"] { font-weight: 800; }
.study-list { margin: .75rem 0 0; padding: 0; list-style: none; }
.study-list li { padding: .6rem 0; border-bottom: 1px solid var(--fgv-border); }
.study-list small { display: block; color: var(--fgv-muted); }
.study-text { white-space: pre-wrap; overflow-wrap: anywhere; }
textarea { width: 100%; padding: .55rem .8rem; border: 1px solid #9aaabd; border-radius: .45rem; font: inherit; }
.study-check { display: flex; align-items: baseline; gap: .5rem; }
.study-check input { width: auto; }
fieldset { border: 1px solid var(--fgv-border); border-radius: .45rem; }
summary { margin-block: .65rem; cursor: pointer; color: var(--fgv-slate); font-weight: 700; }
.student-cover {
    padding: clamp(1.2rem, 4vw, 2.5rem);
    border-bottom: 3px solid var(--fgv-gold);
    border-radius: .75rem .75rem 0 0;
    background: linear-gradient(135deg, var(--fgv-navy), var(--fgv-slate));
    color: white;
}
.student-cover h2 { color: white; font-size: clamp(1.5rem, 5vw, 2.35rem); }
.student-eyebrow, .student-kicker { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.student-eyebrow { margin-top: 0; color: var(--fgv-gold); }
.student-kicker { margin-top: 0; color: var(--fgv-emerald); }
.student-cover progress { width: min(100%, 19rem); accent-color: var(--fgv-gold); }
.study-button {
    display: inline-block;
    padding: .55rem .9rem;
    border-radius: .45rem;
    background: var(--fgv-gold);
    color: var(--fgv-navy);
    font-weight: 800;
    text-decoration: none;
}
.study-button:hover { background: var(--fgv-gold-light); }
.student-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding-inline: .5rem;
    border-radius: 0 0 .75rem .75rem;
    background: var(--fgv-navy);
}
.student-tabs a {
    padding: .7rem .8rem;
    border-bottom: 3px solid transparent;
    color: white;
    font-weight: 700;
    text-decoration: none;
}
.student-tabs a:hover, .student-tabs a[aria-current="page"] { border-bottom-color: var(--fgv-gold); color: var(--fgv-gold); }
.student-tabs span { margin-left: .2rem; padding: .1rem .4rem; border-radius: .75rem; background: #ffffff26; font-size: .75rem; }
.student-module-picker, .student-card { padding: .35rem .8rem; background: var(--fgv-gold-light); }
.student-material { scroll-margin-top: 1rem; }
.student-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.account-access { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.account-access button { margin: 0; }
