/* ============================================================
   Igor Iglesias — site principal
   Mobile-first · dark · semantic
   Sistema base derivado do DESIGN_SYSTEM.md
   ============================================================ */

/* -------- 1. TOKENS -------- */
:root {
    /* Surfaces */
    --bg:                #000;
    --surface-1:         #1c1c1e;
    --surface-2:         #2c2c2e;
    --surface-3:         #3a3a3c;

    /* Separators */
    --separator:         rgba(255, 255, 255, 0.10);
    --separator-strong:  rgba(255, 255, 255, 0.18);

    /* Text */
    --text:              #f5f5f7;
    --text-2:            #aeaeb2;
    --text-3:            #8e8e93;
    --text-disabled:     #48484a;

    /* Accents — Apple system */
    --blue:              #0a84ff;
    --blue-hover:        #409cff;
    --green:             #30d158;
    --orange:            #ff9f0a;
    --red:               #ff453a;
    --yellow:            #ffd60a;
    --indigo:            #5e5ce6;
    --teal:              #64d2ff;

    /* Brand accent secundário (camada profissional discreta) */
    --accent-2:          #5e5ce6;

    /* Raios */
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   18px;
    --r-pill: 980px;

    /* Tipografia */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display",
                 "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo,
                 Consolas, monospace;

    /* Layout */
    --container: 1100px;
    --gutter:    clamp(1rem, 3.5vw, 2rem);

    /* Header height (reserva pra anchor scroll) */
    --header-h:  60px;
}

/* -------- 2. RESET / BASE -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern", "liga", "calt", "ss01";
    min-height: 100dvh;
    overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--blue-hover); }
ul, ol { padding-left: 1.2rem; }
ul.tag-list, ul.pill-list, ul.faq-links, ul.checks, ul.steps, ol.steps, ul.nav-primary, .footer-links { list-style: none; padding-left: 0; margin: 0; }

::selection { background: var(--blue); color: #fff; }

/* -------- 3. TIPOGRAFIA -------- */
h1, h2, h3, h4 { margin: 0 0 0.6rem; }

h1 {
    font-size: clamp(2.1rem, 6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
}
h2 {
    font-size: clamp(1.6rem, 4.2vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.15;
}
h3 {
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.25;
}
h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-3);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--text); }

.accent { color: var(--blue); }
.kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1rem;
}
.deck {
    font-size: clamp(1.02rem, 2.5vw, 1.18rem);
    line-height: 1.5;
    color: var(--text-2);
    max-width: 62ch;
    font-weight: 400;
    margin-top: 1.25rem;
    letter-spacing: -0.014em;
}
.muted { color: var(--text-2); font-size: 0.95rem; }
.eyebrow {
    color: var(--text-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
}

code, pre, .mono {
    font-family: var(--font-mono);
    font-feature-settings: "tnum", "zero";
}

/* -------- 4. LAYOUT BASE -------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
main { display: block; }
.section { padding: 3.2rem 0; }
@media (min-width: 760px) { .section { padding: 4.5rem 0; } }
.section-head { margin-bottom: 2rem; }
.section-head h2 { max-width: 22ch; }
.section-head .deck { margin-top: 0.8rem; }

.section-quiet { background:
    radial-gradient(120% 100% at 50% 0%, rgba(94, 92, 230, 0.08), transparent 70%),
    var(--bg);
    border-top: 1px solid var(--separator);
    border-bottom: 1px solid var(--separator);
}

.section-cta { text-align: center; padding: 4rem 0 3rem; }
.section-cta .deck { margin-left: auto; margin-right: auto; }
.section-cta .hero-cta { justify-content: center; }
.cta-tail { margin-top: 1.6rem; color: var(--text-2); font-size: 0.95rem; }

/* Grid utils */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* 2x2 fixo — evita o card órfão de auto-fit quando há 4 cards */
.grid-2x2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2x2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.row-center { justify-content: center; }

/* -------- 5. HEADER / NAV -------- */
header.site {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid var(--separator);
}
header.site .bar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.018em;
}
.brand:hover { color: var(--text); }
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--blue) 0%, var(--accent-2) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.25);
}
.brand-name { font-size: 0.98rem; }

/* Nav */
.nav { display: flex; align-items: center; }
.nav-primary {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
}
.nav-primary > li > a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--r-pill);
    transition: color 150ms, background 150ms;
}
.nav-primary > li > a:not(.btn):hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}
.nav-primary > li > a:not(.btn).active,
.nav-primary > li > a:not(.btn)[aria-current="location"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.10);
}
.nav-primary .nav-cta { margin-left: 0.5rem; }

/* Hambúrguer */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--separator);
    border-radius: var(--r-pill);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.nav-toggle-bar {
    display: block;
    width: 18px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 200ms ease, opacity 150ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .nav-primary {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1.2rem var(--gutter) 2rem;
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid var(--separator);
        transform: translateY(-110%);
        transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
    }
    .nav-primary.is-open { transform: translateY(0); }
    .nav-primary > li > a:not(.btn) {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: var(--r-md);
    }
    .nav-primary .nav-cta { margin: 0.6rem 0 0; }
    .nav-primary .nav-cta .btn { width: 100%; justify-content: center; }
}

/* -------- 6. BOTÕES -------- */
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    border-radius: var(--r-pill);
    border: none;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    transition: background 150ms ease, transform 150ms ease, color 150ms ease;
}
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: var(--text);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.18); color: var(--text); }

.btn-sm {
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
}

/* Botões com cor de marca — destacam os CTAs de cada plataforma */
.btn-wa { background: #25D366; color: #052e16; }
.btn-wa:hover { background: #20c45c; color: #052e16; }
.btn-yt { background: #e00020; color: #fff; }
.btn-yt:hover { background: #c4001d; color: #fff; }
.btn-tw { background: #9146ff; color: #fff; }
.btn-tw:hover { background: #7d2bff; color: #fff; }
.btn-wa svg, .btn-yt svg, .btn-tw svg { flex: 0 0 auto; }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    color: var(--blue);
    padding: 0.5rem 0;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.95rem;
}
.btn-link:hover { color: var(--blue-hover); gap: 0.55rem; }
.btn-link { transition: gap 200ms ease, color 150ms ease; }

/* -------- 7. CARDS -------- */
article {
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-lg);
    padding: 1.4rem 1.4rem;
    transition: border-color 150ms ease, transform 200ms ease;
}
article > header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--separator);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}
article > header h3 { margin-bottom: 0; }

article.featured {
    background: linear-gradient(180deg, rgba(10,132,255,0.10), rgba(10,132,255,0.02));
    border-color: rgba(10, 132, 255, 0.30);
}

/* -------- 8. BADGES -------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28em 0.78em;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.badge-pass    { background: rgba(48,209,88,0.16);  color: var(--green); }
.badge-fail    { background: rgba(255,69,58,0.16);  color: var(--red); }
.badge-warning { background: rgba(255,159,10,0.18); color: var(--orange); }
.badge-info    { background: rgba(10,132,255,0.16); color: var(--blue); }
.badge-neutral { background: rgba(255,255,255,0.08); color: var(--text-2); }

/* ul. prefixo p/ vencer o reset `ul.pill-list{margin:0}` (mesma especificidade, vem depois) */
ul.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; }
ul.tag-list  { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.pill-list .badge { padding: 0.45em 0.95em; font-size: 0.75rem; }

/* -------- 9. METRIC -------- */
.metric { display: flex; flex-direction: column; gap: 0.35rem; }
.metric .label {
    color: var(--text-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.metric .value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.030em;
    line-height: 1.1;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    flex-wrap: wrap;
}
.metric .value.small { font-size: 1.3rem; line-height: 1.25; }
.metric .sub { font-size: 0.85rem; color: var(--text-3); }

/* -------- 10. HERO -------- */
.hero {
    padding: 2.4rem 0 2.2rem;
    border-bottom: 1px solid var(--separator);
    background:
        radial-gradient(70% 60% at 0% 0%, rgba(10,132,255,0.10), transparent 60%),
        radial-gradient(60% 50% at 100% 10%, rgba(94, 92, 230, 0.08), transparent 60%);
}
@media (min-width: 760px) { .hero { padding: 4rem 0 3.2rem; } }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
    margin-top: 0.6rem;
}
@media (min-width: 880px) {
    .hero-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.hero-side { display: flex; flex-direction: column; gap: 1.2rem; }

.status-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-lg);
    padding: 1.1rem 1.2rem;
}
.status-dot {
    flex: 0 0 auto;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 6px;
    box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55);
    animation: pulse 2.2s cubic-bezier(0.2, 0, 0, 1) infinite;
}
.status-title { font-weight: 600; color: var(--text); margin-top: 2px; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); }
    100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

/* -------- 11. CHANNEL CARDS (facade YouTube/Twitch) -------- */
.channel-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.channel-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.1rem;
    padding: 1.5rem 1.4rem;
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-lg);
    color: var(--text);
    transition: border-color 150ms ease, background 150ms ease, transform 200ms ease;
}
.channel-card:hover {
    color: var(--text);
    border-color: var(--separator-strong);
    background: var(--surface-2);
}
.channel-card:hover .channel-arrow { transform: translateX(4px); }
.channel-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    flex: 0 0 auto;
    color: #fff;
}
.channel-yt .channel-play { background: #ff0033; }
.channel-tw .channel-play { background: #9146ff; }
.channel-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.channel-meta strong { font-size: 1.05rem; }
.channel-meta .muted { font-size: 0.9rem; }
.channel-arrow {
    color: var(--blue);
    font-size: 1.4rem;
    transition: transform 200ms ease;
    flex: 0 0 auto;
}

/* -------- 12. STEPS (Método) -------- */
.steps {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.steps li {
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-lg);
    padding: 1.4rem 1.4rem;
    position: relative;
}
.step-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.steps h3 { margin-bottom: 0.4rem; }

/* -------- 13. NOTICE -------- */
.notice {
    margin-top: 2rem;
    background: rgba(10,132,255,0.08);
    border: 1px solid rgba(10,132,255,0.25);
    color: var(--text);
    padding: 1.2rem 1.4rem;
    border-radius: var(--r-md);
    font-size: 0.98rem;
    line-height: 1.55;
}
.notice strong { color: var(--blue); }

/* -------- 14. SOBRE -------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 820px) { .about-grid { grid-template-columns: 1.6fr 1fr; gap: 3rem; } }
.about-copy p { color: var(--text-2); max-width: 64ch; }
.about-copy p strong { color: var(--text); }

.about-side { display: flex; flex-direction: column; gap: 1rem; }
.avatar { margin: 0; }
.avatar img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 320px;
    border-radius: var(--r-lg);
    object-fit: cover;
    border: 1px solid var(--separator);
    background:
        linear-gradient(135deg, rgba(10,132,255,0.20), rgba(94,92,230,0.12));
}
.role-pill {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-md);
    max-width: 320px;
}
.role-pill strong { font-size: 1.02rem; }

/* -------- 15. ONDE EU APLICO -------- */
.apply-card {
    border-color: rgba(94, 92, 230, 0.28);
    background: linear-gradient(180deg, rgba(94, 92, 230, 0.07), rgba(94, 92, 230, 0.01));
}
.apply-card header .badge { background: rgba(94, 92, 230, 0.18); color: #b8b6ff; }
.apply-card .btn-link { color: #b8b6ff; }
.apply-card .btn-link:hover { color: #d0cfff; }
.apply-card p { color: var(--text-2); }
.apply-card p strong { color: var(--text); }

.apply-footnote {
    margin-top: 1.6rem;
    color: var(--text-3);
    font-size: 0.86rem;
    text-align: center;
}

/* -------- 16. FAQ -------- */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
details {
    background: var(--surface-1);
    border: 1px solid var(--separator);
    border-radius: var(--r-md);
    padding: 0.2rem 1.1rem;
    transition: border-color 150ms ease;
}
details[open] { border-color: var(--separator-strong); }
details > summary {
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.95rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 44px;
    font-size: 1rem;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
    content: "›";
    color: var(--blue);
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 220ms ease;
    flex: 0 0 auto;
}
details[open] > summary::after { transform: rotate(90deg); }
details p, details ul { padding: 0 0 1rem; margin: 0; }
details ul.faq-links { padding-bottom: 0.6rem; list-style: none; }
details ul.faq-links li { margin: 0.25rem 0; font-size: 0.95rem; color: var(--text-2); }

/* -------- 18. STATS GRID (O cenário — dados de mercado) -------- */
.stats-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.6rem 1.6rem;
}
.stat-card > footer {
    border-top: 1px solid var(--separator);
    padding-top: 0.9rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.stat-card .metric .value { font-size: clamp(2rem, 5vw, 2.6rem); }
.stat-card .metric .value.value-text {
    font-size: clamp(1.8rem, 4.2vw, 2.2rem);
    letter-spacing: -0.028em;
}
.stat-card .metric .sub {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-2);
    margin-top: 0.4rem;
}
.stat-card .muted { font-size: 0.88rem; line-height: 1.5; }
.source {
    display: inline-block;
    font-style: normal;
    color: var(--text-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Source inline (hero metric) */
.hero-side .metric .sub .source {
    display: inline;
    margin-left: 0.3rem;
}

/* -------- 19. FOOTER -------- */
footer.site {
    border-top: 1px solid var(--separator);
    margin-top: 3rem;
    padding: 2.5rem var(--gutter) 6rem;
    color: var(--text-3);
    text-align: center;
}
footer.site .container { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; padding: 0; }
.brand-footer { color: var(--text); }
.footer-tagline {
    color: var(--text-2);
    font-size: 0.95rem;
    max-width: 56ch;
    margin: 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    align-items: center;
    margin: 0.6rem 0 0;
    font-size: 0.88rem;
}
.footer-links a { color: var(--text-2); padding: 0.2rem 0.1rem; }
.footer-links a:hover { color: var(--text); }
.footer-links span { color: var(--text-disabled); }
.copyright { color: var(--text-3); font-size: 0.8rem; margin-top: 0.4rem; display: block; }

/* -------- 20. WHATSAPP FLUTUANTE -------- */
.floating-wa {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #25D366;
    color: #052e16;
    padding: 0.7rem 1rem 0.7rem 0.9rem;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(37, 211, 102, 0.4);
    transition: transform 200ms ease, box-shadow 200ms ease, background 150ms ease;
    min-height: 44px;
}
.floating-wa:hover {
    color: #052e16;
    background: #20c45c;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(37, 211, 102, 0.5);
}
.floating-wa svg { flex: 0 0 auto; }
@media (max-width: 480px) {
    .floating-wa span { display: none; }
    .floating-wa { padding: 0.85rem; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
}

/* -------- 21. ESTADOS / A11Y -------- */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--blue);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
    z-index: 1000;
    transition: top 120ms;
}
.skip-link:focus, .skip-link:focus-visible { top: 0; color: #fff; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------- 22. REVEAL (IntersectionObserver) --------
   Só esconde quando o JS confirmou suporte (html.js). Sem JS, ou se o
   script falhar ao carregar, o conteúdo permanece visível. */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 500ms cubic-bezier(0.2, 0, 0, 1),
                transform 500ms cubic-bezier(0.2, 0, 0, 1);
}
[data-reveal].is-revealing {
    will-change: opacity, transform;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero deve aparecer imediatamente — não escondido inicialmente */
.js .hero[data-reveal] { opacity: 1; transform: none; }

/* -------- 23. IMAGE FALLBACK (avatar vira monograma se a foto faltar) -------- */
.avatar.img-missing img { display: none; }
.avatar.img-missing::before {
    content: "II";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-lg);
    border: 1px solid var(--separator);
    background: linear-gradient(135deg, var(--blue), var(--accent-2));
    color: #fff;
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* -------- 24. REDUCED MOTION -------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
