/* =========================================================
   LINKTREE TEMPLATE — STYLE
   Não editar. Todas as configurações ficam em config.js
   ========================================================= */
:root {
    --purple:  #3B7454;   /* verde principal */
    --cyan:    #7BC8A4;   /* verde claro */
    --pink:    #C9A84C;   /* dourado acento */
    --bg:      #080f0b;   /* fundo escuro esverdeado */
    --card-bg: rgba(255,255,255,0.04);
    --card-br: rgba(255,255,255,0.08);
    --muted:   rgba(255,255,255,0.55);
    --ease:    cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 15% 50%, rgba(59,116,84,.18) 0%, transparent 70%),
        radial-gradient(ellipse 70% 60% at 85% 50%, rgba(123,200,164,.10) 0%, transparent 70%);
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Nav dots ───────────────────────────────────────────── */
.nav-dots {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 200;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    transition: all .3s var(--ease);
}

.nav-dot.active {
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 0 12px rgba(139,92,246,.7);
}

.nav-dot:hover:not(.active) { border-color: var(--cyan); transform: scale(1.35); }

/* ── Section counter ────────────────────────────────────── */
.section-counter {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 200;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.counter-current {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-rest { font-size: .95rem; color: rgba(255,255,255,.3); }

/* ── Scroll hint ────────────────────────────────────────── */
.scroll-hint {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.4);
    font-size: .62rem;
    letter-spacing: 2.5px;
    transition: opacity .5s;
    pointer-events: none;
}

.scroll-hint.hidden { opacity: 0; }
.scroll-hint i:first-child { font-size: 1.1rem; }

/* ── Sections ───────────────────────────────────────────── */
.main-wrapper {
    position: relative;
    height: 100dvh;
    overflow: hidden;
    z-index: 1;
}

.section {
    position: absolute;
    inset: 0;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.section.active { pointer-events: all; }
#s0 { opacity: 1; }

/* ── Hero ───────────────────────────────────────────────── */
.hero-content { max-width: 600px; width: 100%; }

.profile-ring {
    width: 158px;
    height: 158px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    display: block;
}

.hero-name  { font-size: clamp(2rem, 7vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: .75rem; }
.hero-roles { color: rgba(255,255,255,.65); font-size: .88rem; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero-bio   { color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.65; max-width: 480px; margin: 0 auto; }

/* ── Card panel ─────────────────────────────────────────── */
.card-panel {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--card-br);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 680px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.panel-icon {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

/* Foto circular no card */
.panel-profile-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.panel-profile-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg);
}

.panel-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panel-logo {
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.logo-img {
    max-height: 90px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

.panel-title { font-size: clamp(1.8rem, 5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.panel-desc  { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 1.75rem; }

/* Features grid */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.75rem; }

.feat-card {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--card-br);
    border-radius: 12px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 500;
    transition: background .25s var(--ease), border-color .25s var(--ease);
    text-align: left;
}

.feat-card:hover { background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.3); }
.feat-card i { color: var(--pink); font-size: 1rem; flex-shrink: 0; }

/* Instagram button */
.insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .4px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.insta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(236,72,153,.4); }

/* ── Links ──────────────────────────────────────────────── */
.links-wrap { max-width: 560px; width: 100%; text-align: center; }
.links-heading { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; margin-bottom: 2rem; }
.links-list { display: flex; flex-direction: column; gap: 12px; }

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--card-br);
    border-radius: 16px;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    font-size: .95rem;
    font-weight: 500;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.link-card:hover { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(139,92,246,.4); transform: translateX(5px); }

.lk-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lk-whatsapp  { background: linear-gradient(135deg, #25D366, #128C7E); }
.lk-instagram { background: linear-gradient(135deg, #E1306C, #833AB4); }
.lk-linkedin  { background: linear-gradient(135deg, #0077B5, #004d80); }
.lk-calendar  { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.lk-custom    { background: linear-gradient(135deg, #e67e22, #c0392b); }

/* ── Footer ─────────────────────────────────────────────── */
.footer-wrap { max-width: 560px; width: 100%; }
.footer-title { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.footer-sub   { color: rgba(255,255,255,.6); font-size: 1rem; line-height: 1.65; margin-bottom: 2.5rem; }

.social-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 2.5rem; }

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 1.2rem;
    transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.social-icon:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-3px); }

.footer-divider { width: 56px; height: 3px; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 2px; margin: 0 auto 1.25rem; }
.footer-by  { font-size: 1rem; font-weight: 500; margin-bottom: .5rem; }
.footer-dev { font-size: .78rem; color: rgba(255,255,255,.35); }
.dev-link   { color: rgba(139,92,246,.7); text-decoration: none; transition: color .2s; }
.dev-link:hover { color: var(--purple); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .card-panel { padding: 1.75rem 1.25rem; border-radius: 18px; }
    .nav-dots   { right: 12px; gap: 12px; }
    .section-counter { left: 16px; bottom: 20px; }
    .features-grid { gap: 10px; }
    .feat-card { font-size: .82rem; padding: 11px 12px; }
}
