:root {
    --arnold-yellow: #FBD232;
    --text-dark: #000000;
    --text-muted: #444444;
    --bg-soft: #fcfcfc;
}

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    font-weight: 300;
    line-height: 1.6;
}

.serif-minimal {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

.caption-subtitle,
.caption-inline {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #6b7280;
    /* Tom de cinza bem mais visível */
}

.caption-subtitle {
    margin-bottom: 2rem;
    display: block;
}

.yellow-accent {
    color: var(--arnold-yellow);
}

.bg-yellow-accent {
    background-color: var(--arnold-yellow);
}

.hover-text-yellow-accent:hover {
    color: var(--arnold-yellow) !important;
}

.hover-bg-yellow-accent:hover {
    background-color: var(--arnold-yellow) !important;
}

.hover-border-yellow-accent:hover {
    border-color: var(--arnold-yellow) !important;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.nav-link {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-dark);
}

.section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Espaçamento extra apenas para o hero (#inicio) - mantém as demais sessões inalteradas */
#inicio.section-spacing {
    padding-top: 140px;
}

.image-container {
    aspect-ratio: 1 / 1.1;
    /* Wider base, still retains some vertical posture */
    background-color: #f0f0f0;
    overflow: hidden;
    width: 100%;
    border-radius: 2rem;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-container:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Portfolio Image Setup */
.project-img-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.5rem;
    background-color: #f7f7f7;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-img-container:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-reveal {
    animation: revealUp 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Signature SVG Writing Animation */
@keyframes drawSig {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInSig {
    to {
        opacity: 1;
    }
}

/* User's Custom SVG Star Animation */
@keyframes star-pulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(251, 210, 50, 0.2));
    }

    50% {
        transform: scale(1.15) rotate(15deg);
        filter: drop-shadow(0 0 22px rgba(251, 210, 50, 0.9));
    }
}

.animate-star {
    animation: star-pulse 3s ease-in-out infinite;
}

/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 100;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Divisor sob o cabeçalho */
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    background: #e0e0e0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}