:root {
    --bg-light: #fcfaf8;
    --card-bg: #FFFFFF;
    --primary-text: #3D2B1F; 
    --secondary-text: #6B5E54;
    --accent-color: #B8860B; 
    --highlight: #E6D5C3; 
    --soft-rose: #F2E3DB; 
    --shadow: 0 20px 40px rgba(61, 43, 31, 0.08);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--primary-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.reveal {
    opacity: 0;
}

.reveal.active {
    animation: fadeInUp 1s ease-out forwards;
}

/* Header */
header {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    padding: 60px 0;
}

header::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--soft-rose);
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.3;
}

header .container {
    display: block;
    z-index: 10;
}

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

.pre-title {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: block;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 2.5rem;
    color: var(--primary-text);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    color: var(--secondary-text);
    margin-bottom: 4rem;
    line-height: 1.5;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 3.5rem;
    max-width: 800px;
}

/* Skills Cards - Melhore Mobile */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

.skill-card {
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    transition: var(--transition);
}

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

/* Gallery Grid - Melhore Mobile */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

@media (min-width: 992px) {
    .gallery-grid { gap: 50px; }
}

/* Buttons Mobile */
@media (max-width: 480px) {
    .btn-primary {
        width: auto;
        min-width: 200px;
        text-align: center;
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(61,43,31,0.9), transparent);
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
    padding: 1.2rem 2.5rem;
    min-width: 280px;
    background: var(--primary-text);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid var(--primary-text);
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-text);
}

footer {
    padding: 80px 0;
    text-align: center;
    background: #fff;
    color: var(--secondary-text);
}
