:root {
    --hm-bg: #031713;
    --hm-bg-deep: #02100e;
    --hm-surface: #0a211c;
    --hm-surface-soft: #102b24;
    --hm-ivory: #f2ead9;
    --hm-soft: #c9c3b6;
    --hm-gold: #c89b4b;
    --hm-gold-bright: #e3b85e;
    --hm-cyan: #08c8ee;
    --hm-line: rgba(226, 184, 94, 0.24);
}

body {
    background: var(--hm-bg-deep);
    color: var(--hm-ivory);
    font-family: 'Manrope', Arial, sans-serif;
}

.page-shell {
    background:
        radial-gradient(circle at 75% 6%, rgba(39, 92, 68, 0.18), transparent 30%),
        linear-gradient(180deg, var(--hm-bg) 0%, var(--hm-bg-deep) 100%);
}

.portal-standard-navbar {
    min-height: 82px;
    padding: 0 3.4vw;
    background: rgba(2, 16, 14, 0.94);
    border-bottom: 1px solid rgba(242, 234, 217, 0.12);
    backdrop-filter: blur(18px);
}

.portal-standard-navbar .brand-logo { width: 116px; }
.portal-standard-navbar .brand-text { color: var(--hm-ivory); }
.portal-standard-navbar .nav-right { gap: clamp(0.45rem, 1vw, 1.05rem); }
.portal-standard-navbar .nav-link { color: rgba(242, 234, 217, 0.82); font-size: 0.73rem; }
.portal-standard-navbar .nav-link:hover,
.portal-standard-navbar .nav-link-active { color: var(--hm-gold-bright); }
.portal-standard-navbar .btn-install,
.portal-standard-navbar .btn-support,
.portal-standard-navbar .btn-cadastro,
.portal-standard-navbar .btn-login {
    border-radius: 5px;
}

.hero {
    min-height: 900px;
    padding: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hm-bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, #031713 0%, rgba(3, 23, 19, 0.98) 35%, rgba(3, 23, 19, 0.56) 51%, rgba(3, 23, 19, 0.06) 72%),
        linear-gradient(0deg, #031713 0%, transparent 24%);
    pointer-events: none;
}

.hero-visual {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 46%;
    background: url('/assets/humano-media/studio-hero-portrait.png') center 44% / cover no-repeat;
}

.hero .container {
    width: min(1440px, 100%);
}

.hero-grid {
    min-height: 818px;
    padding: clamp(4.7rem, 7vw, 6.6rem) clamp(2rem, 5vw, 5rem) 2rem;
    display: grid;
    grid-template-columns: minmax(520px, 0.95fr) minmax(420px, 1.05fr);
    grid-template-rows: 1fr auto;
    gap: 1.4rem 3rem;
    align-items: center;
}

.hero-content { max-width: 660px; position: relative; z-index: 2; }
.hero-photo-spacer { min-height: 500px; }

.hero .eyebrow {
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    color: var(--hm-cyan);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero .eyebrow .material-icons { font-size: 1.2rem; }

.hero-title-wrap { position: relative; width: fit-content; }

.hero-earth {
    position: absolute;
    z-index: -1;
    width: clamp(205px, 22.5vw, 340px);
    height: auto;
    right: -22%;
    top: -35%;
    opacity: 0.38;
    mix-blend-mode: screen;
    border-radius: 50%;
    pointer-events: none;
}

.live-invitation {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7rem) 2rem;
    overflow: hidden;
    border-top: 1px solid rgba(227, 184, 94, 0.18);
    border-bottom: 1px solid rgba(227, 184, 94, 0.18);
    background:
        radial-gradient(circle at 82% 48%, rgba(8, 200, 238, 0.1), transparent 28%),
        linear-gradient(125deg, #031713 0%, #0c2a22 58%, #061b17 100%);
}
.live-invitation-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.live-invitation-copy { max-width: 720px; }
.live-invitation h2 { max-width: 760px; margin: 0.55rem 0 1.25rem; color: var(--hm-ivory); font: 650 clamp(2.45rem, 5.2vw, 5rem)/1.02 'Manrope', Arial, sans-serif; letter-spacing: -0.055em; }
.live-invitation-copy > p { max-width: 660px; color: var(--hm-soft); font-size: 1.08rem; line-height: 1.7; }
.live-invitation-copy .live-emotion { margin-top: 1.4rem; padding-left: 1.25rem; border-left: 2px solid var(--hm-gold); color: var(--hm-ivory); font: italic 500 1.18rem/1.65 'Source Serif 4', Georgia, serif; }
.live-invitation-card { position: relative; padding: clamp(1.7rem, 3vw, 2.6rem); overflow: hidden; border: 1px solid rgba(227, 184, 94, 0.42); border-radius: 8px; background: rgba(2, 16, 14, 0.74); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28); }
.live-invitation-card > * { position: relative; z-index: 1; }
.live-invitation-card h3 { margin: 1rem 0; color: var(--hm-ivory); font: 600 clamp(1.65rem, 3vw, 2.5rem)/1.16 'Manrope', Arial, sans-serif; letter-spacing: -0.04em; }
.live-invitation-card h3 strong { color: var(--hm-gold-bright); }
.live-invitation-card p { color: var(--hm-soft); line-height: 1.65; }
.live-invitation-card .live-courage { color: var(--hm-ivory); font-family: 'Source Serif 4', Georgia, serif; font-style: italic; }
.live-invitation-card .btn { width: 100%; margin-top: 0.75rem; }
.live-card-earth { position: absolute; z-index: 0; width: 260px; height: auto; right: -100px; top: -110px; opacity: 0.13; mix-blend-mode: screen; pointer-events: none; }
.plan-live-intro { margin: 1rem 0; color: var(--hm-soft); line-height: 1.55; }
.plan-live-link { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1rem; color: var(--hm-gold-bright); font-size: 0.8rem; font-weight: 800; text-decoration: none; }
.plan-live-link:hover { color: var(--hm-cyan); }
.plan-live-link .material-icons { font-size: 1rem; }

.hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.24rem;
    color: var(--hm-ivory);
    font-family: 'Manrope', Arial, sans-serif;
    text-transform: uppercase;
}

.hero h1 > span {
    font-size: clamp(5rem, 9.4vw, 8.6rem);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: -0.07em;
}

.hero h1 small {
    font: 500 clamp(1.65rem, 2.35vw, 2.5rem) / 1.2 'Manrope', Arial, sans-serif;
    letter-spacing: 0.25em;
    color: var(--hm-gold);
}

.hero-subtitle {
    max-width: 630px;
    margin-top: 1.6rem;
    color: var(--hm-ivory);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: clamp(1.7rem, 2.7vw, 2.55rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.hero-copy {
    max-width: 610px;
    color: rgba(242, 234, 217, 0.82);
    font-size: 1rem;
    line-height: 1.65;
}

.actions { margin-top: 1.55rem; }

.btn {
    min-height: 52px;
    padding: 0.9rem 1.55rem;
    border-radius: 5px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(8, 200, 238, 0.42); outline-offset: 3px; }

.btn.primary {
    background: var(--hm-cyan);
    color: #001b20;
    box-shadow: 0 12px 30px rgba(8, 200, 238, 0.14);
}

.btn.gold {
    color: var(--hm-ivory);
    border-color: rgba(227, 184, 94, 0.68);
    background: rgba(3, 23, 19, 0.68);
}

.hero-services {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(242, 234, 217, 0.16);
    padding-top: 1.2rem;
}

.hero-service {
    min-width: 0;
    padding: 0 1.05rem;
    border-right: 1px solid rgba(242, 234, 217, 0.14);
}

.hero-service:first-child { padding-left: 0; }
.hero-service:last-child { border-right: 0; }
.hero-service .material-icons { float: left; margin: 0.05rem 0.55rem 1.4rem 0; color: var(--hm-gold-bright); font-size: 1.35rem; }
.hero-service strong { display: block; color: var(--hm-ivory); font-size: 0.72rem; line-height: 1.45; text-transform: uppercase; }
.hero-service p { margin: 0.45rem 0 0; color: rgba(242, 234, 217, 0.62); font-size: 0.7rem; line-height: 1.45; }

.hero-manifesto {
    grid-column: 2;
    align-self: end;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: min(410px, 100%);
    margin: 0;
    padding: 0.75rem 0 0.75rem 1.4rem;
    border-left: 1px solid rgba(227, 184, 94, 0.42);
    background: linear-gradient(90deg, rgba(3, 23, 19, 0.78), rgba(3, 23, 19, 0.35));
}

.hero-manifesto img { width: 72px; height: auto; object-fit: contain; }
.hero-manifesto p { margin: 0; color: var(--hm-gold); font: italic 500 0.96rem/1.42 'Source Serif 4', Georgia, serif; }
.hero-manifesto strong { color: var(--hm-gold-bright); font-weight: 600; }

.section { padding: clamp(4.5rem, 8vw, 7rem) 2rem; }
.section:nth-of-type(even) { background: rgba(12, 39, 32, 0.42); }
.section-head h2,
.final-cta h2,
.rules h2 { color: var(--hm-ivory); font-family: 'Manrope', Arial, sans-serif; letter-spacing: -0.04em; }
.section-head p,
.card p,
.flow-step p,
.rules .hero-copy { color: var(--hm-soft); }
.card,
.plan,
.note,
.flow-step {
    background: rgba(10, 33, 28, 0.72);
    border-color: rgba(227, 184, 94, 0.18);
    border-radius: 8px;
}
.card .material-icons,
.flow-number,
.plan-label { color: var(--hm-gold-bright); }
.plan.featured { border-color: rgba(8, 200, 238, 0.62); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); }
.plan-price { color: var(--hm-ivory); }
.plan li::before { color: var(--hm-cyan); }
.final-cta { background: linear-gradient(135deg, #0d3027, #031713); }
footer { background: #020c0a; border-color: rgba(227, 184, 94, 0.16); color: rgba(242, 234, 217, 0.64); }

@media (max-width: 1180px) {
    .portal-standard-navbar { padding: 0 1rem; }
    .portal-standard-navbar .nav-right { gap: 0.35rem; }
    .portal-standard-navbar .nav-link { font-size: 0.65rem; }
    .portal-standard-navbar .btn-install { display: none; }
    .hero-grid { grid-template-columns: minmax(470px, 0.95fr) minmax(350px, 1.05fr); padding-inline: 2.5rem; }
    .hero-service p { display: none; }
}

@media (max-width: 900px) {
    .hero { min-height: auto; padding-bottom: 0; }
    .hero::before {
        background:
            linear-gradient(180deg, #031713 0%, rgba(3, 23, 19, 0.94) 42%, rgba(3, 23, 19, 0.22) 67%, #031713 100%);
    }
    .hero-visual {
        inset: 48% 0 14%;
        background-position: 53% center;
        opacity: 0.84;
    }
    .hero-grid {
        min-height: 0;
        padding: 4rem 1.2rem 2rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(390px, 48vh) auto auto;
        gap: 1.3rem;
    }
    .hero-content { max-width: 680px; }
    .hero-photo-spacer { min-height: 390px; }
    .hero-services { grid-column: 1; grid-row: 3; background: rgba(3, 23, 19, 0.72); padding: 1rem; }
    .hero-manifesto { grid-column: 1; grid-row: 4; justify-self: start; }
    .hero-earth { right: -13%; opacity: 0.3; }
    .live-invitation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .hero-grid { padding-top: 3.2rem; grid-template-rows: auto minmax(310px, 44vh) auto auto; }
    .hero .eyebrow { margin-bottom: 1rem; font-size: 0.72rem; }
    .hero h1 > span { font-size: clamp(4rem, 20vw, 5.9rem); }
    .hero h1 small { font-size: 1.35rem; }
    .hero-subtitle { font-size: clamp(1.38rem, 6.6vw, 1.8rem); }
    .hero-copy { font-size: 0.94rem; line-height: 1.6; }
    .actions { flex-direction: column; }
    .actions .btn { width: 100%; }
    .hero-services { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
    .hero-service:nth-child(2) { border-right: 0; }
    .hero-service:nth-child(3) { padding-left: 0; }
    .hero-service p { display: block; }
    .hero-manifesto { padding-left: 0.8rem; gap: 0.6rem; }
    .hero-manifesto img { width: 76px; }
    .hero-manifesto p { font-size: 0.92rem; }
    .hero-earth { width: 190px; right: -4%; top: -20%; }
    .live-invitation { padding-inline: 1.1rem; }
    .live-invitation h2 { font-size: clamp(2.15rem, 11vw, 3.3rem); }
    .section { padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
}
