* {
    box-sizing: border-box;
}

:root {
    --font-brand: "Cinzel", Georgia, serif;
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "EB Garamond", Georgia, serif;

    --navy-950: #0d3052;
    --navy-900: #0d365f;
    --navy-850: #0e416d;
    --navy-800: #0f4c75;
    --navy-700: #195e81;

    --blue-metal-dark: #0a2138;
    --blue-metal: #174766;
    --blue-metal-light: #517b92;
    --blue-highlight: #a8bfcb;

    --gold-dark: #f0db6e;
    --gold: #c69a4b;
    --gold-light: #dfc07d;
    --gold-highlight: #f3e2b1;
    --gold-shadow: #dfb235;

    --white: #ffffff;
    --cream: #f8f6f1;
    --cream-dark: #eee9df;
    --surface: #f1f4f6;
    --text: #203344;
    --muted: #667684;

    --border: rgba(13, 41, 69, 0.13);
    --border-light: rgba(255, 255, 255, 0.13);

    --metallic-gold:
        linear-gradient(
            125deg,
            #dfb235 0%,
            #c69a4b 22%,
            #f3e2b1 44%,
            #d5aa5f 61%,
            #d19020 100%
        );

    --metallic-blue:
        linear-gradient(
            135deg,
            #071a2c 0%,
            #123957 24%,
            #517b92 45%,
            #194866 62%,
            #091e33 100%
        );

    --container: 1180px;
    --radius-small: 8px;
    --radius-medium: 18px;
    --radius-large: 32px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.main-navigation,
.header-actions,
.hero-eyebrow,
.button,
.footer-column h2 {
    font-family: var(--font-brand);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

/* Header */

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
    background: rgba(248, 247, 244, 0.9);
    backdrop-filter: blur(16px);
}

.header-content {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy-900);
    text-decoration: none;
}

.brand-symbol {
    position: relative;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(198, 154, 75, 0.65);
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(232, 225, 210, 0.72)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -4px 12px rgba(140, 104, 45, 0.1),
        0 9px 25px rgba(7, 26, 44, 0.1);
}

.brand-symbol::before {
    position: absolute;
    width: 70%;
    height: 180%;
    top: -40%;
    left: -90%;
    transform: rotate(22deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.72),
            transparent
        );
    content: "";
    transition: left 600ms ease;
}

.brand:hover .brand-symbol::before {
    left: 120%;
}

.brand-symbol span {
    position: relative;
    z-index: 1;
    font-family: var(--font-brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--metallic-gold);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-family: var(--font-brand);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-navigation a,
.login-link {
    color: var(--navy-900);
    font-size: 0.91rem;
    font-weight: 650;
    text-decoration: none;
}

.main-navigation a:hover,
.login-link:hover {
    color: var(--gold-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Botões */

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    font-size: 0.86rem;
    font-weight: 750;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-gold {
    position: relative;
    overflow: hidden;
    color: var(--navy-950);
    border-color: rgba(140, 104, 45, 0.34);
    background: var(--metallic-gold);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 5px rgba(118, 82, 29, 0.18),
        0 12px 28px rgba(140, 104, 45, 0.17);
}

.button-gold::before {
    position: absolute;
    width: 55%;
    height: 220%;
    top: -60%;
    left: -80%;
    transform: rotate(24deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.52),
            transparent
        );
    content: "";
    transition: left 550ms ease;
}

.button-gold:hover::before {
    left: 130%;
}

.button-outline {
    color: var(--navy-900);
    border-color: rgba(14, 42, 71, 0.22);
    background: rgba(255, 255, 255, 0.48);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 105px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(226, 199, 143, 0.22),
            transparent 29rem
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(34, 85, 121, 0.1),
            transparent 35rem
        ),
        linear-gradient(
            135deg,
            #fbfaf7 0%,
            #f2f5f7 52%,
            #f7f1e7 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 72px;
}

.hero-eyebrow {
    margin: 0 0 22px;
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hero h1 {
    max-width: 690px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3.1rem, 6vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -0.042em;
    line-height: 0.98;
    background: var(--metallic-blue);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero h1 span {
    background: var(--metallic-gold);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 630px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-information {
    display: flex;
    gap: 36px;
    margin-top: 48px;
}

.hero-information div {
    max-width: 190px;
}

.hero-information strong,
.hero-information span {
    display: block;
}

.hero-information strong {
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.hero-information span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.hero-visual {
    position: relative;
    min-height: 550px;
}

.photo-placeholder {
    width: min(430px, 88%);
    height: 540px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(14, 42, 71, 0.12);
    border-radius: 220px 220px 36px 36px;
    color: var(--muted);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.8),
            rgba(225, 232, 237, 0.84)
        );
    box-shadow: 0 35px 80px rgba(14, 42, 71, 0.12);
}

.floating-card {
    position: absolute;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 48px rgba(14, 42, 71, 0.14);
    backdrop-filter: blur(14px);
}

.floating-card strong,
.floating-card span,
.floating-card small {
    display: block;
}

.experience-card {
    top: 45px;
    left: 4px;
}

.experience-card strong {
    color: var(--gold-dark);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.experience-card span {
    max-width: 145px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.library-card {
    right: -8px;
    bottom: 34px;
}

.library-card small {
    color: var(--gold-dark);
    font-family: var(--font-brand);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.library-card strong {
    max-width: 190px;
    margin-top: 7px;
    color: var(--navy-900);
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Footer */

.site-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(81, 123, 146, 0.18),
            transparent 30rem
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(198, 154, 75, 0.12),
            transparent 28rem
        ),
        var(--metallic-blue);
}

.site-footer::before {
    position: absolute;
    height: 1px;
    top: 0;
    right: 0;
    left: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold-light),
            transparent
        );
    content: "";
}

.footer-main {
    padding: 76px 0 62px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr 0.8fr 1fr;
    gap: 64px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    text-decoration: none;
}

.footer-brand-symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(223, 192, 125, 0.58);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--font-brand);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.035);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 12px 32px rgba(0, 0, 0, 0.16);
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.14rem;
    font-weight: 600;
}

.footer-brand small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.52);
    font-family: var(--font-brand);
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 340px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
}

.footer-social a {
    color: var(--gold-light);
    font-family: var(--font-brand);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-social a:hover {
    color: var(--gold-highlight);
}

.footer-column h2 {
    margin: 0 0 24px;
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-column nav {
    display: grid;
    gap: 12px;
}

.footer-column nav a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.96rem;
    text-decoration: none;
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.footer-column nav a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-contact address {
    display: grid;
    gap: 19px;
    font-style: normal;
}

.footer-contact p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
    line-height: 1.55;
}

.footer-contact span {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-light);
    font-family: var(--font-brand);
    font-size: 0.61rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(3, 15, 26, 0.28);
}

.footer-bottom-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
}

.footer-bottom-content nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom-content nav a {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-bottom-content nav a:hover {
    color: var(--gold-light);
}

/* Responsividade */

@media (max-width: 1040px) {
    .main-navigation {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1,
    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-information {
        justify-content: center;
    }

    .hero-visual {
        width: min(580px, 100%);
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .header-content {
        min-height: 76px;
    }

    .header-actions .button {
        display: none;
    }

    .brand-text small {
        display: none;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-information {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .photo-placeholder {
        height: 430px;
    }

    .floating-card {
        padding: 14px;
    }

    .footer-main {
        padding: 58px 0 46px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom-content {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom-content nav {
        gap: 12px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}