/* ═══════════════════════════════════════════════════════
   Lucy Abramvezt — psicanálise online
   Paleta herdada do site anterior, com proporção invertida:
   o rosa deixa de ser fundo e vira só o gesto de ação.
   ═══════════════════════════════════════════════════════ */

/* ── Fonte (self-hosted, sem request externo) ─────────── */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Variáveis ────────────────────────────────────────── */
:root {
    --rosa:        #D86CA6;
    --rosa-acao:   #B4407D;
    --rosa-claro:  #F1C8CC;
    --lilas:       #AE8BB2;
    --agua:        #97D4D7;
    --azul:        #B4C8E6;
    --roxo:        #432980;

    --fundo:       #FFFAFB;
    --fundo-alt:   #FAF2F5;
    --fundo-calmo: #F4F7FA;

    --texto:       #2E2733;
    --texto-suave: #5E5468;
    --borda:       #EADFE4;

    --largura:     1120px;
    --estreito:    680px;
    --raio:        14px;
    --sombra:      0 2px 24px rgba(67, 41, 128, .07);
}

/* ── Reset leve ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--texto);
    background: var(--fundo);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); }
h3 { font-size: 1.15rem; }

a { color: var(--rosa-acao); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--roxo); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--roxo); color: #fff; padding: .75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--roxo); outline-offset: 3px; }

/* ── Layout ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--largura);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.estreito { max-width: calc(var(--estreito) + 5rem); }
.centro { text-align: center; }
.sutil { color: var(--texto-suave); font-size: .95rem; }

.secao { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.secao h2 + p, .secao p + p { margin-top: 1.15rem; }
.secao-texto p { font-size: 1.12rem; color: var(--texto-suave); }
.secao-texto h2 { margin-bottom: 2rem; }

/* ── Botões ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    padding: 1rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-primary {
    background: var(--rosa-acao);
    color: #fff;
    box-shadow: 0 6px 18px rgba(180, 64, 125, .22);
}
.btn-primary:hover {
    background: var(--roxo);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(67, 41, 128, .25);
}
.btn-outline {
    background: transparent;
    color: var(--rosa-acao);
    border: 2px solid var(--rosa-acao);
}
.btn-outline:hover { background: var(--rosa-acao); color: #fff; }
.btn-sm { padding: .7rem 1.35rem; font-size: .95rem; }

.link-seta {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--rosa-claro);
    padding-bottom: 2px;
}
.link-seta::after { content: ' →'; }
.link-seta:hover { border-color: var(--roxo); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 250, 251, .93);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--borda);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}
.site-logo { text-decoration: none; color: var(--texto); line-height: 1.2; }
.logo-nome { display: block; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.logo-sub { display: block; font-size: .78rem; color: var(--lilas); text-transform: uppercase; letter-spacing: .14em; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-list a {
    text-decoration: none;
    color: var(--texto);
    font-size: .98rem;
    padding-block: .35rem;
    border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--rosa-acao); border-color: var(--rosa-claro); }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px; height: 44px;
    cursor: pointer;
    padding: 0;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 24px; height: 2px;
    background: var(--texto);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.hamburger { margin-inline: auto; position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(60% 70% at 88% 12%, rgba(151, 212, 215, .30), transparent 62%),
        radial-gradient(55% 65% at 6% 88%, rgba(241, 200, 204, .45), transparent 60%),
        var(--fundo);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.kicker {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--roxo);
    margin-bottom: 1.1rem;
}
.hero h1 { max-width: 19ch; }
.hero-sub {
    margin-top: 1.4rem;
    margin-bottom: 2.2rem;
    font-size: 1.15rem;
    color: var(--texto-suave);
    max-width: 46ch;
}
.hero-nota {
    margin-top: 1.5rem;
    font-size: .88rem;
    color: var(--texto-suave);
}
.hero-foto { justify-self: center; }
.hero-foto img {
    width: min(320px, 70vw);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 18px 44px rgba(67, 41, 128, .16);
}

/* ── Demandas ─────────────────────────────────────────── */
.secao-demandas { background: var(--fundo-alt); }
.secao-demandas h2 { max-width: 22ch; margin-inline: auto; }
/* Flex em vez de grid: são 7 itens, e no grid o sétimo ficava
   órfão encostado à esquerda. Assim a última linha centraliza. */
.demandas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-block: 2.75rem 2rem;
}
.demandas li {
    flex: 1 1 265px;
    max-width: 340px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--raio);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--sombra);
    border-left: 4px solid var(--rosa-claro);
    font-size: 1.02rem;
}
.demandas li:nth-child(2n)   { border-left-color: var(--azul); }
.demandas li:nth-child(3n)   { border-left-color: var(--agua); }
.demandas li:nth-child(5n)   { border-left-color: var(--lilas); }

/* ── Passos ───────────────────────────────────────────── */
.passos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-block: 3rem;
    counter-reset: passo;
}
.passos li { text-align: center; }
.passo-num {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--fundo-calmo);
    color: var(--roxo);
    font-weight: 700;
    font-size: 1.15rem;
}
.passos h3 { margin-bottom: .5rem; }
.passos p { color: var(--texto-suave); max-width: 34ch; margin-inline: auto; }

/* ── Sobre ────────────────────────────────────────────── */
.secao-sobre { background: var(--fundo-calmo); }
.sobre-inner { max-width: calc(var(--estreito) + 5rem); }
.secao-sobre h2 { margin-bottom: 1.5rem; }
.secao-sobre p { color: var(--texto-suave); }

/* ── Fechamento ───────────────────────────────────────── */
.secao-fim { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.frase-fim {
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem);
    line-height: 1.45;
    letter-spacing: -.01em;
    max-width: 26ch;
    margin: 0 auto 2.25rem;
    color: var(--texto);
}

/* ── Páginas internas ─────────────────────────────────── */
.pagina { padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.pagina h1 { margin-bottom: 2rem; max-width: 20ch; }
.pagina-conteudo p { margin-bottom: 1.3rem; color: var(--texto-suave); font-size: 1.08rem; }
.pagina-conteudo h2 { margin: 2.75rem 0 1rem; }
.pagina-conteudo h3 { margin: 2rem 0 .75rem; }
.pagina-conteudo ul { margin: 0 0 1.6rem; }
.pagina-conteudo ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .6rem;
    color: var(--texto-suave);
}
.pagina-conteudo ul li::before {
    content: '';
    position: absolute;
    left: 0; top: .72em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--rosa-claro);
}
.pagina-conteudo .destaque {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--texto);
    border-left: 3px solid var(--rosa-claro);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
    background: var(--fundo-alt);
    border-top: 1px solid var(--borda);
    padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
}
.footer-nome { font-weight: 700; font-size: 1.1rem; }
.footer-crp, .footer-obs { color: var(--texto-suave); font-size: .93rem; }
.footer-obs { margin-top: .5rem; margin-bottom: 1rem; }
.footer-titulo { font-weight: 700; margin-bottom: .75rem; }
.footer-menu li { margin-bottom: .4rem; }
.footer-menu a { color: var(--texto-suave); text-decoration: none; font-size: .95rem; }
.footer-menu a:hover { color: var(--rosa-acao); }
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--borda);
    font-size: .85rem;
    color: var(--texto-suave);
}

/* ── WhatsApp flutuante ───────────────────────────────── */
.wa-float {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 60;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.06); }

/* ── Página de links (bio do Instagram) ───────────────── */
.body-links {
    min-height: 100vh;
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(151, 212, 215, .28), transparent 65%),
        radial-gradient(80% 55% at 50% 100%, rgba(241, 200, 204, .40), transparent 62%),
        var(--fundo);
}
.links-wrap {
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 7vw, 3.5rem) 1.25rem clamp(2.5rem, 8vw, 4rem);
}
.links-card {
    width: 100%;
    max-width: 480px;
    text-align: center;
}
.links-foto {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 12px 32px rgba(67, 41, 128, .16);
    margin: 0 auto 1.25rem;
}
.links-nome {
    font-size: 1.6rem;
    margin-bottom: .35rem;
}
.links-titulo {
    font-size: .9rem;
    color: var(--texto-suave);
    margin-bottom: .75rem;
}
.links-bio {
    font-size: 1rem;
    color: var(--texto);
    margin-bottom: 2rem;
    max-width: 34ch;
    margin-inline: auto;
}
.link-item {
    display: block;
    background: #fff;
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 1rem 1.35rem;
    margin-bottom: .85rem;
    text-decoration: none;
    color: var(--texto);
    box-shadow: var(--sombra);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.link-item:hover {
    transform: translateY(-2px);
    border-color: var(--rosa-claro);
    box-shadow: 0 10px 26px rgba(67, 41, 128, .12);
    color: var(--texto);
}
.link-titulo {
    display: block;
    font-weight: 700;
    font-size: 1.02rem;
}
.link-sub {
    display: block;
    font-size: .88rem;
    color: var(--texto-suave);
    margin-top: .15rem;
}
.link-item--destaque {
    background: var(--rosa-acao);
    border-color: var(--rosa-acao);
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 22px rgba(180, 64, 125, .26);
}
.link-item--destaque:hover {
    background: var(--roxo);
    border-color: var(--roxo);
    color: #fff;
}
.link-item--destaque .link-sub { color: rgba(255, 255, 255, .85); }
.links-rodape {
    margin-top: 2rem;
    font-size: .82rem;
    color: var(--texto-suave);
    line-height: 1.7;
}
.links-rodape a { color: var(--texto-suave); }

/* ── Revelação suave ────────────────────────────────────
   Só transform: nunca opacidade. Se o observer não disparar
   (salto de scroll, crawler, aba em segundo plano), o pior
   caso é uma seção 18px mais baixa — nunca uma seção em branco. */
.reveal { transform: translateY(18px); transition: transform .55s ease; }
.reveal.visivel { transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 880px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1, .hero-sub { max-width: none; margin-inline: auto; }
    .hero-foto { order: -1; }
    .hero-foto img { width: min(230px, 58vw); }

    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--fundo);
        border-bottom: 1px solid var(--borda);
        padding: .5rem 1.25rem 1.5rem;
        display: none;
        box-shadow: 0 12px 24px rgba(67, 41, 128, .08);
    }
    .main-nav.aberto { display: flex; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--borda); }
    .nav-cta { margin-top: 1.25rem; text-align: center; }
}

@media (max-width: 600px) {
    body { font-size: 1.02rem; }
    .btn { width: 100%; max-width: 340px; text-align: center; }
    .btn-sm { width: auto; }
    .demandas { gap: .75rem; }
    .secao-fim { padding-bottom: 6rem; }
}
