/* Main Stylesheet - Flowgen v9.0 */

/* =========================================
		   CSS VARIABLES & RESET
		   ========================================= */
		:root {
			/* Brand Colors Updated */
			--primary: #1F6FB2;
			--primary-hover: #2E7CC1;
			--secondary: #F4A11A;
			--secondary-hover: #d98e12;
			--dark: #154A78;
			--darker: #0B2A4A;
			--light-blue: #EAF3FB;
			
			--success: #22c55e;
			--success-hover: #16a34a;
			--light: #f8fafc;
			--white: #ffffff;
			--text-main: #1e293b;
			--text-muted: #64748b;
			--border: #e2e8f0;
			--glass-bg: rgba(255, 255, 255, 0.85);
			--glass-border: rgba(255, 255, 255, 0.5);
			--font-main: 'Poppins', sans-serif;
			--transition: all 0.3s ease;
		}

		* { margin: 0; padding: 0; box-sizing: border-box; }
		
		body {
			font-family: var(--font-main);
			color: var(--text-main);
			background-color: var(--white);
			line-height: 1.5;
			overflow-x: hidden;
			scroll-behavior: smooth;
		}

		a { text-decoration: none; color: inherit; }
		ul { list-style: none; }
		button { cursor: pointer; border: none; background: none; font-family: inherit; }
		img { max-width: 100%; height: auto; }

		/* =========================================
		   UTILITIES & TYPOGRAPHY
		   ========================================= */
		.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
		.text-center { text-align: center; }
		.hidden { display: none !important; }
		.flex { display: flex; }
		.grid { display: grid; }
		
		.section-padding { padding: 60px 0; }
		.section-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); line-height: 1.2; }
		.section-subtitle { color: var(--text-muted); max-width: 600px; margin: 0 auto 40px auto; font-size: 0.95rem; }
		
		@media (min-width: 768px) {
			.section-padding { padding: 96px 0; }
			.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; }
			.section-subtitle { margin: 0 auto 3rem auto; font-size: 1.1rem; }
		}

		/* Hide scrollbar */
		::-webkit-scrollbar { width: 8px; height: 8px; }
		::-webkit-scrollbar-track { background: #f1f5f9; }
		::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
		::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
		.hide-scrollbar::-webkit-scrollbar { display: none; }
		.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

		/* =========================================
		   COMPONENTS
		   ========================================= */
		/* Buttons */
		.btn {
			display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
			padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 700;
			transition: var(--transition); text-align: center;
		}
		.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(31, 111, 178, 0.3); }
		.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31, 111, 178, 0.4); }
		.btn-secondary { background: var(--secondary); color: var(--darker); box-shadow: 0 4px 14px rgba(244, 161, 26, 0.3); }
		.btn-secondary:hover { background: var(--secondary-hover); transform: translateY(-2px); }
		.btn-success { background: var(--success); color: var(--white); box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3); }
		.btn-success:hover { background: var(--success-hover); transform: translateY(-2px); }
		.btn-glass { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); color: var(--white); }
		.btn-glass:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
		.btn-outline { border: 1px solid var(--border); background: var(--white); color: var(--text-muted); }
		.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

		/* Glass Cards */
		.glass-card {
			background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
			border: 1px solid var(--glass-border); border-radius: 1.5rem;
		}

		/* =========================================
		   LAYOUT & SECTIONS
		   ========================================= */
		/* Header */
		.site-header {
			position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--white);
			background: var(--glass-bg); backdrop-filter: blur(10px); height: 90px;
			transition: height .25s ease, box-shadow .25s ease;
		}
		.site-header.is-scrolled { height: 64px; box-shadow: 0 4px 16px rgba(15,23,42,.08); }
		.site-header.is-scrolled .logo img { height: 44px; }
		.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
		.logo img { height: 64px; width: auto; transition: var(--transition); }
		.logo img:hover { transform: scale(1.05); }
		
		.nav-links { display: none; gap: 2rem; font-weight: 600; color: var(--text-muted); }
		.nav-links a:hover { color: var(--primary); }
		
		/* Mobile Menu Nav */
		@media (max-width: 767px) {
			.nav-links.active {
				display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
				background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--border);
				box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); gap: 1.5rem; text-align: center; z-index: 40;
			}
		}

		.header-actions { display: flex; align-items: center; gap: 1rem; }
		.logo { display: flex; align-items: center; }
		.header-wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: .9rem; transition: var(--transition); }
		.header-wa i { font-size: 1.4rem; }
		.header-wa span { display: none; }
		.header-wa:hover { background: #1ebe5b; transform: translateY(-1px); }
		.cart-btn, .menu-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
		.logo:focus-visible, .nav-links a:focus-visible, .cart-btn:focus-visible, .menu-btn:focus-visible, .header-wa:focus-visible, .header-quote:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
		.cart-btn { position: relative; font-size: 1.25rem; color: var(--text-muted); transition: var(--transition); }
		.cart-btn:hover { color: var(--primary); transform: scale(1.1); }
		.cart-badge {
			position: absolute; top: -5px; right: -10px; background: #ef4444; color: white;
			font-size: 0.65rem; font-weight: bold; width: 20px; height: 20px;
			display: flex; align-items: center; justify-content: center; border-radius: 50%;
		}
		.menu-btn { display: flex; font-size: 1.5rem; color: var(--text-muted); width: 40px; height: 40px; align-items: center; justify-content: center; }
		
		@media (min-width: 768px) {
			.site-header { height: 100px; }
			.logo img { height: 80px; }
			.site-header.is-scrolled { height: 72px; }
			.site-header.is-scrolled .logo img { height: 52px; }
			.nav-links { display: flex; }
			.menu-btn { display: none !important; }
		}

		.nav-links a { white-space: nowrap; }
		.nav-links a[aria-current="page"] { color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); }
		@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
		@media (max-width: 767px) { .nav-links.active { animation: navDrop .2s ease-out; } .nav-links.active a { padding: .75rem 0; min-height: 44px; } }
		@media (prefers-reduced-motion: reduce) { .site-header, .nav-links.active { transition: none; animation: none; } }
		@media (min-width: 768px) and (max-width: 1199px) { .nav-links { gap: 1rem; font-size: .9rem; } .header-actions { gap: .5rem; } }
		@media (min-width: 1024px) { .header-wa span { display: inline; } }

		/* SPA Views */
		.view-section { padding-bottom: 60px; min-height: 100vh; }
		@media (min-width: 768px) { .view-section { padding-bottom: 96px; } }

		/* 1. Hero */
		.hero { position: relative; min-height: 500px; padding: 80px 0; display: flex; align-items: center; overflow: hidden; }
		.hero-bg { position: absolute; inset: 0; background: var(--dark); }
		.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 20s ease; }
		.hero:hover .hero-bg img { transform: scale(1.1); }
		.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(21,74,120,0.95), rgba(21,74,120,0.3)); }
		.hero-content { position: relative; z-index: 10; width: 100%; }
		.hero-title { font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
		.hero-desc { font-size: 1.1rem; color: #e2e8f0; margin-bottom: 30px; max-width: 600px; }
		.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
		
		@media (min-width: 768px) {
			.hero { min-height: 600px; padding: 120px 0; }
			.hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
			.hero-desc { font-size: 1.25rem; margin-bottom: 2.5rem; }
		}

		/* 2. Trust Strip */
		.trust-strip {
			position: relative; z-index: 20; margin-top: -2rem; background: var(--white);
			border-radius: 1rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); padding: 1.5rem; margin-bottom: 2rem;
		}
		.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
		.trust-item { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-start; }
		.trust-icon { font-size: 1.5rem; }
		.trust-text { font-size: 0.875rem; font-weight: 700; line-height: 1.2; color: var(--text-main); }
		.trust-text span { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); }
		
		@media (max-width: 767px) {
			.trust-strip { padding: 1.25rem 1rem; }
			.trust-grid { gap: 1rem 0.75rem; }
			.trust-item { gap: 0.5rem; min-width: 0; }
			.trust-icon { flex: none; font-size: 1.25rem; }
			.trust-text { font-size: 0.8125rem; min-width: 0; }
		}

		@media (min-width: 768px) {
			.trust-grid { grid-template-columns: repeat(4, 1fr); }
			.trust-item:not(:first-child) { border-left: 1px solid var(--border); padding-left: 1.5rem; }
		}

		/* 3. Responsabilidade Técnica */
		.compliance-section { padding: 20px 0 60px 0; }
		.compliance-box { 
			display: grid; gap: 20px; align-items: center; 
			background-color: var(--light-blue); 
			padding: 30px 20px; border-radius: 1.5rem; 
			border-left: 6px solid var(--secondary); 
			box-shadow: 0 4px 15px rgba(0,0,0,0.05);
		}
		.compliance-icon-wrap { 
			width: 80px; height: 80px; border-radius: 50%; background: var(--white); 
			display: flex; align-items: center; justify-content: center; margin: 0 auto; color: var(--primary); font-size: 2.5rem; flex-shrink: 0; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
		}
		.compliance-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
		.compliance-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
		.compliance-content strong { color: var(--text-main); }

		@media (min-width: 768px) {
			.compliance-section { padding: 20px 0 96px 0; }
			.compliance-box { grid-template-columns: auto 1fr; padding: 3rem; gap: 3rem; }
			.compliance-icon-wrap { width: 100px; height: 100px; font-size: 3.5rem; }
			.compliance-content h2 { font-size: 2rem; margin-bottom: 1rem; }
			.compliance-content p { font-size: 1rem; }
		}

		/* 4. Search Section */
		.search-section { text-align: center; background-color: var(--light-blue); }
		.search-box { position: relative; max-width: 600px; margin: 0 auto 20px auto; background-color: var(--white); }
		.search-input {
			width: 100%; padding: 1rem 1rem 1rem 3rem; border-radius: 9999px; border: 1px solid var(--border);
			font-size: 1rem; outline: none; transition: var(--transition); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); background: transparent;
		}
		.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,111,178,0.2); }
		.search-icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.25rem; }
		.search-dropdown {
			position: absolute; top: 100%; left: 0; right: 0; margin-top: 0.5rem; background: var(--white);
			border-radius: 1rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); z-index: 50;
			max-height: 300px; overflow-y: auto; text-align: left;
		}
		.search-item { display: flex; align-items: center; justify-content: space-between; padding: 1rem; cursor: pointer; border-bottom: 1px solid var(--border); }
		.search-item:hover { background: var(--light); }
		.pill-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

		@media (min-width: 768px) { .search-input { font-size: 1.125rem; } .pill-tags { gap: 15px; } }

		/* 5. Categories */
		.categories { background-color: var(--white); }
		.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; justify-content: center; margin-top: 2rem; }
		.cat-card {
			background: var(--light); border: 1px solid var(--border); border-radius: 1.5rem;
			padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center;
			cursor: pointer; transition: var(--transition); text-align: center;
		}
		.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: var(--primary); }
		.cat-icon-wrap { width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; transition: var(--transition); }
		.cat-card:hover .cat-icon-wrap { background: var(--primary); }
		.cat-icon { font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
		.cat-card:hover .cat-icon { color: var(--white); }
		.cat-name { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
		
		@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
		@media (min-width: 1024px) { .cat-grid { display: flex; flex-wrap: wrap; } .cat-card { width: 160px; height: 160px; } }

		/* 6. Products Grid (Todos os produtos) */
		.products-section { background-color: var(--white); }
		.products-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
		@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
		@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
		@media (min-width: 1024px) { #todos-produtos-grid.products-grid { grid-template-columns: repeat(3, 1fr); } }

		.product-card {
			background: var(--white); border-radius: 1.5rem; padding: 20px; border: 1px solid var(--border);
			display: flex; flex-direction: column; height: 100%; transition: var(--transition); cursor: pointer;
		}
		.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: var(--primary); }
		.product-img-wrap {
			background: var(--light); border-radius: 1rem; height: 200px; margin-bottom: 20px; flex-shrink: 0;
			display: flex; align-items: center; justify-content: center; padding: 1rem; position: relative; overflow: hidden;
		}
		.product-img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.5s ease; }
		.product-card:hover .product-img { transform: scale(1.1); }
		.badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; font-size: 0.625rem; font-weight: bold; text-transform: uppercase; border-radius: 9999px; color: var(--white); z-index: 10; }
		.badge-new { background: var(--primary); }
		
		.product-cat { font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
		.product-title { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
		.product-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
		.btn-add-cart {
			width: 100%; padding: 12px; background: var(--light); color: var(--text-main); font-weight: 700; font-size: 0.9rem;
			border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); margin-top: auto;
		}
		.product-card:hover .btn-add-cart { background: var(--primary); color: var(--white); }
		.card-actions { display: flex; gap: 8px; margin-top: auto; }
		.card-actions .btn-add-cart { flex: 1; width: auto; margin-top: 0; }
		.btn-quote { flex: none; width: 46px; border-radius: 0.75rem; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.25rem; transition: var(--transition); }
		.btn-quote:hover, .btn-quote:focus-visible { filter: brightness(.92); transform: translateY(-2px); }
		.prod-actions { display: flex; gap: 12px; margin-top: auto; align-items: stretch; }
		.prod-actions .btn { flex: 1; width: auto !important; margin-top: 0 !important; padding: 1.1rem; font-size: 1.05rem; }
		.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 9999px; background: var(--white); padding: 4px; }
		.qty-stepper button { width: 44px; height: 44px; border-radius: 50%; color: var(--primary); display: grid; place-items: center; transition: var(--transition); }
		.qty-stepper button:hover { background: var(--light-blue); }
		.qty-stepper span { min-width: 36px; text-align: center; font-weight: 700; font-size: 1.1rem; }
		.btn-quote-wa { width: 100%; margin-top: 12px; padding: 1.1rem; font-size: 1.05rem; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; border-radius: 9999px; }
		.btn-quote-wa:hover { filter: brightness(.93); }
		.btn-quote-wa i { font-size: 1.35rem; }
		@media (max-width: 480px) { .prod-actions { flex-direction: column; } .qty-stepper { align-self: center; } }

		/* 7-8. Carousels */
		.carousel-wrapper { position: relative; margin: 0 -1.25rem; padding: 0 1.25rem; }
		@media (min-width: 768px) { .carousel-wrapper { margin: 0; padding: 0; } }
		
		.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scroll-behavior: smooth; }
		.carousel-item { min-width: 280px; max-width: 280px; scroll-snap-align: start; display: flex; }
		@media (min-width: 768px) { .carousel-item { min-width: 290px; max-width: 290px; } }
		
		.carousel-arrow {
			position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: var(--white);
			border: 1px solid var(--border); border-radius: 50%; display: none; align-items: center; justify-content: center;
			color: var(--text-main); font-size: 1.2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 20; transition: var(--transition);
		}
		.carousel-arrow:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
		.carousel-arrow.left { left: -22px; }
		.carousel-arrow.right { right: -22px; }
		@media (min-width: 1024px) { .carousel-wrapper:hover .carousel-arrow { display: flex; } }

		/* 9. Visual Break 1 */
		.break-section-1 { background-color: var(--primary); color: var(--white); }
		.break-section-1 .section-title { color: var(--white); }
		.break-section-1 .section-subtitle { color: #e2e8f0; }

		/* 10. Kits Section */
		.kits-section { background: var(--darker); color: var(--white); position: relative; overflow: hidden; }
		.kits-bg { position: absolute; inset: 0; opacity: 0.05; background-image: url('https://www.davipiscinas.com.br/wp-content/uploads/2026/03/hero-pool-Cj2fmAhb.webp'); background-size: cover; background-position: center; }
		.kits-grid { display: grid; gap: 20px; position: relative; z-index: 10; }
		@media (min-width: 768px) { .kits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
		
		.kit-card {
			background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 1.5rem;
			padding: 20px; display: flex; flex-direction: column; position: relative; transition: all 0.4s ease;
		}
		.kit-container:hover .kit-card { opacity: 0.5; transform: scale(0.98); }
		.kit-container .kit-card:hover {
			opacity: 1; transform: scale(1.05); background: var(--dark); border-color: var(--secondary);
			box-shadow: 0 0 25px rgba(244, 161, 26, 0.3); z-index: 20;
		}
		.kit-popular { background: var(--dark); border-color: rgba(255,255,255,0.2); transform: scale(1.05); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5); z-index: 10; }
		.kit-tag { position: absolute; top: 0; right: 0; background: var(--secondary); color: var(--darker); font-size: 0.625rem; font-weight: bold; padding: 0.25rem 0.75rem; border-bottom-left-radius: 0.5rem; }
		.kit-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
		.kit-icon { width: 48px; height: 48px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
		.kit-popular .kit-icon { background: rgba(244,161,26,0.2); color: var(--secondary); }
		.kit-card:not(.kit-popular) .kit-icon { background: rgba(255,255,255,0.1); color: #cbd5e1; }
		.kit-list { flex-grow: 1; margin-bottom: 2rem; }
		.kit-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; margin-bottom: 0.75rem; color: #e2e8f0; }
		.kit-list i { color: var(--secondary); font-size: 0.75rem; }
		
		@media (min-width: 768px) { .kit-card { padding: 30px; } }

		/* 11. Tools (Calc/Quiz) */
		.tools-section { background: var(--white); border-bottom: 1px solid var(--border); }
		.tools-grid { display: grid; gap: 20px; }
		@media (min-width: 768px) { .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
		
		.tool-card {
			background: var(--white); border: 1px solid var(--border); border-radius: 1.5rem;
			padding: 20px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05); position: relative; overflow: hidden; transition: var(--transition);
		}
		@media (min-width: 768px) { .tool-card { padding: 2rem; } }
		.tool-card:hover { border-color: var(--primary); }
		.tool-bg-shape { position: absolute; top: 0; right: 0; width: 128px; height: 128px; border-bottom-left-radius: 100%; z-index: 0; transition: transform 0.5s; }
		.tool-card:hover .tool-bg-shape { transform: scale(1.1); }
		.tool-content { position: relative; z-index: 10; display: flex; flex-direction: column; height: 100%; }
		.tool-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 20px; }
		.tool-icon { width: 48px; height: 48px; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
		
		.calc-input { width: 100%; padding: 1rem; background: var(--light); border: 1px solid var(--border); border-radius: 0.75rem; font-size: 1.125rem; font-weight: 500; outline: none; transition: var(--transition); }
		.calc-input:focus { background: var(--white); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,111,178,0.2); }
		.calc-results { background: var(--light-blue); border: 1px solid rgba(31,111,178,0.2); padding: 1.25rem; border-radius: 0.75rem; margin-bottom: 20px; }
		.calc-results li { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(31,111,178,0.1); margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--text-main); }
		.calc-results li strong { color: var(--primary); background: var(--white); padding: 0.25rem 0.75rem; border-radius: 0.375rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
		
		.quiz-opt { width: 100%; text-align: left; padding: 1rem; background: var(--light); border: 1px solid var(--border); border-radius: 0.75rem; font-weight: 500; color: var(--text-main); margin-bottom: 0.75rem; transition: var(--transition); }
		.quiz-opt:hover { background: var(--white); border-color: var(--success); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }

		/* 12. Services */
		.services-section { background: var(--white); }
		.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(1, 1fr); }
		@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
		@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
		
		.srv-card { background: var(--white); border: 1px solid var(--border); border-radius: 1.5rem; padding: 20px; text-align: center; cursor: pointer; transition: var(--transition); display: flex; flex-direction: column; align-items: center; }
		.srv-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); border-color: var(--primary); }
		.srv-icon-wrap { width: 80px; height: 80px; background: var(--light-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background 0.3s; }
		.srv-card:hover .srv-icon-wrap { background: var(--primary); }
		.srv-icon { font-size: 2rem; color: var(--primary); transition: color 0.3s; }
		.srv-card:hover .srv-icon { color: var(--white); }
		.srv-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; transition: color 0.3s; }
		.srv-card:hover .srv-title { color: var(--primary); }
		
		@media (min-width: 768px) { .srv-card { padding: 30px; } }

		/* 13. Plans */
		.plans-section { background: var(--light-blue); }
		.plans-grid { display: grid; gap: 20px; align-items: center; max-width: 1000px; margin: 0 auto; }
		@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
		
		.plan-card { background: var(--white); border: 1px solid var(--border); border-radius: 1.5rem; padding: 20px; display: flex; flex-direction: column; transition: transform 0.3s; }
		@media (min-width: 768px) { .plan-card { padding: 40px 30px; } }
		.plan-card:hover { transform: translateY(-4px); }
		.plan-popular { background: var(--dark); color: var(--white); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: scale(1.05); position: relative; z-index: 10; border-color: transparent; }
		.plan-popular:hover { transform: scale(1.05) translateY(-4px); }
		.plan-tag { position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); background: var(--secondary); color: white; font-size: 0.75rem; font-weight: bold; padding: 0.25rem 1rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; }
		.plan-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
		.plan-target { font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 2rem; }
		.plan-popular .plan-target { color: #60a5fa; }
		.plan-features { flex-grow: 1; margin-bottom: 2.5rem; }
		.plan-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
		.plan-popular .plan-features li { color: #cbd5e1; }
		.plan-features i { color: var(--success); }
		.plan-popular .plan-features i { color: var(--secondary); }

		/* 14. Testimonials */
		.testimonials-section { background: var(--white); }
		.test-grid { display: grid; gap: 20px; }
		@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
		.test-card { background: var(--light); padding: 20px; border-radius: 1.5rem; border: 1px solid var(--border); transition: box-shadow 0.3s; position: relative; }
		@media (min-width: 768px) { .test-card { padding: 30px; } }
		.test-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: var(--primary); }
		.test-stars { color: var(--secondary); font-size: 0.875rem; margin-bottom: 1rem; }
		.test-quote { font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
		.test-author { display: flex; align-items: center; gap: 1rem; }
		.test-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; background: var(--light-blue); color: var(--primary); }

		/* 15. Portfolio / Instagram */
		.portfolio-section { background: var(--darker); color: var(--white); text-align: center; }
		.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
		@media (min-width: 768px) { .port-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0;} }
		.port-item { aspect-ratio: 1/1; background: #1e293b; border-radius: 1rem; overflow: hidden; position: relative; display: block; }
		.port-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.7s ease; }
		.port-item:hover .port-img { transform: scale(1.1); opacity: 1; }
		.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,42,74,0.8), transparent); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1rem; }
		.port-item:hover .port-overlay { opacity: 1; }

		/* 16. Break Section 2 */
		.break-section-2 { background-color: var(--light-blue); }
		.feature-icon-wrap { margin-bottom: 15px; }
		.feature-icon-wrap i { font-size: 3rem; color: var(--primary); transition: transform 0.3s; }
		.step-item:hover .feature-icon-wrap i { transform: scale(1.1); }

		/* 17. Final CTA Section */
		.cta-section { background: var(--primary); color: var(--white); text-align: center; }
		.cta-btn { background: var(--secondary); color: var(--white); font-size: 1rem; padding: 1rem 2rem; border-radius: 9999px; font-weight: 700; display: inline-flex; align-items: center; gap: 0.75rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2); transition: var(--transition); }
		.cta-btn:hover { background: var(--secondary-hover); transform: scale(1.05); box-shadow: 0 15px 30px -5px rgba(244,161,26,0.4); }
		.cta-btn i { color: var(--white); }
		@media (min-width: 768px) { .cta-btn { font-size: 1.125rem; padding: 1.25rem 2.5rem; } }

		/* 18. Local SEO */
		.seo-section { background: var(--white); text-align: center; }
		.seo-eyebrow { display: inline-block; background: var(--light-blue); color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 9999px; margin-bottom: 1rem; }
		.seo-text { max-width: 720px; margin: 0 auto 2rem; }
		.seo-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin: 0 0 0.9rem; }
		.seo-locations-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 1rem; }
		.locations-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 2rem; }
		.loc-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); border: 1px solid var(--border); padding: 0.65rem 1.2rem; border-radius: 9999px; font-size: 0.95rem; font-weight: 600; color: var(--primary); text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: var(--transition); }
		.loc-tag:hover, .loc-tag:focus-visible { border-color: var(--primary); background: var(--light-blue); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31,111,178,.15); }
		.loc-tag--main { background: var(--primary); border-color: var(--primary); color: #fff; }
		.loc-tag--main:hover, .loc-tag--main:focus-visible { background: #185a92; color: #fff; }
		.seo-cta { display: inline-flex; align-items: center; gap: 0.6rem; background: #25D366; color: #fff; font-weight: 700; padding: 0.9rem 1.8rem; border-radius: 9999px; text-decoration: none; transition: var(--transition); }
		.seo-cta:hover { filter: brightness(.93); transform: translateY(-2px); }
		.seo-cta i { font-size: 1.25rem; }

		/* Footer */
		footer { background: var(--dark); color: #cbd5e1; padding: 60px 0 20px 0; border-top: 4px solid var(--secondary); }
		.footer-grid { display: grid; gap: 30px; margin-bottom: 40px; }
		@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 0; margin-bottom: 40px; } }
		@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
		.footer-logo { height: 80px; filter: brightness(0) invert(1); margin-bottom: 20px; }
		.footer-title { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; margin-bottom: 20px; }
		.footer-links li { margin-bottom: 10px; font-size: 0.875rem; }
		.footer-links a:hover { color: var(--white); text-decoration: underline; }
		.footer-trust-msg { font-size: 0.8rem; color: #cbd5e1; margin-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px;}
		.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: #cbd5e1; gap: 10px; }
		@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

		/* =========================================
		   SIDEBAR CART
		   ========================================= */
		.cart-overlay {
			position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
			z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
		}
		.cart-overlay.open { opacity: 1; pointer-events: auto; }
		
		.cart-sidebar {
			position: fixed; top: 0; right: 0; width: 100%; max-width: 400px; height: 100%;
			background: var(--white); z-index: 50; transform: translateX(100%);
			transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s; visibility: hidden; display: flex; flex-direction: column;
			border-left: 1px solid var(--border); box-shadow: -10px 0 25px rgba(0,0,0,0.1);
		}
		.cart-sidebar.open { transform: translateX(0); visibility: visible; transition: transform 0.3s ease-in-out, visibility 0s; }
		
		.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--border); background: var(--light); display: flex; justify-content: space-between; align-items: center; }
		.cart-title { font-size: 1.25rem; font-weight: 700; color: var(--text-main); display: flex; align-items: center; gap: 0.75rem; }
		.cart-close { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: background 0.2s; }
		.cart-close:hover { background: #e2e8f0; }
		
		.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem; background: var(--white); position: relative; }
		.cart-empty { text-align: center; color: var(--text-muted); padding: 5rem 0; display: flex; flex-direction: column; align-items: center; }
		
		.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: 1rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
		.cart-item-info { flex: 1; min-width: 0; }
		.cart-item-title { font-size: 0.875rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
		.cart-item-type { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }
		.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; background: var(--light); padding: 0.25rem; border-radius: 0.5rem; border: 1px solid var(--border); }
		.qty-btn { width: 24px; height: 24px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; }
		.qty-btn:hover { color: var(--primary); }
		.qty-val { font-size: 0.875rem; font-weight: 700; width: 16px; text-align: center; }
		.cart-item-remove { color: #cbd5e1; margin-left: 0.25rem; transition: color 0.2s; }
		.cart-item-remove:hover { color: #ef4444; }

		.cart-footer { padding: 0; border-top: 1px solid var(--border); background: var(--light); display: none; flex-direction: column; }
		.cart-footer.show { display: flex; }
		.cart-clear-bar { padding: 1rem; border-bottom: 1px solid var(--border); }
		.btn-clear { color: #ef4444; font-size: 0.875rem; font-weight: 500; display: flex; align-items: center; gap: 0.25rem; }
		.btn-clear:hover { color: #b91c1c; }
		.cart-checkout-area { padding: 1.5rem; }

		/* =========================================
		   INTERNAL VIEWS (Category, Product, Service, About, Contact)
		   ========================================= */
		.page-header { margin-bottom: 20px; }
		.btn-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-weight: 500; margin-bottom: 20px; transition: color 0.2s; }
		.btn-back:hover { color: var(--primary); }
		.btn-back i { transition: transform 0.2s; }
		.btn-back:hover i { transform: translateX(-4px); }
		@media (min-width: 768px) { .page-header { margin-bottom: 40px; } .btn-back { margin-bottom: 30px; } }
		
		/* Product Single */
		.prod-single-card { background: var(--white); border-radius: 1.5rem; border: 1px solid var(--border); overflow: hidden; display: grid; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
		@media (min-width: 768px) { .prod-single-card { grid-template-columns: 1fr 1fr; } }
		.prod-single-img-area { background: var(--light); padding: 2rem; display: flex; align-items: center; justify-content: center; position: relative; border-right: 1px solid var(--border); }
		.prod-single-info-area { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
		@media (min-width: 768px) { .prod-single-info-area { padding: 3.5rem; } .prod-single-img-area { padding: 2.5rem; } }
		.info-box { background: var(--light-blue); border: 1px solid #dbeafe; padding: 1rem; border-radius: 0.75rem; display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; }

		/* Service Single */
		.srv-single-card { background: var(--white); border-radius: 1.5rem; border: 1px solid var(--border); padding: 20px; text-align: center; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
		@media (min-width: 768px) { .srv-single-card { padding: 4rem; } }
		.srv-steps-box { background: var(--light); border: 1px solid var(--border); padding: 1.5rem; border-radius: 1rem; text-align: left; margin-bottom: 2.5rem; }
		.srv-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
		@media (min-width: 640px) { .srv-buttons { flex-direction: row; } }
		
		/* About/Contact Pages */
		.internal-page-card { background: var(--white); border-radius: 1.5rem; border: 1px solid var(--border); padding: 30px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
		@media (min-width: 768px) { .internal-page-card { padding: 4rem; } }
		.internal-content h2 { font-size: 1.5rem; color: var(--dark); margin-bottom: 1rem; margin-top: 2rem; }
		.internal-content p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
		.internal-content ul { margin-bottom: 1.5rem; padding-left: 1rem; }
		.internal-content li { display: flex; align-items: center; gap: 10px; margin-bottom: 0.5rem; color: var(--text-muted); }
		.internal-content li i { color: var(--success); }
		
		.contact-info-grid { display: grid; gap: 20px; margin-top: 2rem; }
		@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
		.contact-card { background: var(--light-blue); padding: 20px; border-radius: 1rem; display: flex; align-items: flex-start; gap: 15px; border: 1px solid #dbeafe; }
		.contact-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

		/* =========================================
		   ANIMATIONS & UTILS
		   ========================================= */
		.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
		.reveal.active { opacity: 1; transform: translateY(0); }
		.reveal-zoom { opacity: 0; transform: scale(0.95); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
		.reveal-zoom.active { opacity: 1; transform: scale(1); }
		.slide-up { opacity: 0; transform: translateY(20px); animation: fadeInAnim 0.6s ease-out forwards; }
		
		@keyframes fadeInAnim { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
		.animate-fade-in { animation: fadeInAnim 0.4s ease-out forwards; }
		
		.pulse-soft { animation: pulseSoft 2s infinite; }
		@keyframes pulseSoft { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } }

		/* Toast */
		.toast {
			position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 50; background: var(--white);
			border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; display: flex; align-items: center; gap: 1rem;
			box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); max-width: 300px; pointer-events: none;
			transform: translateX(-150%); opacity: 0; transition: all 0.5s ease;
		}
		@media (min-width: 768px) { .toast { max-width: 350px; bottom: 2rem; left: 2rem; } }
		.toast.show { transform: translateX(0); opacity: 1; }
		.toast-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--light-blue); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
		
		/* Floating WhatsApp */
		.whatsapp-float {
			position: fixed; bottom: 1.5rem; right: 1.5rem; background-color: #25d366; color: #fff;
			border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
			font-size: 1.8rem; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4); z-index: 100; transition: all 0.3s ease;
			animation: pulse-whatsapp 2s infinite;
		}
		@media (min-width: 768px) { .whatsapp-float { bottom: 2rem; right: 2rem; width: 60px; height: 60px; font-size: 2.2rem; } }
		.whatsapp-float:hover { transform: scale(1.1); background-color: #20ba56; color: #fff; }
		@keyframes pulse-whatsapp { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }


/* Crédito "Desenvolvido por" */
.dev-credit{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s}
.dev-credit:hover{color:#fff}
.dev-credit img{height:28px;width:auto;opacity:.7;transition:opacity .2s}
.dev-credit:hover img{opacity:1}
/* evita que o botão flutuante do WhatsApp cubra o crédito */
.footer-bottom{padding-bottom:84px}
@media (min-width:768px){.footer-bottom{padding-bottom:20px;padding-right:84px}}


/* =========================================
   HEADER v4 (topbar, nav centralizado, CTA hierarquia)
   ========================================= */
.topbar { display: none; background: var(--darker); color: #cfe3f5; font-size: .8rem; }
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar i { margin-right: .45rem; color: var(--secondary); }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--secondary); }

.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--border); }
.header-inner { gap: 1.5rem; }
.logo { flex: 0 0 auto; }

.nav-links a { position: relative; padding: .5rem .1rem; color: #334155; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { box-shadow: none; }
.nav-links a.nav-cta { display: none; }
@media (min-width: 768px) { .nav-links { flex: 1; justify-content: center; } }

.header-actions { flex: 0 0 auto; }
.cart-btn { border: 1.5px solid var(--primary); color: var(--primary); background: #fff; border-radius: 999px; height: 44px; min-width: 44px; padding: 0; gap: .5rem; font-weight: 700; font-size: 1.05rem; }
.cart-btn:hover { background: var(--primary); color: #fff; transform: none; }
.cart-label { display: none; font-size: .9rem; }
@media (min-width: 1024px) { .cart-btn { padding: 0 1rem; } .cart-label { display: inline; } }
.cart-badge { top: -7px; right: -7px; border: 2px solid #fff; box-sizing: content-box; width: 18px; height: 18px; }

@media (max-width: 767px) {
	.nav-links.active { align-items: stretch; text-align: left; gap: 0; padding: .25rem 1.25rem 1.25rem; max-height: calc(100vh - 70px); overflow-y: auto; }
	.nav-links.active a { padding: 1rem 0; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--border); font-size: 1.05rem; color: var(--dark); }
	.nav-links.active a::after { display: none; }
	.nav-links.active a[aria-current="page"] { color: var(--primary); }
	.nav-links.active a.nav-cta { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; border: 0; border-radius: 12px; background: #25D366; color: #fff; font-weight: 700; min-height: 52px; }
}


/* =========================================
   NAVEGAÇÃO v5 (destaque, scroll com offset, scrollspy)
   ========================================= */
section[id], .view-section { scroll-margin-top: 96px; }
.nav-links a[aria-current] { color: var(--primary); }
.nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links a.nav-featured { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: var(--secondary); color: var(--darker); font-weight: 700; box-shadow: 0 2px 8px rgba(244,161,26,.28); transition: background .2s ease, transform .2s ease; }
.nav-links a.nav-featured::after { display: none; }
.nav-links a.nav-featured:hover { background: var(--secondary-hover); color: var(--darker); transform: translateY(-1px); }
.nav-links a.nav-featured[aria-current] { box-shadow: 0 0 0 2px var(--darker) inset, 0 2px 8px rgba(244,161,26,.28); color: var(--darker); }
@media (max-width: 767px) {
	.nav-links.active a.nav-featured { background: #FFF4E0; color: var(--darker); border: 0; border-left: 4px solid var(--secondary); border-radius: 8px; padding: 1rem .9rem; margin: .75rem 0 .25rem; }
}


/* =========================================
   HERO SLIDESHOW
   ========================================= */
.hs { position: relative; background: var(--darker); color: #fff; overflow: hidden; }
.hs-track { display: grid; }
.hs-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: 540px; padding: 72px 0 104px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-bg { position: absolute; inset: 0; background: var(--dark); }
.hs-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(21,74,120,.95), rgba(21,74,120,.3)); }
.hs-slide--filter .hs-bg { background: linear-gradient(120deg, var(--darker), var(--dark)); }
.hs-slide--filter .hs-bg::after { display: none; }
.hs-slide--filter .hs-bg img { position: absolute; right: 0; top: 0; width: 62%; opacity: 1; filter: brightness(.92); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.hs-content { position: relative; z-index: 2; width: 100%; }
.hs-text { max-width: 620px; }
.hs-tag { display: inline-block; background: var(--secondary); color: var(--darker); font-weight: 800; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem; }
.hs-title { font-size: 2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; color: #fff; }
.hs-desc { font-size: 1.05rem; color: #e2e8f0; margin-bottom: 1.75rem; max-width: 560px; }
.hs a.btn { text-decoration: none; }
.hs-controls { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 5; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; }
.hs-dots { display: flex; gap: .25rem; }
.hs-dot { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.hs-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .25s ease, background .25s ease; }
.hs-dot.is-active::before { width: 28px; background: var(--secondary); }
.hs-arrows { display: flex; gap: .5rem; }
.hs-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(11,42,74,.45); color: #fff; backdrop-filter: blur(6px); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease; }
.hs-btn:hover { background: rgba(11,42,74,.8); }
.hs-btn:focus-visible, .hs-dot:focus-visible, .hs a:focus-visible, .hs .btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
@media (min-width: 768px) {
	.hs-slide { min-height: 640px; padding: 110px 0 120px; }
	.hs-title { font-size: 3.2rem; }
	.hs-desc { font-size: 1.2rem; margin-bottom: 2.25rem; }
}
@media (max-width: 767px) {
	.hs-slide--filter .hs-bg img { width: 100%; opacity: .32; -webkit-mask-image: none; mask-image: none; }
	.hs-controls { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }

/* Vídeo de fundo (slide 2) */
.hs-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hs-video.is-ready { opacity: 1; }
.hs-video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hs-bg:has(.hs-video)::after { z-index: 1; }
@media (max-width: 899px), (prefers-reduced-motion: reduce) { .hs-video { display: none; } }

/* Vídeo de fundo (slide 1): overlay para legibilidade do texto */
.hs-slide--filter .hs-bg:has(.hs-video)::after { display: block; z-index: 1; background: linear-gradient(to right, rgba(11,42,74,.92) 0%, rgba(11,42,74,.65) 45%, rgba(11,42,74,.25) 100%); }

/* Botão flutuante de WhatsApp menor no celular (cobria conteúdo) */
@media (max-width: 560px) { .joinchat .joinchat__button { width: 48px !important; height: 48px !important; } .joinchat { --sep: 14px !important; } }
@media (max-width: 639px) { .cat-grid .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); } }
.dev-credit { min-height: 44px; }
