/* ==========================================================================
   VINICIUS BITTENCOURT | LB STUDIO - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* 1. VARIÁVEIS DO SISTEMA */
:root {
    --bg-dark: #0a0a0d;
    --bg-card: #121216;
    --bg-card-hover: #18181f;
    --yellow-primary: #ffe600;
    --yellow-hover: #ffd700;
    --yellow-glow: rgba(255, 230, 0, 0.25);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-yellow: rgba(255, 230, 0, 0.3);
    --text-white: #ffffff;
    --text-muted: #a0a0b0;
    --text-dark: #000000;
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* 2. RESET GLOBAL & TIPOGRAFIA FLUIDA (CLAMP) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, h4, h5, h6, a, span, label, input, select, textarea, button {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* UTILITÁRIOS DE TEXTO FLUIDO */
.highlight-yellow { color: var(--yellow-primary); }
.highlight-white { color: var(--text-white); }

/* ENTRADA SUAVE DOS ELEMENTOS AO ROLAR */
.js .reveal {
    opacity: 0;
    filter: blur(16px);
    transform: translate3d(0, 42px, 0) scale(0.985);
    transition:
        opacity 0.8s ease,
        filter 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.js .reveal.in-view {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}

.js .reveal.delay-1 { transition-delay: 0.08s; }
.js .reveal.delay-2 { transition-delay: 0.16s; }
.js .reveal.delay-3 { transition-delay: 0.24s; }
.js .reveal.delay-4 { transition-delay: 0.32s; }
.js .reveal.delay-5 { transition-delay: 0.4s; }
.js .reveal.delay-6 { transition-delay: 0.48s; }

/* MOVIMENTO PARALLAX DISCRETO PARA CAMADAS DECORATIVAS */
.parallax-layer {
    --parallax-y: 0px;
    transform: translate3d(0, var(--parallax-y), 0);
    will-change: transform;
}

.hero-bg-glow.parallax-layer {
    transform: translate3d(-50%, var(--parallax-y), 0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal,
    .js .reveal,
    .js .reveal.in-view,
    .parallax-layer,
    .hero-bg-glow.parallax-layer {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
        will-change: auto;
    }

    .hero-bg-glow.parallax-layer {
        transform: translateX(-50%);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hero-subtitle,
.section-description {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.portfolio-title,
.service-card h3,
.why-me-card h3 {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* BOTÕES FLUIDOS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.btn-yellow {
    background: var(--yellow-primary);
    color: var(--text-dark);
    box-shadow: 0 4px 20px var(--yellow-glow);
}

.btn-yellow:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 230, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--yellow-primary);
    color: var(--yellow-primary);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 13, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 12px var(--yellow-glow);
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-accent { color: var(--text-white); }
.logo-yellow { color: var(--yellow-primary); margin-left: 3px; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle,
.nav-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HERO CLEAN
   ========================================================================== */
/* PAGE BANNER FOR INTERNAL PAGES (ELIMINA SOBREPOSIÇÃO DO HEADER FIXO) */
.page-banner {
    padding-top: 170px;
    padding-bottom: 40px;
    background: linear-gradient(180deg, rgba(255, 230, 0, 0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.hero-clean {
    padding-top: 160px;
    padding-bottom: 60px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 28%, rgba(255, 230, 0, 0.055) 0%, rgba(255, 230, 0, 0.018) 32%, transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0%, transparent 30%, rgba(0, 0, 0, 0.16) 100%);
}

.hero-clean::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 40%, #000 0%, transparent 76%);
    mask-image: radial-gradient(ellipse 72% 72% at 50% 40%, #000 0%, transparent 76%);
    pointer-events: none;
}

.hero-clean::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -270px;
    z-index: 0;
    width: min(1100px, 92vw);
    height: 520px;
    border: 1px solid rgba(255, 230, 0, 0.12);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 230, 0, 0.065) 0%, rgba(255, 230, 0, 0.018) 40%, transparent 70%);
    box-shadow:
        0 0 100px rgba(255, 230, 0, 0.04),
        inset 0 0 80px rgba(255, 230, 0, 0.025);
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-bottom-fade {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 1;
    height: 190px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 13, 0.28) 36%,
        rgba(10, 10, 13, 0.78) 76%,
        var(--bg-dark) 100%
    );
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 82vw);
    height: 520px;
    background:
        radial-gradient(ellipse at 50% 32%, rgba(255, 230, 0, 0.16) 0%, rgba(255, 230, 0, 0.055) 34%, transparent 68%),
        radial-gradient(circle at 50% 82%, rgba(255, 230, 0, 0.07) 0%, transparent 42%);
    filter: blur(12px);
    opacity: 0.82;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 230, 0, 0.08);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-full);
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yellow-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow-primary);
    box-shadow: 0 0 10px var(--yellow-primary);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-media-clean {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    position: relative;
    z-index: 2;
}

.avatar-card {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--yellow-primary) 0%, transparent 80%);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.82),
        0 0 52px rgba(255, 230, 0, 0.09);
}

.avatar-card::before,
.avatar-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.avatar-card::before {
    inset: -18px;
    border: 1px solid rgba(255, 230, 0, 0.13);
}

.avatar-card::after {
    inset: -38px;
    border: 1px dashed rgba(255, 255, 255, 0.055);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ==========================================================================
   3 PILARES DE SERVIÇOS DETALHADOS
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yellow-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: auto;
}

.service-card:hover {
    border-color: var(--yellow-primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--yellow-primary);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.service-features {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-white);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

/* ==========================================================================
   ESTUDO DE CASO (UNIVERSO KATIÊ)
   ========================================================================== */
.case-study-section {
    padding: 60px 0;
}

.case-study-box {
    background: var(--bg-card);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.case-study-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 230, 0, 0.1);
    color: var(--yellow-primary);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 36px;
    align-items: center;
}

.case-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 28px;
    background: rgba(0, 0, 0, 0.3);
    padding: 18px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--yellow-primary);
}

.case-detail-item {
    font-size: 0.9rem;
    color: var(--text-white);
}
.case-detail-item strong { color: var(--yellow-primary); }

.browser-mockup {
    background: #18181c;
    border-radius: 12px;
    border: 1px solid var(--border-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.browser-header {
    background: #111115;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address {
    background: #0a0a0d;
    color: #a0a0b0;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 6px;
    flex-grow: 1;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-body {
    background: #fdfaf6;
    width: 100%;
}

.case-study-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1024 / 371;
}

/* ==========================================================================
   GALERIA MASONRY RESPONSIVA (OPÇÃO 2 - ZERO CORTES DE FOTO)
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.portfolio-tabs {
    display: flex;
    width: min(100%, 620px);
    margin: 0 auto 44px;
    padding: 6px;
    gap: 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.portfolio-tab-btn {
    flex: 1;
    border: 0;
    border-radius: calc(var(--radius-md) - 4px);
    padding: 13px 16px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-tab-btn:hover,
.portfolio-tab-btn:focus-visible {
    color: var(--text-white);
}

.portfolio-tab-btn.is-active {
    background: var(--yellow-primary);
    color: var(--text-dark);
}

.portfolio-tab-panel[hidden] {
    display: none !important;
}

.portfolio-panel-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center;
}

.portfolio-panel-heading .section-title {
    margin: 6px 0 12px;
}

.portfolio-panel-heading .section-description {
    margin: 0 auto;
}

.sites-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    column-count: unset;
    column-gap: 0;
    max-width: 980px;
    margin: 0 auto;
}

.sites-grid .portfolio-item {
    flex: 0 1 calc((100% - 48px) / 3);
    width: auto;
    margin-bottom: 0;
}

.portfolio-dynamic-sites {
    margin-top: 48px;
}

.portfolio-dynamic-sites h3 {
    margin-bottom: 22px;
    color: var(--text-white);
    text-align: center;
}

.portfolio-loading {
    grid-column: 1 / -1;
    padding: 2rem;
    color: var(--text-muted);
    text-align: center;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn i {
    margin-right: 6px;
    font-size: 0.78em;
    opacity: 0.82;
}

.filter-btn:hover,
.filter-btn.active,
.filter-btn.filter-active {
    background: var(--yellow-primary);
    color: var(--text-dark);
    border-color: var(--yellow-primary);
}

/* MASONRY COLUMNS CONTAINER FOR PHOTOGRAPHY */
.portfolio-grid {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.portfolio-card:hover {
    border-color: var(--yellow-primary);
}

/* SEM ALTURA FIXA NAS FOTOGRAFIAS: PROPORÇÃO ORIGINAL PRESERVADA */
.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    overflow: visible;
}

.portfolio-img {
    width: 100%;
    height: auto;
    object-fit: initial;
    display: block;
    transition: none; /* REMOVIDO ZOOM QUE CORTA BORDAS DE FOTOGRAFIA */
}

/* TRATAMENTO ESPECIAL APENAS PARA CAPAS DE WEBSITES (16:10) */
.portfolio-item.webdev .portfolio-img-wrapper {
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
}

.portfolio-item.webdev .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.portfolio-item.webdev .portfolio-card:hover .portfolio-img {
    transform: scale(1.03); /* ZOOM DISCRETO APENAS EM SITES */
}

/* OVERLAY DESKTOP VS MOBILE (SEM COBRIR ROSTO NO CELULAR) */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yellow-primary);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.web-project-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-live-link, .btn-lightbox {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--yellow-primary);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   PROCESSO DE ATENDIMENTO
   ========================================================================== */
.process-section {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 20px;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 18px;
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--yellow-primary);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--yellow-primary);
    margin-bottom: 10px;
}

.process-step h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   POR QUE TRABALHAR COMIGO
   ========================================================================== */
.why-me-section {
    border-bottom: 1px solid var(--border-color);
}

.why-me-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.why-me-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.why-me-card:hover {
    border-color: var(--yellow-primary);
    transform: translateY(-4px);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 230, 0, 0.1);
    color: var(--yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.why-me-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   SUMÁRIO E CONTATO CTA
   ========================================================================== */
.about-summary-box,
.contact-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-summary-text {
    font-size: 1.05rem;
    color: var(--text-white);
    max-width: 720px;
    margin: 18px auto 28px;
    line-height: 1.6;
}

.contact-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 40px;
}

/* ===========================================================================
   SOBRE MIM
   ========================================================================== */
.about-page-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 230, 0, 0.075), transparent 24rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 35%);
}

.about-page-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 88px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

.about-page-section .container { position: relative; z-index: 1; }

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.about-story-card,
.about-summary-card,
.about-service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(19, 19, 24, 0.84);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.about-story-card {
    padding: clamp(28px, 4vw, 48px);
    background:
        linear-gradient(135deg, rgba(255, 230, 0, 0.09), transparent 39%),
        rgba(19, 19, 24, 0.9);
}

.about-card-label,
.about-summary-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--yellow-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-story-card h2 {
    max-width: 16ch;
    margin: 18px 0 22px;
    color: var(--text-white);
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.04;
}

.about-story-card p {
    max-width: 68ch;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.about-story-card strong { color: var(--text-white); }

.about-story-cta { margin-top: 14px; }

.about-summary-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3vw, 38px);
}

.about-summary-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.about-summary-item i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 230, 0, 0.12);
    color: var(--yellow-primary);
}

.about-summary-item strong,
.about-summary-item span { display: block; }
.about-summary-item strong { color: var(--text-white); font-size: 0.95rem; }
.about-summary-item span { margin-top: 5px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }

.about-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 25px;
}

.about-focus-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 230, 0, 0.35);
    border-radius: 999px;
    color: var(--yellow-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.about-section-heading {
    max-width: 680px;
    margin: clamp(62px, 9vw, 112px) auto 34px;
    text-align: center;
}

.about-section-heading h2 {
    margin: 13px 0 11px;
    color: var(--text-white);
    font-size: clamp(1.9rem, 3.7vw, 2.8rem);
    line-height: 1.08;
}

.about-section-heading p { color: var(--text-muted); line-height: 1.6; }

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-service-card {
    position: relative;
    min-height: 274px;
    padding: 28px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.about-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 230, 0, 0.52);
    background: rgba(30, 29, 21, 0.92);
}

.about-service-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 14px;
    background: var(--yellow-primary);
    color: var(--text-dark);
    font-size: 1.2rem;
}

.about-service-number {
    position: absolute;
    top: 27px;
    right: 28px;
    color: rgba(255, 230, 0, 0.48);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.about-service-card h3 { margin: 28px 0 11px; color: var(--text-white); font-size: 1.18rem; }
.about-service-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

.contact-card {
    display: flex;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 16px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(255, 230, 0, 0.1);
    color: var(--yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-link {
    color: var(--yellow-primary);
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 0.92rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
}

.lgpd-notice {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.72rem;
    transition: var(--transition-fast);
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
    color: var(--yellow-primary);
}

.footer-admin-link i {
    font-size: 0.68rem;
}

.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--yellow-primary);
    color: var(--text-dark);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox-modal.active { opacity: 1; pointer-events: auto; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2010;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption { margin-top: 14px; text-align: center; }
.lightbox-caption h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--yellow-primary); }
.lightbox-caption p { color: var(--text-muted); font-size: 0.9rem; }
.lightbox-counter {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--yellow-primary);
    border-radius: var(--radius-md);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 2050;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
}

.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast-icon { color: var(--yellow-primary); font-size: 1.2rem; }

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS E INSPEÇÃO VISUAL (320px ATÉ 1920px)
   ========================================================================== */
@media (max-width: 1024px) {
    .portfolio-grid { column-count: 2; column-gap: 20px; }
    .sites-grid .portfolio-item { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
    .about-intro-grid,
    .about-services-grid { grid-template-columns: 1fr; }

    .about-intro-grid { gap: 16px; }

    .about-story-card,
    .about-summary-card,
    .about-service-card { border-radius: var(--radius-md); }

    .about-story-card,
    .about-summary-card { padding: 26px 22px; }

    .about-story-card h2 { max-width: none; }

    .about-section-heading { margin-top: 62px; }

    .header { padding: 10px 0; }
    
    .hero-bg-glow {
        top: 140px; /* Evita que o header corte o brilho */
        width: 100%; /* Ajusta o tamanho no celular */
        height: 360px;
        filter: blur(8px);
    }

    .hero-clean::before {
        background-size: 48px 48px;
        opacity: 0.65;
    }

    .hero-clean::after {
        bottom: -210px;
        height: 390px;
    }

    .hero-bottom-fade {
        height: 145px;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 20px;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--text-white);
        display: block;
        padding: 5px 0;
    }

    .nav-actions .btn-sm { display: none !important; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: #121216;
        padding: 75px 24px 40px;
        transition: right 0.3s ease;
        border-left: 2px solid var(--yellow-primary);
        z-index: 1001;
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-close {
        display: flex;
        position: absolute;
        top: 18px;
        right: 28px;
        width: 38px;
        height: 38px;
        background: var(--yellow-primary);
        color: #000;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }
    
    .nav-toggle { display: block; color: var(--yellow-primary); }

    /* MASONRY EM 1 COLUNA EM SMARTPHONES (320px - 768px) */
    .portfolio-grid { column-count: 1; }
    .sites-grid { column-count: unset; }
    .sites-grid .portfolio-item { flex-basis: 100%; }

    .portfolio-tabs {
        width: 100%;
        margin-bottom: 34px;
    }

    .portfolio-tab-btn {
        padding: 12px 10px;
        font-size: 0.84rem;
    }

    /* NO CELULAR: TEXTOS E BOTÕES ABAIXO DA FOTO (SEM COBRIR ROSTOS OU ROUPAS) */
    .portfolio-overlay {
        position: static;
        opacity: 1;
        background: var(--bg-card);
        padding: 16px;
        border-top: 1px solid var(--border-color);
    }

    .portfolio-img-wrapper {
        height: auto;
        overflow: visible;
    }

    .portfolio-img {
        width: 100%;
        height: auto;
    }

    .about-summary-box, .contact-cta-box { padding: 32px 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-clean { padding-top: 120px; }
    .avatar-card { width: 210px; height: 210px; }
    .avatar-card::before { inset: -12px; }
    .avatar-card::after { inset: -26px; }
}
