/* ============================================================ */
/* FLIPPER BOYS HOMEPAGE CSS — ASTRA CHILD OPTIMIZED          */
/* ✅ Consolidated & Minified | ✅ Performance Optimized       */
/* ============================================================ */

/* ===== VARIÁVEIS CSS ===== */
:root {
  --fb-primary: #8163fa;
  --fb-primary-dark: #6d4fe0;
  --fb-secondary: #00d4ff;
  --fb-dark: #0a0f1e;
  --fb-card: #111827;
  --fb-border: rgba(0, 212, 255, 0.15);
  --fb-text: #e2e8f0;
  --fb-muted: #64748b;
  --fb-star: #fbbf24;
  --fb-gradient-primary: linear-gradient(135deg, #8163fa, #6d4fe0);
  --fb-gradient-secondary: linear-gradient(90deg, #00d4ff, #0066ff);
  --fb-gradient-dark: linear-gradient(135deg, #0a0f1e 0%, #1a1a3e 100%);
  --fb-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --fb-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --fb-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
  --fb-transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== BARRA TOPO SOCIAL PROOF ===== */
.fb-topbar {
  background: linear-gradient(90deg, #0a0f1e 0%, #1a1a3e 50%, #0a0f1e 100%);
  padding: 10px 20px; text-align: center;
  font-family: 'DM Sans', 'Open Sans', sans-serif;
  font-size: 13px; color: var(--fb-text);
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 20px;
  border-bottom: 1px solid var(--fb-border);
}
.fb-topbar .tb-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.fb-topbar .tb-star { color: var(--fb-star); letter-spacing: 1px; }
.fb-topbar .tb-hl { color: var(--fb-secondary); font-weight: 600; }
.fb-topbar .tb-sep { color: rgba(255, 255, 255, 0.2); font-size: 18px; line-height: 1; }
.fb-topbar a { color: var(--fb-secondary); text-decoration: none; font-weight: 600; transition: var(--fb-transition); }
.fb-topbar a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .fb-topbar .tb-sep { display: none; }
  .fb-topbar { gap: 4px 12px; font-size: 12px; padding: 8px 16px; }
}

/* ===== HERO SECTION ===== */
.hero-title { font-size: clamp(28px, 5vw, 48px) !important; font-weight: 800 !important; line-height: 1.2 !important; margin-bottom: 16px !important; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }
.hero-subtitle { font-size: clamp(15px, 2.5vw, 18px) !important; line-height: 1.6 !important; margin-bottom: 28px !important; opacity: 0.95; }
.hero-cta-primary .wp-block-button__link { background: var(--fb-gradient-secondary) !important; color: #fff !important; font-weight: 700; padding: 14px 32px !important; border-radius: 50px !important; transition: var(--fb-transition); box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3); }
.hero-cta-primary .wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 212, 255, 0.45); }
.hero-cta-secondary .wp-block-button__link { background: transparent !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, 0.3) !important; font-weight: 700; padding: 12px 28px !important; border-radius: 50px !important; transition: var(--fb-transition); }
.hero-cta-secondary .wp-block-button__link:hover { border-color: rgba(255, 255, 255, 0.8) !important; background: rgba(255, 255, 255, 0.1) !important; }

/* ===== INTRO SECTION ===== */
.intro-description { max-width: 900px; margin: 0 auto; font-size: 15px; line-height: 1.8; color: #4b5563; }

/* ===== MARCAS DISPONÍVEIS ===== */
.fb-brands { background: #f8f9fb; padding: 40px 24px; text-align: center; font-family: 'DM Sans', 'Open Sans', sans-serif; }
.fb-brands h3 { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #6b7280; margin-bottom: 24px; }
.fb-brands-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; max-width: 900px; margin: 0 auto; }
.fb-brand-badge { background: #fff; border: 1px solid #e5e7eb; border-radius: 50px; padding: 10px 22px; font-size: 14px; font-weight: 600; color: #374151; transition: var(--fb-transition); box-shadow: var(--fb-shadow-sm); }
.fb-brand-badge:hover { border-color: var(--fb-primary); color: var(--fb-primary); box-shadow: 0 4px 16px rgba(129, 99, 250, 0.15); transform: translateY(-2px); }
@media (max-width: 480px) { .fb-brand-badge { padding: 8px 16px; font-size: 13px; } }

/* ===== CARDS DE PRODUTOS ===== */
.products-section-title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; color: #0a0f1e; margin: 48px 0 32px; text-align: center; }
.card-description { font-size: 14px; line-height: 1.7; color: #4b5563; margin: 16px 0 24px; text-align: center; }
.card-cta .wp-block-button__link { background: var(--fb-primary) !important; color: #fff !important; font-weight: 700; padding: 12px 28px !important; border-radius: 50px !important; transition: var(--fb-transition); border: 1px solid var(--fb-primary); }
.card-cta .wp-block-button__link:hover { background: var(--fb-primary-dark) !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129, 99, 250, 0.3); }

/* ===== COMO FUNCIONA ===== */
.fb-how { background: var(--fb-gradient-dark); padding: 80px 24px; font-family: 'DM Sans', 'Open Sans', sans-serif; text-align: center; }
.fb-how-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--fb-secondary); margin-bottom: 14px; padding: 6px 16px; border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 50px; background: rgba(0, 212, 255, 0.05); }
.fb-how h3 { font-size: clamp(22px, 4vw, 36px); font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.fb-how h3 span { background: var(--fb-gradient-secondary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fb-how-sub { color: rgba(255, 255, 255, 0.6); font-size: 15px; max-width: 520px; margin: 0 auto 56px; line-height: 1.7; }
.fb-how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto 56px; position: relative; }
.fb-how-steps::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(0, 102, 255, 0.4), rgba(0, 212, 255, 0.1)); z-index: 0; }
.fb-how-step { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(0, 212, 255, 0.12); border-radius: 20px; padding: 32px 20px 28px; transition: var(--fb-transition); }
.fb-how-step:hover { border-color: rgba(0, 212, 255, 0.4); background: rgba(255, 255, 255, 0.07); transform: translateY(-4px); }
.fb-how-num { width: 56px; height: 56px; background: var(--fb-gradient-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }
.fb-how-step h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.fb-how-step p { color: rgba(255, 255, 255, 0.55); font-size: 13px; line-height: 1.65; }
.fb-how-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--fb-gradient-secondary); color: #fff !important; font-weight: 700; font-size: 15px; padding: 16px 36px; border-radius: 50px; text-decoration: none !important; transition: var(--fb-transition); box-shadow: 0 8px 32px rgba(0, 212, 255, 0.25); }
.fb-how-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 212, 255, 0.4); }
@media (max-width: 900px) { .fb-how-steps { grid-template-columns: repeat(2, 1fr); } .fb-how-steps::before { display: none; } }
@media (max-width: 520px) { .fb-how-steps { grid-template-columns: 1fr; } .fb-how { padding: 56px 20px; } }

/* ===== DEPOIMENTOS ===== */
.fb-testimonials { background: var(--fb-dark); padding: 80px 24px; font-family: 'DM Sans', sans-serif; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--fb-secondary); margin-bottom: 14px; padding: 6px 16px; border: 1px solid var(--fb-border); border-radius: 50px; background: rgba(0, 212, 255, 0.05); }
.section-header h3 { font-family: 'Syne', sans-serif; font-size: clamp(26px, 4vw, 42px); font-weight: 800; color: #fff; line-height: 1.15; }
.section-header h3 span { background: var(--fb-gradient-secondary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; gap: 16px; } }
.testimonial-card { background: var(--fb-card); border: 1px solid var(--fb-border); border-radius: 20px; padding: 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: var(--fb-transition); animation: fadeUp 0.6s ease both; }
.testimonial-card:nth-child(1) { animation-delay: 0.05s; }
.testimonial-card:nth-child(2) { animation-delay: 0.12s; }
.testimonial-card:nth-child(3) { animation-delay: 0.19s; }
.testimonial-card:nth-child(4) { animation-delay: 0.26s; }
.testimonial-card:nth-child(5) { animation-delay: 0.33s; }
.testimonial-card:nth-child(6) { animation-delay: 0.4s; }
.testimonial-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--fb-gradient-secondary); opacity: 0; transition: opacity 0.3s; }
.testimonial-card::after { content: '\201C'; position: absolute; top: 12px; right: 20px; font-size: 72px; font-family: Georgia, serif; color: rgba(0, 212, 255, 0.05); line-height: 1; pointer-events: none; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.35); }
.testimonial-card:hover::before { opacity: 1; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars span { color: var(--fb-star); font-size: 15px; }
.quote { font-size: 14.5px; line-height: 1.75; color: #94a3b8; font-style: italic; flex: 1; margin-bottom: 24px; }
.quote strong { color: var(--fb-text); font-style: normal; font-weight: 600; }
.author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); flex-wrap: wrap; }
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar-wrap svg { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(0, 212, 255, 0.3); display: block; }
.badge { position: absolute; bottom: -2px; right: -2px; width: 17px; height: 17px; background: var(--fb-gradient-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; font-weight: 700; border: 2px solid var(--fb-card); }
.author-info { flex: 1; min-width: 0; }
.author-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.author-location { font-size: 12px; color: var(--fb-muted); display: flex; align-items: center; gap: 4px; }
.author-location::before { content: '📍'; font-size: 11px; }
.verified { font-size: 11px; color: var(--fb-secondary); font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.verified::before { content: '✓'; }
.footer-trust { text-align: center; margin-top: 48px; font-size: 13px; color: var(--fb-muted); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.footer-trust span { color: var(--fb-star); font-size: 15px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) { .fb-testimonials { padding: 48px 16px; } .testimonial-card { padding: 20px; } .section-header { margin-bottom: 36px; } }

/* ===== NAP + LOCALIZAÇÃO ===== */
.fb-location { font-family: 'DM Sans', 'Open Sans', sans-serif; background: #f8f9fb; padding: 64px 24px; }
.fb-location-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; max-width: 1100px; margin: 0 auto; align-items: center; }
.fb-location-info h3 { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: #0a0f1e; margin-bottom: 8px; line-height: 1.25; }
.fb-location-info h3 span { color: var(--fb-primary); }
.fb-location-info p.subtitle { color: #6b7280; font-size: 15px; margin-bottom: 32px; line-height: 1.6; }
.fb-nap-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 16px; }
.fb-nap-item { display: flex; align-items: flex-start; gap: 14px; }
.fb-nap-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(129, 99, 250, 0.13), rgba(129, 99, 250, 0.07)); border: 1px solid rgba(129, 99, 250, 0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fb-nap-text { display: flex; flex-direction: column; }
.fb-nap-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #9ca3af; margin-bottom: 2px; }
.fb-nap-value { font-size: 15px; font-weight: 600; color: #1f2937; }
.fb-nap-value a { color: #1f2937; text-decoration: none; transition: var(--fb-transition); }
.fb-nap-value a:hover { color: var(--fb-primary); text-decoration: underline; }
.fb-badge-24h { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, rgba(0, 201, 167, 0.13), rgba(0, 201, 167, 0.07)); border: 1px solid rgba(0, 201, 167, 0.27); border-radius: 50px; padding: 6px 14px; font-size: 12px; font-weight: 700; color: #059669; margin-bottom: 20px; }
.fb-badge-24h::before { content: '●'; color: #10b981; font-size: 8px; }
.fb-location-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fb-cta-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--fb-primary); color: #fff !important; font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 50px; text-decoration: none !important; transition: var(--fb-transition); }
.fb-cta-primary:hover { background: var(--fb-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129, 99, 250, 0.3); }
.fb-cta-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #1f2937 !important; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 50px; border: 2px solid #e5e7eb; text-decoration: none !important; transition: var(--fb-transition); }
.fb-cta-secondary:hover { border-color: var(--fb-primary); color: var(--fb-primary) !important; }
.fb-map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--fb-shadow-lg); height: 380px; }
.fb-map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 840px) { .fb-location-inner { grid-template-columns: 1fr; gap: 32px; } .fb-map-wrap { height: 280px; } }

/* ===== FAQ ===== */
.fb-faq { background: #fff; padding: 72px 24px; font-family: 'DM Sans', 'Open Sans', sans-serif; }
.fb-faq-inner { max-width: 800px; margin: 0 auto; }
.fb-faq-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--fb-primary); margin-bottom: 12px; padding: 6px 16px; border: 1px solid rgba(129, 99, 250, 0.2); border-radius: 50px; background: rgba(129, 99, 250, 0.04); }
.fb-faq h3 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 800; color: #0a0f1e; margin-bottom: 8px; line-height: 1.25; }
.fb-faq h3 span { color: var(--fb-primary); }
.fb-faq-subtitle { color: #6b7280; font-size: 15px; margin-bottom: 44px; line-height: 1.6; }
.fb-faq-list { display: flex; flex-direction: column; gap: 12px; }
.fb-faq-item { border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.fb-faq-item:hover { border-color: rgba(129, 99, 250, 0.33); box-shadow: 0 4px 20px rgba(129, 99, 250, 0.08); }
.fb-faq-item[open] { border-color: var(--fb-primary); box-shadow: 0 4px 24px rgba(129, 99, 250, 0.12); }
.fb-faq-q { padding: 20px 24px; font-size: 15px; font-weight: 700; color: #1f2937; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; user-select: none; }
.fb-faq-q::-webkit-details-marker { display: none; }
.fb-faq-q::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--fb-primary); flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.fb-faq-item[open] .fb-faq-q::after { transform: rotate(45deg); }
.fb-faq-item[open] .fb-faq-q { color: var(--fb-primary); }
.fb-faq-a { padding: 0 24px 20px; font-size: 14.5px; color: #4b5563; line-height: 1.75; border-top: 1px solid #f3f4f6; }
.fb-faq-a strong { color: #1f2937; }
@media (max-width: 560px) { .fb-faq { padding: 48px 20px; } .fb-faq-q { font-size: 14px; padding: 16px 18px; } .fb-faq-a { padding: 0 18px 16px; } }

/* ===== WHATSAPP FLUTUANTE ===== */
.fb-whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fb-wa-tooltip { background: #1f2937; color: #fff; font-family: 'DM Sans', 'Open Sans', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 50px; white-space: nowrap; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); animation: fb-wa-pulse-tooltip 3s ease-in-out infinite; pointer-events: none; }
.fb-wa-btn { width: 62px; height: 62px; background: linear-gradient(135deg, #25d366, #128c7e); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45); text-decoration: none !important; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.fb-wa-btn::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: rgba(37, 211, 102, 0.4); animation: fb-wa-ring 2s ease-out infinite; }
.fb-wa-btn:hover { transform: scale(1.1); box-shadow: 0 10px 40px rgba(37, 211, 102, 0.55); }
.fb-wa-btn svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 1; }
@keyframes fb-wa-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fb-wa-pulse-tooltip { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@media (max-width: 480px) { .fb-whatsapp-float { bottom: 20px; right: 20px; } .fb-wa-btn { width: 54px; height: 54px; } .fb-wa-btn svg { width: 28px; height: 28px; } .fb-wa-tooltip { font-size: 12px; } }

/* ===== OTIMIZAÇÕES DE PERFORMANCE ===== */
img { max-width: 100%; height: auto; }
picture { display: block; }
img[loading="lazy"] { opacity: 0; animation: fadeInImage 0.4s ease-in forwards; }
@keyframes fadeInImage { to { opacity: 1; } }

/* ===== PRINT STYLES ===== */
@media print { .fb-whatsapp-float, .fb-topbar { display: none !important; } }
