:root {
    --primary: #FF0000;
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-800: #212121;
    --gray-900: #111111;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, h4, .display-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 900;
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--white);
}
::-webkit-scrollbar-thumb {
    background: var(--black);
}

/* Header / Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

header.scrolled .logo, header.scrolled .nav-links a {
    color: var(--black);
}

header .logo, header .nav-links a {
    color: var(--white);
    mix-blend-mode: difference;
}

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

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

/* Hero Section - Diesel/Nike Inspired */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    grid-template-rows: 1fr;
    border-bottom: 1px solid var(--gray-200);
}

.hero-col {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--gray-200);
}

.hero-col:last-child {
    border-right: none;
}

.hero-bg-text {
    position: absolute;
    font-size: 20vw;
    font-weight: 900;
    color: var(--gray-100);
    z-index: -1;
    pointer-events: none;
    line-height: 0.8;
}

.hero-1 .hero-bg-text {
    top: 10%;
    left: -20%;
    transform: rotate(-90deg);
}

.hero-3 .hero-bg-text {
    bottom: 5%;
    right: -10%;
}

.hero-content-wrap {
    padding: 60px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-title .outline {
    -webkit-text-stroke: 1px var(--black);
    color: transparent;
}

.hero-tag {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.hero-cta {
    display: inline-block;
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-top: 30px;
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

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

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.hero-image-box:hover img {
    filter: grayscale(0%);
}

.hero-red-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 40%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 30px;
}

/* Marquee */
.marquee {
    background: var(--black);
    color: var(--white);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-right: 50px;
    letter-spacing: 2px;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* About Section - Diesel Grid Style */
.about {
    background: var(--gray-900);
    color: var(--white);
}

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

.about-item {
    border: 0.5px solid rgba(255,255,255,0.1);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-item.large {
    grid-column: span 8;
}

.about-item.small {
    grid-column: span 4;
}

.about-item.medium {
    grid-column: span 6;
}

.about-item.full {
    grid-column: span 12;
}

.about-number {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-title {
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1;
}

.about-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--gray-400);
    max-width: 500px;
}

.highlight-box {
    background: var(--white);
    color: var(--black);
    padding: 10px 20px;
    display: inline-block;
    font-weight: 900;
    margin-bottom: 10px;
}

.outline-box {
    border: 1px solid var(--white);
    padding: 10px 20px;
    display: inline-block;
    font-weight: 300;
}

/* Horizontal Carousel - Senhoma Inspired */
.portfolio-horizontal-wrap {
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.portfolio-horizontal-content {
    display: flex;
    width: fit-content;
    height: 100vh;
    align-items: center;
    padding: 0 10vw;
    position: relative;
    will-change: transform;
}

.horizontal-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.03); /* Ainda mais sutil */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    text-transform: uppercase;
    /* Removido o movimento horizontal no JS para deixá-lo fixo */
}

.fixed-bg-text-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
}

.portfolio-card {
    flex: 0 0 550px;
    margin-right: 150px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.portfolio-card:nth-child(even) {
    /* Removido o translateY fixo para não conflitar com a escala dinâmica se necessário, 
       mas podemos manter se quiser o efeito de zigue-zague */
    margin-top: 100px;
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--gray-200);
    margin-bottom: 30px;
    position: relative;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    mix-blend-mode: multiply;
    opacity: 0.3;
}

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

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s;
}

.portfolio-card:hover .portfolio-image img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.portfolio-info {
    padding-left: 10px;
}

.carousel-category {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.carousel-title {
    font-size: 1.5rem;
    font-weight: 900;
}

/* CEO Section */
.ceo {
    background: var(--gray-100);
}

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

.ceo-image {
    position: relative;
}

.ceo-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--black);
    z-index: 0;
}

.ceo-image img {
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
}

.ceo-name {
    font-size: 4rem;
    line-height: 0.9;
    margin-bottom: 20px;
}

.ceo-role {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
    display: block;
}

/* Contact Section */
.contact {
    background: var(--black);
    color: var(--white);
}

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

.contact-info h2 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 40px;
}

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

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-bottom-color: var(--primary);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
    transition: var(--transition);
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label {
    top: -10px;
    font-size: 0.6rem;
    color: var(--primary);
}

.submit-btn {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hero-col {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
        height: 50vh;
    }
    .hero-1 { height: 70vh; }
    .about-item.large, .about-item.small, .about-item.medium {
        grid-column: span 12;
    }
    .ceo-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .carousel-item {
        flex: 0 0 300px;
    }
}
