/* =========================================
   Minimal Creative - Styles
   {BYAP} - Andre Paiva
   ========================================= */

/* Skip Link - Acessibilidade */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #111111);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s ease;
}
.skip-link:focus {
    top: 0;
}

/* Logo SVG */
.logo-svg {
    height: 45px;
    width: auto;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}
.header.scrolled .logo-svg { color: #111; }
.logo-svg:hover { transform: scale(1.05); opacity: 0.9; }

/* Menu toggle - branco inicial, escuro no scroll */
.menu-toggle span {
    background: #fff;
    transition: var(--transition-normal);
}
.header.scrolled .menu-toggle span {
    background: #111;
}

/* =========================================
   CSS Variables
   ========================================= */
:root {
    /* Colors */
    --primary: #111111;
    --secondary: #222222;
    --red: #e53935;
    --orange: #ff9800;
    --gray-bg: #f5f5f5;
    --text-dark: #111111;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 30px;
    --radius-full: 50px;
}

/* =========================================
   Reset & Base
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

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

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

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

.text-red { color: var(--red); }
.text-orange { color: var(--orange); }

/* =========================================
   Preloader
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-bars {
    display: flex;
    gap: 8px;
}

.loading-bars span {
    width: 6px;
    height: 30px;
    background: var(--red);
    animation: loading-pulse 1s ease-in-out infinite;
}

.loading-bars span:nth-child(1) { animation-delay: 0s; }
.loading-bars span:nth-child(2) { animation-delay: 0.1s; }
.loading-bars span:nth-child(3) { animation-delay: 0.2s; }

@keyframes loading-pulse {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* =========================================
   Custom Cursor
   ========================================= */
.custom-cursor {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor {
        display: block;
    }
    
    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background: var(--red);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10001;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    }
    
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 2px solid var(--red);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease;
        opacity: 0.5;
    }
    
    .cursor-hover .cursor-dot {
        transform: translate(-50%, -50%) scale(2);
    }
    
    .cursor-hover .cursor-outline {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    width: auto;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: var(--transition-normal);
    transform-origin: center;
}

.header.scrolled .menu-toggle span {
    background: #111;
}

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

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

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

.header-cta {
    display: none;
    color: #fff;
    border-color: #fff;
}

.header.scrolled .header-cta {
    color: #111;
    border-color: #111;
}

@media (min-width: 992px) {
    .header-cta {
        display: inline-flex;
    }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    min-height: 50px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: #c62828;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* =========================================
   Side Menu
   ========================================= */
.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.side-menu.active {
    left: 0;
}

.side-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-close span {
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
}

.side-menu-close span:first-child {
    transform: rotate(45deg);
}

.side-menu-close span:last-child {
    transform: rotate(-45deg);
}

.side-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 40px;
    text-align: center;
}

.side-menu-logo {
    margin-bottom: 40px;
}

.side-menu-logo img {
    height: 50px;
}

.side-nav {
    margin-bottom: 40px;
}

.side-nav li {
    margin-bottom: 15px;
}

.side-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: lowercase;
    position: relative;
}

.side-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition-normal);
}

.side-nav a:hover::after {
    width: 100%;
}

.side-menu-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.side-menu-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.side-menu-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.side-menu-social svg {
    width: 18px;
    height: 18px;
}

.side-menu-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.hero-social {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

@media (min-width: 992px) {
    .hero-social {
        display: flex;
    }
}

.hero-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.hero-social a:hover {
    background: var(--red);
    color: var(--white);
    transform: translateX(5px);
}

.hero-social svg {
    width: 18px;
    height: 18px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.text-rotate {
    display: block;
    color: var(--orange);
    position: relative;
    height: 1.2em;
    overflow: hidden;
}

.rotate-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-slow);
}

@media (min-width: 992px) {
    .rotate-item {
        left: 0;
        text-align: left;
    }
}

.rotate-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .hero-text {
        margin-left: 0;
    }
}

.hero-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: var(--transition-slow);
}

.slider-track img.active {
    opacity: 1;
}

.hero-cards {
    display: flex;
    flex-direction: column;
}

.hero-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.card-red {
    background: var(--red);
    color: var(--white);
}

.card-orange {
    background: var(--orange);
    color: var(--white);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 180px;
}

.card-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.hero-card:hover .card-arrow {
    background: var(--white);
    color: var(--text-dark);
    transform: translateX(5px);
}

.card-arrow svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   Section Headers
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: currentColor;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-title span {
    display: block;
}

.section-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* =========================================
   About Section
   ========================================= */
.about {
    padding: 100px 0;
    background: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 57, 53, 0.1);
    color: var(--red);
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* =========================================
   Portfolio Section
   ========================================= */
.portfolio {
    padding: 100px 0;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .counters-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.counter-item {
    text-align: center;
    padding: 30px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.portfolio-lines {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}

.portfolio-lines .line {
    position: absolute;
    background: var(--white);
    transition: var(--transition-normal);
}

.portfolio-lines .line.top {
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
}

.portfolio-lines .line.right {
    top: 0;
    right: 0;
    width: 2px;
    height: 0;
}

.portfolio-lines .line.bottom {
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
}

.portfolio-lines .line.left {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 0;
}

.portfolio-item:hover .line.top,
.portfolio-item:hover .line.bottom {
    width: 100%;
}

.portfolio-item:hover .line.left,
.portfolio-item:hover .line.right {
    height: 100%;
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

/* =========================================
   Pricing Section
   ========================================= */
.pricing {
    padding: 100px 0;
    background: var(--gray-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--red);
}

.pricing-amount .price {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-amount .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* =========================================
   Blog Section
   ========================================= */
.blog-section {
    padding: 100px 0;
}

.clients-slider {
    overflow: hidden;
    padding: 30px 0;
    margin-bottom: 80px;
}

.clients-track {
    display: flex;
    gap: 50px;
    animation: scroll-clients 20s linear infinite;
}

.clients-track img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition-normal);
}

.clients-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-title span {
    display: block;
}

.blog-text {
    color: var(--text-light);
    margin-bottom: 30px;
}

.blog-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
    padding: 100px 0;
    background: var(--gray-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .contact-form .form-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--red);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    height: 100%;
}

.contact-text {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-list svg {
    width: 24px;
    height: 24px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-list span {
    color: var(--text-light);
    display: block;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 40px 0;
    background: var(--gray-bg);
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--text-dark);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-copyright a {
    color: var(--text-dark);
    font-weight: 600;
}

.footer-copyright a:hover {
    color: var(--red);
}

.footer-copyright .heart {
    width: 14px;
    height: 14px;
    color: #e74c3c;
    display: inline-block;
    vertical-align: middle;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* =========================================
   Fixed Menu Button
   ========================================= */
.fixed-menu-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.fixed-menu-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fixed-menu-btn .menu-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.fixed-menu-btn .menu-lines span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.fixed-menu-btn:hover {
    transform: scale(1.1);
}

/* =========================================
   Lightbox
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about,
    .portfolio,
    .pricing,
    .blog-section,
    .contact {
        padding: 60px 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .blog-showcase {
        grid-template-columns: 1fr;
    }
}

/* Touch Targets */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .menu-toggle,
    .side-menu-close,
    .side-menu-social a,
    .hero-social a,
    .portfolio-item,
    .footer-social a,
    .lightbox-close {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .side-menu,
    .side-menu-overlay,
    .hero-social,
    .fixed-menu-btn,
    .lightbox,
    .custom-cursor {
        display: none !important;
    }
}

/* ===== BYAP Logo Styles ===== */
.logo-text {
    font-family: "Oswald", "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo-text .bracket {
    color: var(--color-primary, #e50914);
    font-weight: 800;
}

.logo a.logo,
.logo a.footer-logo,
a.mobile-logo,
a.side-menu-logo {
    text-decoration: none;
    color: inherit;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
}
/* ===== End BYAP Logo ===== */



/* ============================================
   FAANG-LEVEL ROUND 2 - UX & INTERACTION
   ============================================ */

/* Active States for All Interactive Elements */
button:active,
a:active,
[role="button"]:active,
.btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* Enhanced Hover States */
button:hover,
a:hover,
[role="button"]:hover,
.btn:hover {
  transform: translateY(-1px);
}

/* Haptic-like Feedback (visual) */
@keyframes haptic-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.97); }
}

.haptic:active {
  animation: haptic-pulse 0.15s ease-out;
}

/* Improved Loading Animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.1) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Interaction Feedback */
input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
  border-color: var(--cor-primaria, #6366f1);
}

/* Better Disabled State */
button:disabled,
input:disabled,
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Micro-interactions */
.card,
.btn,
article {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Spring Animation */
@keyframes spring {
  0% { transform: scale(0.8); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-spring {
  animation: spring 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Subtle Entrance Animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* Stagger Animation Helper */
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* Premium Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--cor-primaria, #6366f1), var(--cor-secundaria, #a855f7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium Button */
.btn-premium {
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-premium:hover::before {
  transform: translateX(100%);
}


/* Garantir que imagens carregadas apareçam */
img.loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Esconder skeletons quando carregado */
.skeleton-container.loaded .skeleton-placeholder,
.skeleton-container.loaded .skeleton,
.loaded > .skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fallback visual para elementos vazios */
.bento-card:empty,
.card:empty,
.portfolio-item:empty {
  min-height: 100px;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

/* Lucide icons fallback */
[data-lucide]:empty::before {
  content: "•";
  font-size: 1.5em;
  opacity: 0.3;
}



/* ========================================
   BYAP Fix: Robust Visual Fallbacks
   ======================================== */

/* Garantir que imagens carregadas apareçam */
img.loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Forçar imagens a aparecerem após 2s mesmo sem .loaded */
@keyframes forceShow {
  to { opacity: 1; }
}

img[data-src], img.lazy {
  animation: forceShow 0.3s ease 2s forwards;
}

/* Esconder skeletons quando carregado */
.skeleton-container.loaded .skeleton-placeholder,
.skeleton-container.loaded .skeleton,
.loaded > .skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Esconder skeletons após 3s */
@keyframes hideSkeleton {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.skeleton-placeholder,
.skeleton {
  animation: hideSkeleton 0.3s ease 3s forwards;
}

/* Fallback visual para elementos vazios */
.bento-card:empty,
.card:empty,
.portfolio-item:empty {
  min-height: 100px;
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
}

/* Lucide icons - garantir tamanho */
[data-lucide] svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
}

