/* 
   Theme: Eco-Luxury (Reference Quality)
   Colors: Dark Rubber, Gold/Bronze, Earthy Green, Off-white
*/

:root {
    /* Colors - Sustainable Professional */
    --color-primary: #1B4D3E;
    /* Deep Jungle Green */
    --color-primary-light: #2A6050;
    /* Lighter Green for gradients */
    --color-secondary: #C5A059;
    /* Muted Earth Gold/Bronze */
    --color-secondary-hover: #A88645;
    --color-accent: #4CAF50;
    /* Fresh Leaf Green */
    --color-bg: #FAFAFA;
    /* Crisp Off-white */
    --color-bg-alt: #F4F4F4;
    /* Subtle Grey for sections */
    --color-surface: #ffffff;
    /* Pure White */
    --color-text: #222222;
    /* Near Black */
    --color-text-light: #666666;
    /* Medium Grey */
    --color-border: #e0e0e0;
    /* Soft Border */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 3rem;
    --text-4xl: 4.5rem;
    /* Hero Headline */

    /* Spacing - "Breathing Room" */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
    /* Section Padding */

    /* Shadows & Radius */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utils */
.text-center {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-gold {
    color: var(--color-secondary) !important;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
    color: #fff;
    padding: 16px 40px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 15px 35px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    transition: var(--transition-medium);
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.badget {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links li a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(18, 18, 18, 0.7), rgba(18, 18, 18, 0.5)), url('hero_puff_mockup.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: var(--text-4xl);
    color: #fff;
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.bg-dark {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Components: Cards */
.card {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
    z-index: 2;
}

/* Centered Grid for Single Item */
.grid-center {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.senac-card {
    border-top: 4px solid var(--color-border);
}

.senai-card {
    border-top: 4px solid var(--color-accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.card ul li::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Chic Methodology Cards */
.methodology-card {
    border: none;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    padding: 3.5rem 2rem;
    align-items: center;
}

.methodology-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.methodology-card .card-icon {
    width: 90px;
    height: 90px;
    background: transparent;
    border: 1px solid rgba(27, 77, 62, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    /* Slightly larger icon */
    color: var(--color-primary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 20px;
}

.methodology-card:hover .card-icon {
    background: var(--color-primary);
    color: #fff;
    /* White icon on hover */
    border-color: var(--color-primary);
    transform: rotateY(180deg);
    /* 3D effect */
}

.methodology-card h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.methodology-card p {
    color: var(--color-text-light);
    font-size: 1rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Apresentação Highlight */
.text-block.highlight-bg {
    background-color: var(--color-primary);
    color: #fff;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.text-block.highlight-bg h3 {
    color: var(--color-secondary);
}

.text-block.highlight-bg h4 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.text-block.highlight-bg p,
.text-block.highlight-bg li {
    color: rgba(255, 255, 255, 0.85);
}

.text-block.highlight-bg i {
    color: var(--color-secondary);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    padding: 2.5rem;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-light);
    font-weight: 600;
}

/* Competencias */
.competencias-box {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-md);
    border-left: 6px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.check-grid li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-grid li i,
.check-grid li::before {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* Modules */
.module-list {
    max-width: 900px;
    margin: 0 auto;
}

.module-item {
    background: var(--color-surface);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.module-item:hover {
    transform: translateX(10px);
    border-color: var(--color-border);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.module-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.1);
    margin-right: 1.5rem;
}

.module-header h3 {
    font-size: 1.25rem;
    margin: 0;
    flex-grow: 1;
}

.module-hours {
    background: var(--color-bg-alt);
    color: var(--color-text);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img,
.placeholder-img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.portfolio-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Social Proof */
.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.proof-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

.proof-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.proof-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1rem 1rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.proof-overlay span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Footer */
.footer-dark {
    background-color: #0b0b0b;
    padding: 6rem 0 2rem;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col h4 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-col p {
    margin-bottom: 0.8rem;
    color: #888;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* Utilities */
.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* Animations - Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .text-4xl {
        font-size: 3.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 5rem;
        --spacing-lg: 3rem;
        --text-4xl: 2.75rem;
    }

    .nav-links {
        display: none;
    }

    /* Need JS for mobile */
    .hamburger {
        display: block;
    }

    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .split-layout,
    .grid-2,
    .grid-3,
    .stats-grid,
    .check-grid,
    .portfolio-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-block.highlight-bg {
        padding: 2.5rem;
    }

    .card {
        padding: 2rem;
    }
}