/* ============================================
   LEO GAMA - LANDING PAGE PREMIUM
   Desenvolvedor Especialista em Landing Pages
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Primary Colors - Deep Noir */
    --primary-900: #0a0a0b;
    --primary-800: #121214;
    --primary-700: #1a1a1d;
    --primary-600: #252529;
    --primary-500: #303035;
    --primary-400: #45454d;
    --primary-300: #5a5a65;

    /* Accent Colors - Vibrant Purple (Brand Identity) */
    --accent-600: #7B1FA2;
    --accent-500: #9C27B0;
    --accent-400: #AB47BC;
    --accent-300: #CE93D8;

    /* Purple Highlight */
    --cyan-500: #9C27B0;
    --cyan-400: #BA68C8;

    /* Neutrals */
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-400) 100%);
    --gradient-hero: linear-gradient(180deg, var(--primary-800) 0%, var(--primary-900) 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 30, 35, 0.8) 0%, rgba(18, 18, 20, 0.95) 100%);
    --gradient-text: linear-gradient(90deg, var(--cyan-400) 0%, var(--accent-400) 100%);

    /* Solid Surface Effect - No Glass */
    --glass-bg: rgba(18, 18, 20, 0.95);
    --glass-border: rgba(156, 39, 176, 0.25);
    --glass-blur: blur(0px);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(156, 39, 176, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(171, 71, 188, 0.4);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ============================================
   SKIP LINK (Acessibilidade)
   ============================================ */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    padding: 12px 24px;
    background: var(--accent-500);
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--cyan-400);
    outline-offset: 2px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background: var(--primary-900);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    padding-right: 0.15em;
    display: inline-block;
}

.highlight {
    color: var(--accent-400);
}

.underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-inline {
    color: var(--accent-400);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.link-inline:hover {
    color: var(--cyan-400);
}

/* ============================================
   PARTICLE CANVAS BACKGROUND
   ============================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.fab {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    overflow: hidden;
}

.fab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.fab svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
}

/* WhatsApp Button */
.fab-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
    color: var(--white);
    box-shadow:
        0 4px 15px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.fab-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fab-whatsapp:active {
    transform: translateY(-1px) scale(1.02);
}

/* Scroll to Top Button */
.fab-scroll-top {
    background: var(--gradient-primary);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow:
        0 4px 15px rgba(156, 39, 176, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.fab-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-scroll-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(171, 71, 188, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fab-scroll-top:active {
    transform: translateY(-1px) scale(1.02);
}

/* Subtle pulse animation for WhatsApp */
.fab-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    background: rgba(37, 211, 102, 0.3);
    animation: fabPulse 2.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes fabPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

/* Responsive FAB */
@media (max-width: 640px) {
    .floating-actions {
        bottom: 1.5rem;
        right: 1rem;
    }

    .fab {
        width: 52px;
        height: 52px;
    }

    .fab svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(0px);
    box-shadow: 0 1px 0 rgba(156, 39, 176, 0.3);
    border-bottom: 1px solid rgba(156, 39, 176, 0.2);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
}

.logo-icon {
    width: 50px;
    height: auto;
    transition: var(--transition-normal);
    filter: brightness(1);
}

.logo:hover .logo-icon {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(171, 71, 188, 0.5));
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-300);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.4);
}

.btn-primary:hover {
    background: var(--accent-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(171, 71, 188, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-500);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(156, 39, 176, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(171, 71, 188, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: var(--glass-blur);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    text-transform: uppercase;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gray-500);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   WHY LANDING PAGE SECTION
   ============================================ */
.why-lp {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: var(--primary-900);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: var(--gradient-card);
    backdrop-filter: blur(0px);
    border: 2px solid rgba(156, 39, 176, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-400);
    box-shadow: 0 0 0 1px var(--accent-400), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.why-card h3 {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.why-list {
    list-style: none;
    text-align: left;
}

.why-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.6;
}

.why-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-400);
    font-weight: bold;
    font-size: 1rem;
}

.why-list li:last-child {
    margin-bottom: 0;
}

/* Why LP Responsive */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card:last-child {
        max-width: 100%;
    }

    .why-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--primary-800) 0%, var(--primary-900) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--gray-100);
    border: 2px solid rgba(156, 39, 176, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-400);
    box-shadow: 0 0 0 1px var(--accent-400), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-accent);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--gray-900);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.services-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: var(--gray-100);
    color: var(--gray-900);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    background: linear-gradient(145deg, rgba(25, 25, 29, 0.95) 0%, rgba(18, 18, 20, 0.98) 100%);
    border: 2px solid rgba(156, 39, 176, 0.25);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-600) 100%);
    pointer-events: none;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-400);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1;
    display: inline-block;
}

.step-number::before {
    content: none;
}

.step-number::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-400) 0%, var(--accent-300) 100%);
    margin-top: 0.5rem;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.process-step:hover .step-number::after {
    width: 100%;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.step-content p strong {
    color: var(--white);
    font-weight: 600;
}

.highlight-step {
    background: linear-gradient(145deg, rgba(25, 25, 29, 0.95) 0%, rgba(18, 18, 20, 0.98) 100%);
    border-color: var(--accent-400);
    box-shadow: 0 0 20px rgba(171, 71, 188, 0.15);
}

.highlight-step::before {
    background: linear-gradient(180deg, var(--accent-300) 0%, var(--accent-500) 100%);
}

.highlight-step .step-content h3 {
    color: var(--white);
}

.success-message {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
    color: var(--white) !important;
}

.how-it-works .section-title {
    color: var(--gray-900);
}

.how-it-works .section-subtitle {
    color: var(--gray-600);
}

/* Responsive Timeline */
@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 1.5rem;
    }
}

/* ============================================
   ABOUT SECTION (Agora após Skills - tema escuro)
   ============================================ */
.about {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: var(--primary-900);
    color: var(--white);
}

/* Layout em duas colunas */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Coluna Esquerda: Conteúdo textual */
.about-content {
    background: rgba(18, 18, 20, 0.9);
    border: 2px solid rgba(156, 39, 176, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(0px);
    display: flex;
    flex-direction: column;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.about-header svg {
    color: var(--accent-500);
}

.about-header h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 1.5rem;
}

.about-text .highlight {
    color: var(--accent-500);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-600);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.social-btn:hover {
    background: var(--accent-500);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-accent);
}

/* Coluna Direita: Foto + Skills */
.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, var(--primary-700) 0%, var(--primary-800) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(156, 39, 176, 0.4);
    box-shadow:
        0 0 0 4px rgba(10, 10, 11, 0.6),
        0 0 20px rgba(156, 39, 176, 0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: var(--transition-normal);
    padding: 0.5rem;
}

.image-frame:hover .profile-photo {
    transform: scale(1.03);
}

/* Grid de Skills (3x2) abaixo da foto */
.about-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.skill-card-about {
    background: var(--gradient-card);
    border: 1px solid rgba(156, 39, 176, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem 0.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.skill-card-about:hover {
    transform: translateY(-4px);
    border-color: rgba(156, 39, 176, 0.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.skill-card-about .skill-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.skill-card-about .skill-icon svg {
    width: 20px;
    height: 20px;
}

.skill-card-about:hover .skill-icon {
    transform: scale(1.1);
}

.skill-card-about h4 {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: var(--white);
}

.skill-card-about p {
    font-size: 0.65rem;
    color: var(--gray-400);
    line-height: 1.3;
}

/* Skill Icon Colors */
.skill-icon.html {
    background: rgba(227, 79, 38, 0.2);
    color: #e34f26;
}

.skill-icon.css {
    background: rgba(21, 114, 182, 0.2);
    color: #1572b6;
}

.skill-icon.js {
    background: rgba(247, 223, 30, 0.2);
    color: #f7df1e;
}

.skill-icon.seo {
    background: rgba(34, 211, 238, 0.2);
    color: var(--cyan-400);
}

.skill-icon.responsive {
    background: rgba(156, 39, 176, 0.2);
    color: var(--accent-400);
}

.skill-icon.performance {
    background: rgba(250, 204, 21, 0.2);
    color: var(--cyan-400);
}

/* Responsividade do About */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-right-column {
        order: -1;
    }

    .about-skills-grid {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .about-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        padding: 1.5rem;
    }
}


/* ============================================
   PROJECTS SECTION (Agora após Services - tema claro)
   ============================================ */
.projects {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: var(--white);
    color: var(--gray-900);
}

.projects .section-title {
    color: var(--gray-900);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-400);
    box-shadow:
        0 25px 50px rgba(156, 39, 176, 0.15),
        0 0 0 1px var(--accent-400);
}

.project-image {
    height: 300px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 0;
    border-bottom: 1px solid var(--gray-200);
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 85%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.project-placeholder {
    width: 80px;
    height: 80px;
    color: var(--gray-500);
    transition: var(--transition-normal);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
    color: var(--accent-400);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-slow);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.75rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-400) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.project-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-500);
    transition: var(--transition-normal);
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.project-link:hover {
    color: var(--primary-500);
}

.project-link:hover::after {
    width: 100%;
}

.project-link:hover svg {
    transform: translateX(4px);
}

.project-link svg {
    transition: var(--transition-normal);
}

/* ============================================
   PROJECTS CAROUSEL
   ============================================ */
.projects-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-track .project-card {
    flex: 0 0 calc((100% - 2rem) / 2);
    min-width: calc((100% - 2rem) / 2);
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-400) 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(171, 71, 188, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    padding: 0;
}

.indicator:hover {
    background: var(--gray-400);
    transform: scale(1.2);
}

.indicator.active {
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
    width: 32px;
    border-radius: var(--radius-full);
}

/* Placeholder styles for simulated projects */
.project-placeholder-bg {
    background: linear-gradient(145deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder-icon {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.project-card:hover .project-placeholder-icon {
    color: var(--accent-400);
    transform: scale(1.1);
}

/* Carousel Responsive */
@media (max-width: 1100px) {
    .carousel-track .project-card {
        flex: 0 0 calc((100% - 2rem) / 2);
        min-width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-track .project-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-track {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .projects-carousel {
        flex-direction: column;
        gap: 1.5rem;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-indicators {
        margin-top: 1.5rem;
    }
}

/* ============================================
   PROJECTS GALLERY VIEW
   ============================================ */
.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.projects-cta .btn-outline {
    border: 2px solid var(--primary-500);
    color: var(--primary-600);
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.projects-cta .btn-outline:hover {
    background: var(--accent-500);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

.projects-cta .btn-outline svg {
    transition: var(--transition-normal);
}

.projects-cta .btn-outline:hover svg {
    transform: rotate(90deg);
}

.projects-gallery {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        margin 0.4s ease;
    margin-top: 0;
}

.projects-gallery.active {
    max-height: 5000px;
    opacity: 1;
    margin-top: 3rem;
    overflow: visible;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Gallery card specific styles */
.gallery-grid .gallery-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition-delay: 0s !important;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background:
        linear-gradient(135deg,
            rgba(18, 18, 20, 1) 0%,
            rgba(25, 22, 18, 1) 50%,
            rgba(18, 18, 20, 1) 100%);
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            transparent 0%,
            rgba(156, 39, 176, 0.08) 25%,
            rgba(171, 71, 188, 0.12) 50%,
            rgba(156, 39, 176, 0.08) 75%,
            transparent 100%);
    z-index: -1;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(156, 39, 176, 0.5) 50%,
            transparent 100%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.cta h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta h2 .gradient-text {
    background: linear-gradient(90deg, var(--accent-400) 0%, var(--accent-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 1.125rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta .btn-primary {
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.35);
    border: 1px solid rgba(171, 71, 188, 0.3);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    box-shadow: 0 8px 30px rgba(171, 71, 188, 0.45);
}

.cta .btn-outline {
    border: 2px solid rgba(156, 39, 176, 0.4);
    color: var(--white);
    background: transparent;
}

.cta .btn-outline:hover {
    background: rgba(156, 39, 176, 0.12);
    border-color: rgba(171, 71, 188, 0.6);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-900);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.footer-column a:hover {
    color: var(--accent-400);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .image-frame {
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        gap: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(0px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description br {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-subtitle br {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-cta {
        flex-direction: column;
        width: 100%;
    }

    .services-cta .btn {
        width: 100%;
    }

    .about-content {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem 1rem;
    }

    .image-frame {
        max-width: 260px;
    }

    .floating-badge {
        width: 40px;
        height: 40px;
    }

    .floating-badge svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: linear-gradient(145deg, rgba(25, 25, 29, 0.98) 0%, rgba(10, 10, 11, 0.99) 100%);
    border: 2px solid rgba(156, 39, 176, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    height: auto;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(156, 39, 176, 0.15);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--primary-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-close:hover {
    color: var(--accent-500);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.modal-header h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-500);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--primary-900);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox de Consentimento LGPD */
.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--accent-500);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--accent-400);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.form-checkbox label a:hover {
    color: var(--cyan-400);
}

.form-submit {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

/* ============================================
   PROJECT MODAL (Premium Design)
   ============================================ */
.project-modal-container {
    max-width: 700px;
    padding: 0;
    overflow: visible;
    overflow-y: auto;
    height: auto;
    max-height: 90vh;
    background: linear-gradient(165deg,
            rgba(25, 25, 29, 0.96) 0%,
            rgba(18, 18, 20, 0.98) 50%,
            rgba(10, 10, 11, 0.99) 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

/* Borda gradiente premium */
.project-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg,
            rgba(156, 39, 176, 0.5) 0%,
            rgba(171, 71, 188, 0.3) 50%,
            rgba(250, 204, 21, 0.2) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Glow effect no container */
#projectModal.active .project-modal-container {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(156, 39, 176, 0.15),
        0 0 60px rgba(171, 71, 188, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Carrossel de Imagens */
.project-modal-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-images {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
    width: 100%;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

/* Carousel Navigation Buttons */
.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 10, 11, 0.85);
    border: 1px solid rgba(156, 39, 176, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0;
}

.project-modal-carousel:hover .modal-carousel-btn {
    opacity: 1;
}

.modal-carousel-btn:hover {
    background: var(--accent-500);
    border-color: var(--accent-400);
}

.modal-carousel-prev {
    left: 12px;
}

.modal-carousel-next {
    right: 12px;
}

.modal-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carousel Indicators */
.modal-carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.modal-carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 10, 11, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-carousel-indicators .indicator.active {
    background: var(--accent-500);
    width: 24px;
    border-radius: 4px;
}

/* Placeholder when no images */
.project-modal-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    background: #f8f8f8;
}

.project-modal-placeholder svg {
    opacity: 0.5;
}

/* Corpo do Modal Premium */
.project-modal-body {
    padding: 2rem 2.5rem 2.5rem;
    position: relative;
    animation: fadeInContent 0.4s ease 0.2s backwards;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tags Premium */
.project-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    animation: fadeInContent 0.4s ease 0.3s backwards;
}

.project-modal-tags .tag {
    background: linear-gradient(135deg,
            rgba(156, 39, 176, 0.18) 0%,
            rgba(171, 71, 188, 0.12) 100%);
    color: var(--accent-300);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(156, 39, 176, 0.25);
    transition: all 0.25s ease;
    cursor: default;
}

.project-modal-tags .tag:hover {
    background: linear-gradient(135deg,
            rgba(156, 39, 176, 0.28) 0%,
            rgba(171, 71, 188, 0.2) 100%);
    border-color: rgba(171, 71, 188, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.2);
}

/* Título Premium */
.project-modal-title {
    font-family: var(--font-primary);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInContent 0.4s ease 0.35s backwards;
    letter-spacing: -0.02em;
}

/* Descrição Otimizada */
.project-modal-description {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Layout 2 Colunas */
.project-modal-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    animation: fadeInContent 0.4s ease 0.35s backwards;
}

.project-modal-left {
    display: flex;
    flex-direction: column;
    height: auto;
}

.project-modal-right {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
    align-self: start;
}

/* Título */
.project-modal-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Recursos Section */
.resources-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan-400);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resources-title svg {
    flex-shrink: 0;
}

.resources-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.resources-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.88rem;
    color: var(--gray-300);
    line-height: 1.45;
}

.resources-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 100%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(171, 71, 188, 0.4);
}

/* CTA Wrapper for centering - Sticky na parte inferior */
.project-modal-cta-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem 2rem;
    margin: 0 -2.5rem -2.5rem;
    background: linear-gradient(to bottom,
            rgba(10, 10, 11, 0) 0%,
            rgba(10, 10, 11, 0.95) 30%,
            rgba(10, 10, 11, 1) 100%);
    animation: fadeInContent 0.4s ease 0.5s backwards;
    z-index: 10;
}

.project-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
    border-radius: var(--radius-full);
    color: var(--white);
    position: relative;
    overflow: hidden;
    animation: fadeInContent 0.4s ease 0.45s backwards;
    box-shadow:
        0 4px 20px rgba(156, 39, 176, 0.35),
        0 0 40px rgba(156, 39, 176, 0.15);
    transition: all 0.3s ease;
}

.project-modal-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.project-modal-cta:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(156, 39, 176, 0.45),
        0 0 60px rgba(156, 39, 176, 0.2);
}

.project-modal-cta:hover::before {
    left: 100%;
}

.project-modal-cta svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.project-modal-cta:hover svg {
    transform: translate(3px, -3px);
}

/* Button style for project-link when it's a button */
button.project-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Responsive Project Modal Premium */
@media (max-width: 768px) {
    .project-modal-container {
        max-width: 100%;
        margin: 0 0.5rem;
    }

    .project-modal-carousel {
        height: 220px;
    }

    .modal-carousel-btn {
        opacity: 1;
        width: 32px;
        height: 32px;
    }

    .project-modal-body {
        padding: 1.5rem 1.5rem 2rem;
    }

    .project-modal-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-modal-right {
        padding-left: 0;
        padding-top: 1.25rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .project-modal-title {
        font-size: 1.35rem;
    }

    .project-modal-description {
        font-size: 0.9rem;
    }

    .project-modal-cta {
        width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .project-modal-cta-wrapper {
        margin: 0 -1.5rem -2rem;
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .project-modal-tags .tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }
}


/* Responsive Modal */
@media (max-width: 640px) {
    .modal-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}