/* ===================================
   CSS VARIABLES - DESIGN TOKENS
   =================================== */

:root {
    /* Colors */
    --color-primary: #0060f0;
    --color-primary-dark: #004bbd;
    --color-secondary: #ffce14;
    --color-accent: #ffce14;
    --color-background: #ffffff;
    --color-surface: #f8fafc;
    --color-surface-alt: #f1f5f9;
    --color-text-main: #0f172a;
    --color-text-body: #475569;
    --color-text-light: #94a3b8;
    --color-border-light: #e2e8f0;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-600: #4b5563;
    --color-gray-900: #111827;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-900: #1e3a8a;

    /* Fonts */
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Noto Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-xl: 3rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    --transition-slower: 700ms ease-in-out;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-display);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===================================
   UTILITIES
   =================================== */

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

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 10rem;
    }
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-body);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.text-primary {
    color: var(--color-primary);
}

/* ===================================
   HEADER
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    display: none;
}

.logo-text-light {
    color: var(--color-text-main);
    font-weight: 400;
}

.logo-text-mobile {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .logo-text {
        display: block;
    }

    .logo-text-mobile {
        display: none;
    }
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg);
}

.nav.active {
    display: flex;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        flex-direction: row;
        padding: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-normal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    background: none;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-blue-900);
    box-shadow: 0 0 20px rgba(255, 206, 20, 0.4);
}

.btn-accent:hover {
    background-color: #ffd633;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-gray-600);
    color: white;
}

.btn-outline:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('images/metalworking2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 96, 240, 0.4), rgba(0, 75, 189, 0.45), rgba(0, 42, 107, 0.45));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 2.5rem 0;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 206, 20, 0.5);
    background-color: rgba(255, 206, 20, 0.2);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
    width: fit-content;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.033em;
    color: white;
}

.hero-title-gradient {
    background: linear-gradient(to right, white, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-blue-100);
    max-width: 600px;
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-buttons .btn {
    min-width: 160px;
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-blue-200);
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll .material-symbols-outlined {
    color: var(--color-accent);
}

@keyframes bounce {

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

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

/* ===================================
   PRODUTOS SECTION
   =================================== */

.section-produtos {
    background-color: var(--color-surface);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--color-gray-600);
    transition: color var(--transition-normal);
}

.link-arrow:hover {
    color: var(--color-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: white;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
}

.product-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-gray-200);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: gap var(--transition-normal);
}

.product-card:hover .product-link {
    gap: 0.5rem;
}

/* ===================================
   SOBRE SECTION
   =================================== */

.section-sobre {
    background-color: var(--color-surface);
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.sobre-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background-color: rgba(0, 96, 240, 0.1);
    border: 1px solid rgba(0, 96, 240, 0.2);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.sobre-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.sobre-description {
    font-size: 1.125rem;
    color: var(--color-text-body);
    max-width: 700px;
    margin: 0 auto;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

@media (min-width: 864px) {
    .sobre-content {
        grid-template-columns: 1fr 1fr;
    }
}

.sobre-image {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border-light);
}

.sobre-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0, 96, 240, 0.2), transparent);
    mix-blend-mode: multiply;
    z-index: 1;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slower);
}

.sobre-image:hover img {
    transform: scale(1.05);
}

.badge-image {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 864px) {
    .sobre-text {
        padding-left: 2rem;
    }
}

.sobre-text h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.sobre-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

.sobre-text strong {
    color: var(--color-primary);
}

.highlight-box {
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-secondary);
}

.highlight-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.highlight-box p {
    font-size: 0.875rem;
    color: var(--color-text-body);
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
}

.badge-item .material-symbols-outlined {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.badge-item span:last-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
}

/* ===================================
   PILARES SECTION
   =================================== */

.section-pilares {
    background-color: var(--color-surface-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.pilares-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.pilares-intro p {
    font-size: 1rem;
    color: var(--color-text-body);
}

.pilares-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pilares-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pilar-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-normal);
}

.pilar-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.pilar-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background-color: rgba(0, 96, 240, 0.1);
    border: 1px solid rgba(0, 96, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.pilar-card:hover .pilar-icon {
    background-color: var(--color-primary);
    color: white;
}

.pilar-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.pilar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.pilar-card p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

/* ===================================
   MERCADO SECTION
   =================================== */

.section-mercado {
    background-color: white;
}

.mercado-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.mercado-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-body);
}

.mercado-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mercado-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .mercado-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mercado-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    text-align: center;
    transition: all var(--transition-normal);
}

.mercado-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.mercado-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background-color: white;
    border: 1px solid rgba(0, 96, 240, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.mercado-card:hover .mercado-icon {
    background-color: var(--color-primary);
    color: white;
}

.mercado-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.mercado-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text-main);
}

/* ===================================
   TREVO SECTION
   =================================== */

.section-trevo {
    background-color: white;
}

.trevo-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-color: var(--color-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .trevo-card {
        flex-direction: row;
    }
}

.trevo-card::before {
    content: '';
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(255, 206, 20, 0.2);
    border-radius: var(--radius-full);
    filter: blur(80px);
}

.trevo-card::after {
    content: '';
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    filter: blur(60px);
}

.trevo-image {
    position: relative;
    width: 100%;
    min-height: 350px;
    background-image: url('/trevo.jpg');
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .trevo-image {
        width: 40%;
    }
}

.trevo-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 96, 240, 0.2);
    mix-blend-mode: overlay;
}

.trevo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(0, 96, 240, 0.9));
}

@media (min-width: 768px) {
    .trevo-image::after {
        background: linear-gradient(to left, transparent, rgba(0, 96, 240, 0.9));
    }
}

.trevo-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .trevo-content {
        width: 60%;
        padding: 3rem;
    }
}

.trevo-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Material Symbols Outlined';
    content: 'spa';
    font-size: 9rem;
    color: rgba(255, 255, 255, 0.1);
}

.trevo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
    box-shadow: var(--shadow-sm);
}

.trevo-badge .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--color-secondary);
}

.trevo-badge span:last-child {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trevo-content h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.trevo-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-blue-100);
}

.trevo-highlight {
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.trevo-highlight p {
    font-size: 1rem;
    line-height: 1.7;
    color: white;
    font-weight: 500;
}

.trevo-highlight span {
    color: var(--color-secondary);
    font-weight: 800;
}

.trevo-content p {
    color: rgba(219, 234, 254, 0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.trevo-message {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background-color: rgba(255, 206, 20, 0.15);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 206, 20, 0.3);
}

.trevo-message strong {
    color: white;
    font-size: 1.125rem;
}

/* ===================================
   CONTATO SECTION
   =================================== */

.section-contato {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 5rem 1rem;
}

.section-contato .section-title {
    color: white;
}

.section-contato .section-description {
    color: #9ca3af;
}

.contato-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .contato-buttons {
        flex-direction: row;
    }
}

.contato-note {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
}

.contato-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contato-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contato-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--color-secondary);
}

.contato-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.contato-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.footer-logo span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--color-text-main);
}

.footer-logo strong {
    font-weight: 900;
    color: var(--color-primary);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-body);
    margin-bottom: 1rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-body);
}

.footer-contact-info .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background-color: white;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: white;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--color-text-body);
    transition: color var(--transition-normal);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-divider {
    height: 1px;
    width: 100%;
    background-color: var(--color-border-light);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    transition: color var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* ===================================
   WHATSAPP FLOAT
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: transform var(--transition-normal);
    color: white;
}

.whatsapp-float svg {
    width: 2rem;
    height: 2rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===================================
   SCROLLBAR
   =================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface-alt);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ===================================
   SELECTION
   =================================== */

::selection {
    background-color: var(--color-secondary);
    color: var(--color-primary-dark);
}

/* ===================================
   NEW STYLES (REFORT)
   =================================== */

/* Hero Adjustment */
.hero-container {
    padding-bottom: 8rem;
    /* Ensures text doesn't overlap with scroll indicator */
}

/* Products with Icons */
.products-grid-icons {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1.5rem;
}

.product-icon-container {
    width: 5rem;
    height: 5rem;
    background-color: rgba(0, 96, 240, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transition: all var(--transition-normal);
}

.product-card-icon:hover .product-icon-container {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.product-icon-container .material-symbols-outlined {
    font-size: 2.5rem;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr 1fr;
    }

    .history-grid p:last-child {
        grid-column: 1 / -1;
        /* Make the last paragraph span full width if odd number or for emphasis */
    }
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-body);
}

.values-list .material-symbols-outlined {
    color: var(--color-secondary);
    /* Gold/Yellow checkmarks */
    font-size: 1.25rem;
}

/* ===================================
   LOGO & BRANDING UPDATES
   =================================== */

.logo-img {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 5rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.social-link svg {
    width: 60%;
    height: 60%;
}

/* ===================================
   LAYOUT REFACTOR
   =================================== */

/* Trevo Gallery Styles */
.trevo-gallery {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.trevo-gallery img {
    object-fit: cover;
    flex: 1;
    min-width: 0;
}

/* On Mobile: Horizontal scroll strip */
@media (max-width: 767px) {
    .trevo-gallery {
        flex-direction: row;
        overflow-x: auto;
        height: 300px;
        scroll-snap-type: x mandatory;
    }

    .trevo-gallery img {
        min-width: 85%;
        scroll-snap-align: center;
        height: 100%;
    }
}

/* On Desktop: Vertical stack in the left column */
@media (min-width: 768px) {
    .trevo-gallery {
        width: 40%;
        flex-direction: column;
        align-self: stretch;
    }

    .trevo-gallery img {
        width: 100%;
        height: 20%;
        /* 5 images = 20% each to fill 100% height */
        object-position: center;
    }
}

/* Vertical "Sobre" Section */
.sobre-content-vertical {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.sobre-image-full {
    position: relative;
    width: 70%;
    height: 300px;
    /* Fixed height for banner feel */
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.sobre-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-text-full {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.history-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .history-grid-full {
        grid-template-columns: 1fr 1fr;
    }

    .history-grid-full p {
        text-align: justify;
    }

    .history-grid-full p:last-child {
        grid-column: 1 / -1;
    }
}

/* Footer Two Columns */
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

.footer-column-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-column-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* ===================================
   VITRINE PAGE STYLES
   =================================== */


/* Vitrine Layout Structure */
html.vitrine-page,
body.vitrine-page {
    overflow: hidden !important;
    height: 100vh !important;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
}

body.vitrine-page .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transform: none !important;
    /* Disable hide animation */
}

.vitrine-iframe {
    display: block;
    position: fixed;
    top: 80px;
    /* Header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    /* Fallback */
    height: calc(100dvh - 80px);
    /* Exact viewport on mobile */
    border: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .vitrine-iframe {
        /* Add extra 'virtual padding' by ending the iframe slightly above the bottom */
        height: calc(100dvh - 100px);
        padding-bottom: 0;
    }
}

/* Ensure badge stays relative if needed, but with overflow hidden it won't be seen.
   User priority is fixing scroll. */
body.vitrine-page #montesite-footer-badge {
    display: none;
    /* Hidden in fixed layout to avoid overlay issues */
}

/* ===================================
   INTERMEDIATE PARALLAX SECTION
   =================================== */

.intermediate-parallax {
    position: relative;
    background-image: url('images/metalworking.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    width: 100%;
    margin: 0;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}