:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-card: #141414;
    --text-primary: #fafafa;
    --text-secondary: #8a8a8a;
    --text-muted: #5a5a5a;
    --primary-color: #e63946;
    --primary-hover: #c1121f;
    --primary-glow: rgba(230, 57, 70, 0.4);
    --accent-color: #ff4757;
    --border-color: #1f1f1f;
    --border-subtle: #1a1a1a;
    
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 2.5rem;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0;
}

p {
    color: var(--text-secondary);
    font-size: 1.075rem;
    font-weight: 340;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 520;
    font-size: 0.9rem;
    font-family: var(--font-main);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.45s var(--ease-out-expo);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-hover);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out-expo);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -12px var(--primary-glow);
}

.btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.35s var(--ease-out-quart);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

/* ===== CURSOR ===== */
* {
    cursor: none !important;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.9), 0 0 25px rgba(230, 57, 70, 0.5);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--primary-color);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

body.cursor-active .cursor-outline {
    width: 32px;
    height: 32px;
    background: transparent;
}

body.cursor-active .cursor-outline.hovering {
    width: 48px;
    height: 48px;
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--primary-color);
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
}

.cursor-outline {
    width: 44px;
    height: 44px;
    border: 1px solid var(--primary-color);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

body.hovering .cursor-dot,
body.hovering .cursor-outline {
    opacity: 1;
}

body.cursor-active .cursor-outline {
    width: 56px;
    height: 56px;
    background: rgba(230, 57, 70, 0.08);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s var(--ease-out-quart);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 3%;
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 450;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.35s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

.nav-links .btn-nav {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    transition: all 0.35s var(--ease-out-quart);
}

.nav-links .btn-nav:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.nav-links .btn-nav::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5.5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.35s var(--ease-out-quart);
    border-radius: 2px;
}

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

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

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 3% 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 55%);
    z-index: 0;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 50%);
    z-index: 0;
    border-radius: 50%;
}

.hero-content {
    max-width: 720px;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
    opacity: 0;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s forwards;
    opacity: 0;
}

.hero h1 span {
    color: var(--primary-color);
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    max-width: 580px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 520px;
    z-index: 1;
}

.hero-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-card {
    position: absolute;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-card-1 {
    width: 320px;
    height: 200px;
    top: 10%;
    right: 0;
    animation: float 8s ease-in-out infinite;
    transform: rotate(5deg);
}

.hero-card-2 {
    width: 380px;
    height: 240px;
    bottom: 15%;
    right: 15%;
    animation: float 9s ease-in-out infinite reverse;
    transform: rotate(-3deg);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

/* ===== ABOUT ===== */
.sobre {
    padding: 10rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.sobre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.sobre-text h2 {
    margin-bottom: 1.75rem;
}

.sobre-text h2 span {
    color: var(--primary-color);
    font-style: italic;
}

.sobre-text p {
    margin-bottom: 1.5rem;
}

.sobre-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.45s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.45s var(--ease-out-expo);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 10rem 0;
    position: relative;
}

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

.portfolio-item {
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-quart);
    z-index: 1;
    pointer-events: none;
}

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

.portfolio-item:hover {
    transform: translateY(-12px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 50px -20px var(--primary-glow);
}

.portfolio-img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out-expo);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-quart);
}

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

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-content h3 {
    color: var(--primary-color);
}

.portfolio-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
    padding: 10rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.diferenciais::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.diff-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: all 0.45s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.diff-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.diff-card:hover::after {
    transform: scaleX(1);
}

.diff-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 57, 70, 0.3);
}

.diff-icon {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s var(--ease-out-expo);
}

.diff-card:hover .diff-icon {
    transform: scale(1.1) translateY(-4px);
}

.diff-card h3 {
    margin-bottom: 1rem;
}

.diff-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== CONTATO ===== */
.contato {
    padding: 10rem 0;
    position: relative;
}

.contato::before {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 55%);
    border-radius: 50%;
    pointer-events: none;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    background: var(--bg-card);
    padding: 5rem;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.contato-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.contato-info h2 {
    margin-bottom: 1.5rem;
}

.contato-info p {
    margin-bottom: 2rem;
}

.contato-info .contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

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

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.35s var(--ease-out-quart);
    outline: none;
    appearance: none;
}

.input-group textarea {
    min-height: 130px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.input-group label {
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s var(--ease-out-quart);
    background: transparent;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -0.7rem;
    left: 1rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--bg-card);
    padding: 0 0.5rem;
}

.contato-form button {
    margin-top: 1rem;
    width: 100%;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
}

.form-success i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.form-success p {
    margin: 0;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border-subtle);
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s var(--ease-out-quart) forwards;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.lightbox-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: all 0.8s var(--ease-out-expo);
}

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

.reveal-left {
    transform: translateX(-45px);
}

.reveal-left.active {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(45px);
}

.reveal-right.active {
    transform: translateX(0);
}

/* Staggered delays */
.portfolio-item:nth-child(1) { transition-delay: 0s; }
.portfolio-item:nth-child(2) { transition-delay: 0.1s; }
.portfolio-item:nth-child(3) { transition-delay: 0.2s; }

.diff-card:nth-child(1) { transition-delay: 0s; }
.diff-card:nth-child(2) { transition-delay: 0.1s; }
.diff-card:nth-child(3) { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-visual {
        width: 400px;
        height: 420px;
        right: 3%;
    }
}

@media (max-width: 1024px) {
    .sobre-grid,
    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s var(--ease-out-expo);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.25rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
        min-height: auto;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .sobre,
    .portfolio,
    .diferenciais,
    .contato {
        padding: 6rem 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* 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;
    }
}