/* =====================================================
   ESP-TEC · Pixel-Perfect Design System
   Design Philosophy: Geometric Grid, Clear Hierarchy
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary:    #ffffff;
  --bg-soft:       #f8fafc;
  --text-main:     #0f172a; /* Slate 900 */
  --text-body:     #475569; /* Slate 600 */
  --slate-100:     #f1f5f9;
  --slate-200:     #e2e8f0;
  --brand-blue:    #0047FF; /* More vibrant Royal Blue */
  --brand-navy:    #0a192f;
  
  /* PREMIUM DEPTH */
  --shadow-sm:     0 2px 4px rgba(0,0,0,0.05);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-prem:   0 10px 40px -10px rgba(0,71,255,0.15); /* Soft Blue Glow */

  /* GRID SYSTEM */
  --container:     1280px;
  --grid-gap:      32px;
  --t-base:        0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* RESPONSIVE TYPE - REFINED */
  --h1: 3.5rem;
  --h2: 2.2rem;
  --h3: 1.5rem;
  --text-p: 1.15rem;
}

@media (max-width: 991px) {
  :root {
    --h1: 2.8rem;
    --h2: 2.0rem;
    --container: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --h1: 2.0rem;
    --h2: 1.6rem;
    --h3: 1.2rem;
    --text-p: 1rem;
    --grid-gap: 20px;
    --shadow-prem: 0 5px 20px -5px rgba(0,71,255,0.1);
  }
}

@media (max-width: 480px) {
  :root {
    --h1: 1.7rem;
    --h2: 1.3rem;
    --h3: 1.1rem;
    --text-p: 0.85rem;
  }
  .section { padding: 60px 20px !important; }
  .hero-full { 
    padding-top: 130px !important; 
    padding-bottom: 50px !important;
    height: auto !important;
    min-height: 60vh !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: center !important;
  }
  .hero-tagline { 
    margin-bottom: 20px !important;
    font-size: 0.75rem !important;
  }
  .hero-title {
    margin-bottom: 20px !important;
  }
  .hero-desc {
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
  }
  .btn {
    padding: 12px 24px !important;
    font-size: 0.82rem !important;
    width: fit-content !important;
    margin: 0 auto !important;
    display: inline-block !important;
  }
  .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }
}

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

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── GRID CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.section { padding: 30px 0; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { 
  font-weight: 700; 
  letter-spacing: -0.03em; 
  line-height: 1.15; 
  color: var(--text-main);
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { font-size: var(--text-p); color: var(--text-body); font-weight: 300; }

/* ─── NAVIGATION (Aligned) ─── */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    padding: 24px 0; transition: var(--t-base);
}

nav.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 71, 255, 0.1);
}

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

.logo { 
    display: flex; align-items: center; gap: 12px; 
    font-weight: 800; font-size: 1.5rem; color: var(--text-main); 
    text-decoration: none; position: relative; z-index: 10001; 
}
.logo img { height: 42px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { 
    text-decoration: none; color: var(--text-main); font-weight: 500; 
    font-size: 0.95rem; transition: var(--t-base); opacity: 0.8;
}
.nav-links a:hover { color: var(--brand-blue); opacity: 1; }

.nav-links a.active {
    color: var(--brand-blue);
    opacity: 1;
    position: relative;
    font-weight: 700;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 4px;
}

nav .btn {
    padding: 10px 22px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
}

/* ─── HERO SPLIT (Standard) ─── */
.hero {
  min-height: 80vh; display: flex; align-items: center; 
  margin-top: 70px;
  padding: 60px 0 60px 0; background: var(--bg-primary);
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: var(--grid-gap); align-items: center; width: 100%;
}

/* ─── FULL-WIDTH HERO (Pixel-Perfect) ─── */
.hero-full {
  position: relative;
  min-height: 80vh;
  margin-top: 70px;
  padding: 60px 0 80px 0;
  display: flex;
  align-items: center;
  background: var(--bg-primary); /* Mudado para branco conforme o feedback */
  overflow: hidden;
}

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

.hero-video-bg video, .hero-video-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.98;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 30%, rgba(15, 23, 42, 0) 100%);
  z-index: 2;
}

.hero-content-over {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 40px;
}

.hero-full h1 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-full p { color: rgba(255,255,255,0.8); }

.hero-text { max-width: 580px; }
.hero-text span { 
  display: block; font-size: 0.75rem; font-weight: 600; 
  text-transform: uppercase; letter-spacing: 0.1em; 
  color: var(--text-body); margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.5rem; color: var(--text-main); }
.hero p { color: var(--text-body); margin-bottom: 2rem; }

.hero-image {
  width: 100%; 
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15);
  background: none;
  padding: 0;
  display: block;
}

/* Flush mode for hero-image */
.hero-image.flush {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero-image img, .hero-image video { 
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%; 
  display: block; object-fit: cover;
}

/* ─── STATS BAR ─── */
.stats { border-top: 1px solid var(--slate-100); padding: 15px 0; }
.stats-grid { 
  display: grid; grid-template-columns: repeat(4, 1fr); 
  gap: var(--grid-gap); 
}
.stat-item h4 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.stat-item p { font-size: 0.75rem; font-weight: 600; color: var(--text-body); text-transform: uppercase; }

/* ─── SERVICE CARDS ─── */
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--grid-gap);
}

.service-card {
  background: #fff; padding: 50px 40px; border-radius: 32px;
  border: 1px solid var(--slate-100); transition: var(--t-base);
  box-shadow: var(--shadow-sm);
}
.service-card:hover { 
  transform: translateY(-12px); box-shadow: var(--shadow-lg), var(--shadow-prem); 
  border-color: rgba(0,71,255,0.1);
}
.service-card i { font-size: 2.2rem; color: var(--brand-blue); margin-bottom: 28px; display: block; opacity: 0.9; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--text-main); }
.service-card p { font-size: 1rem; color: var(--text-body); line-height: 1.7; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; border-radius: 100px;
  font-weight: 600; text-decoration: none; transition: var(--t-base);
  cursor: pointer; position: relative; overflow: hidden;
}

.btn-primary { 
  background: var(--brand-blue); color: #fff; border: none;
  box-shadow: 0 10px 30px -10px rgba(0,71,255,0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 40px -12px rgba(0,71,255,0.5); }

.btn-secondary { 
  background: transparent; color: var(--text-main); border: 2px solid var(--slate-200);
}
.btn-secondary:hover { background: var(--slate-100); border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-3px); }

/* ─── HERO DESIGN SYSTEM ─── */
.hero-tagline {
    color: var(--brand-blue); font-weight: 700; text-transform: uppercase; 
    letter-spacing: 0.2em; font-size: 0.85rem; display: block; margin-bottom: 24px;
}
.hero-title { margin-bottom: 30px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); color: #fff; }
.hero-desc { margin-bottom: 50px; color: rgba(255,255,255,0.9); font-size: 1.25rem; max-width: 650px; font-weight: 400; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-btns .btn-secondary { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(10px); }

@media (max-width: 768px) {
    .hero-tagline { font-size: 0.75rem; margin-bottom: 8px; letter-spacing: 0.15em; }
    .hero-title { font-size: 1.85rem; margin-bottom: 12px; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 30px; }
    .hero-btns { gap: 12px; flex-direction: column; width: 100%; }
}
.calc-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(15px);
    display: none; align-items: center; justify-content: center;
    z-index: 10000; padding: 20px;
}

.calc-modal.active { display: flex; animation: fadeIn 0.3s ease; }

.calc-container {
    background: #fff; width: 100%; max-width: 800px;
    border-radius: 32px; padding: 60px; position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
    overflow: hidden;
}

.calc-progress-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: var(--slate-100);
}

.calc-progress-bar {
    height: 100%; background: var(--brand-blue); width: 20%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step { display: none; }
.calc-step.active { display: block; animation: slideUp 0.5s ease; }

.calc-header { margin-bottom: 40px; text-align: center; }
.calc-header h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--text-main); }
.calc-header p { color: var(--text-body); font-size: 1.1rem; }

.calc-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 20px; margin-bottom: 40px;
}

.calc-card {
    border: 2px solid var(--slate-100); padding: 30px;
    border-radius: 20px; cursor: pointer; transition: var(--t-base);
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    text-align: center; position: relative;
}

.calc-card:hover { border-color: var(--slate-200); background: var(--bg-soft); }
.calc-card.selected { border-color: var(--brand-blue); background: rgba(0, 0, 255, 0.05); }

.calc-card i { font-size: 2rem; color: var(--text-main); }
.calc-card h4 { font-size: 1.1rem; font-weight: 600; }

.calc-card .check-indicator {
    position: absolute; top: 15px; right: 15px;
    width: 24px; height: 24px; border: 2px solid var(--slate-200);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.calc-card.selected .check-indicator { background: var(--brand-blue); border-color: var(--brand-blue); }
.calc-card.selected .check-indicator::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: #fff; font-size: 10px;
}

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

.calc-btn-back { color: var(--text-body); cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.calc-btn-back:hover { color: var(--text-main); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade Calculadora - Compact Mode */
@media (max-width: 600px) {
    .calc-modal { padding: 10px; }
    .calc-container { 
        padding: 25px 15px; 
        border-radius: 20px; 
        max-height: 95vh; 
        overflow-y: auto;
    }
    .calc-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 25px; }
    .calc-header { margin-bottom: 20px; }
    .calc-header h2 { font-size: 1.4rem; margin-bottom: 5px; }
    .calc-header p { font-size: 0.85rem; }
    .calc-card { padding: 15px; gap: 10px; }
    .calc-card i { font-size: 1.5rem; }
    .calc-card h4 { font-size: 0.95rem; }
    .calc-card .check-indicator { top: 10px; right: 10px; width: 20px; height: 20px; }
    .calc-btn-back { font-size: 0.8rem; }
}

/* ─── UTILITY CLASSES ─── */
.text-center { text-align: center; }
.flex-column-mobile { display: flex; flex-direction: column; }
.grid-2-mobile { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-1-mobile { display: grid; grid-template-columns: 1fr; }

.mobile-only { display: none !important; }
.desktop-only { display: inline-flex !important; }

@media (max-width: 768px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
    
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { margin-top: 0 !important; padding-top: 90px !important; }
    .hero-full { margin-top: 0 !important; min-height: 50vh; padding-top: 90px !important; padding-bottom: 40px; }
    .hero-text { max-width: 100%; text-align: center; }
    .hero-text h1 { font-size: 1.85rem; line-height: 1.1; margin-bottom: 15px; }
    .hero-text p { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }
    .hero-text div { justify-content: center; flex-direction: column; width: 100%; gap: 12px !important; }
    .hero-text .btn { width: 100%; justify-content: center; min-height: 48px; font-size: 0.9rem; padding: 12px 24px; }
    
    .flex-column-mobile { flex-direction: column; }
    .grid-2-mobile { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .grid-1-mobile { grid-template-columns: 1fr; gap: 15px; }
    
    .section { padding: 30px 0; }
    
    /* Nav Mobile - More Compact */
    nav { padding: 8px 0 !important; height: 60px; display: flex; align-items: center; }
    .logo img { height: 28px; }
    .logo { font-size: 1.05rem; gap: 6px; }
    
    nav .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: #fff; flex-direction: column; padding: 80px 25px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05); transition: 0.4s ease;
        z-index: 2000;
    }
    .nav-links.active { right: 0; }
    .nav-toggle { display: flex !important; margin-left: auto; }
    
    .nav-links li a { font-size: 1rem; display: block; padding: 10px 0; color: var(--text-main); font-weight: 600; border-bottom: 1px solid var(--slate-100); }
    
    /* Secondary button contrast fix on mobile */
    .btn-secondary { background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.3) !important; color: #fff !important; }
    
    /* Compact Cards */
    .service-card { padding: 30px 20px; border-radius: 20px; }
    .service-card i { font-size: 1.8rem; margin-bottom: 20px; }
    .service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
    .service-card p { font-size: 0.92rem; line-height: 1.6; }
    
    /* Remove heavy shadows */
    .service-card, .calc-card, .product-card { box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important; }
    
    /* Stats Bar Mobile */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stats-grid .stat-item h4 { font-size: 1.4rem; }
    .stats-grid .stat-item p { font-size: 0.8rem; }
}

/* Hamburger Toggle */
.nav-toggle {
    display: none; width: 24px; height: 19px; flex-direction: column;
    justify-content: space-between; cursor: pointer; z-index: 1001;
}
.nav-toggle span {
    width: 100%; height: 2px; background: var(--brand-blue);
    border-radius: 2px; transition: 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Carousel Component */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 10px auto 10px;
    height: 480px;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #fff;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
}

.carousel-slide img {
    max-height: 300px;
    width: auto;
    object-fit: contain;
    margin-bottom: 30px;
}

.carousel-slide h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}

.carousel-slide p {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .carousel-container { height: 400px; margin: 0 20px; }
    .carousel-slide img { max-height: 200px; }
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--slate-100);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-nav:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

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

/* ─── VIDEO CINEMA MODAL ─── */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
    cursor: pointer;
}

.video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    background: #fff;
    width: 100%;
    max-width: 1000px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    animation: slideUp 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100001;
    color: var(--text-main);
    transition: var(--t-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--brand-blue);
    color: #fff;
}

.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .video-modal-content { max-width: 100%; border-radius: 16px; }
    .video-modal-close { top: 10px; right: 10px; width: 36px; height: 36px; }
}
/* ─── VITRINE CAROUSEL (CFTV) ─── */
.vitrine-container {
    overflow: hidden;
    width: 100%;
}

.vitrine-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.product-card {
    flex: 0 0 33.333%;
    text-align: center;
    padding: 30px;
    transition: var(--t-base);
    border-radius: 20px;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    max-width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    transition: var(--t-base);
}

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

.product-card h4 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

@media (max-width: 991px) {
    .product-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 100%;
    }
}

/* ─── TESTIMONIALS (Carousel Style) ─── */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-soft);
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1050px;
    margin: 40px auto 0;
    padding: 20px 40px; /* Aumentado padding lateral para as setas */
    overflow: hidden;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--brand-blue);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid var(--slate-100);
}

.testimonials-nav:hover {
    background: var(--brand-blue);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.testimonials-nav.prev { left: 5px; }
.testimonials-nav.next { right: 5px; }

@media (max-width: 768px) {
    .testimonials-nav { display: flex; width: 36px; height: 36px; } /* Mantendo visível mas menor no mobile */
    .testimonials-container { padding: 20px 10px; }
    .testimonials-nav.prev { left: 2px; }
    .testimonials-nav.next { right: 2px; }
}

/* Vitrine de Produtos - Navegação */
.vitrine-container {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

.vitrine-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--brand-blue);
    transition: all 0.3s ease;
    border: 1px solid var(--slate-100);
}

.vitrine-nav:hover {
    background: var(--brand-blue);
    color: #fff;
}

.vitrine-nav.prev { left: 5px; }
.vitrine-nav.next { right: 5px; }

@media (max-width: 768px) {
    .vitrine-container { padding: 0 15px; }
    .vitrine-nav { width: 32px; height: 32px; font-size: 0.8rem; }
    .vitrine-nav.prev { left: 10px; }
    .vitrine-nav.next { right: 10px; }
}

.google-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 10px 25px;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid var(--slate-100);
}

.google-trust-badge img {
    width: 20px;
    height: 20px;
}

.google-trust-badge .trust-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.google-trust-badge .rating {
    font-weight: 800;
    color: var(--text-main);
    font-size: 0.95rem;
}

.google-trust-badge .stars {
    color: #FBBF24;
    font-size: 0.7rem;
}

.google-trust-badge .review-count {
    font-size: 0.8rem;
    color: var(--text-body);
    padding-left: 15px;
    border-left: 1px solid var(--slate-200);
    margin-left: 5px;
    font-weight: 500;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--slate-100);
    transition: var(--t-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    min-height: 240px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0,71,255,0.12);
    border-color: var(--brand-blue);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.testimonial-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.75rem;
    color: var(--text-body);
    display: block;
}

.google-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    color: #5f6368;
    margin-top: 12px;
}

/* Pagination Dots */
.testimonials-dots, .vitrine-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--slate-200);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--t-base);
}

.dot.active {
    background: var(--brand-blue);
    transform: scale(1.3);
}

@media (max-width: 991px) {
    .testimonial-card { flex: 0 0 calc(50% - 15px); }
}

@media (max-width: 768px) {
    .testimonial-card { flex: 0 0 100%; }
    .testimonials-container { padding: 10px; }
}

/* ─── DIGITAL CONTENT PROTECTION ─── */
html, body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Permitir seleção em campos de entrada e áreas de texto */
input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: text !important;
}

/* Manter botões funcionais */
.btn, a, button {
    -webkit-user-select: none;
    user-select: none;
}

/* ─── FOOTER PREMIUM ─── */
.footer {
    padding: 80px 0 40px;
    background: #fff;
    border-top: 1px solid var(--slate-100);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-about {
    max-width: 400px;
}

.footer-about .logo {
    display: block;
    margin-bottom: 25px;
}

.footer-about .logo img {
    max-height: 45px;
    filter: grayscale(1) opacity(0.8);
    transition: var(--t-base);
}

.footer-about .logo:hover img {
    filter: grayscale(0) opacity(1);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
}

.footer-contact h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--t-base);
}

.contact-item i {
    color: var(--brand-blue);
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.contact-item:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--slate-100);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-body);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer { padding: 60px 0 40px; }
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .footer-about { max-width: 100%; }
    .contact-item { justify-content: center; }
    .contact-item:hover { transform: none; }
}
/* ─── COOKIE BANNER (LGPD MODAL) ─── */
.cookie-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cookie-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Banner de Cookies Elegant */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.cookie-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cookie-banner.elegant-banner {
  width: calc(100% - 40px);
  max-width: 1150px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f172a, #1e2937);
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 24px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, sans-serif;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.cookie-overlay.active .cookie-banner.elegant-banner {
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
}

.cookie-content strong {
  color: #60a5fa;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.cookie-content p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.cookie-link {
  color: #93c5fd;
  text-decoration: underline;
  font-size: 0.85rem;
  font-weight: 500;
}

.cookie-link:hover {
  color: #bfdbfe;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 150px;
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #cbd5e1;
}

.cookie-btn-reject:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: #94a3b8;
}

.cookie-btn-accept {
  background: #3b82f6;
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cookie-btn-accept:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Responsivo Cookies */
@media (max-width: 992px) {
  .cookie-banner.elegant-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }
  .cookie-btns, .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  .cookie-btn {
    flex: 1;
  }
}
