:root {
    --black: #000000;
    --white: #ffffff;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;
    --font: 'Open Sans', sans-serif;
    --font-display: 'Parisienne', cursive;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--black);
    background-image: url('fundo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .30), rgba(0, 0, 0, .55));
    z-index: 0;
    pointer-events: none;
}

a {
    -webkit-tap-highlight-color: transparent;
}

.glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .09), transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

@media (hover: none) {
    .glow {
        display: none;
    }
}

.topbar {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.back-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    backdrop-filter: blur(6px);
    transition: background-color .3s, color .3s;
}

.back-btn:hover {
    background: var(--white);
    color: var(--black);
}

.topbar-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--gray-200);
    text-decoration: none;
}

.topbar-name:hover {
    color: var(--white);
}

.page {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 52px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 68px;
}

.hero,
.section,
.cta {
    width: 100%;
}

.hero {
    text-align: center;
    padding-top: 8px;
}

.eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gray-300);
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    margin-bottom: 26px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}

.hero-name {
    display: block;
    white-space: nowrap;
    font-size: clamp(1.8rem, 6.5vw, 3.6rem);
}

.hero-pre {
    display: block;
    font-family: var(--font);
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gray-200);
    margin-bottom: 14px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.hero-sub {
    margin: 18px auto 0;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray-200);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 30px;
}

.section-title::before,
.section-title::after {
    content: '';
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
}

.section-title span {
    white-space: nowrap;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: rgba(255, 255, 255, .95);
    color: var(--black);
    border-radius: 16px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.card i {
    flex: 0 0 auto;
    font-size: 1.3rem;
    color: var(--gray-600);
}

.card p {
    font-weight: 500;
    font-size: .95rem;
    line-height: 1.4;
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 44px rgba(0, 0, 0, .5);
    }
}

.grid-note {
    margin: 56px auto 0;
    max-width: 620px;
    padding: 0 12px;
    text-align: center;
    color: var(--gray-200);
    font-size: 1.05rem;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

.highlight-icon {
    flex: 0 0 auto;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--white);
    text-shadow: 0 0 24px rgba(255, 255, 255, .35);
}

.highlight p {
    color: var(--gray-200);
    line-height: 1.7;
    font-size: .98rem;
}

@media (max-width: 520px) {
    .highlight {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.consult-card {
    background: rgba(255, 255, 255, .95);
    color: var(--black);
    border-left: 4px solid var(--gray-900);
    border-radius: 20px;
    padding: 34px 30px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
    line-height: 1.85;
    font-size: 1rem;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
}

.link {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    color: var(--black);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
    transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s var(--ease);
}

.link i {
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.link .ripple {
    position: absolute;
    border-radius: 50%;
    background: currentColor;
    opacity: .22;
    transform: scale(0);
    animation: ripple .65s linear;
    pointer-events: none;
}

.link.ghost {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

@media (hover: hover) {
    .link:hover {
        background: var(--gray-900);
        color: var(--white);
        transform: translateY(-3px);
        box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
    }

    .link:hover i {
        transform: scale(1.25) rotate(-6deg);
    }

    .link.ghost:hover {
        background: var(--white);
        color: var(--black);
    }
}

.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--gray-400);
    font-size: .8rem;
    letter-spacing: .04em;
    padding: 24px 24px 40px;
}

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
