/* ===========================
   FERRAGENS JOGRASI - DESIGN OUSADO E EDITORIAL
   =========================== */

/* --- RESET & TOKENS --- */
:root {
  --color-bg: #f4f4f5;
  --color-surface: #ffffff;
  --color-dark: #09090b;
  --color-dark-alt: #18181b;
  --color-red: #e63946;
  --color-red-hover: #c1121f;
  --color-yellow: #fca311;
  --color-text: #27272a;
  --color-text-muted: #71717a;
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { 
  scroll-behavior: smooth;
  font-size: 16px; 
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-padding { padding: 8rem 0; }
.bg-dark { background-color: var(--color-dark); color: #fff; }
.bg-light { background-color: var(--color-surface); }
.text-red { color: var(--color-red); }
.text-white { color: #fff; }
.text-yellow { color: var(--color-yellow); }
.center-text { text-align: center; }

/* Typography Ousada */
.title-huge {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.title-huge span { color: var(--color-red); }

.title-bold {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.label-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* BotÃµes Brutalistas/Modernos */
.btn-neo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.25rem 2rem;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}
.btn-primary {
  background-color: var(--color-red);
  color: #fff;
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}
.btn-nav {
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  background-color: var(--color-red);
  color: #fff;
}
.btn-nav:hover { background-color: var(--color-dark); color: #fff; }

.btn-link {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: var(--transition-fast);
}
.btn-link:hover { color: var(--color-yellow); border-color: var(--color-yellow); gap: 1rem; }

/* Loader */
.loading { overflow: hidden; }
.loader {
  position: fixed; inset: 0; background: var(--color-dark);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease;
}
.loader::after {
  content: ''; width: 40px; height: 40px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--color-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Navbar - Inteligente e Translúcida (Glassmorphism) */
.navbar {
  position: fixed; 
  top: 1.5rem; 
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  padding: 1rem 2rem; 
  z-index: 1000;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}

/* Estado Inicial (Translúcido Claro) */
.logo-text { color: #fff; transition: var(--transition-fast); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.875rem; font-weight: 600; color: #fff; text-decoration: none; position: relative; }
.nav-links a::after { content: ""; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background: var(--color-yellow); transition: var(--transition-fast); }
.nav-links a:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.menu-line { width: 30px; height: 2px; background: #fff; margin-bottom: 6px; transition: var(--transition-fast); }

/* Estado Rolado (Glassmorphism Escuro) */
.navbar.scrolled {
  top: 1rem;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  padding: 0.8rem 2rem;
}
.navbar.scrolled .nav-links a { color: rgba(255, 255, 255, 0.9); }
.navbar.scrolled .nav-links a:hover { color: var(--color-yellow); }
.navbar.scrolled .menu-line { background: #fff; }

/* Hero Imersivo - Dark Mode */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; padding-top: 5rem;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #000; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* O Segredo: DegradÃª Preto Profundo ao invÃ©s de Branco */
.hero-overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(90deg, var(--color-dark) 0%, rgba(9,9,11,0.85) 45%, rgba(9,9,11,0.1) 100%); 
}

.hero-content {
  width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 2rem;
  position: relative; z-index: 1; max-width: 750px; margin-left: auto; margin-right: auto;
  color: #fff; /* Todo texto branco agora */
}
@media(min-width: 1024px) { .hero-content { margin-left: 0; padding-left: max(2rem, calc((100% - 1300px) / 2 + 2rem)); } }

.hero-badge {
  display: inline-block; border: 2px solid rgba(255,255,255,0.2); color: var(--color-yellow);
  font-weight: 700; text-transform: uppercase; font-size: 0.75rem;
  padding: 0.5rem 1rem; margin-bottom: 2rem;
}
.hero-subtitle { font-size: 1.25rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }

/* Marquee / Ticker */
.ticker-wrap {
  width: 100%; overflow: hidden; background: var(--color-red); color: #fff;
  padding: 1.5rem 0; display: flex; white-space: nowrap;
}
.ticker { display: flex; animation: ticker 25s linear infinite; }
.ticker__item { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: 0.05em; padding: 0 2rem; }
.ticker__separator { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; opacity: 0.5; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Bento Grid */
.section-title-wrap { max-width: 800px; margin-bottom: 4rem; }
.section-title-wrap p { font-size: 1.125rem; color: var(--color-text-muted); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 1.5rem;
}
.bento-item {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--color-surface); box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform var(--transition-smooth);
}
.bento-item:hover { transform: translateY(-10px); }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }
.bento-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.bento-item:hover .bento-bg { transform: scale(1.05); }
.bento-content { position: absolute; inset: 0; padding: 2.5rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; }
.bento-content.solid-bg { background: none; height: 100%; width: 100%; }
.bento-content.bg-dark { background: var(--color-dark); color: #fff; }
.bento-content.bg-red { background: var(--color-red); color: #fff; }
.bento-icon { font-size: 2.5rem; margin-bottom: auto; }
.bento-content h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; line-height: 1.1; }
.bento-content p { font-size: 0.9rem; opacity: 0.9; }

/* Diferencial (Layout AssimÃ©trico) */
.flex-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.diferencial-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.diferencial-list li { display: flex; gap: 1.5rem; }
.list-number { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; color: var(--color-red); border-bottom: 2px solid var(--color-red); padding-bottom: 0.25rem; height: max-content; }
.list-text h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.list-text p { color: var(--color-text-muted); }

.offset-image { position: relative; padding-left: 2rem; padding-bottom: 2rem; }
.offset-image::before { content: ''; position: absolute; bottom: 0; left: 0; width: 80%; height: 80%; background: var(--color-yellow); z-index: 0; }
.offset-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.floating-stat { position: absolute; top: 10%; right: -2rem; background: var(--color-surface); padding: 1.5rem; box-shadow: 0 15px 30px rgba(0,0,0,0.1); z-index: 2; text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; }
.stat-stars { color: var(--color-yellow); font-size: 1.2rem; margin: 0.25rem 0; letter-spacing: 2px; }
.stat-desc { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--color-text-muted); }

/* HistÃ³ria Grid */
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.historia-img { position: relative; }
.historia-img img { width: 100%; aspect-ratio: 1; object-fit: cover; /* filter: grayscale(100%); */ transition: filter var(--transition-smooth); }
.historia-img:hover img { filter: grayscale(0%); }
.years-stamp { position: absolute; bottom: -2rem; right: -2rem; background: var(--color-red); color: #fff; width: 140px; height: 140px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-10deg); box-shadow: 0 10px 20px rgba(230,57,70,0.3); }
.years-stamp strong { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; line-height: 1; }
.years-stamp span { font-weight: 700; letter-spacing: 2px; }
.historia-text .lead { font-size: 1.25rem; font-weight: 500; margin-bottom: 1.5rem; color: #fff; }
.historia-text p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.quote-box { margin-top: 3rem; padding-left: 1.5rem; border-left: 4px solid var(--color-yellow); }
.quote-box p { font-style: italic; font-size: 1.1rem; color: #fff; }
.quote-box span { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-yellow); font-weight: 700; }

/* Contato Brutalista */
.contato-neo-grid { display: grid; grid-template-columns: 1fr 1.5fr; border: 4px solid var(--color-dark); background: var(--color-dark); gap: 4px; margin-top: 4rem; }
.neo-panel { background: var(--color-surface); display: flex; flex-direction: column; }
.panel-section { padding: 3rem; border-bottom: 4px solid var(--color-dark); }
.panel-section.no-border { border-bottom: none; }
.panel-section h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 900; text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.panel-section p { color: var(--color-text); font-size: 1.1rem; }
.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 1.5rem; align-items: center; font-size: 1.1rem; }
.hours-grid span { color: var(--color-text-muted); }
.contact-number { display: block; font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--color-dark); text-decoration: none; margin-bottom: 1rem; transition: color var(--transition-fast); }
.contact-number:hover { color: var(--color-red); }
.social-link-neo { font-weight: 700; color: var(--color-text); text-decoration: none; font-size: 1.1rem; transition: color var(--transition-fast); }
.social-link-neo:hover { color: var(--color-red); }
.neo-map { background: var(--color-surface); min-height: 400px; }

/* Footer */
.footer-neo { background: var(--color-dark); color: #fff; padding: 4rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-brand .logo-text { color: #fff; margin-bottom: 0.5rem; display: block; }
.footer-brand p { color: rgba(255,255,255,0.5); }
.footer-legal { text-align: right; }
.footer-legal p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 0.25rem; }

/* FAB WhatsApp */
.fab-whatsapp { position: fixed; bottom: 2rem; right: 2rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; z-index: 999; group; }
.fab-text { background: var(--color-surface); color: var(--color-dark); padding: 0.75rem 1.25rem; border-radius: 100px; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; box-shadow: 0 10px 25px rgba(0,0,0,0.1); opacity: 0; transform: translateX(20px); transition: var(--transition-smooth); pointer-events: none; }
.fab-whatsapp:hover .fab-text { opacity: 1; transform: translateX(0); }
.fab-icon { width: 4rem; height: 4rem; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 10px 25px rgba(37,211,102,0.4); transition: transform var(--transition-fast); }
.fab-whatsapp:hover .fab-icon { transform: scale(1.1); }

/* AnimaÃ§Ãµes AvanÃ§adas */
.animate-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.reveal { opacity: 0; transform: translateY(60px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsividade */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .flex-split, .historia-grid { grid-template-columns: 1fr; gap: 4rem; }
  .contato-neo-grid { grid-template-columns: 1fr; }
  .floating-stat { right: 2rem; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .menu-btn { display: block; }
  .hero-content { padding-top: 4rem; text-align: center; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; }
  
  /* DegradÃª vertical escuro para mobile */
  .hero-overlay { background: linear-gradient(to top, var(--color-dark) 5%, rgba(9,9,11,0.85) 50%, rgba(9,9,11,0.3)); }
  
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .bento-large { grid-row: span 1; }
  .footer-flex { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
}

/* Mobile Nav Overlay */
.menu-overlay { position: fixed; inset: 0; background: var(--color-dark); z-index: 1000; opacity: 0; pointer-events: none; transition: var(--transition-smooth); display: flex; align-items: center; justify-content: center; }
.menu-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mob-link { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: #fff; text-decoration: none; text-transform: uppercase; transition: color var(--transition-fast); transform: translateY(30px); opacity: 0; }
.menu-overlay.active .mob-link { transform: translateY(0); opacity: 1; transition: opacity 0.6s ease, transform 0.6s ease; }
.menu-overlay.active .mob-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .mob-link:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .mob-link:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .mob-link:nth-child(4) { transition-delay: 0.4s; }
.mob-link:hover { color: var(--color-red); }
.menu-open .menu-line { background: #fff; }
.menu-open .menu-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-line:nth-child(2) { transform: rotate(-45deg); }

.logo-img { height: 55px; width: auto; object-fit: contain; transition: var(--transition-fast); }
@media(max-width: 768px) { .logo-img { height: 45px; } }

/* Carrinho de Orçamento (UX) */
.cotacao-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.cotacao-item { background: var(--color-surface); border: 2px solid #e4e4e7; border-radius: 12px; padding: 1.25rem; font-family: var(--font-display); font-weight: 700; color: var(--color-dark); cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.cotacao-item:hover { border-color: var(--color-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.cotacao-item.active { border-color: var(--color-red); background: var(--color-red); color: #fff; }
.cotacao-action { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-neo.disabled { opacity: 0.5; pointer-events: none; filter: grayscale(1); }
#cotacao-contador { font-weight: 700; color: var(--color-text-muted); }

/* Banner LGPD */
.cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: var(--color-dark); color: #fff; z-index: 10000; padding: 1rem 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); transition: bottom var(--transition-smooth); }
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-content p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-content a { color: var(--color-yellow); text-decoration: underline; }

.text-dark { color: var(--color-dark) !important; }


@media (max-width: 768px) {
  .navbar { top: 1rem; width: 95%; padding: 0.8rem 1.5rem; }
  .navbar.scrolled { padding: 0.8rem 1.5rem; }
}



.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  text-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.hero-title .text-red {
  color: var(--color-red);
  text-shadow: 0 10px 30px rgba(230, 57, 70, 0.5);
}


/* Correcoes Mobile */
.contato-neo-grid { box-sizing: border-box; max-width: 100%; overflow: hidden; }
.neo-map { max-width: 100%; overflow: hidden; box-sizing: border-box; }
.neo-map iframe { width: 100%; max-width: 100%; border: none; }
.container { box-sizing: border-box; }


/* =========================================
   Botao WhatsApp Flutuante
   ========================================= */
.whatsapp-float {
    position: fixed;
    top: 50%;
    right: 40px;
    width: 75px;
    height: 75px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    transform: translateY(-50%);
}

background-color: #128C7E;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.8);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9); }
    70% { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
    position: fixed;
    top: 50%;
    right: 40px;
    width: 75px;
    height: 75px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 45px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
    transform: translateY(-50%);
}
}

/* Video de Fundo Hero */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    
    /* Travas de Renderizacao (GPU) para evitar tremores no scroll */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000;
    will-change: transform;
}

/* Efeito Hover Tatil (3D) no Bento Grid */
.bento-item {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.bento-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
    z-index: 10;
}

/* =========================================
   Efeito 3D nas Imagens de Destaque
   ========================================= */
.offset-image img, .historia-img img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
    border-radius: 12px;
}

.offset-image:hover img, .historia-img:hover img {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    z-index: 10;
}

/* Animacao especial no selo de 25 anos */
.historia-img .years-stamp {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.historia-img:hover .years-stamp {
    transform: scale(1.1) rotate(5deg);
}

/* Animacao do selo do Google acompanhando a foto */
.floating-stat {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.offset-image:hover .floating-stat {
    transform: translateY(-12px) scale(1.05) !important;
}


/* =========================================
   Ajuste Fino do WhatsApp no Mobile
   ========================================= */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        top: auto !important;
        bottom: 110px !important;
        right: 20px !important;
        font-size: 38px;
        transform: none !important;
    }
    .whatsapp-float:hover {
        transform: scale(1.1) !important;
    }
}
