/* 
========================================================================
   ⚡ BRVAL ELECTRICAL — PREMIUM LIGHT INDUSTRIAL DESIGN SYSTEM
   Aesthetic: VoltFlow Light Theme (White Base, Clean Grid, High-Contrast)
   Geometry: Refined Rounded Assets (border-radius: 8px to 12px)
   Colors: Correct Brand Green (#0FA967), Dark Forest Green (#112420) & Gold
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* --- 1. DESIGN TOKENS (CSS VARIABLES) --- */
:root {
    /* Brand Colors (VoltFlow Light Palette) */
    --color-dark: #112420;
    /* Dark Forest Green (Typography & Main Headers) */
    --color-dark-rgb: 17, 36, 32;
    --color-dark-card: #f8faf9;
    /* Secondary Light Off-White for Cards/Sections */
    --color-dark-card-rgb: 248, 250, 249;
    --color-dark-hover: #eef2f0;
    /* Slightly darker tint for hovers */

    --color-teal: #0FA967;
    /* Correct Brand Green (Primary Brand Tech Accent) */
    --color-teal-rgb: 15, 169, 103;
    --color-teal-hover: #0c8e56;

    --color-gold: #e6a100;
    /* Warm Gold/Amber (High contrast against white background) */
    --color-gold-rgb: 230, 161, 0;
    --color-gold-hover: #cc8f00;

    --color-light: #ffffff;
    /* Standard pure white background */
    --color-white: #ffffff;
    /* Pure White */
    --color-gray-text: #4e615d;
    /* Accessible secondary gray/charcoal for paragraphs */
    --color-gray-border: rgba(91, 164, 148, 0.15);
    /* Clean fine green-tint borders */

    /* Refined Rounded Geometry */
    --border-radius-none: 0px;
    --border-radius-sm: 6px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-pill: 9999px;

    /* Typography */
    --font-heading: 'AvantGarde Bk BT', 'AvantGarde', 'ITC Avant Garde Gothic', 'Sora', 'Century Gothic', 'Futura', sans-serif;
    --font-body: 'Inter', Arial, sans-serif;

    /* Spacing & Widths */
    --container-width: 1280px;
    --transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Special Shadows and Elevations (MongoDB Style) */
    --shadow-level-1: 0px 1px 2px rgba(0,0,0,0.04);
    --shadow-level-2: 0px 4px 12px rgba(0,0,0,0.08);
    --shadow-level-3: 0px 12px 24px -4px rgba(0,0,0,0.12);

    /* AutoCAD Drafting Grid Pattern */
    --grid-line-color: rgba(91, 164, 148, 0.02);
}

/* --- 2. GLOBAL RESET & BASE RULES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
}

::-webkit-scrollbar-thumb {
    background: #eef2f0;
    border: 1px solid var(--color-teal);
    border-radius: var(--border-radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    /* Clean White Background */
    color: var(--color-gray-text);
    /* Charcoal Gray for long reading comfort */
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Faint Green CAD Blueprint Grid Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    pointer-events: none;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- 3. TYPOGRAPHY SYSTEM --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    /* Dark Forest Green for headers */
    font-weight: 700;
    letter-spacing: -1.44px;
    line-height: 1.15;
}

h1 { letter-spacing: -1.92px; }
h2 { letter-spacing: -1.44px; }
h3 { letter-spacing: -0.72px; }
h4 { letter-spacing: -0.42px; }

.text-gold {
    color: var(--color-gold);
}

.text-teal {
    color: var(--color-teal);
}

.text-gray {
    color: var(--color-gray-text);
}

.text-white {
    color: var(--color-dark);
}

/* Flipped to maintain readability in Light Theme */
.text-center {
    text-align: center;
}

.font-sora {
    font-family: var(--font-heading);
}

.font-inter {
    font-family: var(--font-body);
}

/* --- 4. GRID LAYOUT SYSTEM (VOLT-GRID) --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* CAD Technical Grid Container */
.volt-grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    background-color: var(--color-gray-border);
    gap: 1px;
    /* Creates pixel-perfect 1px grid line separators */
    border: 1px solid var(--color-gray-border);
    position: relative;
    z-index: 2;
}

/* Individual Grid Cells */
.volt-grid-cell {
    background-color: #ffffff;
    /* Fundo branco para leitura limpa */
    padding: 40px;
    transition: var(--transition-normal);
}

.volt-grid-cell:hover {
    background-color: var(--color-dark-card);
}

/* Span utilities for grid cells */
.span-12 {
    grid-column: span 12;
}

.span-8 {
    grid-column: span 8;
}

.span-7 {
    grid-column: span 7;
}

.span-6 {
    grid-column: span 6;
}

.span-5 {
    grid-column: span 5;
}

.span-4 {
    grid-column: span 4;
}

.span-3 {
    grid-column: span 3;
}

@media (max-width: 1024px) {

    .span-8,
    .span-6,
    .span-4,
    .span-3 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .volt-grid-container {
        grid-template-columns: 1fr;
    }

    .span-12,
    .span-8,
    .span-7,
    .span-6,
    .span-5,
    .span-4,
    .span-3 {
        grid-column: span 1;
    }

    .volt-grid-cell {
        padding: 30px 20px;
    }
}

.section-padding {
    padding: 96px 0;
    border-bottom: 1px solid var(--color-gray-border);
    position: relative;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 64px 0;
    }
}

/* MongoDB Style Dark Hero Override */
.page-hero {
    background-color: var(--color-dark) !important;
    color: #ffffff !important;
}
.page-hero h1 {
    color: #ffffff !important;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- 5. PREMIUM GEOMETRIC COMPONENTS (ROUNDED) --- */

/* Interactive Rounded Cards */
.volt-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-gray-border);
    padding: 48px 40px;
    transition: var(--transition-normal);
    position: relative;
    height: 100%;
    border-radius: var(--border-radius-lg);
}

.volt-card:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-level-2);
    transform: translateY(-4px);
}

.volt-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--color-gold);
    border-top: 2px solid var(--color-gold);
    border-top-left-radius: var(--border-radius-lg);
    opacity: 0;
    transition: var(--transition-fast);
}

.volt-card:hover::before {
    opacity: 1;
}

/* Industrial Buttons (Flat, Geometric, Rounded) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 10px 22px;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
    border-radius: var(--border-radius-pill);
}

.btn-primary {
    background-color: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: #ffffff;
    box-shadow: var(--shadow-level-1);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--color-dark);
    border: 1px solid var(--color-gray-border);
}

.btn-secondary:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    box-shadow: var(--shadow-level-1);
    transform: translateY(-1px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: var(--shadow-level-1);
    transform: translateY(-1px);
}

/* Premium Rounded Inputs & Form Controls */
.volt-input {
    width: 100%;
    padding: 14px;
    background: var(--color-dark-card);
    border: 1px solid var(--color-gray-border);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
    border-radius: var(--border-radius-md);
    /* Smooth premium rounding */
}

.volt-input:focus {
    border-color: var(--color-teal);
    background-color: #ffffff;
    box-shadow: var(--glow-teal);
}

/* Technical Link Setas */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-teal);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.arrow-link span {
    transition: var(--transition-fast);
}

.arrow-link:hover {
    color: var(--color-gold);
}

.arrow-link:hover span {
    transform: translateX(6px);
}

/* --- 6. VISOR TELEMÉTRICO DO VÍDEO HERO (TELEMETRY VIEWPORT) --- */
/* Kept dark and immersive for a high-tech instrument panel contrast */
.video-viewport {
    position: relative;
    border: 1px solid var(--color-gray-border);
    background: #091311;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.video-viewport:hover {
    border-color: var(--color-teal);
}

/* High-tech brackets in the 4 corners of the video */
.video-viewport .corner-bracket {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-gold);
    z-index: 10;
    pointer-events: none;
}

.video-viewport .cb-tl {
    top: 16px;
    left: 16px;
    border-right: none;
    border-bottom: none;
}

.video-viewport .cb-tr {
    top: 16px;
    right: 16px;
    border-left: none;
    border-bottom: none;
}

.video-viewport .cb-bl {
    bottom: 16px;
    left: 16px;
    border-right: none;
    border-top: none;
}

.video-viewport .cb-br {
    bottom: 16px;
    right: 16px;
    border-left: none;
    border-top: none;
}

/* Video background tag overlays */
.video-viewport .tech-overlay-top {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    color: rgba(91, 164, 148, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
}

.video-viewport .tech-status {
    position: absolute;
    bottom: 16px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.video-viewport .tech-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    display: inline-block;
    animation: techPulse 1.2s infinite alternate;
}

@keyframes techPulse {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
        box-shadow: 0 0 8px var(--color-gold);
    }
}

/* Video viewport sizing and frame details */
.video-viewport video,
.video-viewport iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.9;
}

/* --- 7. INDUSTRIAL UTILITIES --- */

/* Square Technical Specification Badges */
.tech-tag {
    display: inline-flex;
    align-items: center;
    background-color: rgba(91, 164, 148, 0.08);
    border: 1px solid rgba(91, 164, 148, 0.25);
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm);
}

/* Section Header layouts */
.section-header {
    text-align: left;
    margin-bottom: 72px;
    border-left: 3px solid var(--color-teal);
    padding-left: 24px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    max-width: 700px;
    color: var(--color-gray-text);
    font-size: 17px;
}

@media (max-width: 768px) {
    .section-header {
        padding-left: 16px;
    }

    .section-header h2 {
        font-size: 30px;
    }
}

/* ========================================================================
   📐 SECTION EYEBROW — Sistema editorial de numeração Mould
   ======================================================================== */

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 52px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-gray-border);
}

.section-eyebrow--dark {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.eyebrow-num {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--color-teal);
}

.eyebrow-dash {
    color: var(--color-gray-border);
    font-size: 14px;
    line-height: 1;
}

.eyebrow-dash--dark {
    color: rgba(255, 255, 255, 0.2);
}

.eyebrow-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-gray-text);
}

.eyebrow-label--dark {
    color: rgba(255, 255, 255, 0.45);
}

/* ========================================================================
   📐 SECTION HEADER 2COL — Título esquerda / Descrição direita
   ======================================================================== */

.section-header-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 64px;
}

.section-header-2col h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
}

.section-header-2col h2.light {
    color: #ffffff;
}

.section-header-2col p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--color-gray-text);
    margin: 0;
}

.section-header-2col p.light {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
    .section-header-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================================================
   📐 HERO UPGRADE — Escala tipográfica industrial
   ======================================================================== */

.hero-eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

.hero-eyebrow-label span {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--color-teal);
    opacity: 0.8;
}

/* Large numbers stats boxes */
.stat-box-square {
    border-left: 1px solid var(--color-gray-border);
    padding-left: 24px;
}

.stat-box-square .number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: var(--color-teal);
    /* Switched to Vibrant Green for extreme legibility */
    line-height: 1;
    margin-bottom: 12px;
}

.stat-box-square .label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-dark);
}

.stat-box-square .desc {
    font-size: 13px;
    color: var(--color-gray-text);
    margin-top: 4px;
}

/* Interactive energy distributor boxes in the grid */
.homologation-logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-gray-border);
    padding: 32px;
    text-align: center;
    transition: var(--transition-normal);
    min-height: 160px;
    border-radius: var(--border-radius-md);
    /* Smooth premium rounding */
}

.homologation-logo-box:hover {
    border-color: var(--color-teal);
    background-color: #ffffff;
    box-shadow: var(--shadow-level-2);
}

.homologation-logo-box img {
    max-height: 48px;
    width: auto;
    filter: opacity(0.85);
    transition: var(--transition-fast);
    margin-bottom: 12px;
}

.homologation-logo-box span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gray-text);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.homologation-logo-box:hover span {
    color: var(--color-teal);
}

/* Micro-animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 5s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* --- 8. HEADER & NAVBAR COMPONENT (SCROLL-BASED STATES) --- */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(0, 0, 0, 0.7);
    /* Premium dark black glass backdrop */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-header nav a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    transition: var(--transition-fast);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
}

.main-header nav a:hover {
    color: var(--color-teal);
    opacity: 1 !important;
}

.main-header nav a.active {
    color: #ffffff;
    border-bottom-color: var(--color-teal);
}

.main-header .lang-selector {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.main-header .lang-selector span {
    cursor: pointer;
    transition: var(--transition-fast);
}

.main-header .lang-selector span:hover {
    color: var(--color-teal);
}

.main-header .lang-selector .active-lang {
    color: var(--color-gold);
}

.main-header .nav-btn-cta {
    padding: 10px 16px;
    font-size: 13px;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.main-header .nav-btn-cta:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    box-shadow: var(--glow-teal);
}

/* Scrolled Header state (brand green background) */
.main-header.navbar-scrolled {
    background-color: var(--color-teal);
    /* brand green #0FA967 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(17, 36, 32, 0.15);
}

.main-header.navbar-scrolled nav a {
    color: #ffffff;
}

.main-header.navbar-scrolled nav a:hover {
    color: var(--color-dark);
}

.main-header.navbar-scrolled nav a.active {
    color: #ffffff;
    border-bottom-color: var(--color-dark);
}

.main-header.navbar-scrolled .lang-selector {
    color: #ffffff;
}

.main-header.navbar-scrolled .lang-selector span:hover {
    color: var(--color-dark);
}

.main-header.navbar-scrolled .lang-selector .active-lang {
    color: var(--color-dark);
}

.main-header.navbar-scrolled .nav-btn-cta {
    border-color: var(--color-dark);
    color: var(--color-dark);
    background: transparent;
}

.main-header.navbar-scrolled .nav-btn-cta:hover {
    background-color: var(--color-dark);
    color: #ffffff;
    border-color: var(--color-dark);
    box-shadow: var(--shadow-solid);
}

/* --- 9. HERO FULL-SCREEN BACKGROUND VIDEO --- */
#hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Offset para a altura do cabeçalho */
    border-bottom: 1px solid var(--color-gray-border);
    background-color: #091311;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    /* Mantém o vídeo de alta qualidade bem visível */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente esquerda-direita para garantir excelente contraste na esquerda e manter o vídeo nítido na direita */
    background: linear-gradient(90deg, rgba(17, 36, 32, 0.85) 0%, rgba(17, 36, 32, 0.6) 50%, rgba(17, 36, 32, 0.25) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* VoltFlow-inspired Premium Spec Capsules on the Right */
.hero-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 12px 24px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-spec-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-teal);
    transform: translateX(-6px);
    box-shadow: var(--glow-teal);
}

.hero-spec-pill .pill-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-teal);
}

.hero-pills-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    width: max-content;
    margin-left: auto;
}

@media (max-width: 1024px) {
    .hero-spec-pill {
        padding: 10px 18px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 140px 0 80px 0;
    }

    .hero-pills-col {
        align-items: center;
        margin-top: 24px;
    }
}

/* --- 10. PREMIUM GRID & STAT CARDS (DOBRA 3 - INSPIRADO NO VOLTFLOW LIGHT) --- */
.sobre-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card-main {
    grid-column: span 2;
    background: rgba(15, 169, 103, 0.12);
    border: 1px solid rgba(15, 169, 103, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.stat-card-premium {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-solid);
}

.stat-card-premium .number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card-premium .label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.stat-card-premium .desc {
    font-size: 13px;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 16px;
}

.stat-card-premium .pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-card);
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    align-self: flex-start;
    transition: var(--transition-fast);
    border: 1px solid var(--color-gray-border);
}

.stat-card-premium:hover .pill-btn {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: var(--glow-teal);
}

.about-showcase-container {
    grid-column: span 3;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.about-showcase-container .image-col {
    flex: 1.2;
    position: relative;
    min-height: 100%;
}

.about-showcase-container .image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-showcase-container .text-col {
    flex: 1.8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 1024px) {
    .sobre-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-card-main {
        grid-column: span 2;
    }

    .about-showcase-container {
        grid-column: span 2;
        flex-direction: column;
    }

    .about-showcase-container .image-col {
        width: 100%;
        height: 280px;
    }

    .about-showcase-container .text-col {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }

    .about-card-main {
        grid-column: span 1;
        padding: 30px;
    }

    .about-showcase-container {
        grid-column: span 1;
    }

    .about-showcase-container .image-col {
        height: 200px;
    }

    .about-showcase-container .text-col {
        padding: 24px;
    }

    .stat-card-premium {
        min-height: auto;
    }
}

/* --- 11. PORTFOLIO — ALTERNATING ROWS LAYOUT --- */
.pf-row {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 64px 0;
}

.pf-row-reverse {
    flex-direction: row-reverse;
}

.pf-media {
    flex: 0 0 48%;
    max-width: 48%;
}

/* ── Portfolio Carousel ── */
.pf-carousel {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    width: 100%;
}

.pf-carousel-track {
    position: relative;
    width: 100%;
    height: 420px;
}

.pf-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
    border-radius: var(--border-radius-lg);
}

.pf-slide.active {
    opacity: 1;
    position: relative;
}

.pf-carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.pf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: block;
}

.pf-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

.pf-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pf-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-teal);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}

.pf-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.75;
    margin: 0;
}

.pf-link {
    font-size: 11px;
    margin-top: 4px;
}

.pf-divider {
    width: 100%;
    height: 1px;
    background: var(--color-gray-border);
}

@media (max-width: 768px) {

    .pf-row,
    .pf-row.pf-row-reverse {
        flex-direction: column !important;
        gap: 32px;
        padding: 40px 0;
    }

    /* Foto sempre primeiro, texto sempre depois — independente do HTML */
    .pf-row .pf-media,
    .pf-row.pf-row-reverse .pf-media {
        order: 1 !important;
    }

    .pf-row .pf-text,
    .pf-row.pf-row-reverse .pf-text {
        order: 2 !important;
    }

    .pf-media {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .pf-img-main {
        height: 220px;
    }

    .pf-img-sub {
        height: 120px;
    }

    .pf-title {
        font-size: 24px;
    }
}

/* --- 12. CTA FULL-SCREEN SECTION (DOBRA 4) --- */
.cta-fullscreen-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: none;
}

/* Photo background */
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Dark gradient overlay for text contrast */
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(17, 36, 32, 0.88) 0%,
            rgba(17, 36, 32, 0.72) 50%,
            rgba(17, 36, 32, 0.55) 100%);
    z-index: 1;
}

/* Content block */
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 80px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Eyebrow label */
.cta-eyebrow {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-teal);
    margin: 0;
}

/* Main headline */
.cta-headline {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

/* CTA button */
.cta-btn {
    background-color: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    padding: 16px 40px;
    font-size: 12px;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 1.5px;
    transition: var(--transition-normal);
}

.cta-btn:hover {
    background-color: #ffffff;
    color: var(--color-teal);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 169, 103, 0.35);
}

.cta-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 14px;
    transition: var(--transition-fast);
}

.cta-btn:hover .cta-btn-arrow {
    background: var(--color-teal);
    color: #ffffff;
}

/* Stats bar */
.cta-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 48px;
    gap: 48px;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cta-stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #ffcc00;
    line-height: 1;
    letter-spacing: -0.03em;
}

.cta-stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.cta-stat-icon {
    width: 36px;
    height: 36px;
    fill: #ffcc00;
    display: block;
}

.cta-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-fullscreen-section {
        min-height: auto;
    }

    .cta-content {
        padding: 60px 24px;
        gap: 24px;
    }

    .cta-headline {
        font-size: 28px;
    }

    .cta-stats {
        flex-direction: column;
        padding: 24px 32px;
        gap: 24px;
    }

    .cta-stat-divider {
        width: 48px;
        height: 1px;
    }
}

/* --- 12. INFINITE LOGO MARQUEE CAROUSEL --- */

.sobre-logos-marquee {
    width: 100%;
    background-color: #ffffff;
    padding: 36px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(91, 164, 148, 0.15);
    border-bottom: 1px solid rgba(91, 164, 148, 0.15);
    z-index: 10;
    margin-top: 60px;
    /* Space below the sobre-grid content */
}

/* Headline acima do carrossel de logos */
.marquee-headline {
    text-align: center;
    padding: 40px 32px 28px;
    width: 100%;
}

.marquee-headline-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.marquee-headline-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.marquee-headline-bar .bar-green {
    display: block;
    width: 36px;
    height: 3px;
    background-color: var(--color-teal);
    border-radius: 2px;
}

.marquee-headline-bar .bar-gold {
    display: block;
    width: 20px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

/* Vignette wrapper — limita as sombras laterais somente ao carrossel */
.marquee-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 36px;
}

.marquee-viewport::before,
.marquee-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Generous gap between logos */
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

/* Slow down marquee slightly on hover for premium user interaction */
.sobre-logos-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Container padronizado — todas as logos ocupam o mesmo espaço visual */
    width: 160px;
    height: 64px;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: opacity(0.9);
    transition: var(--transition-normal);
}

.marquee-item img:hover {
    filter: opacity(1);
    transform: scale(1.05);
    /* Slight micro-zoom */
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move by exactly 50% of the duplicated track width */
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .sobre-logos-marquee {
        padding: 24px 0;
        margin-top: 40px;
    }

    .marquee-track {
        gap: 50px;
    }

    .marquee-item {
        width: 110px;
        height: 48px;
    }

    .marquee-item img {
        height: 100%;
        width: 100%;
    }
}

/* ─────────────────────────────────────────
   13. CERTIFICAÇÕES — ESTILO FRAMER
   ───────────────────────────────────────── */

.cert-section {
    background-color: var(--color-light);
    padding: 100px 0 80px;
}

/* ── Cabeçalho centralizado ── */
.cert-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 64px;
}

.cert-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 18px;
}

.cert-headline {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.cert-sub {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-gray-text);
    line-height: 1.75;
    max-width: 740px;
    margin: 0 auto;
}

/* ── Grid: 3 cards sem gap ── */
.cert-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

/* ── Base card ── */
.cert-card {
    position: relative;
    min-height: 380px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* ── Variantes de cor ── */
.cert-card--light {
    background-color: #eef2ee;
    color: #0d1a12;
}

.cert-card--green {
    background-color: var(--color-teal);
    /* #0FA967 */
    color: #ffffff;
}

.cert-card--dark {
    background-color: #0d2218;
    color: #ffffff;
}

/* ── Número gigante marca d'água ── */
.cert-watermark {
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 220px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.cert-card--light .cert-watermark {
    color: rgba(13, 26, 18, 0.08);
}

.cert-card--green .cert-watermark {
    color: rgba(0, 0, 0, 0.12);
}

.cert-card--dark .cert-watermark {
    color: rgba(255, 255, 255, 0.06);
}

/* ── Card body (above watermark) ── */
.cert-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* ── Header: número pequeno + título ── */
.cert-card-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-num-small {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0.5;
}

.cert-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.cert-card--light .cert-card-title {
    color: #0d1a12;
}

.cert-card--green .cert-card-title {
    color: #ffffff;
}

.cert-card--dark .cert-card-title {
    color: #ffffff;
}

/* ── Descrição + link no rodapé ── */
.cert-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

.cert-card--light .cert-card-desc {
    color: rgba(13, 26, 18, 0.65);
}

.cert-card--green .cert-card-desc {
    color: rgba(255, 255, 255, 0.80);
}

.cert-card--dark .cert-card-desc {
    color: rgba(255, 255, 255, 0.55);
}

.cert-card-link {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
    margin-top: 4px;
}

.cert-card--light .cert-card-link {
    color: var(--color-teal);
}

.cert-card--green .cert-card-link {
    color: rgba(255, 255, 255, 0.9);
}

.cert-card--dark .cert-card-link {
    color: var(--color-teal);
}

.cert-card-link:hover {
    gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cert-cards {
        grid-template-columns: 1fr;
    }

    .cert-card {
        min-height: 300px;
    }

    .cert-watermark {
        font-size: 150px;
    }

    .cert-section {
        padding: 72px 0 60px;
    }
}



/* ─────────────────────────────────────────
   14. PROVAS SOCIAIS � ESTILO COMPONENTE
   ───────────────────────────────────────── */

.proof-section {
    background-color: #ffffff;
    padding: 100px 0 80px;
}

.proof-header {
    margin-bottom: 48px;
}

.proof-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.proof-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.proof-meta-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin-bottom: 32px;
}

.proof-title-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    align-items: center;
}

.proof-giant-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0;
}

.proof-intro {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.75;
    margin-bottom: 0;
}

.proof-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    padding: 8px 20px 8px 8px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.proof-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.proof-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-dark);
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.proof-cta-icon svg {
    width: 16px;
    height: 16px;
}

.proof-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.proof-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 280px;
}

.proof-card--dark {
    background-color: #0d1a12;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-card--light {
    background-color: var(--color-teal);
    color: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.proof-quote-icon {
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.4);
}

.proof-quote-icon svg {
    width: 100%;
    height: 100%;
}

.proof-stars {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.proof-stars--dark {
    color: #ffffff;
}

.proof-quote {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    flex: 1;
    margin: 0;
}

.proof-quote--dark {
    color: rgba(255, 255, 255, 0.85);
}

.proof-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.proof-author-name {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.proof-author-role {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.proof-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.proof-rating-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}

.proof-rating-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.proof-rating-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
}

.proof-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.proof-metric {
    padding: 24px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-metric:last-child {
    border-right: none;
}

.proof-metric--dark {
    background-color: #0d1a12;
}

.proof-metric--light {
    background-color: var(--color-teal);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-metric-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
}

.proof-metric-label {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.proof-suporte-strip {
    border-top: 1px solid var(--color-gray-border);
    padding: 32px 0;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.proof-suporte-strip .suporte-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-suporte-strip .suporte-icon svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.proof-suporte-strip .suporte-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 4px;
}

.proof-suporte-strip .suporte-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.6;
    margin: 0;
}

.proof-suporte-strip .suporte-text strong {
    color: var(--color-dark);
    font-weight: 600;
}

@media (max-width: 900px) {
    .proof-title-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .proof-cards {
        grid-template-columns: 1fr;
    }

    .proof-metrics {
        grid-template-columns: 1fr;
    }

    .proof-card--dark {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .proof-metric {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

/* ========================================================================
   📐 MOULD INDUSTRIAL GEOMETRIC UTILITIES (adapted to BRVAL Brand colors/fonts)
   ======================================================================== */

/* Contiguous Blueprint Grid */
.mould-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    background-color: var(--color-gray-border);
    gap: 1px;
    /* 1px Shared border lines */
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mould-grid-dark {
    background-color: rgba(15, 169, 103, 0.15);
    border-color: rgba(15, 169, 103, 0.15);
}

.mould-cell {
    background-color: #ffffff;
    padding: 40px 36px;
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.mould-cell-dark {
    background-color: var(--color-dark);
    /* Keep brand dark green */
    color: rgba(255, 255, 255, 0.85);
}

.mould-cell:hover {
    background-color: var(--color-dark-card);
    z-index: 5;
    box-shadow: inset 0 0 0 1px var(--color-teal), 0 8px 32px rgba(15, 169, 103, 0.05);
}

.mould-cell-dark:hover {
    background-color: #162e29;
    /* Discretely lighter brand dark green */
    z-index: 5;
    box-shadow: inset 0 0 0 1px var(--color-teal), 0 8px 32px rgba(15, 169, 103, 0.15);
}

/* CAD Corner Plus Markers (+) */
.mould-cross {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-teal);
    pointer-events: none;
    line-height: 1;
    opacity: 0.35;
    transition: var(--transition-fast);
}

.mould-cross-tl {
    top: 12px;
    left: 12px;
}

.mould-cross-tr {
    top: 12px;
    right: 12px;
}

.mould-cross-bl {
    bottom: 12px;
    left: 12px;
}

.mould-cross-br {
    bottom: 12px;
    right: 12px;
}

.mould-cell:hover .mould-cross,
.mould-cell-dark:hover .mould-cross {
    opacity: 1;
    color: var(--color-gold);
}

/* Rótulos Técnicos em Sora */
.mould-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-teal);
    display: inline-block;
    margin-bottom: 12px;
}

.mould-label-dark {
    color: var(--color-gold);
}

/* Specific grids for mobile */
@media (max-width: 900px) {
    .mould-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .mould-grid .span-4,
    .mould-grid .span-6,
    .mould-grid .span-8,
    .mould-grid .span-12 {
        grid-column: span 6 !important;
    }
}

@media (max-width: 768px) {
    .mould-grid {
        grid-template-columns: 1fr !important;
    }

    .mould-grid .span-4,
    .mould-grid .span-6,
    .mould-grid .span-8,
    .mould-grid .span-12 {
        grid-column: span 1 !important;
    }

    .mould-cell {
        padding: 30px 20px;
    }
}

/* 📐 RESPONSIVE PORTFOLIO MOULD CARD UTILITIES */
.portfolio-mould-card {
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

.portfolio-mould-card .img-side {
    width: 40%;
    min-height: 100%;
    position: relative;
}

.portfolio-mould-card .img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-mould-card .text-side {
    width: 60%;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .portfolio-mould-card {
        flex-direction: column !important;
    }

    .portfolio-mould-card .img-side {
        width: 100% !important;
        height: 220px !important;
        min-height: auto !important;
    }

    .portfolio-mould-card .text-side {
        width: 100% !important;
        padding: 30px 20px !important;
    }
}

/* ========================================================================
   🔽 NAV DROPDOWN — Subpáginas de Soluções
   ======================================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-caret {
    font-size: 10px;
    display: inline-block;
    transition: transform 0.25s ease;
    line-height: 1;
}

.nav-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-dark);
    border: 1px solid rgba(91, 164, 148, 0.2);
    border-radius: var(--border-radius-md);
    padding: 20px 0 8px;
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    z-index: 200;
    flex-direction: column;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: none;
    white-space: nowrap;
    transition: var(--transition-fast);
    border-radius: 0;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    color: var(--color-teal);
    background-color: rgba(91, 164, 148, 0.08);
}

/* ========================================================================
   🔽 NAV SUB-DROPDOWN — Multi-level menus
   ======================================================================== */

.nav-subdropdown {
    position: relative;
    width: 100%;
}

.nav-subdropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--color-dark);
    border: 1px solid rgba(91, 164, 148, 0.2);
    border-radius: var(--border-radius-md);
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    z-index: 210;
    flex-direction: column;
}

.nav-subdropdown:hover > .nav-subdropdown-menu {
    display: flex;
}

.nav-subdropdown > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

/* ::after removido — seta vem exclusivamente do .nav-subcaret injetado pelo JS */
.nav-subdropdown > a::after {
    display: none !important;
    content: "" !important;
}

/* Subcaret no desktop: posicionado à direita com espaçamento */
.nav-subcaret {
    font-size: 14px;
    margin-left: auto;
    padding-left: 16px;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.nav-subdropdown:hover > a .nav-subcaret {
    color: var(--color-teal);
}


/* ========================================================================
   🖼️ PAGE HERO — Hero de subpáginas internas
   ======================================================================== */

.page-hero {
    position: relative;
    height: 70vh;
    min-height: 480px;
    max-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(17, 36, 32, 0.90) 0%,
            rgba(17, 36, 32, 0.68) 55%,
            rgba(17, 36, 32, 0.45) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    max-width: 700px;
}

.page-hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 20px;
    display: block;
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.page-hero h1 span {
    color: var(--color-teal);
}

.page-hero-desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-hero {
        height: auto;
        min-height: 420px;
        padding: 120px 0 60px;
    }
}

/* ========================================================================
   💊 TECH TAG PILLS — Tags de produto em cards escuros
   ======================================================================== */

.tech-tag-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag-pill {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.72);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-sm);
    padding: 5px 10px;
    white-space: nowrap;
}

/* ========================================================================
   ✨ SCROLL REVEAL — Animações de entrada por scroll
   ======================================================================== */

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left {
    transform: translateX(-28px);
}

.reveal-right {
    transform: translateX(28px);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.30s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* ========================================================================
   🟡 BTN GOLD FILLED — Botão dourado sólido
   ======================================================================== */

.btn-gold-filled {
    background-color: var(--color-gold);
    color: var(--color-dark);
    border: 2px solid var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.btn-gold-filled:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* ─────────────────────────────────────────
   14.1. COMPONENTE DE DEPOIMENTOS EM ABAS VERTICAIS
   ───────────────────────────────────────── */
.proof-tabbed-container {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 32px;
    margin-top: 48px;
}

.proof-tabs-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proof-tab-btn {
    background-color: #ffffff;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius-lg);
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    outline: none;
}

.proof-tab-btn:hover {
    border-color: var(--color-teal);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.proof-tab-btn.active {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    box-shadow: 0 6px 16px rgba(15, 169, 103, 0.15);
}

.proof-tab-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.proof-tab-role {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    transition: color 0.3s ease;
}

.proof-tab-company {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    transition: color 0.3s ease;
}

/* Active tab text overrides */
.proof-tab-btn.active .proof-tab-title { color: #ffffff; }
.proof-tab-btn.active .proof-tab-role { color: rgba(255, 255, 255, 0.85); }
.proof-tab-btn.active .proof-tab-company { color: rgba(255, 255, 255, 0.75); }

/* Right Content Card */
.proof-content-card {
    background-color: #ffffff;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-solid);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
}

.proof-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.proof-tab-content.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.proof-large-quote {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-dark);
    margin: 0 0 32px 0;
}

.proof-divider {
    height: 1px;
    background-color: var(--color-gray-border);
    width: 100%;
    margin-bottom: 32px;
}

/* Section Metrics Grid */
.proof-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proof-metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-metric-val {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-teal);
    line-height: 1;
}

.proof-metric-desc {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
}

/* Bottom Support Banner */
.proof-suporte-banner {
    margin-top: 48px;
    background-color: rgba(15, 169, 103, 0.06);
    border: 1px solid rgba(15, 169, 103, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.proof-suporte-banner svg {
    flex-shrink: 0;
}

.proof-suporte-banner-text {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 0;
}

.proof-suporte-banner-text strong {
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .proof-tabbed-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .proof-tabs-column {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
    }
    .proof-tab-btn {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
    .proof-metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .proof-suporte-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

/* ========================================================================
   📐 15. MOULD LAYOUT SYSTEM (SOLUTIONS SUBPAGES)
   ======================================================================== */

.mould-hero {
    background-color: #f5f5f5;
    padding: 160px 0 80px 0;
    color: var(--color-dark);
    position: relative;
    border-bottom: 1px solid var(--color-gray-border);
}

.mould-hero-header {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.mould-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.mould-hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 20px;
    border-left: 2px solid var(--color-teal);
    padding-left: 10px;
    line-height: 1;
}

.mould-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
    margin: 0;
}

.mould-hero-right {
    display: flex;
    justify-content: flex-end;
}

/* Bright solid brand green card */
.mould-hero-metric-card {
    background-color: var(--color-teal);
    color: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(15, 169, 103, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mould-hero-metric-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.mould-hero-metric-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Full screen banner image below header */
.mould-hero-banner {
    width: 100%;
    height: 520px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-solid);
    border: 1px solid var(--color-gray-border);
}

.mould-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .mould-hero {
        padding: 120px 0 60px 0;
    }
    
    .mould-hero-header {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }
    
    .mould-hero-right {
        justify-content: flex-start;
    }
    
    .mould-hero-metric-card {
        max-width: 100%;
        width: 100%;
        padding: 30px;
    }
    
    .mould-hero-banner {
        height: 320px;
    }
}

/* ========================================================================
   📐 16. MOULD COMPONENT CARDS (DOBRA 3)
   ======================================================================== */

.mould-card {
    background-color: #ffffff;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition-normal);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.mould-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(15, 169, 103, 0.08);
    border-color: var(--color-teal);
}

.mould-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mould-card-icon-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-teal);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-teal);
    flex-shrink: 0;
}

.mould-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

.mould-card-desc {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-gray-text);
    margin: 0;
}

.mould-card-products {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-dark);
    border-top: 1px dashed var(--color-gray-border);
    padding-top: 20px;
    margin-top: 8px;
}

.mould-card-products strong {
    color: var(--color-teal);
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mould-card-image {
    width: 100%;
    height: 220px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-top: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mould-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.mould-card:hover .mould-card-image img {
    transform: scale(1.06);
}

.mould-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-dark-card);
    color: var(--color-dark);
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-normal);
    border: 1px solid var(--color-gray-border);
    margin-top: 8px;
}

.mould-card:hover .mould-card-btn {
    background-color: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: var(--glow-teal);
}

.mould-btn-arrow {
    font-weight: 800;
    transition: transform 0.25s ease;
    display: inline-block;
}

.mould-card-btn:hover .mould-btn-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .mould-card-image {
        height: 180px;
    }
}

/* Independent Light Cards Grid */
.mould-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 1024px) {
    .mould-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .mould-cards-grid {
        grid-template-columns: 1fr;
    }
}

.mould-card-desc-list {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-gray-text);
    padding-left: 20px;
    margin: 0;
    flex: 1;
}

.mould-card-desc-list li {
    margin-bottom: 8px;
}

/* ── Mould Steps Grid: Horizontal Layout (Cards in Rows) ── */
.mould-steps-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 48px;
}

.cert-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    padding: 36px 40px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    gap: 40px;
}

.cert-card-horizontal.cert-card--light {
    background-color: #eef2ee;
    color: #0d1a12;
}

.cert-card-horizontal.cert-card--green {
    background-color: var(--color-teal);
    color: #ffffff;
}

.cert-card-horizontal.cert-card--dark {
    background-color: #0d2218;
    color: #ffffff;
}

.cert-card-horizontal-left {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.cert-watermark-horizontal {
    display: none;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    margin-bottom: 10px;
}

.cert-card-horizontal.cert-card--light .cert-watermark-horizontal {
    color: rgba(13, 26, 18, 0.08);
}
.cert-card-horizontal.cert-card--green .cert-watermark-horizontal {
    color: rgba(0, 0, 0, 0.12);
}
.cert-card-horizontal.cert-card--dark .cert-watermark-horizontal {
    color: rgba(255, 255, 255, 0.06);
}

.cert-card-horizontal .cert-card-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.cert-card-horizontal-right {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cert-card-horizontal .cert-card-desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 900px) {
    .cert-card-horizontal {
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
        gap: 20px;
        padding: 30px;
    }
    .cert-card-horizontal-left {
        flex: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .cert-card-horizontal-left > div[style*="display: flex"] {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .cert-card-horizontal-right {
        text-align: center !important;
        width: 100% !important;
    }
}

/* ========================================================================
   FORM STEPPER — BRVAL Contact Form
   ======================================================================== */

.form-stepper-wrapper {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

/* ── Indicador de etapas ── */
.stepper-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-border);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gray-text);
    transition: all 0.3s ease;
    z-index: 1;
}

.stepper-step.active .stepper-circle {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
}

.stepper-step.done .stepper-circle {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
}

.stepper-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-gray-text);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.stepper-step.active .stepper-label,
.stepper-step.done .stepper-label {
    color: var(--color-teal);
}

.stepper-line {
    height: 2px;
    width: 60px;
    background-color: var(--color-gray-border);
    margin-bottom: 22px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.stepper-line.done {
    background-color: var(--color-teal);
}

/* ── Painéis de etapa ── */
.form-step {
    display: none;
    animation: stepFadeIn 0.35s ease;
}

.form-step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.form-step-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-step-subtitle {
    font-size: 14px;
    color: var(--color-gray-text);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ── Grid de campos ── */
.form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field-full {
    margin-bottom: 20px;
}

.form-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

/* ── Navegação do stepper ── */
.stepper-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}

.stepper-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-text);
    background: none;
    border: 1px solid var(--color-gray-border);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.stepper-btn-back:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.stepper-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-teal);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.stepper-btn-next:hover {
    background-color: #4a9283;
    transform: translateY(-1px);
}

.stepper-btn-submit {
    background-color: var(--color-teal);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stepper-btn-submit:hover {
    background-color: #4a9283;
}

/* ── Progress bar ── */
.stepper-progress-bar {
    height: 3px;
    background-color: var(--color-gray-border);
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.stepper-progress-fill {
    height: 100%;
    background-color: var(--color-teal);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .form-stepper-wrapper {
        padding: 24px 20px !important;
    }

    .form-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .stepper-label {
        display: none;
    }

    .stepper-line {
        width: 40px;
    }

    .stepper-btn-back,
    .stepper-btn-next,
    .stepper-btn-submit {
        padding: 12px 16px !important;
        font-size: 12px !important;
    }
}

/* ── Mould CTA Green Button ── */
.mould-cta-green-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px;
    background-color: var(--color-teal);
    border: none;
    border-radius: var(--border-radius-md);
    color: #ffffff;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(15, 169, 103, 0.4);
}

.mould-cta-green-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(15, 169, 103, 0.6);
    background-color: #0d965a;
}

.mould-cta-arrow-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--color-teal);
    font-size: 14px;
    font-weight: 800;
    transition: var(--transition-normal);
}

.mould-cta-green-btn:hover .mould-cta-arrow-green {
    transform: translateX(4px);
}

/* ── Mould Split Hero (Split Layout) ── */
.mould-split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 85vh;
    min-height: 600px;
    max-height: 850px;
    width: 100%;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-gray-border);
}

.mould-split-hero-left {
    padding: 120px 80px 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: var(--color-teal);
    height: 100%;
    z-index: 2;
}

.mould-split-hero-right {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #eef2ee;
}

.mould-split-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mould-split-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 36, 32, 0.4) 0%, rgba(15, 169, 103, 0.25) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

/* Running text overlay on the right image */
.mould-split-hero-running-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: clamp(60px, 8vw, 110px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.03em;
    pointer-events: none;
    user-select: none;
    animation: mouldScrollText 20s linear infinite;
    z-index: 2;
}

@keyframes mouldScrollText {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Responsive Split Hero */
@media (max-width: 1024px) {
    .mould-split-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mould-split-hero-left {
        padding: 120px 40px 60px 40px;
    }

    .mould-split-hero-right {
        height: 420px;
    }
}
/* ========================================================================
   SLIDER (Added globally to fix product pages)
======================================================================== */
.product-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    max-height: 650px;
    border-radius: 12px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: var(--color-dark);
}
.product-slider img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease, transform 6s linear;
    transform: scale(1.05);
    z-index: 1;
}
.product-slider img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: none;
    color: var(--color-dark);
}
.slider-arrow:hover {
    background: var(--color-teal);
    color: white;
}
.slider-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }


/* ========================================================================
   MOBILE FINAL FIXES (STRICTLY < 992px)
   ======================================================================== */
@media (max-width: 992px) {
    /* 1. AGGRESSIVE CENTERING */
    .section-header, 
    .section-header-2col, 
    .hero-content, 
    .volt-grid-cell, 
    .proof-header,
    .mould-hero-header,
    .cert-header,
    .cert-card-header,
    .footer-top,
    .footer-bottom {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .section-header > div,
    .section-header-2col > div,
    .hero-content > div,
    .volt-grid-cell > div,
    .mould-hero-header > div {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    h1, h2, h3, h4, h5, p, .eyebrow-label {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .btn, .cta-container, a[style*="inline-flex"] {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    /* 2. MOBILE SIDEBAR MENU STRUCTURE */
    /* Dropdowns ficam ocultos por padrão; abrem via JS (.mobile-open) */
    .nav-dropdown-menu,
    .nav-subdropdown-menu {
        display: none !important;
        flex-direction: column;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
        padding-left: 0 !important;
        gap: 8px !important;
        margin-top: 10px;
        border: none !important;
    }

    /* Abre dropdown principal */
    .nav-dropdown.mobile-open > .nav-dropdown-menu {
        display: flex !important;
    }

    /* Abre subdropdown */
    .nav-subdropdown.mobile-open > .nav-subdropdown-menu {
        display: flex !important;
    }

    .nav-subdropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown {
        width: 100%;
    }

    /* Caret: área de toque maior, gira quando aberto */
    .nav-caret {
        display: inline-flex !important;
        padding: 4px 10px !important;
        transition: transform 0.3s ease !important;
    }

    .nav-dropdown.mobile-open > .nav-dropdown-trigger .nav-caret {
        transform: rotate(180deg) !important;
    }

    /* 3. MOBILE NAV VISUAL HIERARCHY */
    /* Links diretos (HOME, BLOG): texto à esquerda */
    .main-header nav > a {
        font-size: 15px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-bottom: 16px !important;
        width: 100% !important;
        color: #ffffff !important;
        display: flex !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Triggers com dropdown: texto à esquerda, seta à direita */
    .main-header nav > .nav-dropdown > .nav-dropdown-trigger {
        font-size: 15px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-bottom: 16px !important;
        width: 100% !important;
        color: #ffffff !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }

    /* Cancela centralização global para todos os textos do nav mobile */
    .main-header nav a,
    .main-header nav .nav-dropdown-trigger,
    .main-header nav strong,
    .main-header nav span:not(.nav-caret) {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Caret: maior e mais visível, fixo à direita */
    .nav-caret {
        font-size: 20px !important;
        line-height: 1 !important;
        padding: 0 4px !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        opacity: 0.9 !important;
    }

    /* Subitens diretos do dropdown (sem sub-nível): alinhados à esquerda */
    .nav-dropdown-menu > a {
        font-size: 13px !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        border-bottom: none !important;
        padding-bottom: 8px !important;
        padding-left: 12px !important;
        color: rgba(255,255,255,0.7) !important;
        display: flex !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* Trigger do subdropdown: texto esquerda, subcaret direita */
    .nav-dropdown-menu > .nav-subdropdown > a {
        font-size: 13px !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        border-bottom: none !important;
        padding: 8px 12px !important;
        color: rgba(255,255,255,0.7) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
        white-space: normal !important; /* nomes longos (ex: Equipamentos de Proteção e Controle) quebram em vez de cortar o subcaret */
    }

    /* No mobile, todos os itens do menu podem quebrar linha (o nowrap é só do desktop) */
    .nav-dropdown-menu > a,
    .nav-subdropdown-menu > a {
        white-space: normal !important;
    }

    /* Esconde o ::after nativo para não duplicar com o subcaret injetado */
    .nav-subdropdown > a::after {
        display: none !important;
        content: "" !important;
    }

    /* Subcaret: injetado via JS */
    .nav-subcaret {
        font-size: 18px !important;
        line-height: 1 !important;
        padding: 0 4px !important;
        flex-shrink: 0 !important;
        opacity: 0.8 !important;
        transition: transform 0.3s ease !important;
        margin-left: auto !important;
    }

    .nav-subdropdown.mobile-open > a .nav-subcaret {
        transform: rotate(90deg) !important;
    }

    /* Sub-subitens: indent maior */
    .nav-subdropdown-menu > a {
        font-size: 12px !important;
        text-transform: none !important;
        font-weight: 400 !important;
        border-bottom: none !important;
        padding-bottom: 4px !important;
        padding-left: 24px !important;
        color: rgba(255,255,255,0.5) !important;
        display: flex !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    /* --- SIDEBAR MENU BEHAVIOR --- */
    .main-header nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen to the right by default */
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--color-dark);
        flex-direction: column;
        justify-content: flex-start !important;
        padding: 90px 24px 40px;
        transition: right 0.4s ease;
        z-index: 991;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .main-header nav.mobile-nav-active {
        right: 0; /* Slide in */
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 992;
        padding: 10px;
    }
    
    .mobile-menu-btn span {
        width: 30px;
        height: 2px;
        background-color: #ffffff;
        transition: 0.3s;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.7);
        z-index: 990;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Language Selector Mobile/Desktop Logic --- */
/* Esconde seletor do header no mobile (vai para dentro do menu hamburger) */
@media (max-width: 992px) {
    .main-header .lang-selector {
        display: none !important;
    }
    /* Esconde do footer com seletor de mesma especificidade que o que força display:flex */
    #footer > div:first-child > .container > div.footer-lang-selector,
    #footer .footer-lang-selector {
        display: none !important;
    }
}

/* Esconde do footer no desktop (já está no header) */
@media (min-width: 993px) {
    #footer .footer-lang-selector {
        display: none !important;
    }
    /* O seletor injetado no nav não aparece no desktop */
    .mobile-lang-selector {
        display: none !important;
    }
}

/* Seletor de idioma dentro do menu hamburger */
@media (max-width: 992px) {
    .mobile-lang-selector {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 0 0 20px 0 !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        width: 100% !important;
    }

    .mobile-lang-item {
        font-family: var(--font-heading) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        color: rgba(255, 255, 255, 0.5) !important;
        cursor: pointer !important;
        padding: 4px 6px !important;
        border-radius: 4px !important;
        transition: color 0.2s ease !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .mobile-lang-item.active-lang {
        color: var(--color-gold) !important;
    }

    .mobile-lang-item:hover {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .mobile-lang-sep {
        color: rgba(255, 255, 255, 0.2) !important;
        font-size: 12px !important;
        margin: 0 !important;
    }
}

/* ========================================================================
   MOBILE OPTIMIZATION — FASE 2
   Tipografia, espaçamento, componentes e overflow
   Corrige inline styles via !important
   ======================================================================== */

/* ── 1. HAMBURGER: esconde no desktop, posiciona à direita no mobile ── */
@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 992px) {
    /* O wrapper do seletor de idioma fica vazio no mobile mas ainda ocupa
       espaço como flex item, empurrando o hamburguer para o centro.
       Este seletor esconde qualquer div direto do container que não seja o hamburguer. */
    .main-header .container > div:not(.mobile-menu-btn) {
        display: none !important;
    }

    /* Garante que o hamburguer fique colado à direita */
    .mobile-menu-btn {
        margin-left: auto !important;
    }
}

/* ── 2. OVERFLOW: previne scroll horizontal ── */
@media (max-width: 992px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    img,
    video,
    iframe,
    svg {
        max-width: 100% !important;
    }

    /* Preserva altura explícita do logo no header */
    .main-header img {
        height: 30px !important;
        width: auto !important;
        max-width: none !important;
    }

    * {
        box-sizing: border-box !important;
    }
}

/* ── 3. ESCALA TIPOGRÁFICA (sobrescreve inline styles) ── */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(28px, 8vw, 36px) !important;
        line-height: 1.2 !important;
    }
    h2 {
        font-size: clamp(22px, 6vw, 26px) !important;
        line-height: 1.25 !important;
    }
    h3 {
        font-size: clamp(18px, 5vw, 22px) !important;
        line-height: 1.3 !important;
    }
    p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    /* Centraliza badges, tags e eyebrows que não eram pegos antes */
    .mould-tag,
    .eyebrow-label,
    .eyebrow-tag,
    .section-tag,
    .badge,
    .label-tag,
    [class*="tag"],
    [class*="badge"],
    [class*="eyebrow"] {
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Centraliza wrappers de conteúdo de seção */
    .section-header,
    .section-header-2col,
    .mould-hero-header,
    .page-hero .container,
    .cert-header,
    .proof-header {
        text-align: center !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(24px, 7.5vw, 30px) !important;
    }
    h2 {
        font-size: clamp(19px, 5.5vw, 22px) !important;
    }
    h3 {
        font-size: clamp(16px, 4.5vw, 19px) !important;
    }
}

/* ── 4. HERO (HOME) ── */
@media (max-width: 768px) {
    #hero {
        padding: 110px 0 60px !important;
    }

    /* Oculta coluna de pílulas no mobile para dar foco ao copy */
    .hero-pills-col,
    .hero-spec-pill {
        display: none !important;
    }

    .hero-content-wrapper .span-7 {
        text-align: center !important;
    }

    /* Scroll indicator: garante centralização horizontal independente de herança */
    .scroll-indicator {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ── 5. PAGE HERO (subpáginas) ── */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px !important;
        min-height: auto !important;
    }

    .mould-hero {
        padding: 100px 0 60px !important;
    }

    /* Split hero: imagem em cima, texto verde embaixo */
    .mould-split-hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding-top: 68px !important; /* padding (não margin) → sem gap branco */
        margin-top: 0 !important;
        background-color: var(--color-teal) !important; /* garante que não vaza branco */
        overflow: hidden !important;
    }

    /* Imagem: aparece primeiro no mobile */
    .mould-split-hero-right {
        order: 1 !important;
        width: 100% !important;
        height: 280px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mould-split-hero-right img {
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    /* Overlay mobile: igual ao desktop (sutil, sem fade forte) */
    .mould-split-hero-overlay {
        background: linear-gradient(135deg, rgba(17, 36, 32, 0.4) 0%, rgba(15, 169, 103, 0.25) 100%) !important;
        mix-blend-mode: multiply !important;
    }

    /* Caixa verde com texto: aparece abaixo da imagem */
    .mould-split-hero-left {
        order: 2 !important;
        padding: 36px 20px 48px !important;
        min-height: auto !important;
        height: auto !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Running text: visível e animado no mobile, fonte menor */
    .mould-split-hero-running-text {
        display: block !important;
        font-size: 36px !important;
        bottom: 12px !important;
        animation: mouldScrollText 14s linear infinite !important;
    }
}

/* ── 6. CONTAINER: padding lateral extra pequeno ── */
@media (max-width: 480px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-padding {
        padding: 48px 0 !important;
    }

    .section-header {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ── 7a. BOTÕES INLINE (cta-button, classes soltas) ── */
@media (max-width: 768px) {
    /* Qualquer botão/CTA verde com texto uppercase e letter-spacing */
    .cta-button,
    a.cta-button {
        display: inline-flex !important;
        width: auto !important;
        max-width: 260px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        letter-spacing: 0 !important;
        padding: 11px 18px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .cta-button > span,
    a.cta-button > span {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* ── 7. BOTÕES: centralização no mobile ── */
@media (max-width: 768px) {
    /* Botão: full-width, texto + seta centralizados juntos como grupo */
    .btn,
    a.btn,
    button.btn {
        display: inline-flex !important;
        width: 100% !important;
        max-width: 420px !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    /* Garante que spans internos dos botões não herdem margin:auto de regras globais */
    .btn > span,
    a.btn > span,
    button.btn > span {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Containers diretos de botões: centraliza */
    div:has(> .btn),
    div:has(> a.btn),
    div:has(> a[class*="btn"]) {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Hero: coluna de copy vira flex column centralizado */
    .hero-content-wrapper .span-7,
    .hero-content-wrapper [class*="span"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Arrow-links ("VER PAINÉIS...", "VER TRANSFORMADORES..."):
       texto + seta centralizados juntos, span sem margin:auto */
    .arrow-link {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .arrow-link > span,
    .arrow-link > svg {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Containers dos arrow-links: centraliza */
    .pf-text,
    .pf-copy {
        align-items: center !important;
        text-align: center !important;
    }
}

/* ── 8. GRIDS DE CARDS + CENTRALIZAÇÃO DE ÍCONES ── */
@media (max-width: 768px) {
    .produto-grid,
    .servico-grid,
    .mould-cards-grid,
    .cert-cards {
        grid-template-columns: 1fr !important;
    }

    .sobre-grid {
        grid-template-columns: 1fr !important;
    }

    .about-card-main {
        grid-column: span 1 !important;
    }

    .stat-card-premium {
        min-height: auto !important;
        padding: 24px !important;
    }

    /* Cards: centraliza tudo (ícones, textos, botões) */
    .volt-card,
    .glass-card,
    .produto-card,
    .servico-card,
    .mould-card,
    .portfolio-mould-card,
    .volt-grid-cell,
    .eco-card,
    .cert-card,
    .about-card-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        overflow: hidden !important;
        word-break: break-word !important;
        min-width: 0 !important;
    }

    /* Ícones circulares (divs com border-radius e width fixo):
       centraliza qualquer div filho que pareça um ícone */
    .volt-grid-cell > div,
    .volt-card > div:first-child,
    .servico-card > div:first-child,
    .eco-card > div:first-child {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Linhas ícone + texto (inline style com align-items:flex-start):
       empilha verticalmente e centraliza no mobile */
    div[style*="align-items: flex-start"],
    div[style*="align-items:flex-start"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* SVGs soltos em seções de conteúdo (não em botões ou nav) */
    .volt-grid-cell svg,
    .volt-card svg,
    .servico-card svg,
    .eco-card svg,
    .section-padding svg:not(.btn svg):not(.main-header svg) {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ── 9. FOOTER — redesign mobile ── */
@media (max-width: 768px) {
    /* Padding geral */
    #footer > div:first-child {
        padding: 48px 0 36px !important;
    }

    /* Container principal: coluna única, centralizado */
    #footer > div:first-child > .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 36px !important;
    }

    /* Todas as colunas: largura total, centralizado */
    #footer > div:first-child > .container > div {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Logo: centralizado */
    #footer img[alt*="BRVAL"] {
        align-self: center !important;
        margin-bottom: 16px !important;
    }

    /* BNDES + ISO: centraliza o par */
    #footer div[style*="display: flex; gap: 24px; align-items: center"] {
        justify-content: center !important;
    }

    /* Sublinha verde dos títulos: centraliza */
    #footer h4 span[style*="position: absolute"] {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Navegação: transforma 2 listas lado a lado em 1 coluna */
    #footer div[style*="gap: 40px"] {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
    }

    #footer ul {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    #footer ul li {
        text-align: center !important;
    }

    /* Endereço: itens empilhados e centralizados */
    #footer div[style*="display: flex; flex-direction: column; gap: 20px"] {
        align-items: center !important;
        width: 100% !important;
    }

    #footer div[style*="display: flex; gap: 8px"] {
        justify-content: center !important;
    }

    #footer p[style*="margin: 0 0 0 24px"] {
        margin: 8px 0 0 0 !important;
        text-align: center !important;
    }

    /* CTA botão: largura total */
    #footer a[href="contato.html"] {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    /* Barra de contatos inferior: empilha e centraliza */
    #footer > div:last-of-type > .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        text-align: center !important;
    }

    /* Ícones sociais: centraliza */
    #footer div[style*="display: flex; gap: 12px"] {
        justify-content: center !important;
    }

    /* Telefones e emails: coluna centralizada */
    #footer div[style*="justify-content: flex-end"] {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Seletor de idioma no footer: centralizado */
    .footer-lang-selector {
        justify-content: center !important;
        margin-top: 0 !important;
    }

    /* Contato Direto / Trabalhe Conosco: centraliza spans e links de info */
    div[style*="position: sticky; top: 100px"] > div > div,
    div[style*="position: sticky; top: 100px"] > div {
        text-align: center !important;
    }

    div[style*="position: sticky; top: 100px"] span,
    div[style*="position: sticky; top: 100px"] a:not(.btn):not(.mould-cta-green-btn) {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ── 10. FORMULÁRIOS: previne zoom automático no iOS ── */
@media (max-width: 768px) {
    input,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .form-grid,
    .contato-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* ── PÁGINAS DE DOWNLOAD (catalogo, manuais, desenhos-tecnicos, etc.) ── */
@media (max-width: 768px) {

    /* Grid editorial 1fr 1.2fr → coluna única */
    div[style*="grid-template-columns: 1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        overflow: hidden !important;
    }

    /* min-width: 0 nos filhos — fix padrão de overflow em grid mobile */
    div[style*="grid-template-columns: 1fr 1.2fr"] > *,
    div[style*="grid-template-columns: 1.35fr 1fr"] > *,
    div[style*="grid-template-columns: repeat"] > * {
        min-width: 0 !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }

    /* repeat(auto-fit, minmax(400px, 1fr)): 400px > viewport → força 1 coluna */
    div[style*="minmax(400px"] {
        grid-template-columns: 1fr !important;
    }

    /* repeat(auto-fit, minmax(300px, 1fr)): segurança em telas < 320px */
    div[style*="minmax(300px"] {
        grid-template-columns: 1fr !important;
    }

    /* repeat(auto-fit, minmax(320px, 1fr)) */
    div[style*="minmax(320px"] {
        grid-template-columns: 1fr !important;
    }

    /* Remove sticky do sidebar na coluna esquerda */
    div[style*="position: sticky"] {
        position: static !important;
        top: auto !important;
    }

    /* Box escuro CTA: padding menor */
    div[style*="background-color: var(--color-dark)"][style*="border-radius: 12px"] {
        padding: 24px 20px !important;
    }

    /* Botão de orçamento dentro do box escuro */
    .mould-cta-green-btn {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        font-size: 11px !important;
        letter-spacing: 0.3px !important;
        padding: 12px 16px !important;
    }

    .mould-cta-green-btn > span,
    .mould-cta-arrow-green {
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Linha de download: nome do arquivo não vaza */
    div[style*="justify-content: space-between"][style*="align-items: center"] > div > div[style*="max-width"] {
        max-width: 200px !important;
    }

    /* Sidebar download box: padding menor */
    div[style*="grid-template-columns: 1fr 1.2fr"] > div:last-child {
        padding: 24px 20px !important;
        height: auto !important;
    }

    /* Cards com padding 48px ou 40px — muito grande no mobile */
    div[style*="padding: 48px"] {
        padding: 24px !important;
    }

    div[style*="padding: 40px; flex-grow"] {
        padding: 24px !important;
    }

    /* Botão de download em largura total: reduz padding do botão */
    a.mould-cta-green-btn[style*="padding: 20px 32px"] {
        padding: 14px 20px !important;
        font-size: 12px !important;
        letter-spacing: 0.2px !important;
    }
}

/* ── PÁGINAS INDIVIDUAIS DE PRODUTO (metalclad, g2-slim, br6, etc.) ── */
@media (max-width: 768px) {

    /* Header do produto: padding-top reduzido */
    section[style*="padding-top: 180px"] {
        padding-top: 90px !important;
        padding-bottom: 32px !important;
    }

    /* Seção editorial: padding menor */
    section[style*="padding: 80px 0 120px"] {
        padding: 32px 0 48px !important;
    }

    /* Grid editorial 1.35fr 1fr → coluna única */
    div[style*="grid-template-columns: 1.35fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* Sidebar (tabela de specs): remove height: 100%, alinha ao topo */
    div[style*="grid-template-columns: 1.35fr 1fr"] > div:last-child {
        height: auto !important;
        align-items: flex-start !important;
        padding: 24px !important;
    }

    /* Slider de produto: altura proporcional menor */
    .product-slider {
        aspect-ratio: 4/3 !important;
        max-height: 280px !important;
        margin-bottom: 28px !important;
    }

    /* Botões de seta do slider: menores no mobile */
    .slider-arrow {
        width: 36px !important;
        height: 36px !important;
    }

    .slider-arrow svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ── HERO COM GRADIENTE LATERAL (brval-srb, brval-electrical, etc.) ── */
/* No desktop: gradiente left→right deixa texto legível à esquerda.
   No mobile: conteúdo centralizado cai na área transparente → overlay escuro adicional */
@media (max-width: 768px) {
    section[style*="linear-gradient(to right"] {
        position: relative !important;
    }

    section[style*="linear-gradient(to right"]::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(10, 20, 16, 0.60);
        z-index: 1;
        pointer-events: none;
    }

    /* Garante que conteúdo fique acima do overlay */
    section[style*="linear-gradient(to right"] > * {
        position: relative;
        z-index: 2;
    }
}

/* ── BLOG PAGE ── */

@media (max-width: 768px) {

    /* Hero do blog: preenche o viewport inteiro sem faixas */
    section[style*="height: 100vh"][style*="min-height: 700px"] {
        height: 100dvh !important;
        min-height: unset !important;
        padding-top: 0 !important;
    }

    /* Slider: posição absoluta para ignorar padding e encostar no topo da section */
    section[style*="height: 100vh"][style*="min-height: 700px"] > .blog-slider {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Esconde o overlay duplo do slide — container já tem gradiente próprio */
    .blog-slide > div[style*="linear-gradient(0deg"] {
        display: none !important;
    }

    /* Dots do carousel: rentes ao fundo */
    .blog-slider > div[style*="bottom: 40px"] {
        bottom: 16px !important;
    }

    /* Container: cobre o slide inteiro como overlay, empurra conteúdo para baixo */
    .blog-slide > .container {
        position: absolute !important;
        inset: 0 !important;
        padding: 24px 20px 44px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0) 75%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        gap: 12px !important;
        z-index: 2 !important;
        overflow: hidden !important;
    }

    /* Badge/tag da categoria */
    .blog-slide .container > span {
        display: inline-block !important;
        font-size: 11px !important;
        margin-bottom: 4px !important;
        flex-shrink: 0 !important;
    }

    /* Linha título + autor: empilha verticalmente */
    .blog-slide .container div[style*="justify-content: space-between"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }

    /* Div do título: largura total */
    .blog-slide .container div[style*="max-width: 800px"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Título: visível e legível */
    .blog-slide h1,
    .blog-slide h2 {
        display: block !important;
        font-size: 22px !important;
        margin: 0 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        text-align: left !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.9) !important;
        white-space: normal !important;
    }

    /* Esconde a descrição para ganhar espaço */
    .blog-slide p {
        display: none !important;
    }

    /* Autor: alinhado à esquerda */
    .blog-slide div[style*="font-weight: 700; font-size: 16px"],
    .blog-slide div[style*="font-size: 14px; color: rgba(255,255,255,0.8)"] {
        text-align: left !important;
        margin-left: 0 !important;
    }

    /* Seção de filtros: espaço entre o hero e a headline */
    section[style*="padding: 80px 0 40px"] {
        padding: 32px 0 20px !important;
    }

    /* Título do blog */
    section[style*="padding: 80px 0 40px"] h2 {
        font-size: clamp(20px, 6vw, 26px) !important;
        margin-bottom: 8px !important;
    }

    /* Descrição do blog: esconde no mobile */
    section[style*="padding: 80px 0 40px"] > .container > div:first-child > p {
        display: none !important;
    }

    /* Linha filtros + sort: empilha */
    section[style*="padding: 80px 0 40px"] div[style*="justify-content: space-between"][style*="flex-wrap: wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    /* Grid de cards: 1 coluna sem overflow */
    div[style*="repeat(auto-fill, minmax(320px"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Seção de cards: sem padding-top excessivo */
    section[style*="padding: 0 0 80px"] {
        padding: 16px 0 48px !important;
    }

    /* Card individual: não corta */
    .blog-card-v2 {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Imagem do card: aspect ratio menor */
    .blog-card-v2 > a > div[style*="aspect-ratio: 16/10"],
    div[style*="aspect-ratio: 16/10"] {
        aspect-ratio: 16/9 !important;
    }
}

/* ── ARTIGOS DO BLOG ── */
@media (max-width: 768px) {

    /* main da página de artigo: padding menor */
    main[style*="padding-top: 140px"] {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }

    /* Header do artigo: empilha e centraliza */
    div[style*="justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Linha "01 — NORMAS TÉCNICAS": centraliza */
    div[style*="justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px"]
    div[style*="letter-spacing: 2px; text-transform: uppercase"] {
        justify-content: center !important;
    }

    /* Título h1 */
    div[style*="flex: 1; max-width: 800px"] {
        max-width: 100% !important;
        flex: none !important;
    }
    div[style*="flex: 1; max-width: 800px"] h1 {
        text-align: center !important;
        font-size: clamp(26px, 7vw, 38px) !important;
    }

    /* Compartilhar: centraliza */
    div[style*="min-width: 200px; justify-content: flex-end"] {
        justify-content: center !important;
        min-width: unset !important;
        border-bottom: none !important;
        border-top: 1px solid rgba(0,0,0,0.1) !important;
        padding-bottom: 0 !important;
        padding-top: 8px !important;
        width: 100% !important;
    }

    /* CTA button: ocupa a largura toda e centralizado */
    .blog-post-grid aside a[href="contato.html"] {
        display: block !important;
        text-align: center !important;
    }
}

/* ── HERO EDITORIAL (subpáginas de produto: media-tensao, metalclad, etc.) ── */
@media (max-width: 768px) {

    /* Seção hero com padding grande → reduz */
    section[style*="padding: 160px"] {
        padding: 90px 0 40px !important;
    }

    /* Grid tag + título (1fr 3fr) → coluna única */
    div[style*="grid-template-columns: 1fr 3fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Label "MÉDIA TENSÃO" → centralizado */
    div[style*="grid-template-columns: 1fr 3fr"] > div:first-child {
        text-align: center !important;
    }

    div[style*="grid-template-columns: 1fr 3fr"] > div:first-child > span {
        display: block !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    /* Grid de fotos (1.2fr 2fr) → coluna única, altura automática */
    div[style*="grid-template-columns: 1.2fr 2fr"] {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 16px !important;
    }

    /* Cada foto container: altura fixa boa para mobile */
    div[style*="grid-template-columns: 1.2fr 2fr"] > div {
        height: 220px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    /* Segunda foto com box flutuante: altura maior para caber o card */
    div[style*="grid-template-columns: 1.2fr 2fr"] > div:last-child {
        height: auto !important;
        overflow: visible !important;
    }

    div[style*="grid-template-columns: 1.2fr 2fr"] > div:last-child img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
        display: block !important;
    }

    /* Box verde flutuante → sai do absolute, vira bloco abaixo da foto */
    div[style*="position: absolute; bottom: 40px; right: 40px"] {
        position: static !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 0 0 12px 12px !important;
        padding: 24px 20px !important;
        margin: 0 !important;
    }

    div[style*="position: absolute; bottom: 40px; right: 40px"] h3 {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

/* ── CARROSSEL DE PRODUTOS: dots maiores no mobile ── */
@media (max-width: 768px) {
    .pf-dot {
        width: 10px !important;
        height: 10px !important;
        cursor: pointer !important;
        /* Área de toque maior sem mudar o visual */
        padding: 6px !important;
        box-sizing: content-box !important;
        background-clip: content-box !important;
    }

    .pf-carousel-dots {
        gap: 4px !important;
        bottom: 12px !important;
    }

    /* Imagem do carrossel: não deixa arrastar (conflito com swipe) */
    .pf-slide {
        pointer-events: none !important;
        user-select: none !important;
        -webkit-user-drag: none !important;
    }
}

/* ── 11. MARQUEE / LOGOS CONCESSIONÁRIAS ── */
@media (max-width: 768px) {
    .sobre-logos-marquee-track img {
        height: 28px !important;
        max-width: 80px !important;
    }
}

/* ── 12. TABBED SECTION (depoimentos) — pills com nomes + swipe ── */
@media (max-width: 768px) {
    /* Container: 1 coluna */
    .proof-tabbed-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 24px !important;
    }

    /* Coluna de abas: scroll horizontal com nomes visíveis */
    .proof-tabs-column {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        gap: 8px !important;
        padding-bottom: 6px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        flex-wrap: nowrap !important;
        /* Isola o scroll desta linha do body overflow-x:hidden */
        position: relative !important;
        z-index: 1 !important;
    }
    .proof-tabs-column::-webkit-scrollbar { display: none !important; }

    /* Cada aba: pill com nome, sem cargo/empresa */
    .proof-tab-btn {
        flex: 0 0 auto !important;
        padding: 8px 14px !important;
        border-radius: 20px !important;
        border: 1.5px solid var(--color-gray-border) !important;
        background-color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        font-family: var(--font-heading) !important;
        letter-spacing: 0.3px !important;
        color: var(--color-dark) !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
        text-align: center !important;
    }
    .proof-tab-btn.active {
        background-color: var(--color-teal) !important;
        border-color: var(--color-teal) !important;
        color: #ffffff !important;
    }

    /* Esconde cargo e empresa, mantém o nome */
    .proof-tab-btn .proof-tab-role,
    .proof-tab-btn .proof-tab-company {
        display: none !important;
    }
    .proof-tab-btn .proof-tab-title,
    .proof-tab-btn strong {
        display: inline !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }

    /* Card: padding menor, cursor de arrasto */
    .proof-content-card {
        min-height: auto !important;
        padding: 24px 20px !important;
        cursor: grab !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }

    .proof-large-quote {
        font-size: 15px !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }
    .proof-stars { text-align: center !important; }

    .proof-suporte-card-footer {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        text-align: center !important;
    }
}

/* ========================================================================
   📄 PÁGINAS LEGAIS (Política de Privacidade / Cookies)
   ======================================================================== */
.brval-legal { font-family: var(--font-body); color: var(--color-dark); }
.brval-legal h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-dark);
    margin: 40px 0 14px;
    line-height: 1.3;
}
.brval-legal h2:first-child { margin-top: 0; }
.brval-legal p { font-size: 16px; line-height: 1.7; color: var(--color-gray-text); margin: 0 0 16px; }
.brval-legal ul { margin: 0 0 16px; padding-left: 22px; color: var(--color-gray-text); }
.brval-legal li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.brval-legal strong { color: var(--color-dark); }
.brval-legal a { color: var(--color-teal); text-decoration: underline; text-underline-offset: 2px; }
.brval-legal a:hover { color: #0e935a; }
.brval-legal-table { overflow-x: auto; margin: 0 0 20px; }
.brval-legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.brval-legal-table th, .brval-legal-table td { border: 1px solid var(--color-gray-border, rgba(91,164,148,0.25)); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.5; }
.brval-legal-table th { background-color: var(--color-dark); color: #fff; font-weight: 700; }
.brval-legal-table td { color: var(--color-gray-text); }
@media (max-width: 768px) {
    .brval-legal h2 { font-size: 19px; }
    .brval-legal p, .brval-legal li { font-size: 15px; }
}

/* ========================================================================
   🍪 BANNER DE CONSENTIMENTO DE COOKIES (LGPD)
   ======================================================================== */
.brval-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 10050;
    max-width: 1100px;
    margin: 0 auto;
    background: #112420;
    color: #fff;
    border: 1px solid rgba(91,164,148,0.35);
    border-radius: var(--border-radius-lg, 12px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.45);
    padding: 24px 28px;
    display: none;
}
.brval-cookie-banner.open { display: block; animation: brvalCookieIn .3s ease; }
@keyframes brvalCookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.brval-cookie-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brval-cookie-text { flex: 1; min-width: 260px; }
.brval-cookie-text h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.brval-cookie-text p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0; }
.brval-cookie-text a { color: var(--color-teal); text-decoration: underline; }
.brval-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.brval-cookie-btn { font-family: var(--font-sora); font-size: 13px; font-weight: 700; letter-spacing: 0.3px; padding: 12px 22px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap; }
.brval-cookie-btn--accept { background: var(--color-teal); color: #fff; }
.brval-cookie-btn--accept:hover { background: #0e935a; transform: translateY(-1px); }
.brval-cookie-btn--reject { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.brval-cookie-btn--reject:hover { border-color: #fff; }
.brval-cookie-btn--custom { background: transparent; color: rgba(255,255,255,0.7); border: none; text-decoration: underline; padding: 12px 8px; }
.brval-cookie-btn--custom:hover { color: #fff; }
/* Painel de preferências */
.brval-cookie-prefs { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.brval-cookie-banner.show-prefs .brval-cookie-prefs { display: block; }
.brval-cookie-pref { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; }
.brval-cookie-pref-info { flex: 1; }
.brval-cookie-pref-info strong { font-size: 14px; color: #fff; display: block; margin-bottom: 2px; }
.brval-cookie-pref-info span { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.brval-cookie-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.brval-cookie-switch input { opacity: 0; width: 0; height: 0; }
.brval-cookie-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.2); border-radius: 24px; transition: .2s; cursor: pointer; }
.brval-cookie-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.brval-cookie-switch input:checked + .brval-cookie-slider { background: var(--color-teal); }
.brval-cookie-switch input:checked + .brval-cookie-slider::before { transform: translateX(20px); }
.brval-cookie-switch input:disabled + .brval-cookie-slider { background: var(--color-teal); opacity: 0.5; cursor: not-allowed; }
.brval-cookie-prefs-save { margin-top: 10px; }
@media (max-width: 768px) {
    .brval-cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
    .brval-cookie-row { gap: 16px; }
    .brval-cookie-actions { width: 100%; }
    .brval-cookie-btn--accept, .brval-cookie-btn--reject { flex: 1; text-align: center; }
}

/* ========================================================================
   🌐 GTRANSLATE — esconder o widget flutuante e a barra do Google
   (a troca de idioma usa o seletor PT·EN·ES próprio do site)
   ======================================================================== */
.gt_float_switcher, .gtranslate_wrapper { display: none !important; }
.skiptranslate, iframe.goog-te-banner-frame, .goog-te-banner-frame,
#goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.lang-selector span, .footer-lang-selector span { cursor: pointer; transition: color 0.2s; }
.lang-selector span:hover, .footer-lang-selector span:hover { color: var(--color-teal); }

/* ========================================================================
   📰 BLOG/ARTIGO NO MOBILE — leitura alinhada à esquerda
   (sobrescreve a centralização global do mobile só no escopo do blog)
   ======================================================================== */
@media (max-width: 768px) {
    /* Listagem — hero slider (3 destaques) */
    .blog-slide h2, .blog-slide p { text-align: left !important; }
    /* Listagem — cards da grade */
    .brval-card-item .bc-title, .brval-card-item p,
    .blog-card-v2 h3, .blog-card-v2 p { text-align: left !important; }
    /* Artigo — título, eyebrow, subtítulos e corpo */
    .brval-article h1, .brval-article h2, .brval-article h3, .brval-article h4,
    .brval-article h5, .brval-article p, .brval-article li, .brval-article span,
    .brval-article div[style*="flex: 1; max-width: 800px"] h1 { text-align: left !important; }
    /* Artigo — eyebrow "Blog — Categoria" (linha flex) à esquerda
       (especificidade > a regra do hero header que centraliza) */
    .brval-article div[style*="justify-content: space-between"] div[style*="letter-spacing: 2px"] { justify-content: flex-start !important; }
}

