/* ========================================
   BBT ELITE - Premium Dark Theme
   Tema: Ultra Premium Glass & Orange
   Auditado: Mobile First & Performance
   ======================================== */

:root {
	--bbt-orange: #f89d00;
	--bbt-orange-glow: rgba(248, 157, 0, 0.4);
	--bbt-dark-bg: #050505;
	--bbt-dark-surface: rgba(20, 20, 20, 0.4);
	--bbt-dark-surface-2: rgba(30, 30, 30, 0.6);
	--bbt-text-primary: #ffffff;
	--bbt-text-secondary: #b0b0b0;
	--bbt-text-muted: #6b6b6b;
	--bbt-border: rgba(255, 255, 255, 0.08);
	--bbt-border-highlight: rgba(248, 157, 0, 0.3);
	--bbt-glass-bg: rgba(10, 10, 10, 0.5);
	--bbt-glass-border: rgba(255, 255, 255, 0.1);
	--bbt-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	--bbt-glow-orange: 0 0 20px rgba(248, 157, 0, 0.25);
	--transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Animações de Fundo
   ======================================== */
@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Animação de mudança de cor (Branco -> Laranja/Dourado) */
@keyframes colorPulse {
	0%, 100% { color: #ffffff; text-shadow: 0 0 5px rgba(255,255,255,0.2); }
	50% { color: #f89d00; text-shadow: 0 0 15px rgba(248, 157, 0, 0.6), 0 0 30px rgba(248, 157, 0, 0.3); }
}

/* ========================================
   Base Reset & Typography (Mobile First)
   ======================================== */

body {
	/* 1. Gradiente Base Quase Preto com toque sutil de cor */
	background: linear-gradient(-45deg, #050505, #0a0a0a, #080808, #1a1a1a) !important;
	background-size: 400% 400% !important;
	animation: gradientShift 20s ease infinite !important;
	
	/* 2. Sobreposição de Textura (Noise) e Camadas de Cor */
	background-image: 
		linear-gradient(-45deg, rgba(5,5,5,0.9), rgba(15,15,15,0.95), rgba(8,8,8,0.9), rgba(30,30,30,0.8)),
		url("image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E") !important;
	
	background-size: 400% 400%, 300px 300px !important;
	background-attachment: fixed, fixed !important;
	background-position: 0% 50%, 0 0 !important;
	
	color: var(--bbt-text-primary) !important;
	font-family: 'Raleway', Helvetica, sans-serif !important;
	overflow-x: hidden;
	line-height: 1.75;
	font-size: 16px; /* Base mobile legível */
}

/* Garantir que o wrapper não cubra o fundo animado */
#wrapper, .wrapper.style1, .wrapper.style2, .wrapper.style3 {
	background: transparent !important;
	box-shadow: none !important;
}

body, input, select, textarea {
	font-weight: 300;
	letter-spacing: 0.025em;
	color: var(--bbt-text-secondary);
}

.titulo, h1, h2, h3, h4, h5, h6 {
	font-family: 'Archivo Black', Helvetica, sans-serif;
	color: var(--bbt-text-primary) !important;
	letter-spacing: -0.025em;
	margin: 0 0 1rem 0;
	line-height: 1.2;
}

/* Tipografia Escalonada Mobile First */
h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 500; }

.bbt-orange { color: var(--bbt-orange) !important; }
.highlight-text { color: #ffd890; margin-right: 8px; }

a {
	color: inherit;
	border-bottom-color: var(--bbt-border);
	transition: var(--transition-smooth);
	text-decoration: none;
}

a:hover {
	border-bottom-color: var(--bbt-orange);
	color: var(--bbt-orange);
}

p { margin: 0 0 1.5em 0; }

/* ========================================
   Layout & Wrapper (Mobile First)
   ======================================== */

.wrapper.style1 {
	padding: 3em 1.5em; /* Padding seguro para mobile */
	background: transparent !important;
}

.wrapper > .inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1em;
	position: relative;
	z-index: 1;
}

/* ========================================
   Hero Marquee Animation (Sincronizada)
   ======================================== */

.hero-marquee {
	position: relative;
	overflow: hidden;
	padding: 1.5em 0;
	margin-bottom: 2.5em;
	border-bottom: 1px solid var(--bbt-border);
	background: rgba(0,0,0,0.2);
	backdrop-filter: blur(5px);
	border-radius: 0.5rem;
}

.marquee-line {
	font-family: 'Archivo Black', sans-serif;
	font-size: 2rem; /* Ajuste conforme necessário para mobile/desktop */
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #ffffff; /* Base branca */
	text-align: center;
	margin: -0.4em 0;
	opacity: 0.6;
	animation: marqueeGlow 6s ease-in-out infinite;
	white-space: nowrap;
	transition: color 0.5s ease, opacity 0.5s ease;
}

/* Sequência sincronizada: um de cada vez */
.marquee-line:nth-child(1) { animation-delay: 0s; }
.marquee-line:nth-child(2) { animation-delay: 2s; }
.marquee-line:nth-child(3) { animation-delay: 4s; }

@keyframes marqueeGlow {
	0%, 100% { 
		color: #ffffff; 
		opacity: 0.5; 
		text-shadow: none;
	}
	50% { 
		color: var(--bbt-orange); 
		opacity: 1; 
		text-shadow: 0 0 20px var(--bbt-orange-glow), 0 0 40px var(--bbt-orange);
	}
}

/* Ajustes Mobile para o tamanho da fonte */
@media screen and (max-width: 736px) {
	.marquee-line {
		font-size: 1.2rem;
		letter-spacing: 0.15em;
	}
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
	text-align: center;
	margin: 0 0 2.5em 0;
	padding: 0 0.5em;
}

.section-header h1 {
	font-size: 2rem;
	margin-bottom: 0.5em;
	background: linear-gradient(135deg, #fff 0%, #ccc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.section-header h2 {
	font-size: 1.6rem;
	margin-bottom: 0.75em;
	position: relative;
	display: inline-block;
}

.section-header h2:before {
	content: '';
	display: block;
	width: 3em;
	height: 2px;
	background: var(--bbt-orange);
	margin: 0 auto 1em auto;
	border-radius: 2px;
	box-shadow: var(--bbt-glow-orange);
}

.section-header h3 {
	font-size: 1.3rem;
	color: var(--bbt-text-primary);
	margin-bottom: 0.5em;
}

.section-header p {
	color: var(--bbt-text-muted);
	font-size: 1rem;
	max-width: 100%;
	margin: 0 auto;
	line-height: 1.6;
}

/* ========================================
   Glass Panels & Boxes (Glassmorphism Real)
   ======================================== */

.box, .glass-panel {
	background: var(--bbt-glass-bg) !important;
	border: 1px solid var(--bbt-glass-border);
	border-radius: 1rem;
	padding: 1.5em; /* Padding mobile */
	margin-bottom: 1.5em;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: var(--bbt-glass-shadow);
	transition: var(--transition-smooth);
}

.box.style2, .glass-panel {
	border-color: var(--bbt-border-highlight);
	box-shadow: var(--bbt-glass-shadow), inset 0 0 20px rgba(248, 157, 0, 0.05);
}

.box:hover, .glass-panel:hover {
	border-color: var(--bbt-orange);
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), var(--bbt-glow-orange);
	background: rgba(20, 20, 20, 0.6) !important;
}

.elite-intro {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 1 !important;
	backdrop-filter: none !important;
}

.elite-intro p {
	margin-bottom: 1.25em;
	line-height: 1.8;
	text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.elite-intro strong { color: var(--bbt-text-primary); font-weight: 500; }

.elite-quote {
	border-left: 3px solid var(--bbt-orange);
	padding: 1.25em 1.5em;
	margin: 2em 0;
	background: linear-gradient(90deg, rgba(248, 157, 0, 0.08), transparent);
	border-radius: 0 0.5rem 0.5rem 0;
	backdrop-filter: blur(5px);
	border-top: 1px solid rgba(255,255,255,0.05);
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

.elite-quote p { margin: 0; font-style: italic; color: var(--bbt-text-secondary); }

/* ========================================
   Feature Grid (Mobile First)
   ======================================== */

.feature-grid {
	display: grid;
	grid-template-columns: 1fr; /* Coluna única no mobile */
	gap: 1.5em;
	margin: 2em 0;
}

.feature-item {
	background: rgba(20, 20, 20, 0.4);
	border: 1px solid var(--bbt-border);
	border-radius: 0.75rem;
	padding: 1.5em;
	text-align: center;
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.feature-item:before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--bbt-orange), transparent);
	opacity: 0;
	transition: var(--transition-smooth);
}

.feature-item:hover {
	border-color: var(--bbt-orange);
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--bbt-glow-orange);
	background: rgba(30, 30, 30, 0.5);
}

.feature-item:hover:before { opacity: 1; }

.feature-item i {
	font-size: 2em;
	color: var(--bbt-orange);
	margin-bottom: 1em;
	display: block;
	filter: drop-shadow(0 0 5px rgba(248, 157, 0, 0.4));
}

.feature-item h4 { color: var(--bbt-text-primary); margin: 0 0 0.75em 0; font-size: 1.1em; }
.feature-item p { margin: 0; font-size: 0.95em; color: var(--bbt-text-muted); }

/* ========================================
   Premium Cards / Planos
   ======================================== */

.card {
	background: rgba(15, 15, 15, 0.5);
	border: 1px solid var(--bbt-border);
	border-radius: 1.25rem;
	padding: 1.5em;
	margin-bottom: 1.5em;
	text-align: center;
	transition: var(--transition-smooth);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card:hover {
	border-color: var(--bbt-orange);
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--bbt-glow-orange);
	background: rgba(25, 25, 25, 0.6);
}

.card-title {
	font-family: 'Archivo Black', sans-serif;
	font-size: 1.2rem;
	color: var(--bbt-text-primary);
	margin: 0 0 1em 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

.card-icon { color: var(--bbt-orange); font-size: 1.1em; filter: drop-shadow(0 0 8px rgba(248, 157, 0, 0.4)); }
.card-desc { color: var(--bbt-text-secondary); font-size: 0.95em; margin: 0 0 1.5em 0; line-height: 1.6; flex-grow: 1; }
.card-price { font-family: 'Archivo Black', sans-serif; font-size: 1.8rem; color: var(--bbt-orange); margin: 0 0 1em 0; text-shadow: 0 0 20px var(--bbt-orange-glow); }

.card-details {
	color: var(--bbt-text-muted);
	font-size: 0.85em;
	margin: 0 0 1.5em 0;
	line-height: 1.7;
	padding: 1em;
	background: rgba(248, 157, 0, 0.05);
	border-radius: 0.5rem;
	border-left: 2px solid var(--bbt-border-highlight);
	backdrop-filter: blur(4px);
}

.card .button { margin-top: auto; }

/* Card destaque - Top Tier */
.card[style*="border-color: var(--bbt-orange)"] {
	border-width: 2px;
	background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(10, 10, 10, 0.8)) !important;
	border-color: var(--bbt-orange) !important;
	box-shadow: 0 0 30px rgba(248, 157, 0, 0.15), inset 0 0 20px rgba(248, 157, 0, 0.05);
}

.card[style*="border-color: var(--bbt-orange)"]:before {
	content: 'Preferência Elite';
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bbt-orange);
	color: #000;
	font-family: 'Archivo Black', sans-serif;
	font-size: 0.65em;
	padding: 0.3em 1em;
	border-radius: 2em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(248, 157, 0, 0.4);
	z-index: 2;
	white-space: nowrap;
}

/* Card personalizado */
.card[style*="dashed"] {
	background: linear-gradient(145deg, rgba(248, 157, 0, 0.05), rgba(0, 0, 0, 0.4)) !important;
	border-style: dashed !important;
	border-color: var(--bbt-border-highlight) !important;
}

/* ========================================
   Buttons - Premium Style
   ======================================== */

.button, input[type="submit"], input[type="reset"], input[type="button"], button {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--bbt-border) !important;
	border-radius: 3em !important;
	color: var(--bbt-text-primary) !important;
	font-family: 'Archivo Black', sans-serif;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	padding: 0 2em;
	height: 3.2em;
	line-height: 3.2em;
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(4px);
	display: inline-block;
	text-align: center;
	cursor: pointer;
}

.button:before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(248, 157, 0, 0.2), transparent);
	transition: left 0.5s ease;
}

.button:hover {
	border-color: var(--bbt-orange) !important;
	box-shadow: var(--bbt-glow-orange);
	transform: translateY(-2px);
	background: rgba(248, 157, 0, 0.1);
}

.button:hover:before { left: 100%; }

.button.primary {
	background: var(--bbt-orange) !important;
	border-color: var(--bbt-orange) !important;
	color: #000 !important;
	box-shadow: 0 4px 20px rgba(248, 157, 0, 0.4);
	font-weight: 700;
}

.button.primary:hover {
	background: #ffb347 !important;
	border-color: #ffb347 !important;
	box-shadow: 0 6px 30px rgba(248, 157, 0, 0.6);
	transform: translateY(-3px);
}

.button.fit { width: 100%; display: flex; justify-content: center; align-items: center; }
.button i { margin-right: 0.5em; }

/* ========================================
   Final CTA Box
   ======================================== */

.final-cta-box {
	border: 1px solid var(--bbt-orange) !important;
	background: linear-gradient(145deg, rgba(248, 157, 0, 0.1), rgba(0, 0, 0, 0.6)) !important;
	box-shadow: 0 0 40px rgba(248, 157, 0, 0.15), inset 0 0 30px rgba(248, 157, 0, 0.05) !important;
	animation: pulseGlow 4s ease-in-out infinite;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 2em 1.5em;
	border-radius: 1rem;
	text-align: center;
	margin-top: 2em;
}

@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 30px rgba(248, 157, 0, 0.1), inset 0 0 20px rgba(248, 157, 0, 0.05); }
	50% { box-shadow: 0 0 60px rgba(248, 157, 0, 0.3), inset 0 0 40px rgba(248, 157, 0, 0.1); }
}

.final-cta-box i { animation: floatIcon 3s ease-in-out infinite; display: block; margin: 0 auto 15px auto; font-size: 2em; color: var(--bbt-orange); }

@keyframes floatIcon {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ========================================
   Forms & Inputs
   ======================================== */

input[type="text"], input[type="password"], input[type="email"], select, textarea {
	background: rgba(0, 0, 0, 0.4) !important;
	border-color: var(--bbt-border) !important;
	color: var(--bbt-text-primary) !important;
	border-radius: 0.5rem;
	padding: 0 1em;
	height: 3em;
	width: 100%;
	backdrop-filter: blur(4px);
	box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
	border-color: var(--bbt-orange) !important;
	box-shadow: 0 0 0 2px var(--bbt-orange-glow) !important;
	background: rgba(0, 0, 0, 0.6) !important;
	outline: none;
}

label { color: var(--bbt-text-primary); font-weight: 500; margin-bottom: 0.5em; display: block; }

select {
	background-image: url("image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23f89d00' /%3E%3C/svg%3E");
	background-size: 1.25em;
	background-repeat: no-repeat;
	background-position: calc(100% - 1em) center;
	appearance: none;
}

select option { background: #121212; color: var(--bbt-text-primary); }

/* ========================================
   Header & Menu
   ======================================== */

#header ul li a[href="#menu"] {
	background-color: rgba(20, 20, 20, 0.8) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(10px);
	border-radius: 50%;
}

#menu {
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
	backdrop-filter: blur(20px);
}

#menu ul.links li { border-top-color: var(--bbt-border); }
#menu ul.links li a { color: var(--bbt-text-primary); transition: var(--transition-smooth); }
#menu ul.links li a:hover { color: var(--bbt-orange); padding-left: 10px; }
#menu ul.links li a.active { color: var(--bbt-orange); font-weight: 500; }

/* ========================================
   Footer
   ======================================== */

#footer {
	background: rgba(10, 10, 10, 0.8);
	border-top: 1px solid var(--bbt-border);
	backdrop-filter: blur(10px);
	padding: 3em 1.5em;
	text-align: center;
}

#footer .copyright { opacity: 0.6; color: var(--bbt-text-muted) !important; font-size: 0.85em; }
#footer a { color: var(--bbt-text-primary); }
#footer a:hover { color: var(--bbt-orange); }

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-orange { color: var(--bbt-orange) !important; }
.mt-2 { margin-top: 2em; }
.mb-2 { margin-bottom: 2em; }
.row { display: flex; flex-wrap: wrap; margin: 0 -0.5em; }
.col-12, .col-6, .col-4, .col-3 { width: 100%; padding: 0 0.5em; margin-bottom: 1.5em; box-sizing: border-box; }

/* ========================================
   Responsive Breakpoints (Min-Width)
   ======================================== */

/* Tablet Portrait (>= 768px) */
@media screen and (min-width: 768px) {
	h1 { font-size: 2.8rem; }
	h2 { font-size: 2.2rem; }
	.wrapper.style1 { padding: 4em 2em; }
	.wrapper > .inner { max-width: 90%; padding: 0; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.col-6 { width: 50%; }
	.col-4, .col-3 { width: 50%; }
	.section-header p { max-width: 80%; }
}

/* Tablet Landscape / Small Desktop (>= 980px) */
@media screen and (min-width: 980px) {
	h1 { font-size: 3.25rem; }
	h2 { font-size: 2.5rem; }
	.wrapper.style1 { padding: 6em 3em; }
	.wrapper > .inner { max-width: 95%; width: 72em; }
	.feature-grid { grid-template-columns: repeat(4, 1fr); }
	.col-4 { width: 33.333%; }
	.col-3 { width: 25%; }
	.col-6, .col-12 { margin-bottom: 0; }
	.section-header p { max-width: 600px; }
	.card { padding: 2em; }
	.final-cta-box { padding: 3em 2em; }
}

/* Large Desktop (>= 1280px) */
@media screen and (min-width: 1280px) {
	.wrapper.style1 { padding: 8em 0; }
	h1 { font-size: 3.5rem; }
	.feature-item:hover { transform: translateY(-6px); }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; border: 1px solid #050505; }
::-webkit-scrollbar-thumb:hover { background: var(--bbt-orange); }

::selection { background: var(--bbt-orange); color: #000; }
html { scroll-behavior: smooth; }