@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Onest:wght@300;400;500;600&display=swap");
/* =========================================================
   BASE
========================================================= */

:root {
    --font-body: "Onest", Arial, sans-serif;
--font-display: "Instrument Serif", Georgia, serif;

    --background: #f7f4ef;
    --surface: #fffdf9;
    --surface-hover: #ffffff;

    --text: #645d54;
    --text-strong: #312d29;
    --text-muted: #91887e;

    --primary: #c73368;
    --primary-dark: #ad2958;
    --primary-soft: #f6e7ed;

    --champagne: #c9b28b;
    --border: #e8dfd3;
    --border-strong: #dcd0c1;

    --container: 620px;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-full: 999px;

    --shadow:
        0 1px 2px rgba(48, 39, 31, 0.02),
        0 8px 24px rgba(48, 39, 31, 0.045);

    --shadow-hover:
        0 2px 4px rgba(48, 39, 31, 0.025),
        0 12px 30px rgba(48, 39, 31, 0.065);

    --transition: 240ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;

    color: var(--text);
    background: var(--background);

    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    padding: 0;
}

::selection {
    color: #ffffff;
    background: var(--primary);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* =========================================================
   FUNDO
========================================================= */

.ambient-background {
    display: none;
}


/* =========================================================
   LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    place-items: center;

    background: var(--background);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 300ms ease,
        visibility 300ms ease;
}

.page-loader.is-active {
    display: grid;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__symbol {
    display: flex;
    align-items: center;
    gap: 7px;
}

.page-loader__symbol span {
    width: 5px;
    height: 5px;

    border-radius: 50%;
    background: var(--primary);

    animation: loaderPulse 1s ease-in-out infinite;
}

.page-loader__symbol span:nth-child(2) {
    animation-delay: 120ms;
}

.page-loader__symbol span:nth-child(3) {
    animation-delay: 240ms;
}


/* =========================================================
   ESTRUTURA DA PÁGINA
========================================================= */

.link-page {
    min-height: 100vh;

    padding:
        max(48px, env(safe-area-inset-top))
        20px
        max(48px, env(safe-area-inset-bottom));
}

.link-page__container {
    width: min(100%, var(--container));
    margin-inline: auto;
}


/* =========================================================
   PERFIL
========================================================= */

.profile {
    position: relative;

    padding: 10px 20px 34px;

    text-align: center;
}

.profile::before,
.profile::after {
    display: none;
}

.profile__top {
    position: relative;

    display: flex;
    justify-content: center;
}

.profile__avatar-wrapper {
    position: relative;

    width: 104px;
    height: 104px;
}

.profile__avatar-glow {
    display: none;
}

.profile__avatar {
    width: 104px;
    height: 104px;

    border: 1px solid var(--border);
    border-radius: 50%;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.profile__status {
    position: absolute;
    right: 4px;
    bottom: 5px;

    width: 15px;
    height: 15px;

    border: 3px solid var(--background);
    border-radius: 50%;

    background: #76a980;
}

.profile__share {
    position: absolute;
    top: 0;
    right: 0;
}

.icon-button {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text);
    background: transparent;

    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.icon-button:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--surface);
}

.icon-button:disabled {
    cursor: wait;
    opacity: 0.5;
}

.icon-button svg {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile__content {
    margin-top: 22px;
}

.profile__eyebrow {
    display: block;

    color: var(--primary);

    font-size: 0.67rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.profile__eyebrow::before {
    display: none;
}

.profile__name {
    margin: 9px 0 10px;

    color: var(--text-strong);

    font-family: var(--font-display);
    font-size: clamp(2.4rem, 8vw, 3.25rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.profile__description {
    max-width: 460px;
    margin: 0 auto;

    color: var(--text-muted);

    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.75;
}

.profile__location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 0.7rem;
    font-weight: 400;
}

.profile__location-icon {
    display: grid;
    place-items: center;

    color: var(--primary);
}

.profile__location-icon svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   LINKS PRINCIPAIS
========================================================= */

.links {
    display: grid;
    gap: 10px;
}

.link-card {
    position: relative;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;

    min-height: 78px;
    padding: 13px 16px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--surface);
    box-shadow: var(--shadow);

    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.link-card::before,
.link-card::after,
.link-card__shine {
    display: none;
}

.link-card:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
    box-shadow: var(--shadow-hover);

    transform: translateY(-2px);
}

.link-card__icon {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--primary);
    background: transparent;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.link-card:hover .link-card__icon {
    color: var(--primary);
    border-color: rgba(199, 51, 104, 0.35);
    background: var(--primary-soft);
}

.link-card__icon svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-card__content {
    min-width: 0;

    text-align: left;
}

.link-card__title {
    display: block;

    color: var(--text-strong);

    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.link-card__description {
    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 0.68rem;
    font-weight: 300;
    line-height: 1.45;
}

.link-card__arrow {
    display: grid;
    place-items: center;

    color: #aaa096;

    transition:
        color var(--transition),
        transform var(--transition);
}

.link-card:hover .link-card__arrow {
    color: var(--primary);
    transform: translateX(2px);
}

.link-card__arrow svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   LINK EM DESTAQUE
========================================================= */

.link-card--featured {
    border-color: var(--primary);

    background: var(--primary);
    box-shadow:
        0 8px 20px rgba(199, 51, 104, 0.14);
}

.link-card--featured .link-card__icon {
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.75);
    background: #ffffff;
}

.link-card--featured .link-card__title {
    color: #ffffff;
}

.link-card--featured .link-card__description {
    color: rgba(255, 255, 255, 0.72);
}

.link-card--featured .link-card__arrow {
    color: rgba(255, 255, 255, 0.78);
}

.link-card--featured:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);

    box-shadow:
        0 10px 24px rgba(173, 41, 88, 0.18);
}

.link-card--featured:hover .link-card__icon {
    color: var(--primary-dark);
    border-color: #ffffff;
    background: #ffffff;
}

.link-card--featured:hover .link-card__arrow {
    color: #ffffff;
}


/* =========================================================
   SEÇÃO SECUNDÁRIA
========================================================= */

.treatments {
    margin-top: 40px;
    padding-top: 31px;

    border-top: 1px solid var(--border);
}

.treatments::before {
    display: none;
}

.section-heading {
    text-align: center;
}

.section-heading__line {
    display: block;

    width: 28px;
    height: 1px;
    margin: 0 auto 14px;

    background: var(--primary);
}

.section-heading__eyebrow {
    display: block;

    color: var(--primary);

    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.section-heading h2 {
    max-width: 420px;
    margin: 9px auto 0;

    color: var(--text-strong);

    font-family: var(--font-display);
    font-size: clamp(1.9rem, 6vw, 2.45rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.treatments__grid {
    display: grid;

    margin-top: 26px;

    border-top: 1px solid var(--border);
}

.treatment-card {
    position: relative;

    padding: 20px 0 20px 45px;

    border-bottom: 1px solid var(--border);
}

.treatment-card__number {
    position: absolute;
    top: 21px;
    left: 0;

    color: var(--primary);

    font-family: var(--font-display);
    font-size: 0.85rem;
    font-style: italic;
}

.treatment-card h3 {
    margin: 0;

    color: var(--text-strong);

    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.35;
}

.treatment-card p {
    max-width: 470px;
    margin: 6px 0 0;

    color: var(--text-muted);

    font-size: 0.68rem;
    font-weight: 300;
    line-height: 1.65;
}

.secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: fit-content;
    margin: 22px auto 0;
    padding: 11px 18px;

    border: 1px solid var(--primary);
    border-radius: var(--radius-full);

    color: var(--primary);
    background: transparent;

    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.03em;

    transition:
        color var(--transition),
        background var(--transition);
}

.secondary-cta:hover {
    color: #ffffff;
    background: var(--primary);
}

.secondary-cta svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   RODAPÉ
========================================================= */

.footer {
    padding: 38px 10px 5px;

    text-align: center;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-button {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text);
    background: transparent;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.social-button:hover {
    color: #ffffff;
    border-color: var(--primary);
    background: var(--primary);
}

.social-button svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer__text {
    margin: 16px 0 0;

    color: var(--text);

    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
}

.footer__copyright {
    margin: 5px 0 0;

    color: var(--text-muted);

    font-size: 0.56rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}


/* =========================================================
   NOTIFICAÇÃO
========================================================= */

.toast {
    position: fixed;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 9px;

    max-width: calc(100vw - 40px);
    padding: 10px 14px;

    border: 1px solid var(--border);
    border-radius: var(--radius-full);

    color: var(--text-strong);
    background: var(--surface);

    box-shadow: var(--shadow-hover);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.toast__icon {
    display: grid;
    place-items: center;

    width: 21px;
    height: 21px;

    border-radius: 50%;

    color: #ffffff;
    background: var(--primary);

    font-size: 0.62rem;
    font-weight: 600;
}

.toast__message {
    font-size: 0.66rem;
    font-weight: 400;
}

.toast--error .toast__icon {
    background: #9b4747;
}


/* =========================================================
   ANIMAÇÕES DE ENTRADA
========================================================= */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(10px);

    transition:
        opacity 500ms ease,
        transform 500ms ease;

    transition-delay: calc(var(--item-index, 0) * 35ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 768px) {
    .link-page {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .profile {
        padding-bottom: 38px;
    }

    .profile__avatar-wrapper,
    .profile__avatar {
        width: 112px;
        height: 112px;
    }

    .profile__share {
        right: 16px;
    }

    .link-card {
        min-height: 82px;
        padding: 14px 18px;
    }

    .link-card__title {
        font-size: 0.92rem;
    }

    .link-card__description {
        font-size: 0.7rem;
    }

    .treatment-card {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .treatment-card__number {
        top: 23px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {
    .link-page {
        padding:
            max(28px, env(safe-area-inset-top))
            14px
            max(36px, env(safe-area-inset-bottom));
    }

    .profile {
        padding: 4px 10px 28px;
    }

    .profile__avatar-wrapper,
    .profile__avatar {
        width: 92px;
        height: 92px;
    }

    .profile__share {
        right: 2px;
    }

    .profile__name {
        font-size: 2.35rem;
    }

    .profile__description {
        max-width: 350px;

        font-size: 0.78rem;
        line-height: 1.7;
    }

    .links {
        gap: 8px;
    }

    .link-card {
        min-height: 74px;
        padding: 12px 13px;
        gap: 12px;

        border-radius: 14px;
    }

    .link-card__icon {
        width: 41px;
        height: 41px;
    }

    .link-card__icon svg {
        width: 18px;
        height: 18px;
    }

    .link-card__title {
        font-size: 0.82rem;
    }

    .link-card__description {
        font-size: 0.61rem;
    }

    .link-card__arrow svg {
        width: 14px;
        height: 14px;
    }

    .treatments {
        margin-top: 34px;
        padding-top: 27px;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .treatment-card {
        padding-left: 40px;
    }

    .treatment-card h3 {
        font-size: 0.82rem;
    }

    .treatment-card p {
        font-size: 0.63rem;
    }

    .footer {
        padding-top: 32px;
    }
}

@media (max-width: 370px) {
    .link-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .link-card__arrow {
        display: none;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes loaderPulse {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}
/* =========================================================
   REFINAMENTO TIPOGRÁFICO
========================================================= */

body {
    font-family: var(--font-body);
    font-variation-settings: normal;
    letter-spacing: -0.005em;
}

.profile__name,
.section-heading h2,
.footer__text {
    font-family: var(--font-display);
    font-weight: 400;
}

.profile__name {
    letter-spacing: -0.055em;
}

.profile__description,
.link-card__description,
.treatment-card p {
    font-weight: 300;
}

.link-card__title,
.treatment-card h3 {
    font-family: var(--font-body);
    font-weight: 500;
}

.footer__text {
    letter-spacing: -0.015em;
}


/* =========================================================
   BARRA DE PROGRESSO
========================================================= */

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;

    width: 100%;
    height: 2px;

    background: var(--primary);

    transform: scaleX(0);
    transform-origin: left center;

    pointer-events: none;
    will-change: transform;
}


/* =========================================================
   INTERAÇÃO REFINADA DOS CARDS
========================================================= */

.link-card {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --icon-x: 0px;
    --icon-y: 0px;
    --arrow-x: 0px;
    --arrow-y: 0px;

    isolation: isolate;
    overflow: hidden;
}

.link-card::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;

    opacity: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle 170px at var(--pointer-x) var(--pointer-y),
            rgba(199, 51, 104, 0.075),
            transparent 72%
        );

    transition: opacity 260ms ease;
}

.link-card.is-pointer-active::before {
    opacity: 1;
}

.link-card--featured::before {
    background:
        radial-gradient(
            circle 180px at var(--pointer-x) var(--pointer-y),
            rgba(255, 255, 255, 0.18),
            transparent 72%
        );
}

.link-card__icon,
.link-card__content,
.link-card__arrow {
    position: relative;
    z-index: 1;
}

.link-card__icon {
    transform:
        translate3d(
            var(--icon-x),
            var(--icon-y),
            0
        );

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.link-card__arrow {
    transform:
        translate3d(
            var(--arrow-x),
            var(--arrow-y),
            0
        );

    transition:
        color var(--transition),
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.link-card:hover .link-card__arrow {
    transform:
        translate3d(
            calc(var(--arrow-x) + 2px),
            var(--arrow-y),
            0
        );
}


/* =========================================================
   MOVIMENTO MAGNÉTICO
========================================================= */

.icon-button,
.social-button,
.secondary-cta {
    --magnetic-x: 0px;
    --magnetic-y: 0px;

    transform:
        translate3d(
            var(--magnetic-x),
            var(--magnetic-y),
            0
        );

    will-change: transform;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.icon-button:hover,
.social-button:hover {
    transform:
        translate3d(
            var(--magnetic-x),
            calc(var(--magnetic-y) - 2px),
            0
        );
}

.secondary-cta:hover {
    transform:
        translate3d(
            var(--magnetic-x),
            calc(var(--magnetic-y) - 1px),
            0
        );
}


/* =========================================================
   EFEITO DE CLIQUE
========================================================= */

.link-card,
.icon-button,
.social-button,
.secondary-cta {
    position: relative;
    overflow: hidden;
}

.interaction-ripple {
    position: absolute;
    z-index: 5;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: rgba(199, 51, 104, 0.14);

    pointer-events: none;

    transform: translate(-50%, -50%) scale(0);
    animation: interactionRipple 650ms ease-out forwards;
}

.link-card--featured .interaction-ripple {
    background: rgba(255, 255, 255, 0.25);
}


/* =========================================================
   ENTRADAS MAIS ELEGANTES
========================================================= */

.js [data-reveal] {
    opacity: 0;

    filter: blur(4px);

    transform:
        translate3d(0, 15px, 0)
        scale(0.992);

    transition:
        opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 720ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1);

    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
    opacity: 1;

    filter: blur(0);

    transform:
        translate3d(0, 0, 0)
        scale(1);
}


/* =========================================================
   ENTRADA DO AVATAR
========================================================= */

.js .profile__avatar {
    opacity: 0;

    transform: scale(0.94);

    transition:
        opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js body.is-page-ready .profile__avatar {
    opacity: 1;
    transform: scale(1);
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes interactionRipple {
    0% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(18);
    }
}


/* =========================================================
   DISPOSITIVOS DE TOQUE
========================================================= */

@media (hover: none) {
    .link-card::before {
        display: none;
    }

    .icon-button,
    .social-button,
    .secondary-cta,
    .link-card__icon,
    .link-card__arrow {
        transform: none !important;
    }
}


/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .page-progress {
        display: none;
    }

    .js [data-reveal],
    .js .profile__avatar {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .interaction-ripple {
        display: none;
    }
}