@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=IBM+Plex+Mono:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #0D0D0D;
    /* Obsidiana */
    --accent: #800000;
    /* Bordeaux / Vermelho Sangue */
    --bg: #F5F3EE;
    /* Marfim */
    --sand: #C2B280;
    /* Bege Areia */
    --text-dark: #1A1A1A;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

.font-drama {
    font-family: 'Cormorant Garamond', serif;
}

.font-mono {
    font-family: 'IBM Plex Mono', monospace;
}

/* Base resets for GSAP */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* Global Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: multiply;
}

/* Component specifics */
.rounded-premium {
    border-radius: 2rem;
}

.rounded-premium-lg {
    border-radius: 3rem;
}

/* Button Magnetism */
.btn-magnetic {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-magnetic:hover {
    transform: scale(1.03);
}

.btn-magnetic .hover-bg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    /* Sutil */
    transition: top 0.4s ease;
    z-index: 1;
}

.btn-magnetic:hover .hover-bg {
    top: 0;
}

.btn-content {
    position: relative;
    z-index: 2;
}

/* Interactive Element Lift */
.interactive-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Sticky Protocol Cards */
.protocol-card-container {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocol-card {
    width: 90%;
    max-width: 1000px;
    background-color: white;
    transform-origin: top center;
    will-change: transform, filter, opacity;
}

/* Canvas styling */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}