/* =============================================
   VERSÁTIL GLOBAL SERVICES — Design System
   Estilo Folder Corporativo: Branco + Vermelho
   ============================================= */

:root {
    --bg-body: #f5f5f5;
    --bg-section-alt: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --border: #e0e0e0;
    --border-hover: #cccccc;
    --green: #25D366;
    --green-glow: rgba(37, 211, 102, 0.25);
    --green-soft: rgba(37, 211, 102, 0.08);
    --red: #BF2026;
    --red-dark: #8B1A1A;
    --red-soft: rgba(191, 32, 38, 0.08);
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --gray-100: #444444;
    --gray-300: #666666;
    --gray-500: #999999;
    --tether: #26A17B;
    --tether-glow: rgba(38, 161, 123, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

a { color: inherit; text-decoration: none; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 3px solid var(--red);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: hidden;
}

.logo {
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    white-space: nowrap;
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--red); }

.btn-nav {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    color: var(--red);
    background: transparent;
    transition: all var(--transition);
}

.btn-nav:hover {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: url('Fotos/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191,32,38,0.2) 0%, transparent 70%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 860px;
    animation: fadeUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    border: 1px solid rgba(198, 40, 40, 0.3);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: #111;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px var(--green-glow);
}

.btn-primary:hover {
    background: #1faf53;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    color: #000;
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
}

.btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-pulse {
    animation: pulse 2.5s infinite;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--red);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto;
}

/* =============================================
   PRODUTOS
   ============================================= */
.produtos {
    padding: 100px 0;
    background: var(--bg-section-alt);
    border-top: 4px solid var(--red);
}

.product-group {
    margin-bottom: 64px;
}

.product-group:last-child { margin-bottom: 0; }

.group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: var(--gray-100);
}

.group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    flex-shrink: 0;
}

.group-icon svg {
    width: 18px;
    height: 18px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #eeeeee;
}

.product-img-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    color: var(--gray-500);
}

.product-img-placeholder svg {
    width: 40px;
    height: 40px;
}

.product-info {
    padding: 16px;
}

.product-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.product-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.4;
}

/* Format Cards */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.format-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.format-card:hover {
    border-color: var(--green);
    background: var(--bg-card-hover);
}

.format-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.format-icon svg { width: 28px; height: 28px; }

.format-card span {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-100);
}

/* Abrasive List */
.abrasive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.abrasive-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-100);
    transition: all var(--transition);
}

.abrasive-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.abrasive-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}

/* =============================================
   CATÁLOGO TÉCNICO
   ============================================= */
.catalogo {
    padding: 100px 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border);
}

.catalogo .product-group { margin-bottom: 56px; }
.catalogo .product-group:last-child { margin-bottom: 0; }

.catalogo-footer {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.catalogo-position {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* =============================================
   ESPECIFICAÇÕES
   ============================================= */
.specs-section {
    padding: 100px 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border);
}

.specs-bar {
    max-width: 700px;
    margin: 0 auto 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.specs-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.specs-row:first-child { padding-top: 0; }
.specs-row:last-child { padding-bottom: 0; }

.specs-row + .specs-row {
    border-top: 1px solid var(--border);
}

.specs-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-300);
    min-width: 160px;
}

.grain-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.grain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 8px 14px;
    background: var(--red-soft);
    border: 1px solid rgba(198, 40, 40, 0.2);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
}

.specs-value {
    font-size: 0.95rem;
    color: var(--gray-100);
    font-weight: 500;
}

.specs-note {
    text-align: center;
    font-size: 1.05rem;
    color: var(--gray-300);
    margin-bottom: 36px;
}

/* =============================================
   GALERIA DE SERVIÇOS
   ============================================= */
.service-gallery {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--bg-card);
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-gallery::-webkit-scrollbar {
    height: 6px;
}
.service-gallery::-webkit-scrollbar-track {
    background: var(--bg-card);
}
.service-gallery::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
}

.gallery-img {
    width: 280px;
    min-width: 280px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eeeeee;
    scroll-snap-align: start;
    border-bottom: 1px solid var(--border);
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diferenciais {
    padding: 100px 0;
    background: var(--bg-body);
    border-top: 4px solid var(--red);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.diff-card {
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.diff-card:hover {
    border-color: var(--red);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.diff-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
}

.diff-icon svg { width: 28px; height: 28px; }

.diff-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.diff-card p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.6;
}

/* =============================================
   CONTATO
   ============================================= */
.contato {
    padding: 100px 0;
    background: var(--bg-section-alt);
    border-top: 4px solid var(--red);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    min-width: 0;       /* permite shrink abaixo do conteúdo */
    overflow: hidden;   /* garante que nada extrapola o card */
    width: 100%;
}

.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.card-crypto {
    border-color: rgba(38, 161, 123, 0.2);
}

.card-crypto:hover {
    border-color: var(--tether);
    background: var(--tether-glow);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    margin-bottom: 16px;
}

.contact-icon svg { width: 24px; height: 24px; }

.icon-crypto {
    background: var(--tether-glow);
    color: var(--tether);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color var(--transition);
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    display: block;
}


a.contact-value:hover { color: var(--red); }

.crypto-val {
    color: var(--tether) !important;
    font-size: 1rem;
}

.cta-final {
    text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    padding: 48px 0;
    background: var(--red-dark);
    border-top: 4px solid var(--red);
}

.footer-inner { text-align: center; }

.footer-brand {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

footer p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px var(--green-glow); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.4); }
}

/* =============================================
   CAROUSEL
   ============================================= */
.carousel-img {
    position: relative;
    overflow: hidden;
}

.carousel-img .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    opacity: 0;
    animation: fadeCarousel 12s infinite;
}

.carousel-img .slide:nth-child(1) { animation-delay: 0s; }
.carousel-img .slide:nth-child(2) { animation-delay: 4s; }
.carousel-img .slide:nth-child(3) { animation-delay: 8s; }

@keyframes fadeCarousel {
    0% { opacity: 1; }
    25% { opacity: 1; }
    33.33% { opacity: 0; }
    91.66% { opacity: 0; }
    100% { opacity: 1; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .navbar-inner { height: 56px; }
    .hero { padding: 100px 20px 60px; }
    .hero-badge { margin-bottom: 24px; }
    .hero-sub { margin-bottom: 36px; }
    .btn-lg { padding: 16px 32px; font-size: 0.95rem; }
    .produtos,
    .specs-section,
    .diferenciais,
    .contato { padding: 72px 0; }
    .section-header { margin-bottom: 40px; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .product-img, .product-img-placeholder { height: 120px; }
    .format-grid { grid-template-columns: repeat(2, 1fr); }
    .abrasive-grid { grid-template-columns: 1fr; }
    .specs-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .specs-label { min-width: auto; }
    .diff-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; }
    .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .diff-grid { grid-template-columns: 1fr; }
    .format-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-right: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--border);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--gray-300);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.lang-btn.active {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #111;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-code {
    text-transform: uppercase;
}

/* Currency Notice Banner */
.currency-notice {
    background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(184,134,11,0.08));
    border-bottom: 1px solid rgba(255,215,0,0.15);
    color: #FFD700;
    text-align: center;
    padding: 10px 24px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium card badge */
.product-card-premium {
    position: relative;
    border: 1px solid rgba(255,215,0,0.15);
}

.product-card-premium:hover {
    border-color: rgba(255,215,0,0.3);
    box-shadow: 0 8px 32px rgba(255,215,0,0.08);
}

.product-badge-premium {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 5;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 8px;
        gap: 2px;
        padding: 2px;
    }
    .lang-btn {
        padding: 4px 6px;
        font-size: 0.65rem;
    }
    .lang-code {
        display: none;
    }
    .currency-notice {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* =============================================
   BARRA DIVISÓRIA VERMELHA (estilo folder)
   ============================================= */
.red-bar {
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
    box-shadow: 0 4px 12px rgba(191,32,38,0.3);
}

/* =============================================
   SEÇÃO HISTÓRIA
   ============================================= */
.historia {
    padding: 80px 0;
    background: var(--white);
    border-top: 4px solid var(--red);
}

.historia-content {
    max-width: 900px;
    margin: 0 auto;
}

.historia h3 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-dark);
    padding-bottom: 16px;
    border-bottom: 3px solid var(--red);
    display: inline-block;
}

.historia-text {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-top: 24px;
}

.historia-text strong {
    color: var(--red);
    font-weight: 800;
}

.historia-valores {
    font-style: italic;
    font-weight: 700;
    color: var(--red);
    font-size: 1.1rem;
    margin-top: 32px;
    padding: 18px 28px;
    border-left: 4px solid var(--red);
    background: var(--red-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    letter-spacing: 0.5px;
}

.historia-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-soft);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid rgba(191, 32, 38, 0.2);
}

.historia-tagline {
    font-size: 0.95rem;
    color: var(--gray-300);
    font-style: italic;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* RTL historia */
[dir="rtl"] .historia-valores {
    border-left: none;
    border-right: 4px solid var(--red);
    border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .historia-content {
    text-align: right;
}

/* =============================================
   SEÇÃO NOSSOS CLIENTES
   ============================================= */
.clientes {
    padding: 80px 0;
    background: var(--bg-body);
    border-top: 4px solid var(--red);
}

.clientes h3 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-dark);
    padding-bottom: 16px;
    border-bottom: 3px solid var(--red);
    display: inline-block;
    margin-bottom: 40px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    align-items: center;
    justify-items: center;
}

.cliente-logo {
    padding: 20px 16px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    width: 100%;
    transition: all var(--transition);
}

.cliente-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cliente-icon span {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cliente-logo:hover .cliente-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cliente-logo:hover {
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.cliente-logo > span {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-body);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    line-height: 1.2;
}

/* =============================================
   SERVIÇO EXPANDIDO (bullet points do folder)
   ============================================= */
.servico-bullets {
    padding: 0 16px 16px;
}

.servico-bullets ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 1;
}

.servico-bullets ul li {
    font-size: 0.85rem;
    color: var(--text-body);
    padding: 5px 0 5px 18px;
    position: relative;
    line-height: 1.4;
}

.servico-bullets ul li::before {
    content: '●';
    color: var(--red);
    position: absolute;
    left: 0;
    font-size: 0.6rem;
    top: 8px;
}

@media (max-width: 768px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   SERVIÇOS REALIZADOS (Home Showcase)
   ============================================= */
.servicos-realizados {
    padding: 100px 0;
    background: var(--bg-section-alt);
    border-top: 4px solid var(--red);
}

.realizados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 16px;
}

.realizado-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.realizado-wide {
    grid-column: span 2;
}

.realizado-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realizado-item:hover img {
    transform: scale(1.08);
}

.realizado-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.realizado-item:hover .realizado-overlay {
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.85) 100%);
}

.realizado-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.realizado-overlay h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 900px) {
    .realizados-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .realizado-wide {
        grid-column: span 2;
    }
}

@media (max-width: 500px) {
    .realizados-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .realizado-wide {
        grid-column: span 1;
    }
}

/* =============================================
   HAMBURGER MENU & MOBILE OVERLAY
   ============================================= */

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transition: all var(--transition);
    position: relative;
}

.hamburger-line + .hamburger-line {
    margin-top: 5px;
}

/* Hamburger Active (X shape) */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Nav */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    padding: 0 24px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
    color: var(--red);
    background: var(--red-soft);
}

/* Mobile Menu CTA button */
.mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding: 16px 24px;
    background: var(--red);
    color: var(--white) !important;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(191, 32, 38, 0.3);
    transition: all var(--transition);
    text-align: center;
}

.mobile-menu-cta:hover,
.mobile-menu-cta:active {
    background: var(--red-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(191, 32, 38, 0.4);
}

/* Show hamburger, hide nav-actions on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-actions {
        display: none;
    }
}

/* Hide lang-switcher legacy class (now replaced by #lang-topbar) */
.lang-switcher { display: none !important; }

@media (max-width: 1024px) {
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 8px;
    }
    .nav-links a {
        font-size: 0.68rem;
    }
}

/* Mobile language selector */
.mobile-lang-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.mobile-lang-bar button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-lang-bar button.active {
    border-color: var(--red);
    background: var(--red-soft);
    color: var(--red);
}

.mobile-lang-bar button:hover {
    border-color: var(--red);
}

/* ================================================ */
/* RTL — Arabic Language Support                    */
/* ================================================ */

[dir="rtl"] {
    font-family: 'Cairo', 'Noto Sans Arabic', 'Inter', sans-serif;
}

/* Navbar RTL */
[dir="rtl"] .navbar-inner {
    flex-direction: row-reverse;
}
[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}
[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

/* Hero RTL */
[dir="rtl"] .hero-content {
    text-align: right;
}
[dir="rtl"] .hero-badge {
    justify-content: flex-end;
}
[dir="rtl"] .hero-actions {
    justify-content: flex-end;
}

/* Section headers RTL */
[dir="rtl"] .section-header {
    text-align: right;
}

/* Cards RTL */
[dir="rtl"] .diff-card,
[dir="rtl"] .srv-card,
[dir="rtl"] .equip-card {
    text-align: right;
}
[dir="rtl"] .srv-bullets li {
    flex-direction: row-reverse;
    text-align: right;
}
[dir="rtl"] .srv-bullets li::before {
    margin-left: 10px;
    margin-right: 0;
}

/* Stats RTL */
[dir="rtl"] .numeros-grid {
    direction: rtl;
}

/* Contact RTL */
[dir="rtl"] .contato-info {
    text-align: right;
}
[dir="rtl"] .contato-item {
    flex-direction: row-reverse;
}

/* Footer RTL */
[dir="rtl"] .footer-grid {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .footer-links {
    text-align: right;
}

/* Forms RTL */
[dir="rtl"] .form-group label {
    text-align: right;
    display: block;
}
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    text-align: right;
    direction: rtl;
}

/* Gallery RTL */
[dir="rtl"] .gallery-item .gallery-caption {
    right: auto;
    left: 0;
    text-align: right;
}

/* Mobile menu RTL */
[dir="rtl"] .mobile-menu-nav {
    text-align: right;
}

/* Language switcher always LTR */
.lang-switcher {
    direction: ltr !important;
}

/* =============================================
   FLOATING WHATSAPP — PREMIUM INDUSTRIAL
   ============================================= */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 0;
    direction: ltr;
}

.wa-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.wa-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.2);
}


.wa-float-btn:active {
    transform: scale(0.96);
}

.wa-float-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
    flex-shrink: 0;
}

/* Subtle pulse ring — idle state */
.wa-float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: wa-pulse 3s ease-in-out infinite;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.15); opacity: 0; }
}

/* Tooltip label */
.wa-float-label {
    background: var(--red-dark, #1a0a0b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    margin-right: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* Arrow on label pointing right → button */
.wa-float-label::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--red-dark, #1a0a0b);
}

.wa-float:hover .wa-float-label {
    opacity: 1;
    transform: translateX(0);
}

/* RTL: move to left side */
[dir="rtl"] .wa-float {
    right: auto;
    left: 28px;
}
[dir="rtl"] .wa-float-label {
    margin-right: 0;
    margin-left: 10px;
    transform: translateX(-12px);
    order: 2;
}
[dir="rtl"] .wa-float-label::after {
    right: auto;
    left: -5px;
    border-left-color: transparent;
    border-right-color: var(--red-dark, #1a0a0b);
}
[dir="rtl"] .wa-float:hover .wa-float-label {
    transform: translateX(0);
}
[dir="rtl"] .wa-float-btn {
    order: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
    }
    .wa-float-btn {
        width: 50px;
        height: 50px;
    }
    .wa-float-btn svg {
        width: 22px;
        height: 22px;
    }
    .wa-float-label {
        display: none; /* Tooltip hidden on mobile — saves space */
    }
    [dir="rtl"] .wa-float {
        right: auto;
        left: 20px;
    }
}
