/* ═══════════════════════════════════════════════════
   AUTORRECONHECIMENTO — Página de Reconhecimento
   CSS Principal | ondaled.com/por-dentro
   ═══════════════════════════════════════════════════ */

:root {
    --bg: hsl(260 25% 7%);
    --bg-alt: hsl(260 22% 8.5%);
    --bg-card: hsl(260 20% 10%);
    --bg-elevated: hsl(260 18% 13%);
    --surface: hsl(260 15% 16%);
    --border: hsl(260 15% 16%);
    --border-hover: hsl(260 25% 25%);
    --text: hsl(0 0% 95%);
    --text-muted: hsl(260 8% 63%);
    --text-dim: hsl(260 8% 42%);
    --accent: hsl(271 91% 65%);
    --accent-bright: hsl(271 95% 72%);
    --accent-dark: hsl(271 60% 35%);
    --accent2: hsl(320 90% 60%);
    --purple: hsl(265 80% 65%);
    --red: hsl(0 72% 55%);
    --green: hsl(145 65% 45%);
    --orange: hsl(25 95% 55%);
    --yellow: hsl(45 95% 55%);
    --blue: hsl(210 85% 55%);
}

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

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
    width: 30px;
    height: 30px;
    background: rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.05s linear;
    mix-blend-mode: screen;
    filter: blur(8px);
    display: none;
}

@media (min-width: 1024px) {
    .cursor-glow.active {
        display: block;
    }

    body,
    a,
    button,
    [role="button"],
    .accordion-trigger,
    .card,
    .cena-card,
    input, select, textarea {
        cursor: none;
    }
}

@media (pointer: coarse) {
    .cursor-glow {
        display: none !important;
    }
}

/* ═══ SECTION ALTERNATION ═══ */
.section-dark {
    background: var(--bg);
}

.section-light {
    background: var(--bg-alt);
}

/* ═══ NOISE ═══ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
}

/* ═══ ANIMATIONS ═══ */
@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 hsla(271, 91%, 65%, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px hsla(271, 91%, 65%, 0);
    }
}

@keyframes shimmer-sweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes breathe {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(45px, -45px); }
}

@keyframes particle-drift {
    0% { background-position: 0 0; }
    100% { background-position: 300px 300px; }
}

@keyframes typing-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.6; }
}

/* ═══ REVEAL ═══ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ═══ SHIMMER HOVER ═══ */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.shimmer:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

/* ═══ SEPARATOR ═══ */
.sep {
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, hsla(271, 91%, 65%, 0.2) 50%, transparent 95%);
    border: none;
    margin: 0;
}

/* ═══ TYPOGRAPHY ═══ */
.h-hero {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.h-section {
    font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.h-sub {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
}

.t-body {
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.75;
}

.t-sm {
    font-size: 0.85rem;
    line-height: 1.7;
}

.t-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.t-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ═══ CARD ═══ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.25s ease;
}

@media (hover: hover) {
    .card:hover {
        border-color: var(--border-hover);
        transform: scale(1.02);
        box-shadow: 0 0 25px hsla(271, 91%, 65%, 0.05);
    }
}

/* ═══ CENA CARD (scenes of daily life) ═══ */
.cena-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cena-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .cena-card:hover {
        border-color: hsla(271, 91%, 65%, 0.2);
        transform: translateY(-4px);
        box-shadow: 0 12px 35px hsla(271, 91%, 65%, 0.06), 0 0 0 1px hsla(271, 91%, 65%, 0.08);
    }
}

.cena-card:hover::before {
    opacity: 1;
}

.cena-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.cena-local {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cena-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
}

/* ═══ FRASE CARD (recognition phrases) ═══ */
.frase-card {
    background: linear-gradient(135deg, hsla(271, 91%, 65%, 0.04), hsla(260, 20%, 10%, 0.8));
    border: 1px solid hsla(271, 91%, 65%, 0.08);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.frase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, hsla(271, 91%, 65%, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
}

@media (hover: hover) {
    .frase-card:hover {
        border-color: hsla(271, 91%, 65%, 0.25);
        background: linear-gradient(135deg, hsla(271, 91%, 65%, 0.08), hsla(260, 20%, 10%, 0.9));
        transform: translateY(-4px);
        box-shadow: 0 12px 40px hsla(271, 91%, 65%, 0.08);
    }
}

.frase-card:hover::before {
    opacity: 1;
}

.frase-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.frase-views {
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* ═══ NAO-E CARD (what this is NOT) ═══ */
.nao-e-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid hsla(260, 15%, 16%, 0.5);
}

.nao-e-item:last-child {
    border-bottom: none;
}

.nao-e-x {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: hsla(0, 72%, 55%, 0.1);
    border: 1px solid hsla(0, 72%, 55%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--red);
    margin-top: 2px;
}

.nao-e-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══ MECANISMO CARD ═══ */
.mecanismo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.25s;
    position: relative;
}

@media (hover: hover) {
    .mecanismo-card:hover {
        border-color: var(--border-hover);
        transform: scale(1.02) translateY(-2px);
        box-shadow: 0 8px 30px hsla(271, 91%, 65%, 0.05);
    }
}

.mecanismo-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: hsla(271, 91%, 65%, 0.12);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
}

.mecanismo-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.mecanismo-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══ BUTTONS ═══ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.15rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    border-radius: 0.85rem;
    text-decoration: none;
    border: none;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, hsl(271, 76%, 53%));
    color: #fff;
    box-shadow: 0 4px 0 hsl(271, 60%, 30%), 0 8px 25px hsla(271, 85%, 55%, 0.3);
    border: 2px solid hsla(0, 0%, 100%, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer-sweep 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 hsl(271, 60%, 30%), 0 14px 35px hsla(271, 85%, 55%, 0.4);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 hsl(271, 60%, 30%), 0 4px 12px hsla(271, 85%, 55%, 0.2);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    transition: all 0.3s;
}

.btn-ghost:hover {
    color: var(--accent);
    border-color: hsla(271, 91%, 65%, 0.3);
}

.btn-ghost.copied {
    color: var(--green);
    border-color: hsla(145, 65%, 45%, 0.3);
}

/* ═══ BADGE ═══ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    background: hsla(271, 91%, 65%, 0.08);
    border: 1px solid hsla(271, 91%, 65%, 0.15);
    border-radius: 999px;
    box-shadow: inset 0 1px 2px hsla(271, 91%, 65%, 0.06);
}

/* ═══ PULSE DOT ═══ */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* ═══ TEXT GLOW ═══ */
.text-glow {
    text-shadow: 0 0 25px hsla(271, 91%, 65%, 0.35), 0 0 50px hsla(271, 91%, 65%, 0.1);
}

/* ═══ CTA INLINE ═══ */
.cta-inline {
    padding: 3.5rem 0;
    text-align: center;
}

/* ═══ ACCORDION ═══ */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 0.4rem;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.accordion-item:hover {
    border-color: var(--border-hover);
}

.accordion-trigger {
    width: 100%;
    padding: 1.15rem 1.4rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
    gap: 1rem;
}

.accordion-trigger:hover {
    color: var(--accent);
}

.accordion-content {
    padding: 0 1.4rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.9rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 0.4rem 1.4rem 1.25rem;
}

.accordion-icon {
    transition: transform 0.3s;
    color: var(--accent);
    flex-shrink: 0;
}

.accordion-icon.active {
    transform: rotate(180deg);
}

/* ═══ RECOGNITION QUOTE ═══ */
.recognition-quote {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* ═══ STICKY CTA MOBILE ═══ */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(to top, var(--bg), hsla(260, 25%, 7%, 0.97));
    border-top: 1px solid hsla(260, 15%, 16%, 0.4);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sticky-cta-mobile.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .sticky-cta-mobile {
        display: none !important;
    }
}

/* ═══ HERO BACKGROUND ═══ */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsla(260, 25%, 7%, 0.68) 0%, transparent 35%, transparent 65%, hsla(260, 25%, 7%, 0.68) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: hsla(271, 91%, 65%, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsla(271, 91%, 65%, 0.35);
}

/* ═══ SELECTION ═══ */
::selection {
    background: hsla(271, 91%, 65%, 0.2);
    color: white;
}

/* ═══ MOBILE ═══ */
@media (max-width: 767px) {
    .btn-cta {
        padding: 0.85rem 1.4rem;
        font-size: 0.95rem;
    }

    body {
        padding-bottom: 62px;
    }

    .card, .cena-card, .mecanismo-card {
        padding: 1.25rem;
    }

    .grid-2col {
        grid-template-columns: 1fr !important;
    }

    .grid-3col {
        grid-template-columns: 1fr !important;
    }

    .grid-4col {
        grid-template-columns: 1fr 1fr !important;
    }

    .nav-links {
        display: none !important;
    }

    .hero-inner {
        gap: 2.5rem !important;
    }

    #hero {
        padding-top: 4rem !important;
        padding-bottom: 5rem !important;
    }
}

@media (max-width: 480px) {
    .grid-4col {
        grid-template-columns: 1fr !important;
    }

    .sticky-cta-mobile .btn-cta {
        font-size: 0.85rem;
    }
}
