:root {
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --brasil-green: #009c3b;
    --brasil-yellow: #ffcc00;
    --deep-blue: #003399;
    --vibrant-orange: #ff6600;
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--text-dark);
    color: white;
}

.text-green {
    color: var(--brasil-green);
}

.text-blue {
    color: var(--deep-blue);
}

.text-orange {
    color: var(--vibrant-orange);
}

/* Header */
.main-header {
    padding: 1.2rem 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.main-logo {
    height: 60px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 2rem;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--brasil-green);
}

/* Hero V4 Structured (User Likes this structure) */
.hero-v4 {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
}

.grid-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-side h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--deep-blue);
    color: white;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.7rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.image-box {
    border-radius: 30px;
    overflow: hidden;
    border: 12px solid #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.image-box img {
    width: 100%;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--brasil-yellow);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 800;
    font-size: 0.75rem;
}

/* Operation V4 (User approved) */
.operation-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0;
    gap: 2rem;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--brasil-green);
    font-weight: 900;
}

.partner-pickup-box {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    padding: 3rem;
    border-radius: 30px;
    align-items: center;
}

.app-mockup {
    width: 100%;
    border-radius: 20px;
}

/* Concept - RESTORED V3 DESIGN */
.grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.concept-visual .video-main {
    width: 100%;
    border-radius: 30px;
}

.video-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

.margin-v6 {
    margin-bottom: 3rem;
}

/* V6 Spacer requested */
.concept-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-list {
    margin-top: 2rem;
}

.b-item {
    margin-bottom: 2rem;
}

.b-item h4 {
    color: var(--brasil-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Bio - RESTORED V3 STRUCTURE + V6 Photos */
.trajano-bio {
    padding: 4rem;
    background: #fff;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
}

.grid-bio {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.image-box-bio {
    border-radius: 30px;
    overflow: hidden;
    border: 8px solid var(--bg-light);
}

.image-box-bio img {
    width: 100%;
    display: block;
}

.image-stack-v6 {
    position: relative;
    height: 450px;
}

/* V6 stacking requested */
.img-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    z-index: 2;
    border: 8px solid #fff;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 75%;
    z-index: 1;
    border: 8px solid #fff;
    border-radius: 30px;
    filter: grayscale(20%);
}

/* TV Auth */
.tv-interview-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    margin-top: 4rem;
}

.tv-video video {
    width: 100%;
    display: block;
}

.tv-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spacer-v6 {
    height: 4rem;
}

/* V6 Spacer requested */

/* Marketing Card Fix */
.marketing-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.m-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mkt-examples-v6 {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.mkt-item {
    text-align: center;
    flex: 1;
}

.mkt-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.mkt-item span {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 700;
}

/* Portfolio Carousel */
.carousel-hint {
    font-weight: 700;
    color: var(--brasil-green);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hover-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 550px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#carousel-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.carousel-nav .trigger {
    cursor: pointer;
    transition: 0.3s;
    height: 100%;
}

.carousel-nav .trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 8px solid var(--brasil-yellow);
}

/* Investment - FULL V3 RESTORATION */
.section-investment {
    padding: 8rem 0;
    background: var(--bg-light);
}

.pricing-card {
    background: #fff;
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.p-amount {
    font-size: 5rem;
    font-weight: 900;
    margin: 1rem 0;
    color: var(--deep-blue);
}

.p-amount .per {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.contract {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.z-badge {
    display: inline-block;
    background: var(--vibrant-orange);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 900;
    transform: rotate(-2deg);
    margin-bottom: 2rem;
}

.zero-cost-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.logistics-card {
    background: #fff;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.log-info {
    list-style: none;
    margin-top: 1rem;
}

.log-info li {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-left: 5px solid var(--brasil-green);
    padding-left: 1.5rem;
    font-weight: 600;
}

/* Final Section */
.mini-logo-v6 {
    height: 50px;
    margin: 0 auto 1.5rem;
}

/* V6 Small Logo */

/* Buttons & Utils */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--brasil-green);
    color: white;
}

.btn-outline {
    border: 2.5px solid var(--deep-blue);
    color: var(--deep-blue);
}

.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {

    .grid,
    .grid-hero,
    .grid-bio,
    .partner-pickup-box,
    .tv-interview-box,
    .marketing-grid-detailed {
        grid-template-columns: 1fr;
    }

    .operation-flow {
        flex-direction: column;
    }

    .hero-text-side h1 {
        font-size: 3rem;
    }
}