/* ==========================================================================
   BERUF Brasil — style.css
   CSS compartilhado por todas as páginas do site.
   Derivado da referência visual beruf-site.html (layout, hero, cards, reveal,
   FAQ, nav), adaptado para tema claro institucional e paleta oficial.
   ========================================================================== */

:root{
  --laranja:#F7941D;
  --laranja-esc:#E07F00;
  --preto:#0D0D0D;
  --grafite:#1A1A1A;
  --texto:#222;
  --texto2:#5A5A55;
  --texto3:#8A8A85;
  --fundo:#FAFAF8;
  --branco:#FFF;
  --borda:rgba(13,13,13,0.1);
  --borda2:rgba(13,13,13,0.18);
  --laranja-dim:rgba(247,148,29,0.10);
  --laranja-dim2:rgba(247,148,29,0.20);

  --font-display:'Bebas Neue', 'Inter', sans-serif;
  --font-body:'Inter', 'DM Sans', sans-serif;
  --font-mono:'DM Mono', 'Inter', monospace;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  background:var(--fundo);color:var(--texto);
  font-family:var(--font-body);font-display:swap;
  font-weight:400;line-height:1.6;overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
ul{list-style:none}

/* ── NAV ── */
.nav{
  position:sticky;top:0;left:0;right:0;z-index:100;
  border-bottom:1px solid var(--borda);
}
/* Isolado num elemento à parte (não no .nav) porque backdrop-filter/filter em um
   ancestral vira containing block de descendentes position:fixed (o menu mobile),
   quebrando o top/bottom:0 do painel — ver .nav-menu abaixo. */
.nav-backdrop{
  position:absolute;inset:0;z-index:-1;
  background:rgba(250,250,248,0.94);backdrop-filter:blur(12px);
}
.nav-inner{
  max-width:1280px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 2rem;height:72px;gap:1.5rem;
}
.nav-logo{display:flex;align-items:center;gap:.5rem}
.nav-logo img{height:56px;width:auto}
.nav-menu{display:flex;gap:1.75rem;align-items:center}
.nav-menu > li{position:relative}
.nav-menu a{
  font-size:.9rem;font-weight:500;color:var(--texto);
  letter-spacing:.01em;transition:color .2s;
  display:flex;align-items:center;gap:.3rem;
}
.nav-menu a:hover,.nav-menu a:focus{color:var(--laranja-esc)}

/* dropdown Produtos */
.dropdown{position:relative}
.dropdown-menu{
  position:absolute;top:100%;left:0;min-width:300px;
  background:var(--branco);border:1px solid var(--borda);border-radius:6px;
  box-shadow:0 12px 32px rgba(13,13,13,0.12);
  padding:.5rem;display:none;flex-direction:column;gap:.15rem;
  z-index:50;
}
.dropdown-menu.open,.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{
  display:flex;
}
.dropdown-menu li a{
  padding:.65rem .85rem;border-radius:4px;font-size:.875rem;color:var(--texto);
}
.dropdown-menu li a:hover{background:var(--laranja-dim);color:var(--laranja-esc)}

.btn-cta{
  background:var(--laranja);color:var(--branco);
  padding:.65rem 1.35rem;border-radius:6px;
  font-size:.875rem;font-weight:700;letter-spacing:.02em;
  transition:background .2s,transform .15s;white-space:nowrap;
}
.btn-cta:hover{background:var(--laranja-esc);transform:translateY(-1px)}

.nav-mobile-btn{
  display:none;padding:.5rem;color:var(--texto);
  background:none;border:none;cursor:pointer;
}
.nav-mobile-btn svg{display:block}

/* ── HERO ── */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,var(--grafite) 0%,var(--preto) 100%);
  color:var(--branco);
  padding:6rem 0 4.5rem;
}
.hero .container{position:relative;z-index:2}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--laranja-dim);border:1px solid var(--laranja-dim2);
  color:var(--laranja);padding:.35rem .9rem;border-radius:3px;
  font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;
  margin-bottom:1.5rem;
}
.hero-title{
  font-family:var(--font-display);
  font-size:clamp(2.5rem,6vw,4.5rem);
  line-height:1.05;letter-spacing:.01em;
  margin-bottom:1.25rem;color:var(--branco);
}
.hero-title em{color:var(--laranja);font-style:normal}
.hero-sub{
  max-width:560px;font-size:1.1rem;font-weight:300;
  color:#D8D6D2;line-height:1.7;margin-bottom:2rem;
}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.hero-stats{
  display:flex;gap:2.5rem;flex-wrap:wrap;
  margin-top:3rem;padding-top:1.75rem;
  border-top:1px solid rgba(255,255,255,0.12);
}
.hero-stat .num{font-family:var(--font-display);font-size:2.5rem;color:var(--laranja);line-height:1}
.hero-stat .label{font-size:.78rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#B5B3AE;margin-top:.25rem}

/* ── BOTÕES ── */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 1.75rem;border-radius:6px;
  font-size:.9rem;font-weight:700;letter-spacing:.02em;
  transition:background .2s,transform .15s,border-color .2s;
}
.btn-primary{background:var(--laranja);color:var(--branco)}
.btn-primary:hover{background:var(--laranja-esc);transform:translateY(-2px)}
.btn-secondary{border:1px solid var(--borda2);color:var(--texto)}
.btn-secondary:hover{border-color:var(--laranja);background:var(--laranja-dim);color:var(--laranja-esc)}
.btn-whats{
  display:inline-flex;align-items:center;gap:.6rem;
  background:#25D366;color:var(--branco);
  padding:.85rem 1.75rem;border-radius:6px;
  font-size:.9rem;font-weight:700;
  transition:background .2s,transform .15s;
}
.btn-whats:hover{background:#1DA851;transform:translateY(-2px)}

/* ── SECTION COMMON ── */
.section{padding:4.5rem 0}
.section-alt{background:#F2F1EC}
.container{max-width:1280px;margin:0 auto;padding:0 2rem}
.section-label{
  font-family:var(--font-mono);font-size:.78rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--laranja-esc);margin-bottom:.75rem;
  display:flex;align-items:center;gap:.75rem;
}
.section-label::before{content:'';width:24px;height:2px;background:var(--laranja)}
.section-title{
  font-family:var(--font-display);
  font-size:clamp(2rem,4.2vw,3.25rem);
  line-height:1.05;letter-spacing:.01em;color:var(--preto);
  margin-bottom:1rem;
}
.section-desc{font-size:1rem;color:var(--texto2);max-width:560px;line-height:1.7}

/* ── CARDS / GRID ── */
.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}
.card{
  background:var(--branco);
  border:1px solid var(--borda);border-radius:8px;overflow:hidden;
  transition:border-color .25s,transform .25s,box-shadow .25s;
  display:flex;flex-direction:column;
}
.card:hover{border-color:var(--laranja);transform:translateY(-4px);box-shadow:0 16px 32px rgba(13,13,13,0.08)}
.card-img{
  aspect-ratio:4/5;background:#F0EEE8;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}
.card-icon{width:56px;height:56px;color:var(--laranja);opacity:.6}
.card-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  
  /* Mantém as suas variáveis originais, mas adiciona um fundo levemente mais visível */
  background: var(--laranja-dim);
  backdrop-filter: brightness(0.7) contrast(1.2); /* Deixa a imagem atrás do quadradinho um pouco mais escura */
  
  /* Mantém a moldura original */
  border: 1px solid var(--laranja-dim2);
  
  /* Cor do texto original com uma sombra projetada para não sumir no claro */
  color: var(--laranja-esc);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 2px;
  z-index: 2;
}
.card-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.card-body h3{font-size:1rem;font-weight:700;color:var(--preto);margin-bottom:.5rem;line-height:1.35}
.card-body p{font-size:.875rem;color:var(--texto2);line-height:1.6;flex:1}
.card-link{
  display:inline-flex;align-items:center;gap:.4rem;
  margin-top:1rem;font-size:.8rem;font-weight:700;letter-spacing:.03em;
  text-transform:uppercase;color:var(--laranja-esc);transition:gap .2s;
}
.card:hover .card-link{gap:.7rem}

/* ── FAQ ── */
.faq-list{display:flex;flex-direction:column;gap:.75rem}
.faq-item{border:1px solid var(--borda);border-radius:8px;overflow:hidden;background:var(--branco)}
.faq-q{
  width:100%;text-align:left;padding:1.25rem 1.5rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;
  cursor:pointer;transition:background .2s;
  font-size:.95rem;font-weight:600;color:var(--preto);
}
.faq-q:hover{background:#F5F4EF}
.faq-item.open .faq-q{background:var(--laranja-dim);color:var(--laranja-esc)}
.faq-icon{
  width:22px;height:22px;min-width:22px;
  border:1px solid var(--borda2);border-radius:4px;
  display:flex;align-items:center;justify-content:center;
  font-size:.85rem;color:var(--texto2);
  transition:transform .25s,border-color .2s;
}
.faq-item.open .faq-icon{transform:rotate(45deg);border-color:var(--laranja);color:var(--laranja)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.open .faq-a{max-height:600px}
.faq-a-inner{padding:.25rem 1.5rem 1.25rem;font-size:.9rem;color:var(--texto2);line-height:1.7}

/* ── WHATSAPP FLUTUANTE ── */
.whats-float{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:200;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;color:var(--branco);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,0.4);
  transition:transform .2s;
}
.whats-float:hover{transform:scale(1.08)}

/* ── FOOTER ── */
.footer{background:var(--preto);color:#C9C7C2;border-top:4px solid var(--laranja);padding:3.5rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.footer-brand img{height:44px;margin-bottom:1rem}
.footer-brand p{font-size:.85rem;color:#9C9A95;line-height:1.7;margin-bottom:1rem}
.footer-social{display:flex;gap:.75rem}
.footer-social a{
  width:34px;height:34px;border-radius:6px;
  background:var(--grafite);border:1px solid rgba(255,255,255,0.1);
  display:flex;align-items:center;justify-content:center;
  font-size:.85rem;color:#C9C7C2;transition:border-color .2s,color .2s;
}
.footer-social a:hover{border-color:var(--laranja);color:var(--laranja)}
.footer-social a svg{width:20px;height:20px;display:block}
.footer-col h4{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--branco);margin-bottom:1rem}
.footer-col ul{display:flex;flex-direction:column;gap:.55rem}
.footer-col ul li a{font-size:.85rem;color:#B5B3AE;transition:color .2s}
.footer-col ul li a:hover{color:var(--laranja)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);padding-top:1.5rem;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
  padding-bottom:90px;
}
.footer-bottom p{font-size:.775rem;color:#8A8883}

/* ── CARROSSEL DE CLIENTES ── */
.clientes-carrossel{
  margin-top:2.5rem;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  padding: 1rem 0;
}
.clientes-track{
  display:flex;width:max-content;align-items:center;gap:5rem;flex-shrink:0;
  animation:clientes-scroll 35s linear infinite; /* Ficou ligeiramente mais rápido e fluido */
  padding-right:5rem;
}

/* APAGAMOS A LINHA QUE TRAVAVA O CARROSSEL NO HOVER! Agora ele não para mais! */

.clientes-dup{display:contents}
.clientes-item{
  flex-shrink:0;display:flex;align-items:center;justify-content:center;
  height:90px;min-width:150px;
}
.clientes-item img{
  max-height:100%;
  max-width:180px;
  width:auto;
  height:auto;
  object-fit:contain;
  
  /* Deixa todos em um cinza elegante e sutil de início */
  filter: grayscale(1) opacity(0.5);
  mix-blend-mode: multiply; /* Sumir com o quadrado branco da Vipal */
  
  /* Transição ultra suave para o efeito de zoom */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease, opacity 0.4s ease;
}

/* EFEITO TOP: O carrossel continua andando, a logo ganha cor e flutua para frente suavemente */
.clientes-item:hover img{
  filter: grayscale(0) opacity(1);
  transform: scale(1.18); /* Dá um zoom bem nítido e elegante na marca */
}

.clientes-item--texto{
  font-family:var(--font-mono);font-size:1rem;font-weight:600;letter-spacing:.04em;
  color:var(--texto3);white-space:nowrap;
  transition: transform 0.4s ease, color 0.4s ease;
}
.clientes-item:hover .clientes-item--texto {
  transform: scale(1.15);
  color: var(--laranja); /* Se houver texto, ele também cresce e fica laranja */
}

@keyframes clientes-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(calc(-50% - 2.5rem))} /* Ajuste matemático perfeito para não dar pulo */
} 

/* ── ANIMAÇÕES / REVEAL ── */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .55s ease,transform .55s ease}
.reveal.in{opacity:1;transform:none}
.reveal-delay-1{transition-delay:.1s}
.reveal-delay-2{transition-delay:.2s}
.reveal-delay-3{transition-delay:.3s}

/* ── RESPONSIVO ── */
@media(max-width:1024px){
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .nav-inner{padding:0 1.25rem;gap:.75rem}
  .nav-logo img{height:42px}
  .nav-menu{
    display:none;position:fixed;top:72px;left:0;right:0;bottom:auto;
    max-height:calc(100vh - 88px);
    background:var(--fundo);border-top:1px solid var(--borda);
    border-radius:0 0 12px 12px;box-shadow:0 16px 32px rgba(13,13,13,0.18);
    padding:.75rem 1.25rem 1.25rem;flex-direction:column;align-items:flex-start;gap:.15rem;
    overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:99;
  }
  .nav-menu.open{display:flex}
  .nav-menu > li{width:100%}
  .nav-menu a{
    width:100%;padding:1rem .25rem;border-bottom:1px solid var(--borda);
    font-size:1.05rem;min-height:28px;
  }
  .nav-menu .btn-cta{margin-top:1.25rem;display:inline-flex;width:100%;justify-content:center;padding:1rem 1.35rem}
  .nav-menu .lang-switch{padding:.85rem .25rem;border-bottom:1px solid var(--borda)}
  .nav-menu .lang-switch a{width:auto;padding:.35rem;border-bottom:none}
  .dropdown{width:100%}
  .dropdown > a{display:flex;justify-content:space-between}
  .dropdown-menu{
    position:static;box-shadow:none;border:none;
    padding:.25rem 0 .5rem 1rem;margin:0 0 .15rem;
    background:var(--laranja-dim);border-radius:6px;
    display:none;width:100%;gap:0;
  }
  .dropdown.open .dropdown-menu{display:flex}
  .dropdown-menu li a{
    width:100%;padding:.9rem .5rem;border-bottom:1px solid rgba(13,13,13,0.08);
    font-size:.95rem;
  }
  .dropdown-menu li:last-child a{border-bottom:none}
  .nav-mobile-btn{display:flex}
  .nav-mobile-btn svg{width:28px;height:28px}
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .section-title{font-size:2.2rem}
}
@media(max-width:480px){
  .container{padding:0 1.25rem}
  .section{padding:3rem 0}
  .hero{padding:4rem 0 3rem}
  .card-grid{grid-template-columns:1fr}
}

/* ── VÍDEOS (YouTube facade / click-to-load) ── */
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2.5rem}
.video-facade{
  position:relative;display:block;width:100%;aspect-ratio:16/9;
  border:1px solid var(--borda);padding:0;cursor:pointer;
  border-radius:8px;overflow:hidden;background:#000;
}
.video-facade img{width:100%;height:100%;object-fit:cover;display:block;opacity:.85;transition:transform .3s ease,opacity .3s ease}
.video-facade:hover img,.video-facade:focus-visible img{transform:scale(1.04);opacity:1}
.video-play{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:64px;height:64px;border-radius:50%;background:var(--laranja);box-shadow:0 4px 16px rgba(0,0,0,.35);
  display:flex;align-items:center;justify-content:center;transition:background .2s;
}
.video-facade:hover .video-play,.video-facade:focus-visible .video-play{background:var(--laranja-esc)}
.video-play svg{width:26px;height:26px;fill:#fff}
.video-facade iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-caption{font-size:.9rem;margin-top:.75rem;line-height:1.5}

/* ── GALERIA DE FOTOS (carrossel + grade com lightbox) ── */
.produto-carrossel{position:relative;margin-top:2.5rem}
.carrossel-viewport{overflow:hidden;border-radius:8px;aspect-ratio:16/9;background:#000}
.carrossel-track{display:flex;height:100%;transition:transform .45s ease}
.carrossel-slide{flex:0 0 100%;height:100%;margin:0}
.carrossel-slide img{width:100%;height:100%;object-fit:cover;display:block}
.carrossel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;border:none;
  background:rgba(13,13,13,.55);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;line-height:1;cursor:pointer;transition:background .2s;
}
.carrossel-btn:hover{background:rgba(13,13,13,.8)}
.carrossel-prev{left:.75rem}
.carrossel-next{right:.75rem}
.carrossel-dots{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}
.carrossel-dot{width:9px;height:9px;border-radius:50%;background:var(--borda2);border:none;padding:0;cursor:pointer}
.carrossel-dot.active{background:var(--laranja)}

.galeria-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem;margin-top:2rem;list-style:none}
.galeria-thumb{
  border:none;padding:0;cursor:pointer;border-radius:6px;overflow:hidden;
  aspect-ratio:1;background:var(--borda);display:block;width:100%;
}
.galeria-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.galeria-thumb:hover img,.galeria-thumb:focus-visible img{transform:scale(1.08)}

.lightbox-overlay{
  position:fixed;inset:0;z-index:200;background:rgba(13,13,13,.94);
  display:flex;align-items:center;justify-content:center;padding:3rem 1.25rem;
}
.lightbox-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px;display:block}
.lightbox-close,.lightbox-prev,.lightbox-next{
  position:absolute;border:none;background:rgba(255,255,255,.12);color:#fff;
  border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .2s;
}
.lightbox-close:hover,.lightbox-prev:hover,.lightbox-next:hover{background:rgba(255,255,255,.24)}
.lightbox-close{top:1.25rem;right:1.25rem;width:44px;height:44px;font-size:1.5rem}
.lightbox-prev,.lightbox-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:1.8rem}
.lightbox-prev{left:1.25rem}
.lightbox-next{right:1.25rem}
.lightbox-counter{position:absolute;bottom:1.25rem;left:50%;transform:translateX(-50%);color:#fff;font-family:var(--font-mono);font-size:.8rem;letter-spacing:.05em}
@media(max-width:600px){
  .lightbox-prev,.lightbox-next{width:40px;height:40px;font-size:1.4rem}
  .lightbox-close{width:38px;height:38px}
}

/* CONTAINER DO CARROSSEL */
.hero-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 2.5rem;
}

/* Caixa interna que segura os slides */
.carousel-inner {
    display: flex;
    width: 100%; /* Mudou para 100% pois o JS controla o posicionamento */
    transition: transform 0.5s ease-in-out; /* Faz o deslize ser bem suave */
}

/* Slide individual */
.carousel-item {
    min-width: 100%; /* Garante que cada slide ocupe 100% da largura da tela */
    box-sizing: border-box;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Legendas */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    z-index: 2;
}

.carousel-tag {
    background-color: #f59e0b;
    color: #000000;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    align-self: flex-start;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.carousel-caption h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.carousel-caption p {
    font-size: 1rem;
    color: #D8D6D2;
    max-width: 70%;
    margin: 0;
}

/* ESTILO DAS SETAS LATERAIS */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 1rem 0.75rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(245, 158, 11, 0.8); /* Fica laranja no hover */
    color: black;
}

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

/* ESTILO DOS PONTINHOS ABAIXO */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #f59e0b; /* Pontinho ativo fica laranja */
    transform: scale(1.2);
}

/* ── HERO INTERNA AJUSTADA (FORÇAR PROPORÇÃO E ALINHAMENTO) ── */
.hero-grid {
  display: flex !important;
  gap: 3.5rem !important;
  align-items: center !important; /* Centraliza a foto e o texto na mesma altura */
  margin-top: 2rem !important;
}

.hero-img-col {
  flex: 0 0 42% !important; /* Reduz ligeiramente a foto para dar espaço ao texto */
  max-width: 42% !important;
}

.hero-img-col img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
}

.hero-content-col {
  flex: 1 !important;
}

/* Garante o destaque do botão "Ver subcategorias" */
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  padding: 0.8rem 1.4rem !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  border-color: var(--laranja) !important;
  color: var(--laranja) !important;
}

/* Responsivo para celular */
@media (max-width: 868px) {
  .hero-grid {
    flex-direction: column;
  }
  .hero-img-col {
    max-width: 100%;
    width: 100%;
  }
}

/* ── SLIDER IDÊNTICO À REFERÊNCIA ── */
.hero-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 3rem auto 0 auto !important;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 700px !important; /* Levemente mais alto conforme solicitado */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Gradiente de fundo */
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  color: #ffffff;
  max-width: 800px;
}

.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-transform: uppercase;
}

.slide-content p {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* ── SETAS ── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  width: 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.slider-btn:hover {
  background: #ff6b00; /* Laranja puro do exemplo */
  border-color: #ff6b00;
  color: #000000; /* Ícone escuro ao passar o mouse */
  font-weight: bold;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* ── PONTOS (DOTS) CÍRCULOS SIMPLES ── */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.dot {
  width: 11px;
  height: 11px;
  background: #a1a1aa; /* Cor cinza sólida no inativo */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dot.active {
  background: #ff6b00; /* Laranja puro e redondo no ativo */
  width: 11px; /* Mantém redondo sem esticar */
  height: 11px;
}

/* ── LAYOUT DE CONTEÚDO TÉCNICO (GERAL) ── */
.legacy-layout-section {
  padding: 5rem 0;
  background-color: #0f0f11;
  color: #e4e4e7;
}

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

.legacy-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legacy-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.legacy-text {
  flex: 1.1;
}

.legacy-text h2 {
  font-size: 2.1rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.legacy-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #a1a1aa;
  margin-bottom: 1rem;
}

/* Listas e Destaques */
.legacy-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}

.legacy-list li {
  font-size: 0.92rem;
  color: #d4d4d8;
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}

.legacy-list li::before {
  content: "•";
  color: #ff6b00;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.legacy-highlight-bold {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
}

.legacy-btn-wrapper {
  margin-top: 1.8rem;
}

/* ── MOLDURA ESCURA E ELEGANTE (CABOS ELÉTRICOS) ── */
section.cabos-section div.cabos-media {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 550px !important;            /* Caixa da 1ª foto bem maior */
  margin: 0 auto !important;
  padding: 0.8rem !important;             
  background: #141417 !important;         /* Fundo escuro elegante */
  border: 1px solid rgba(255, 255, 255, 0.12) !important; 
  border-radius: 12px !important;         
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important; 
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: all 0.3s ease !important;
}

/* Brilho Laranja ao passar o mouse */
section.cabos-section div.cabos-media:hover {
  border-color: rgba(255, 107, 0, 0.6) !important;
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.25) !important;
}

section.cabos-section div.cabos-media img {
  width: 100% !important;
  max-width: 500px !important;            /* Foto 1 mais larga */
  height: auto !important;
  max-height: 550px !important;           /* Foto 1 mais alta */
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
}

/* ── TAMANHO DA SEGUNDA FOTO ── */
section.cabos-section div.legacy-row.reverse div.cabos-media {
  max-width: 620px !important;            /* Caixa da 2ª foto bem maior */
}

section.cabos-section div.legacy-row.reverse div.cabos-media img {
  max-width: 580px !important;            /* Foto 2 mais larga */
  max-height: 600px !important;           /* Foto 2 mais alta */
}

/* Responsivo para Celulares e Tablets */
@media (max-width: 992px) {
  .legacy-row {
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }

  .legacy-row.reverse {
    flex-direction: column-reverse;
  }

  .legacy-text h2 {
    font-size: 1.75rem;
  }

  .cabos-section .cabos-media,
  .cabos-section .legacy-row.reverse .cabos-media {
    max-width: 100%;
  }
}


/* Moldura de Card Técnico de Produto */
.legacy-media {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff !important; /* Fundo branco limpo para a imagem */
  padding: 1.5rem !important;
  border-radius: 16px; /* Bordas arredondadas modernas */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra de destaque no tema escuro */
  transition: transform 0.3s ease;
}

.legacy-media:hover {
  transform: translateY(-4px); /* Efeito suave ao passar o mouse */
}

.legacy-media img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal !important;
  border-radius: 8px;
}

/* Bloco de Texto */
.legacy-text {
  flex: 1;
}

.legacy-text h2 {
  font-size: 2.2rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.legacy-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #a1a1aa;
  margin-bottom: 1.2rem;
}

/* Lista com Marcadores */
.legacy-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem 0;
}

.legacy-list li {
  font-size: 0.95rem;
  color: #e4e4e7;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.legacy-list li::before {
  content: "■";
  color: #ff6b00;
  font-size: 0.75rem;
  position: absolute;
  left: 0;
  top: 3px;
}

.legacy-highlight {
  color: #a1a1aa;
  margin-top: 1.2rem;
  margin-bottom: 0.2rem !important;
}

.legacy-highlight-bold {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem !important;
}

.legacy-btn-wrapper {
  margin-top: 1.8rem;
}

/* Responsividade Celular/Tablet */
@media (max-width: 992px) {
  .legacy-row, .legacy-row.reverse {
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* ============================================================
   ESTILO CATÁLOGO TÉCNICO DE PRODUTOS (SUBSTITUI CARROSSEL)
   ============================================================ */

.galeria-tech-section {
  padding: 4rem 0;
  background-color: #0b0c0e;
}

.galeria-tech-grid {
  display: grid;
  /* Cria uma grade responsiva com tamanho perfeito de card */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* CARD INDIVIDUAL DO PRODUTO */
.card-produto {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-produto:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.25);
}

/* QUADRO DA IMAGEM (BACKGROUND BRANCO LIMPO) */
.card-img-wrapper {
  width: 100%;
  height: 200px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-bottom: 1px solid #f0f0f0;
}

.card-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* NENHUMA imagem fica distorcida ou cortada! */
  transition: transform 0.3s ease;
}

.card-produto:hover .card-img-wrapper img {
  transform: scale(1.05);
}

/* ÁREA DE TEXTO DO CARD */
.card-info {
  padding: 1rem 1.2rem;
  background-color: #16171b; /* Fundo escuro sutil para o texto */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.card-info p {
  font-size: 0.8rem;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.4;
}

/* RESPONSIVIDADE PARA CELULAR */
@media (max-width: 600px) {
  .galeria-tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
  
  .card-img-wrapper {
    height: 160px;
  }
}

/* ============================================================
   EXIBIDOR MODAL (LIGHTBOX COM NAVEGAÇÃO)
   ============================================================ */

.card-produto {
  cursor: pointer; /* Indica que é clicável */
}

.exibidor-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.exibidor-modal.ativo {
  display: flex;
}

.exibidor-conteudo {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.exibidor-conteudo img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.exibidor-caption {
  margin-top: 1.2rem;
  text-align: center;
  color: #ffffff;
}

.exibidor-caption h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem 0;
  color: #ff6b00;
}

.exibidor-caption p {
  font-size: 0.95rem;
  color: #d1d5db;
  margin: 0;
}

/* BOTÃO FECHAR */
.exibidor-fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10000;
}

.exibidor-fechar:hover {
  color: #ff6b00;
}

/* BOTÕES DE NAVEGAÇÃO (PASSAR PRO LADO) */
.exibidor-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 2.5rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
  user-select: none;
}

.exibidor-btn:hover {
  background: #ff6b00;
  border-color: #ff6b00;
  scale: 1.1;
}

.exibidor-prev { left: 25px; }
.exibidor-next { right: 25px; }

@media (max-width: 768px) {
  .exibidor-btn {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }
  .exibidor-prev { left: 10px; }
  .exibidor-next { right: 10px; }
}
#galeria .section-label {
  font-family:var(--font-mono);font-size:.78rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--laranja-esc);margin-bottom:.75rem;
  display:flex;align-items:center;gap:.75rem;
}

/* Altera apenas o título "Nossa Linha de Produtos" dentro da galeria */
#galeria .section-title,
#galeria #galeria-title {
  color: #ffffff !important; /* Branco totalmente visível */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Sombra para dar mais destaque */
}


/* LIGHTBOX MODAL */
.lightbox-modal {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85); /* Fundo transparente escuro */
  backdrop-filter: blur(5px); /* Efeito opcional de desfoque sutil no fundo */
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

/* CONTAINER DA IMAGEM SEM MOLDURA */
.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra suave na foto sem borda */
}

/* BOTÕES DE NAVEGAÇÃO (SETAS) */
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 1rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, transform 0.2s;
  z-index: 100000;
}

.lightbox-btn:hover {
  color: #ff6b00; /* Cor Laranja do seu padrão */
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* BOTÃO FECHAR (X) */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 100000;
}

.lightbox-close:hover {
  color: #ff6b00;
}

/* INTERATIVIDADE NOS CARDS DA GALERIA */
.card-produto {
  cursor: pointer; /* Adiciona cursor de clique para os cards */
}

/* ==========================================
   DESTAQUE PRINCIPAL DA GALERIA (NO TOPO)
   ========================================== */
.destaque-galeria-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 480px;
  margin: 0 auto 3rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* Fundo limpo, sem molduras pretas/brancas */
}

.destaque-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.destaque-img-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Preserva o tamanho e proporção real */
  transition: opacity 0.25s ease;
  filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.4)); /* Sombra suave direto no produto */
}

/* SETAS DE NAVEGAÇÃO LATERAIS */
.destaque-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.destaque-btn:hover {
  background: #ff6b00; /* Laranja da Beruf */
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.destaque-prev {
  left: 10px;
}

.destaque-next {
  right: 10px;
}

/* INDICAÇÃO NO BLOQUINHO SELECIONADO */
.card-produto {
  cursor: pointer;
}

.card-produto.active {
  border: 2px solid #ff6b00 !important; /* Borda laranja no card que está no topo */
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}

/* RESPONSIVIDADE (CELULARES) */
@media (max-width: 768px) {
  .destaque-galeria-wrapper {
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .destaque-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* Espaçamento e layout do bloco de texto inferior */
.intro-grid-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* Espaço generoso entre os dois blocos principais */
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.intro-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 1.2rem; /* Espaço entre o título do bloco e a lista */
  border-left: 4px solid #ff6b00; /* Detalhe visual elegante com a cor da Beruf */
  padding-left: 0.8rem;
}

.intro-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Dá respiro entre um tópico e outro (evita texto grudado) */
}

.intro-card-list li {
  font-size: 0.98rem;
  line-height: 1.6; /* Aumenta a altura da linha para não amontoar as frases */
  color: #444444;
}

.intro-card-list strong {
  color: #111111;
}

/* Responsividade em telas maiores (opcional: lado a lado se preferir) */
@media (min-width: 992px) {
  .intro-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Coloca lado a lado em telas grandes */
    gap: 2rem;
  }
}

/* ── MOLDURA PREMIUM E HARMÔNICA ── */

.esteiras-section .esteiras-media {
  flex: 0 0 auto;               
  width: auto;                  
  max-width: 420px;             
  margin: 0 auto;
  padding: 0.5rem !important;        
  background: rgba(255, 255, 255, 0.04) !important; /* Fundo suave translúcido */
  border: 1px solid rgba(255, 255, 255, 0.12) !important; /* Borda fina e discreta */
  border-radius: 8px !important;     
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Brilho Laranja da Beruf ao passar o mouse */
.esteiras-section .esteiras-media:hover {
  border-color: rgba(255, 107, 0, 0.5) !important; 
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.15);
}

.esteiras-section .esteiras-media img {
  width: 100%;
  max-width: 380px;             
  height: auto;
  max-height: 440px;            
  object-fit: contain;          
  border-radius: 6px !important;     
  display: block;
}

/* Ajuste da segunda foto */
.esteiras-section .legacy-row.reverse .esteiras-media {
  max-width: 500px;
}

.esteiras-section .legacy-row.reverse .esteiras-media img {
  max-width: 530px;
  max-height: 600px;
}

/* introdução d apagina Perifericos roboticassssssssssssssssss */
.hero-full-note {
  width: 100%;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.03); /* Fundo sutil */
  border-left: 3px solid #ff6b00; /* Detalhe em laranja na esquerda */
  border-radius: 0 6px 6px 0;
}

.hero-full-note p {
  color: #d0d0d0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.hero-full-note strong {
  color: #ffffff;
}

.section-desc {
  max-width: 100% !important;
}

