/* 
 * GASE Materiais Elétricos - Premium Corporate Landing Page Styles
 */

/* =========================================
   1. CSS Variables & Reset
   ========================================= */
:root {
    /* Color Palette - Deep Corporate */
    --color-bg: #030303;           /* True Deep Black for ultimate contrast */
    --color-bg-alt: #0a0a0c;       /* Solid dark slate for section alternations */
    --color-bg-card: #121215;      /* Solid dark surface for depth */
    --color-primary: #D31A22;      /* Industrial Strong Red */
    --color-primary-hover: #a1141a;/* Deeper Red for hover states */
    --color-accent: #CBAA5C;       /* Metallic Gold limit to refined details */
    
    /* Typography Colors */
    --color-text: #F8F9FA;         /* Bright white for high contrast */
    --color-text-muted: #9BA3AF;   /* Sophisticated gray for reading */
    --color-border: rgba(255, 255, 255, 0.08); /* Minimal borders */

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Structure */
    --section-pad: 120px 0;        /* Increased breathing room */
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Corporate Elegance Balance */
    --radius: 6px;                 /* Neither pill nor sharp. Elegant solid corporate */
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 15px rgba(0, 0, 0, 0.5); /* Depth behind cards */
    --shadow-hover: 0 20px 30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(211, 26, 34, 0.3); /* Premium interaction */
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* =========================================
   2. Layout & Typography Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad);
}

.bg-darker {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

h1, h2, h3, h4 {
    line-height: 1.15;
    margin-bottom: 1em;
    font-weight: 700;
    letter-spacing: -0.02em; /* Sculptural typography feel */
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }

p {
    color: var(--color-text-muted);
}

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

.section-tag {
    display: inline-block;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px; /* Wide tracking for sophisticated tag */
    margin-bottom: 24px;
    position: relative;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--color-primary);
    vertical-align: middle;
    margin-right: 16px;
}

/* =========================================
   3. Buttons (Solid & Premium)
   ========================================= */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(211, 26, 34, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.03);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 12px 28px;
    font-size: 0.9rem;
}

/* =========================================
   4. Header / Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(3, 3, 3, 0.98); /* Solid very dark bg, minimal blur needed */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

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

.logo-img {
    height: 85px; /* Increased high-presence premium height */
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

/* Shrink logo smoothly when header is scrolled */
.header.scrolled .logo-img {
    height: 60px;
}

.footer-logo-img {
    height: 80px; /* Strong presence in the footer */
    margin-bottom: 20px;
    filter: brightness(0.95); /* Better brightness blending */
}

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

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* =========================================
   5. Hero Section (Cinematic Refined)
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px; /* Garante o respiro exato para que a frase jamais entre sob o header/logo fixo */
    padding-bottom: 40px; /* Reduzido para compensar o topo e manter os botões 100% visíveis sem scroll */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Dimming the image itself slightly */
    transform: scale(1.03);
}

/* Cinematic multi-layered gradient overlays */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(90deg, rgba(0,0,0, 0.98) 0%, rgba(0,0,0, 0.85) 45%, transparent 100%),
        radial-gradient(circle at 80% 50%, transparent 30%, rgba(0,0,0, 0.95) 100%);
}

.hero-light-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(211,26,34,0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.6);
    border-radius: 2px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 16px; /* Reduzido para puxar o título mais pra cima */
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-title {
    margin-bottom: 16px; /* Ajuste para economizar espaço e subir o conteúdo inferior */
    font-size: 3.3rem; /* Tamanho refinado garantindo cabimento perfeito no viewport */
    line-height: 1.1; /* Reduzido, mas preservando excelente área de respiro */
    letter-spacing: -1.5px; /* Adaptado ao novo font-size */
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.9), 0 2px 5px rgba(0,0,0,0.5); 
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
    text-shadow: 0 0 30px rgba(211, 26, 34, 0.4), 0 5px 20px rgba(0,0,0,0.9);
}

.hero-subtitle {
    font-size: 1.25rem; /* Leve redução para otimizar espaço sem perder elegância */
    font-weight: 400;
    color: #d1d5db;
    margin-bottom: 24px; /* Mais contido para garantir a visualização firme dos botões */
    max-width: 650px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-actions {
    display: flex;
    gap: 30px;
}

.hero-actions .btn {
    padding: 18px 40px; 
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* =========================================
   6. Sobre a Empresa
   ========================================= */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.sobre-text p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.sobre-features {
    margin-top: 40px;
}
.sobre-features li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.sobre-image {
    position: relative;
    border-radius: var(--radius);
}

.sobre-image img {
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Sophisticated border accent frame */
.image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 50%;
    height: 80%;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    z-index: -1;
}

/* =========================================
   7. Diferenciais (Premium Cards)
   ========================================= */
.section-header {
    text-align: center;
    max-width: 800px; /* Alargado ligeiramente para as duas novas frases longas caberem maravilhosamente */
    margin: 0 auto 80px;
}

.section-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 20px;
}

.section-desc strong {
    color: #fff;
    font-weight: 600;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* Reduced gap to perfectly fit 4 across */
}

.diff-card {
    background: var(--color-bg-card);
    padding: 48px 32px; /* Adjusted padding to prevent large cards from breaking line */
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Subtle glowing top line */
.diff-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: var(--transition);
    transform: scaleX(0);
}

.diff-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 30px 50px rgba(0,0,0,0.8), 0 0 40px rgba(211, 26, 34, 0.05);
    background-color: #15161A;
}

.diff-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.diff-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--color-primary); /* SVG color */
    margin-bottom: 32px;
    transition: var(--transition);
}

.diff-card:hover .diff-icon {
    transform: scale(1.1);
    border-color: rgba(211, 26, 34, 0.4);
    box-shadow: 0 0 20px rgba(211, 26, 34, 0.2);
    background: rgba(211, 26, 34, 0.05);
    color: #ffffff; /* Brilha muito bem em contraste hover */
}

.diff-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.diff-card p {
    color: #a1a1aa; /* Premium neutral gray */
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   8. Produtos (Premium Infinity Carousel)
   ========================================= */
.prod-carousel-wrapper {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    /* Edge-to-edge calculation (breaks out of container safely) */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 20px 0 60px 0;
    margin-top: 40px;
}

.prod-carousel-track {
    display: flex;
    width: max-content;
    will-change: transform;
    cursor: grab;
    touch-action: pan-y; /* Interrompe swipe vertical, habilita touch horizontal de script */
}

.prod-carousel-track:active {
    cursor: grabbing;
}

.prod-slide {
    width: 420px;
    height: 520px;
    margin: 0 15px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    /* Remover cursor pointer pois a prioridade é o track grab */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.prod-slide:hover {
    transform: translateY(-5px); /* Reduzindo translateY levemente pois afeta UX de quem arrasta */
    box-shadow: 0 30px 50px rgba(0,0,0,0.9), 0 0 0 1px rgba(211, 26, 34, 0.4);
}

.prod-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Previne dragging nativo quebrado do navegador */
    user-select: none;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.prod-slide:hover img {
    transform: scale(1.08); /* Zoom premium sob hover da imagem global */
}

.prod-slide-overlay {
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 60%; /* Gradiente que protege o contraste de leitura cresce até 60% */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    pointer-events: none; /* Overlay não pode cortar o touch/drag */
}

.prod-slide-overlay h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.prod-slide-overlay p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Slider Controls Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    opacity: 0.6;
}

.slider-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    opacity: 1;
    transform: translateY(-50%) scale(1.05); /* Mantém centralizado no Y mantendo o Hover Scale */
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

@media (max-width: 768px) {
    .prod-slide {
        width: 320px;
        height: 420px;
    }
    .slider-arrow {
        width: 44px;
        height: 44px;
        opacity: 0.8;
    }
    .slider-arrow-prev { left: 16px; }
    .slider-arrow-next { right: 16px; }
}

/* =========================================
   9. Institucional
   ========================================= */
.bg-corporate-banner {
    background-color: #0b0c0f; /* very dark elegant slate */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.inst-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.inst-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.stat-icon {
    color: var(--color-primary);
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.stat-item {
    background: var(--color-bg-card);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
}

.stat-item:hover, .stat-item:active {
    transform: scale(1.05) translateY(-5px);
    background-color: rgba(255, 255, 255, 0.03); /* Brilho de luminosidade em overlay */
    border-color: rgba(211, 26, 34, 0.5); /* Borda suave cor primária */
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 0 1px rgba(211, 26, 34, 0.5); /* Sombreamento flutuante e glow */
}

.stat-number {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.inst-text p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}
.inst-text strong {
    color: #fff;
    font-weight: 600;
}

/* =========================================
   10. CTA Section (Premium Form Focus)
   ========================================= */
.cta-box {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 80px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(211,26,34,0.1);
    position: relative;
    overflow: hidden;
}

/* Accent subtle lighting from behind the card form side */
.cta-box::after {
    content: '';
    position: absolute;
    top: 50%; right: -10%; width: 50%; height: 100%;
    transform: translateY(-50%);
    background: radial-gradient(ellipse, rgba(211,26,34,0.08) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* Subtle accent line on top */
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

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

.cta-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    margin-top: 24px;
    color: #a1a1aa;
}

.cta-benefits {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cta-benefits li {
    font-size: 1.05rem;
    font-weight: 500;
}

.cta-form-container {
    position: relative;
    z-index: 2;
}

.form {
    background: #000; /* pure black separation */
    padding: 50px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.form-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: #060608; /* Very deep dark input */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:hover, .form-group textarea:hover {
    border-color: rgba(255,255,255,0.3);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #000;
    box-shadow: 0 0 15px rgba(211,26,34,0.15);
}

.btn-massive {
    padding: 20px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

.form-disclaimer {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 20px;
}
.footer {
    background-color: #000000; 
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
}

.footer-desc {
    margin-top: 24px;
    max-width: 350px;
    font-size: 1.25rem;
    color: #e5e7eb;
}

.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 24px;
}
.footer-links a {
    color: var(--color-text-muted);
    transition: var(--transition);
    font-size: 1.15rem;
}
.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: #fff;
}

.footer-social-link .social-icon {
    transition: var(--transition);
}

.footer-social-link:hover .social-icon {
    color: var(--color-primary);
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

/* =========================================
   12. Animation Classes (JS Observer)
   ========================================= */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-scale { opacity: 0; transform: scale(0.97); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-scale {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* =========================================
   13. Responsive / Media Queries
   ========================================= */
@media (max-width: 1200px) {
    .prod-grid { gap: 24px; }
    h1 { font-size: 3.8rem; }
    .hero-title { font-size: 4.5rem; }
    h2 { font-size: 2.6rem; }
}

@media (max-width: 1024px) {
    .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .sobre-grid, .inst-grid { gap: 60px; }
    .cta-box { padding: 60px 40px; gap: 40px; }
    h1 { font-size: 3.4rem; }
    .hero-title { font-size: 4rem; }
}

@media (max-width: 900px) {
    .sobre-grid,
    .inst-grid,
    .cta-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-image { order: -1; }
    
    .inst-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root { --section-pad: 80px 0; }
    
    .nav {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(3, 3, 3, 0.98); backdrop-filter: none;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transition: var(--transition); z-index: 900;
    }
    .nav.nav-active { right: 0; }
    .nav-list { flex-direction: column; align-items: center; gap: 40px; }
    .nav-link { font-size: 1.5rem; }
    
    .nav-cta {
        display: flex;
        font-size: 0.8rem;
        padding: 8px 12px;
        gap: 6px;
        white-space: nowrap;
        margin-right: -10px; /* Adjust to sit tighter conceptually */
    }
    .nav-cta svg {
        width: 14px;
        height: 14px;
    }
    .header-content {
        gap: 15px; /* Menor distância entre logo, botão e sandwich */
    }
    .menu-toggle { display: flex; z-index: 1000; }

    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    h1 { font-size: 2.6rem; }
    .hero-title { font-size: 2.8rem; line-height: 1.1; }
    h2 { font-size: 2.2rem; }
    
    .hero-actions { flex-direction: column; }
    .prod-grid, .diff-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .form { padding: 30px 20px; }
    .inst-stats { grid-template-columns: 1fr; gap: 20px;}
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================
   10. Scroll to Top Button
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 26, 34, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #f01c26; /* Slightly brighter red for hover */
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(211, 26, 34, 0.6);
}
